Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes Application Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 56185
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Application Classpath
 
Similar Threads
Just Java book: What DB server is used for JDBC chapters?
Programatically validate SQL Syntax
Null pointer exception in con.createStatement(); (Struts 2 using netbeans6.1 and MYSQL)
Hoplessly stuck trying to use Mckoi
Deployment failed