都是weblogic和ejb惹的祸
在jb9和weblogic8。1配置好后,新建立了一个ejbmodule,自动生成了一个entry bean,但是部署时候报错,其中的代码我一行也没有改,全是jb9自动生成的,希望高手给看看什么问题。谢谢!!
错误信息:
D:\bea\jdk141_05\bin\javaw -classpath D:\bea\weblogic81\server\lib\weblogic_sp.jar;D:\bea\weblogic81\server\lib\weblogic.jar;D:\bea\weblogic81\server\lib\webservices.jar; weblogic.Deployer -user weblogic -adminurl http://chenshaokun:7001 -password weblogic -activate -name ejbmodule -upload -source "C:/Documents and Settings/Administrator/jbproject/testejb/ejbmodule.jar" -targets myserver
Initiated Task: [1] [Deployer:149026]Deploy application ejbmodule on myserver.
Task 1 failed: [Deployer:149026]Deploy application ejbmodule on myserver.
Deployment failed on Server myserver
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: activate failed for ejbmodule
Module: ejbmodule Error: Exception activating module: EJBModule(ejbmodule,status=PREPARED)
Unable to deploy EJB: Attachment from ejbmodule.jar:
[EJB:011028]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.