都是weblogic和ejb惹的禍

shaokun305發表於2004-06-10
在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.







相關文章