L
leozmy
Unregistered / Unconfirmed
GUEST, unregistred user!
我写了一个ejb包,编译成功,分发到weblogic6.1时提示:
E:/jdk1.3.0_01/bin/javaw -classpath ";E:/Weblogic61/wlserver6.1/lib/
weblogic_sp.jar;E:/Weblogic61/wlserver6.1/lib/weblogic.jar;" weblogic.deploy
-component TimooNewsEJB:myserver update password TimooNewsEJB
D:/Practice/Java/Timoo/TimooNewsEJB.jar
weblogic.j2ee.DeploymentException: Error deploying application TimooNewsEJB:
Unable to deploy EJB: News from TimooNewsEJB.jar:
The DataSource with the JNDI name: TimooDataSource 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.deploy.deploy(deploy.java:665)
at weblogic.deploy.runBody(deploy.java:358)
at weblogic.utils.compiler.Tool.run(Tool.java:79)
at weblogic.deploy.main(deploy.java:1601)
Error deploying application TimooNewsEJB:
Unable to deploy EJB: News from TimooNewsEJB.jar:
The DataSource with the JNDI name: TimooDataSource could not be located.
lease ensure that the DataSource has been deployed successfully and
that the JNDI name in your EJB Deployment descriptor is correct.
不知是在weblogic中配置,还是在jb中写好。
jb的jndi-definitions.xml是用来做什么的,
它其中有datasource的jndi信息,包括url,driver等,
但没起作用。
在EJB MODULE 中的JDBC 1 Datasources 增加Datasources也没用。
E:/jdk1.3.0_01/bin/javaw -classpath ";E:/Weblogic61/wlserver6.1/lib/
weblogic_sp.jar;E:/Weblogic61/wlserver6.1/lib/weblogic.jar;" weblogic.deploy
-component TimooNewsEJB:myserver update password TimooNewsEJB
D:/Practice/Java/Timoo/TimooNewsEJB.jar
weblogic.j2ee.DeploymentException: Error deploying application TimooNewsEJB:
Unable to deploy EJB: News from TimooNewsEJB.jar:
The DataSource with the JNDI name: TimooDataSource 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.deploy.deploy(deploy.java:665)
at weblogic.deploy.runBody(deploy.java:358)
at weblogic.utils.compiler.Tool.run(Tool.java:79)
at weblogic.deploy.main(deploy.java:1601)
Error deploying application TimooNewsEJB:
Unable to deploy EJB: News from TimooNewsEJB.jar:
The DataSource with the JNDI name: TimooDataSource could not be located.
lease ensure that the DataSource has been deployed successfully and
that the JNDI name in your EJB Deployment descriptor is correct.
不知是在weblogic中配置,还是在jb中写好。
jb的jndi-definitions.xml是用来做什么的,
它其中有datasource的jndi信息,包括url,driver等,
但没起作用。
在EJB MODULE 中的JDBC 1 Datasources 增加Datasources也没用。