请教ejb发布问题

04-09-04 xcabc
在JBuilder8中对estore.jar进行发布时,出现如下错误信息提示,不知是什么地方有问题,请高手指教。

C:\JBuilder8\jdk1.4\bin\javaw -classpath C:\bea\weblogic700\server\lib\weblogic_sp.jar;C:\bea\weblogic700\server\lib\weblogic.jar;C:\bea\weblogic700\server\lib\webservices.jar;C:\Home\Java\store\lib\mysql-connector-java-3.0.9-stable-bin.jar; weblogic.Deployer -user system -adminurl http://localhost:80 -password weblogic -activate -name estore -upload -source C:/examples/estore.jar -targets myserver

Operation started, waiting for notifications...

.

TaskID Action Status Target Type Application Source

7 Activate Failed myserver Server estore C:\bea\user_projects\mydomain\.\myserver\upload\estore\estore.jar

Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 7

Module: estore Error: Exception while rollback of module : EJBModule(estore,status=NEW)

estore.jar; nested exception is:

javax.naming.NameNotFoundException: Unable to resolve 'app/ejb/estore.jarCategoryDetails' Resolved: 'app/ejb' Unresolved:'estore.jarCategoryDetails' ; remaining name 'estore.jarCategoryDetails'

banq
2004-09-10 12:05
主要是下面这段出错信息:

javax.naming.NameNotFoundException: Unable to resolve 'app/ejb/estore.jarCategoryDetails' Resolved: 'app/ejb' Unresolved:'estore.jarCategoryDetails' ; remaining name 'estore.jarCategoryDetails'

是你调用CategoryDetails那个EJB(CategoryTreeManager.)的jboss.xml配置有问题。

猜你喜欢