Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment problem

 
hash ramakrishnan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a new bean that emulates the pattern of another bean in functionality. They both are stateless session beans. One deployed fine and the other just wont. I can see it in the deployment descriptor (generated by JBuilder6). When I try to do a lookup on the other I get:
javax.naming.NameNotFoundException: Unable to resolve FuelDailyLmtEditor. Resolved: '' Unresolved:'FuelDailyLmtEditor' ; remaining name ''
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy0.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:339)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at gptest.FuelDailyLmt.test(FuelDailyLmt.java:34)
at gptest.FuelDailyLmt.<init>(FuelDailyLmt.java:29)
at gptest.TestGP.run(TestGP.java:33)
at gptest.TestGP.main(TestGP.java:41)
Exception in thread "main"

Could some one please give me some ideas to figure it out?
Thanks
-Hash
 
Michael Pearson
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hash, Welcome to JavaRanch.
Please change your name to comply with the naming policy to which you agreed when you registered.
You can change your name here:
here

You can also find the naming policy here:
http://www.javaranch.com/name.jsp
Thank You!
 
Graham Thorpe
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u should create another directory at present current directory it should be valid direcory.then u can get the deployment
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked the JNDI name that you are looking the bean up against the JNDI name specified in the WebLogic-specific EJB deployment descriptor?
Simon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic