This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes using DataSource in WebLogic to access DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "using DataSource in WebLogic to access DB2" Watch "using DataSource in WebLogic to access DB2" New topic
Author

using DataSource in WebLogic to access DB2

quan zhu
Greenhorn

Joined: Dec 14, 2000
Posts: 27
I got:
"weblogic.ejb20.EJBDeploymentException: Error Deploying CMP EJB:; nested exception is:
weblogic.ejb20.cmp.rdbms.RDBMSException: Unexpected failure while accessing table 'PA_OPR': java.sql.SQLException: Cannot obtain connection after 0 seconds. , Exception = None available java.sql.SQLException: Cannot obtain connection after 0 seconds. , Exception = None available"
when I try to deploy a CMP ejb in WebLogic(EJB runs ok on websphere).
I am using WinNt, weblogic 6.0, DB2 6.0. I have set the connection pool and DataSource in WebLogic:
driver name: COM.ibm.db2.jdbc.app.DB2Driver
url: jdbc:db2:arts (arts is the odbc name for my DB2 database)
properties: user=a;password=p;server=arts
Could someone help me here?
Thanks.
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
I'm not sure if DB2 is a supported platform for Weblogic. You may have problems.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1849
quan ,
We have a forum dedicated specially for WebLogic. You may not get an appropriate reply in this forum.

------------------

Mahindrakar
IBM Application Server Forum Moderator
SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using DataSource in WebLogic to access DB2
 
Similar Threads
How to create connection pool for DB2
Problem regading Entity bean....
SQLException: Cannot obtain connection
A Simple CMP Bean deployment problem in Bea WebLogic 8.0
A Simple CMP Bean deployment problem in Bea WebLogic 8.0