db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lo, George C" <George...@ca.com>
Subject Database not found - JPetStoreApp on Tomcat 6.0
Date Tue, 08 Jan 2008 20:33:53 GMT
While trying to deploy the JPetStoreApp demo on Tomcat 6.0 on JDK 1.6, I
got the following error.   Did I miss something?

 

 

Caused by: com.ibatis.dao.client.DaoException: Error starting SQL Map
transaction.  Cause: org.apache.tomcat.dbcp.dbcp.SQLNestedException:
Cannot create PoolableConnectionFactory (Database
'Databases/JPetStoreDB' not found.)
Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (Database 'Databases/JPetStoreDB' not found.)
        at
com.ibatis.dao.engine.transaction.sqlmap.SqlMapDaoTransaction.(SqlMapDao
Transaction.java:25)
        at
com.ibatis.dao.engine.transaction.sqlmap.SqlMapDaoTransactionManager.sta
rtTransaction(SqlMapDaoTransactionManager.java:48)
        at
com.ibatis.dao.engine.impl.DaoContext.startTransaction(DaoContext.java:8
2)
        at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:60)
        at $Proxy12.getProductListByCategory(Unknown Source)
        at
com.ibatis.jpetstore.service.CatalogService.getProductListByCategory(Cat
alogService.java:60)
        at
com.ibatis.jpetstore.presentation.CatalogBean.viewCategory(CatalogBean.j
ava:134)
        ... 24 more

 


Mime
View raw message