在jbuider+weblogic上部署cmp问题
编译通过,部署是显示如下信息:
C:\jdk\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://shen:7001 -password bobobobo -activate -name Cmp2BeanModule -upload -source D:/jbproject/CmpBean2/Cmp2BeanModule.jar -targets myserver
Initiated Task: [6] [Deployer:149026]Deploy application Cmp2BeanModule on myserver.
Task 6 failed: [Deployer:149026]Deploy application Cmp2BeanModule on myserver.
Deployment failed on Server myserver
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: activate failed for Cmp2BeanModule
Module: Cmp2BeanModule Error: Exception activating module: EJBModule(Cmp2BeanModule,status=PREPARED)
Unable to deploy EJB: Test from Cmp2BeanModule.jar:
[EJB:011028]The DataSource with the JNDI name: myJNDI 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.
初学请指教