Tag Archives: jndi

Exposing/Accessing JBoss JNDI Objects/Datasources From an External JVM

Problem:

You have some program that needs to access some data sources that are managed by JBoss and accessed via JNDI, but when you start that program, it can’t find that JNDI reference or you get a javax.naming.NoInitialContextException with the message “Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial”

Continue reading