Hi,
Using Jboss 3, with Jetty, I managed to define a MySQL data source, and can access it via a simple JSP using InitialContext.
However, doing a JNDI lookup OUTSIDE the j2ee container in a standalone java application always results in a name not found exception.
Yes - I did end up add , jbossall-client.jar, log4j.jar, and jnet.jar to the classpath. The lookup is ("MySqlDS") in both cases....Yes - using the JNDI view shows the name....
Help! thanks,
Peter
I just wanted to clarify that I am using the jndi.properties specified in the users guide. They are working because if I change the port number from 1099, I get a cannot connect to socket exception..
...peter