This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes ConnectionPool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 32481

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: ConnectionPool
It's not a secret anymore!