jQuery in Action, 2nd edition
The moose likes IDEs, Version Control and other tools and the fly likes a CMP problem under jb+wls,struts..... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "a CMP problem under jb+wls,struts....." Watch "a CMP problem under jb+wls,struts....." New topic
Author

a CMP problem under jb+wls,struts.....

yu lei
Greenhorn

Joined: Sep 19, 2003
Posts: 5
deploy on jbuilder+weblogic+struts:
i built a project(named untitled2):
creat a CMP(name as News);
creat a webapplication(name aperapp) with struts framework;
creat Action(name aperaction), a part of which source is follow:
javax.naming.Context context = new javax.naming.InitialContext();
context.lookup("untitled2.NewsHome");//I think that " untitled2.NewsHome " is wrong .but what is right,help me!!!

by the way:
the deploy and run is all right,but the follow errors:
javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: While trying to look up /app/ejb/News.jar#News/local-home in /app/webapp/paperapp/26723714.; remaining name '/app/ejb/News/jar#News/local-home'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:869)
at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
............
 
IntelliJ Java IDE
 
subject: a CMP problem under jb+wls,struts.....
 
Threads others viewed
How to do lookup for local ejb's in WSAD?
local-home tag not supported in cc4j
New to EJB, advice please
how the CMR runs?
a CMP problem under jb+wls,struts.....
developer file tools