Mail Archive Home | enhydra List | April 2005 Index
| Date Index --> | Thread Index --> |
Hi all,
i currently upgraded from enhydra 3.1 to enhydra 5.2. Compilation was not the
problem. But when i start the application, no connection to the database is
established. I'm using DODS to access data objects.
Here are some of the debug messages:
2005.04.08 13:49:08: HrzShop,DEBUG+ DBConnection[0]:DBConnection[0]:
jdbc:sapdb://pchrz-trinity/HRZSHOP
2005.04.08 13:49:08: HrzShop,DEBUG+ New connection allocated.
2005.04.08 13:49:08: HrzShop,DEBUG+
2005.04.08 13:49:08: HrzShop,DEBUG:
2005.04.08 13:49:08: HrzShop,DEBUG+ DBConnection[0]:close
2005.04.08 13:49:08: HrzShop,DEBUG:
2005.04.08 13:49:08: HrzShop,DEBUG+ DBConnection[0]:DBConnection[0]:
jdbc:sapdb://pchrz-trinity/HRZSHOP
2005.04.08 13:49:08: HrzShop,DEBUG+ Connection has been closed.
2005.04.08 13:49:08: HrzShop,DEBUG+
2005.04.08 13:49:08: HrzShop,DEBUG: ConnectionAllocator: Inactiv connection
closed due allocate() operation. Geting new one. currentPoolSize=0
2005.04.08 13:49:08: HrzShop,DEBUG:
2005.04.08 13:49:08: HrzShop,DEBUG+ DBConnection[1]:DBConnection[1]:
jdbc:sapdb://pchrz-trinity/HRZSHOP
2005.04.08 13:49:08: HrzShop,DEBUG+ New connection allocated.
2005.04.08 13:49:08: HrzShop,DEBUG+
2005.04.08 13:49:08: HrzShop,DEBUG:
2005.04.08 13:49:08: HrzShop,DEBUG+ DBConnection[1]:close
2005.04.08 13:49:08: HrzShop,DEBUG:
2005.04.08 13:49:08: HrzShop,DEBUG+ DBConnection[1]:DBConnection[1]:
jdbc:sapdb://pchrz-trinity/HRZSHOP
2005.04.08 13:49:08: HrzShop,DEBUG+ Connection has been closed.
and so on ...
Even when I try to access data without DODS by using the following connection:
Connection con = getApplication().getDatabaseManager()
.allocateConnection().getConnection();
no connection is setup.
However when i connect to the database like this:
Class.forName("com.sap.dbtech.jdbc.DriverSapDB");
String url = "jdbc:sapdb://pchrz-trinity/HRZSHOP";
Connection con = DriverManager.getConnection(url,
user, passwd);
a connection is established.
Any help is greatly appreciated.
Thomas Schwarzpaul
| Date Index --> | Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.