M
Mike
I have Tomcat running on my desktop for development. It has a
datasource defined in web.xml for MySQL running on another
box. Some jsps access methods in java classes residing in
WEB-INF/classes. Everything works fine if an application is run
through Tomcat.
The classes originate on JBuilder also on my desktop. The output of
JBuilder is to the webapp classes directory.
The problem is I want to run a class directly on JBuilder for
debugging purposes using the same datasource as defined in Tomcat.
When I do so I get the following error:
"javax.naming.NoInitialContextException: 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"
How do I configure JBuilder so it finds the datasource?
Thanks
datasource defined in web.xml for MySQL running on another
box. Some jsps access methods in java classes residing in
WEB-INF/classes. Everything works fine if an application is run
through Tomcat.
The classes originate on JBuilder also on my desktop. The output of
JBuilder is to the webapp classes directory.
The problem is I want to run a class directly on JBuilder for
debugging purposes using the same datasource as defined in Tomcat.
When I do so I get the following error:
"javax.naming.NoInitialContextException: 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"
How do I configure JBuilder so it finds the datasource?
Thanks