1. How to install jboss as service in ubuntu:
Create link in /etc/init.d/jboss to /usr/local/jboss/bin/jboss_init_redhat.sh using below command:
ln -s /etc/init.d/jboss /usr/local/jboss/bin/jboss_init_redhat.sh
2. How to bind JBoss to a particular IP address rather than localhost.
(You might be required to do this to call session beans using RMI)
JBOSS Bind Address JAVA_OPTS:
set JAVA_OPTS=%JAVA_OPTS% -Dbind.address=10.10.50.20
link: http://blogs.adobe.com/livecycle/2008/03/livecycle_sample_jboss_runbat.html
3. How to restore JBoss persistence connection rather than restarting:
Under jmx-console for JBoss. Click on below link under "JCA"
name=jdbc/< your database jndi name >,service=ManagedConnectionPool
Click on flush cache button to restore connection to database.
4. Start & Stop JBOSS on solaris
svcadm enable network/jboss:default
svcadm disable network/jboss:default
svcs -l jboss
svcs -p jboss
5. Installing 2nd instance of JBoss.
Description: * default/deploy/jbossweb-tomcat55.sar/server.xml:
o change 8080 to 18080
* default/conf/jboss-service.xml
o change 8083 to 18083
o change 1099 to 11099
o change 1098 to 11098
o change 4445 to 14445
o change 4444 to 14444
* default/conf/jboss-minimal.xml
o change 1099 to 11099
o change 1098 to 11098
* default/deploy/jms/uil2-service.xml
o change 8093 to 18093
Wednesday, December 3, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment