• Post Reply Bookmark Topic Watch Topic
  • New Topic

NamingException !??

 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what I try to do :


and I get this error :

javax.naming.NameNotFoundException: FuglBean not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:174)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:146)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:150)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:63)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProviderImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)


but I have the correct JNDI-name for the Bean :


why is that? so weird? !!
thanks
 
Alana Sparx
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might be to do with the bindings:

instread of:


try


If you're calling a remote interface, this *should* work. Local interfaces have a different binding syntax.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!