<2003-4-4 下午05时46分14秒> <Error> <JDBC> <001059> <Error during Data Source creation: weblogic.common.ResourceException: DataSource(DataSource) can't be created with non-existent Pool (connection or multi) (DataSourcePOOL) at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.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.java:270) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303) at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256) at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198) at $Proxy37.updateDeployments(Unknown Source) at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4114) at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2257) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235) at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300) at weblogic.Server.main(Server.java:32)> <2003-4-4 下午05时46分53秒> <Notice> <Management> <141052> <Application Poller started for development server.> <2003-4-4 下午05时47分09秒> <Notice> <WebLogicServer> <000354> <Thread "ListenThread.Default" listening on port 7001> <2003-4-4 下午05时47分09秒> <Notice> <WebLogicServer> <000354> <Thread "SSLListenThread.Default" listening on port 7002> <2003-4-4 下午05时47分09秒> <Notice> <WebLogicServer> <000331> <Started WebLogic Admin Server "myserver" for domain "mydomain" running in Development Mode> <2003-4-4 下午05时47分17秒> <Notice> <WebLogicServer> <000365> <Server state changed to RUNNING> <2003-4-4 下午05时47分17秒> <Notice> <WebLogicServer> <000360> <Server started in RUNNING mode> <2003-4-4 下午05时48分21秒> <Error> <Deployer> <149201> <The Slave Deployer failed to complete the deployment task with id 3 for the application Demo2.weblogic.management.ApplicationException: activate failed forDemo2
{
Module Name: Demo2, Error: Exception activating module: EJBModule(Demo2,status=PREPARED)
Unable to deploy EJB: Student from Demo2.jar:The DataSource with the JNDI name: DataSource could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
 TargetException: Unable to deploy EJB: Student from Demo2.jar:The DataSource with the JNDI name: DataSource could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
} at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)> 

解决方案 »

  1.   

    你的connection pool配置那里有问题,你的jdbc的diver不对,你安装的是这个diver吗?还有,你的classpath里有没有添加这个diver的path啊?
      

  2.   

    同意楼上的说法,你的classpath里设好了没有?总之是driver问题。
      

  3.   

    那两步都做了.....
    classpath中也加了...startwls.cmd中也加了.....
      

  4.   

    路径里有空格? 
    classpath好像不认空格的 ------------------------------------------------------
               我们还年轻牛奶会有的奶牛也会有的 
                 可天天在 csdn 混这些会有吗 ??