This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes a CMP problem under jb+wls,struts..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
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 as aperapp) with struts framework;
creat Action(name as 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)
............
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a CMP problem under jb+wls,struts.....
 
Similar Threads
a CMP problem under jb+wls,struts.....
local-home tag not supported in cc4j
New to EJB, advice please
How to do lookup for local ejb's in WSAD?
how the CMR runs?