JBOSS Admin

Wednesday, May 12, 2010

Using Apache mod_proxy and JBOSS

Add these lines to your apache conf file. Make sure you have proxy modules enabled in apache.

ProxyPass /myuri http://{specify jboss_ip or load balancer ip}:8080/myuri
ProxyPassReverse /myuri http://{specify jboss_ip or load balancer ip}:8080/myuri
ProxyPreserveHost On (The parameter will help to preserve the domain name for applications dependent on domain URL)
ProxyTimeout 180
ProxyStatus On
SetEnv proxy-sendextracrlf
SetEnv proxy-initial-not-pooled (Help prevent 502 errors)

You can use the same for ajp. The URL will be ajp://{specify jboss_ip or load balancer ip}:8009/myuri

posted by Jayanthi Krishnamurthy @ 8:36 PM   2 Comments

Tuesday, May 4, 2010

JBOSS - Replace Hypersonic database with Oracle

1) Copy $JBOSS_HOME/docs/examples/jms/oracle-persistence-service.xml to $JBOSS_HOME/server/{your_profile}/deploy/messaging directory with no changes

2) Delete $JBOSS_HOME/server/{your_profile}/deploy/messaging/hsqldb-persistence-service.xml file

3) Delete $JBOSS_HOME/server/{your_profile}/deploy/hsqldb-ds.xml file

4) Create a datasource file (filename-ds.xml) under deploy directory with <jndi-name>DefaultDS</jndi-name>

5) Restart server

posted by Jayanthi Krishnamurthy @ 1:34 PM   0 Comments

Newer›  ‹Older

About Me

Name: Jayanthi Krishnamurthy

View my complete profile

Posts

  • Using Apache mod_proxy and JBOSS
  • JBOSS - Replace Hypersonic database with Oracle

Older Posts Newer Posts

Archives

  • January 2010
  • February 2010
  • March 2010
  • April 2010
  • May 2010
  • June 2010
  • July 2010
  • August 2010
  • September 2010
  • October 2010
  • November 2010
  • December 2010
  • March 2011
  • May 2012
  • June 2012
  • February 2013
  • February 2014
  • March 2014
  • Current Posts

Subscribe to
Posts [Atom]