Thursday, January 15, 2009

Migration from JBoss 4.0 to Tomcat 6.0(JNDI context)

JNDI resources types:
1.Global - myDS
2.Local java:/comp/env/myDS

By default JBOSS has global JNDI context
Tomcat has local JNDI context

To export property:
JAVA_OPTS="$JAVA_OPTS -DpropertyDS=java:/comp/env/myDS"

Where propertyDS - name of system property that will be used in your application

No comments:

Post a Comment