Sunday, May 06, 2007

derby with tomcat

If you use the default postion of the db, such as, 'jdbc:derby:MyDB', then the tomcat will search the location : $Tomcat_Home, rather than the ../webapps/web-inf/classes. The reason of this may be the catalina's boostrap path is the tomcat home, I think.

How could i find this confusion default location? use the 'jdbc:derby:MyDB;create=true' and then to find the newBorn db to locate the position.

No comments: