Environment Issue

M

Mike

I use JBuilder on windows to develop jsps and java classes for
web-apps that involve jdbc calls to a linux box running Tomcat and
Mysql.

I've been using Driver Manger in my classes up to now and was able to
do querries from JBuilder to Mysql on the linux box. I am in the
process of switching to connection pooling and JNDI.

I installed Tomcat on my windows machine and set the url under
resources to point to the linux box.

In JBuilder I set the output to the classes dir of WEB-INF for the
web-app on the localhost. I created a simple class to do a querry. I
get results with a jsp that makes use of the class, however, when I
try to execute the class from JBuilder, I get a
"NoInitialContextException" error.

Is there a way to execute the classes from JBuilder even thoght they
are "contained" in Tomcat?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top