Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using DataSource in WebLogic to access DB2

 
quan zhu
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if DB2 is a supported platform for Weblogic. You may have problems.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic