Win a copy of The Business Blockchain this week in the Cloud 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
Marshal
Posts: 35266
383
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.
 
    Bookmark Topic Watch Topic
  • New Topic