aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60041
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application Classpath
 
Similar Threads
Deployment failed
Just Java book: What DB server is used for JDBC chapters?
Hoplessly stuck trying to use Mckoi
Programatically validate SQL Syntax
Null pointer exception in con.createStatement(); (Struts 2 using netbeans6.1 and MYSQL)