• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
............
reply
    Bookmark Topic Watch Topic
  • New Topic