My Blog

All about my activities, Ideas and everything.

Category: JBOSS

JBoss : Datasource

Just create a new xml file with *-ds.xml pattern. And paste inside the deploy folder http://wiki.jboss.org/wiki/ConfigDataSources

HowTo : Change Jboss 4.2.2GA web server port

Locate server.xml file in $JBOSS_HOME\\server\\all\\deploy\\jboss-web.deployer\\server.xml Change this line to a port that you want it to be. <Connector port=”8081” address=”${jboss.bind.address}” …

Encoding in JBOSS – Request and Response

1. Find the server.xml in $JBOSS_HOME/server/$YOUR_SERVER/deployjbossweb-tomcat55.sar 2. Add URIEncoding=”UTF-8″ 123456789<Connector port="8080" address="${jboss.bind.address}"         maxThreads="250" maxHttpHeaderSize="8192"         emptySessionPath="true" protocol="HTTP/1.1"         enableLookups="false" redirectPort="8443" acceptCount="100"         connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>    <!– Define an AJP 1.3 Connector on port 8009 –>     <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3" [...]