aspose file tools*
The moose likes JDBC and the fly likes ConnectionPool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic


S bitz
Ranch Hand

Joined: Jan 20, 2006
Posts: 80
I've tried to create a connection pool using derby database in NetBeans 5.0 and this is what i get when i run the application.

i've added all the derby jar files in the tomcat/common/lib directory and also the library of the application, but still i get the same result.

Can anyone help me with this?
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
You need to add the jars to the NetBeans project you're working on; this in turn will add them to the runtime classpath.

If you don't already, you need to understand what a classpath is and that a compile-time and a runtime classpath may be different, and learn that it is set and maintained differently in NetBeans (and many other IDEs) and in stand-alone Java, which in turn is different from a J2EE server environment (JBoss, WebSphere, etc.)
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31057

Please continue discussion in your other thread, now in IDEs. In the future, please don't cross post the same question.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: ConnectionPool