Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
    Bookmark Topic Watch Topic
  • New Topic

ConnectionPool

 
S bitz
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Report post to moderator
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?
Thanks,
Bitz
 
stu derby
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Sheriff
Posts: 35975
422
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue discussion in your other thread, now in IDEs. In the future, please don't cross post the same question.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!