weblogic7 db2 V8連線池問題

cdlcn發表於2003-08-06
我在本機上安裝WLS7 而在另外的機器上安裝了DB2 V8,我在WLS ClassPath里加入DB2驅動程式db2java.zip;在WLS7 pool配置如下:
URL:jdbc:db2://192.168.0.147:6789/abc
Driver:COM.ibm.db2.jdbc.net.DB2Driver
prop:user=XXX
password=XXX
======================================
報錯如下:
\jini\lib\sun-util.jar;D:\jj\cdl;D:\jj\cdl\cc;D:\j2me_cldc\bin;D:\midp-2_0-src-w
indows-i686\midp2.0fcs\bin;D:\midp-2_0-src-windows-i686\midp2.0fcs\lib;C:\j2sdk1
.4.0_01\jre\lib;C:\j2sdk1.4.0_01\jre\bin;D:\Apache Group\Tomcat 4.1;D:\Apache Gr
oup\Tomcat 4.1\bin;D:\jj;F:\bea\wlserver6.1\lib\msbase.jar;F:\bea\wlserver6.1\li
b\msutil.jar;F:\bea\wlserver6.1\lib\mssqlserver.jar;F:\bea\wlserver6.1\lib\msuti
l.jar;F:\bea\wlserver6.1\lib\db2java.zip;F:\bea2\weblogic700\server\lib\db2jcc.j
ar;

***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://[hostname]:[port]/console *
***************************************************

F:\bea2\user_projects\mydomain>“F:\bea2\jdk131_03\bin\java“ -hotspot -Xms32m -Xm
x200m -Dweblogic.security.SSL.trustedCAKeyStore=F:\bea2\weblogic700\server\lib\c
acerts -Dweblogic.Name=myserver -Dbea.home=“F:\bea2“ -Dweblogic.management.usern
ame= -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled= -Djava.se
curity.policy=“F:\bea2\weblogic700\server\lib\weblogic.policy“ weblogic.Server
<2003-8-5 上午11時30分43秒> <Info> <Security> <090065> <Getting boot identity fr
om user.>
Enter username to boot WebLogic server:system
Enter password to boot WebLogic server:
Starting WebLogic Server...
<2003-8-5 上午11時30分55秒> <Notice> <Management> <140005> <Loading configuratio
n F:\bea2\user_projects\mydomain\.\config.xml>
<2003-8-5 上午11時31分07秒> <Notice> <Security> <090082> <Security initializing
using realm myrealm.>
<2003-8-5 上午11時31分07秒> <Notice> <WebLogicServer> <000327> <Starting WebLogi
c Admin Server “myserver“ for domain “mydomain“>
<2003-8-5 上午11時31分37秒> <Error> <JDBC> <001060> <Cannot startup connection p
ool “Pool“ weblogic.common.ResourceException: Cannot load driver class: com.ibm.
db2.jcc.DB2Driver>
<2003-8-5 上午11時31分37秒> <Error> <JDBC> <001059> <Error during Data Source cr
eation: weblogic.common.ResourceException: DataSource(DemoDataSource) can't be c
reated with non-existent Pool (connection or multi) (Pool)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInf
o.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:
189)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.
java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.j
ava:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:207)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:714)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:417)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
ServerImpl.java:926)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy36.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:4060)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
s(SlaveDeployer.java:2259)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:373)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
>
<2003-8-5 上午11時31分39秒> <Error> <EJB> <010070> <Error activating EJB Module
: cmpEJB
Exception is :

Unable to deploy EJB: TbZyda from cmpEJB.jar:

weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: DemoDat
aSource could not be located. Please ensure that the DataSource has been deploye
d successfully and that the JNDI name in your EJB Deployment descriptor is corre
ct.
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersisten
ceManager.java:138)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.ja
va:211)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java
:181)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrive
nBeanInfoImpl.java:945)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1296)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:349)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplication
Container.java:1592)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:1029)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:966)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
llApplications(SlaveDeployer.java:619)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:376)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)





Unable to deploy EJB: TbZyda from cmpEJB.jar:

weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: DemoDat
aSource could not be located. Please ensure that the DataSource has been deploye
d successfully and that the JNDI name in your EJB Deployment descriptor is corre
ct.
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersisten
ceManager.java:138)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.ja
va:211)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java
:181)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrive
nBeanInfoImpl.java:945)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1296)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:349)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplication
Container.java:1592)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:1029)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:966)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
llApplications(SlaveDeployer.java:619)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:376)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)



at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1359)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:349)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplication
Container.java:1592)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:1029)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:966)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
llApplications(SlaveDeployer.java:619)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:376)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
>
<2003-8-5 上午11時31分40秒> <Error> <Deployer> <149231> <The slave deployer was
unable to set the activation state to true for the application cmpEJB
weblogic.management.ApplicationException: activate failed forcmpEJB
{
Module Name: cmpEJB, Error: Exception activating module: EJBModule(cmpEJB,status
=PREPARED)


Unable to deploy EJB: TbZyda from cmpEJB.jar:

weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: DemoDat
aSource could not be located. Please ensure that the DataSource has been deploye
d successfully and that the JNDI name in your EJB Deployment descriptor is corre
ct.
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersisten
ceManager.java:138)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.ja
va:211)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java
:181)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrive
nBeanInfoImpl.java:945)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1296)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:349)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplication
Container.java:1592)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:1029)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:966)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
llApplications(SlaveDeployer.java:619)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:376)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)



TargetException:

Unable to deploy EJB: TbZyda from cmpEJB.jar:

weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: DemoDat
aSource could not be located. Please ensure that the DataSource has been deploye
d successfully and that the JNDI name in your EJB Deployment descriptor is corre
ct.
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersisten
ceManager.java:138)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.ja
va:211)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java
:181)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrive
nBeanInfoImpl.java:945)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1296)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:349)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplication
Container.java:1592)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:1029)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:966)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
llApplications(SlaveDeployer.java:619)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:376)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)



}
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:1035)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:966)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
llApplications(SlaveDeployer.java:619)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:376)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
>
<2003-8-5 上午11時31分40秒> <Notice> <Management> <141052> <Application Poller s
tarted for development server.>
<2003-8-5 上午11時31分45秒> <Notice> <WebLogicServer> <000355> <Thread “ListenTh
read.Default“ listening on port 7001, ip address 127.0.0.1>
<2003-8-5 上午11時31分45秒> <Notice> <WebLogicServer> <000355> <Thread “SSLListe
nThread.Default“ listening on port 7002, ip address 127.0.0.1>
<2003-8-5 上午11時31分45秒> <Notice> <Management> <141030> <Starting discovery o
f Managed Server... This feature is on by default, you may turn this off by pass
ing -Dweblogic.management.discover=false>
<2003-8-5 上午11時31分45秒> <Notice> <WebLogicServer> <000331> <Started WebLogic
Admin Server “myserver“ for domain “mydomain“ running in Development Mode>
<2003-8-5 上午11時31分45秒> <Notice> <WebLogicServer> <000365> <Server state cha
nged to RUNNING>
<2003-8-5 上午11時31分45秒> <Notice> <WebLogicServer> <000360> <Server started i
n RUNNING mode>
請高人指點!
還有在本機要安裝DB2 V8的客戶端嗎?

相關文章