Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / April 2006

Tip: Looking for answers? Try searching our database.

Derby and Tomcat

Thread view: 
Francis  Ocoma - 16 Apr 2006 15:59 GMT
Hi,

I am working on a web application using j2ee, tomcat, and the derby
clientdriver. It runs fine on my PC, but on my team mate's PC, tomcat
can't seem to connect to the derby database (although the ij tool could
connect to the database on his PC).

The CLASSPATH environment variable seems to be the similar in both PCs.
Here's what my CLASSPATH contains:

%DERBY_INSTALL%\lib\derbyclient.jar;%DERBY_INSTALL%\lib\derbytools.jar;%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbynet.jar;.

My team mate's PC could connect fine with other drivers (e.g. odbc).
What else might be wrong with his configuration?

- Francis Ocoma
Francis  Ocoma - 17 Apr 2006 07:19 GMT
I'm using Windows XP SP2, btw.

Here's one more thing I noticed. In the problematic PC, connecting to
derby via cmd works just fine (that's why ij works). But if you use
Tomcat or an IDE like JCreator, it won't be able to locate the client
driver (org.apache.derby.jdbc.ClientDriver). What could be the reason
for this?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.