my dog learned polymorphism*
The moose likes JDBC and the fly likes Application Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Application Classpath" Watch "Application Classpath" New topic
Author

Application Classpath

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am trying to use the McKoi database for my application. The instruction at the McKoi website says: "If you are embedding the complete Mckoi SQL database engine in to your application then you must include the 'mckoidb.jar' jar archive in your application classpath."

What does the application classpath mean? Does it mean that I have to put the 'mckoidb.jar' under the AppName/WEB-INF/lib directory?
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
If you're writing a web app that's what I'd be doing, unless you want it to be somewhere reachable by all apps ob the server.

Jules
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

If you are using container-manager connection pooling and the jar file contains the driver, you will need to place it in the container's "common" area. For Tomcat that would we $CATALINA_HOME/common/lib.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Application Classpath
 
Similar Threads
Deployment failed
Null pointer exception in con.createStatement(); (Struts 2 using netbeans6.1 and MYSQL)
Just Java book: What DB server is used for JDBC chapters?
Programatically validate SQL Syntax
Hoplessly stuck trying to use Mckoi