各位大侠,小弟现在这里给大家鞠躬一下,有个问题想弄明白一下。小弟刚学EJB 按照网上说的配置了一下JB06+weblogic9.0。然后按照课本上的例子写了个一下,运行后发现JB报出错误,但是不影响使用,能够用JB进行部署,测试通过,都没问题,但是小弟很想知道报出的错误是什么,希望大侠们能够给小弟分析一下,小弟还是菜鸟啊~!万分的感谢~!下面是报出的错误。
<2007-5-10 下午07时00分54秒 CST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'cgDataSource' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:248)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:90)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:318)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:53)
Truncated. see log file for complete stacktrace
weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.pointbase.jdbc.jdbcUniversalDriver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:279)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:48)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:85)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:625)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:193)
Truncated. see log file for complete stacktrace
>
<2007-5-10 下午07时00分54秒 CST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'cgDataSource-nonXA' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:248)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:90)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:318)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:53)
Truncated. see log file for complete stacktrace
weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.pointbase.jdbc.jdbcUniversalDriver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:279)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:48)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:85)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:625)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:193)
Truncated. see log file for complete stacktrace
>
<2007-5-10 下午07时00分55秒 CST> <Error> <Store> <BEA-280061> <The persistent store "cgJMSStore" could not be deployed: weblogic.store.PersistentStoreException: Can't find JDBC DataSource cgDataSource-NonXA: javax.naming.NameNotFoundException: Unable to resolve 'cgDataSource-NonXA'. Resolved ''; remaining name 'cgDataSource-NonXA'
weblogic.store.PersistentStoreException: Can't find JDBC DataSource cgDataSource-NonXA: javax.naming.NameNotFoundException: Unable to resolve 'cgDataSource-NonXA'. Resolved ''; remaining name 'cgDataSource-NonXA'
at weblogic.store.admin.JDBCAdminHandler.createDataSource(JDBCAdminHandler.java:99)
at weblogic.store.admin.JDBCAdminHandler.makeStore(JDBCAdminHandler.java:167)
at weblogic.store.admin.JDBCAdminHandler.activate(JDBCAdminHandler.java:56)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:236)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:133)
Truncated. see log file for complete stacktrace
javax.naming.NameNotFoundException: Unable to resolve 'cgDataSource-NonXA'. Resolved ''; remaining name 'cgDataSource-NonXA'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1123)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:250)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:204)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:267)
Truncated. see log file for complete stacktrace
>
<2007-5-10 下午07时00分55秒 CST> <Warning> <Management> <BEA-141197> <The deployment of cgJMSStore failed.
weblogic.management.DeploymentException:
at weblogic.store.admin.JDBCAdminHandler.activate(JDBCAdminHandler.java:59)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:236)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:133)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:596)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:457)
Truncated. see log file for complete stacktrace
javax.naming.NameNotFoundException: Unable to resolve 'cgDataSource-NonXA'. Resolved ''; remaining name 'cgDataSource-NonXA'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1123)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:250)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:204)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:267)
Truncated. see log file for complete stacktrace
>
<2007-5-10 下午07时00分55秒 CST> <Error> <JMS> <BEA-040123> <Failed to start JMS Server "cgJMSServer" due to weblogic.management.DeploymentException: The persistent store "cgJMSStore" does not exist.
weblogic.management.DeploymentException: The persistent store "cgJMSStore" does not exist
at weblogic.jms.deployer.BEAdminHandler.findPersistentStore(BEAdminHandler.java:272)
at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:173)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:236)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:133)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:596)
Truncated. see log file for complete stacktrace
>
<2007-5-10 下午07时00分55秒 CST> <Warning> <Management> <BEA-141197> <The deployment of cgJMSServer failed.
weblogic.management.DeploymentException: Internalrror activating the JMS Server cgJMSServer: weblogic.management.DeploymentException: The persistent store "cgJMSStore" does not exist
at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:187)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:236)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:133)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:596)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:457)
Truncated. see log file for complete stacktrace
weblogic.management.DeploymentException: The persistent store "cgJMSStore" does not exist
at weblogic.jms.deployer.BEAdminHandler.findPersistentStore(BEAdminHandler.java:272)
at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:173)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:236)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:133)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:596)
Truncated. see log file for complete stacktrace
>
<2007-5-10 下午07时00分55秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'conversational-jms'.
weblogic.application.ModuleException: ERROR: Could not activate conversational-jms!wlwJWSBuffer
at weblogic.jms.backend.BEDestinationRuntimeDelegate.activate(BEDestinationRuntimeDelegate.java:238)
at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1693)
at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1643)
at weblogic.jms.module.JMSModule$EntityState.access$100(JMSModule.java:1584)
at weblogic.jms.module.JMSModule.activate(JMSModule.java:339)
Truncated. see log file for complete stacktrace
weblogic.messaging.kernel.KernelException: The Messaging Kernel cgJMSServer has not yet been opened
at weblogic.messaging.kernel.internal.KernelImpl.checkOpened(KernelImpl.java:190)
at weblogic.messaging.kernel.internal.DestinationImpl.activate(DestinationImpl.java:269)
at weblogic.messaging.kernel.internal.QueueImpl.activate(QueueImpl.java:1495)
at weblogic.messaging.kernel.internal.DestinationImpl.resume(DestinationImpl.java:253)
at weblogic.messaging.kernel.internal.QueueImpl.resume(QueueImpl.java:1663)
Truncated. see log file for complete stacktrace