rednight

0x2B|~0x2B,That's not a question,Just do it.
posts - 32, comments - 14, trackbacks - 0, articles - 0

NameNotFoundException

Posted on 2006-11-08 08:51 rednight 阅读(478) 评论(0)  编辑  收藏
下面这个异常是因为没有找到EJB, JNDI NAME 本来是 'ejb/ppp/sss/Resource' ,  可找的却是'ejb.ppp.sss/Resource' ,
后来查到是因为EJB 的REMOTE 接口中的方法在BEAN中没有定义. 不知道还有没有其他什么原因可以导致这种情况.

Caused by: javax.naming.NameNotFoundException: While trying to lookup 'ejb.ppp.sss/Resource' didn't find subcontext 'ppp' Resolved ejb
 at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:924)
 at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:225)
 at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:154)
 at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:188)
 at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:196)
 at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
 at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
 at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
 at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
 at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
 at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

只有注册用户登录后才能发表评论。


网站导航: