while executing my client program i get the exception javax.naming.LinkException: [Root exception

Discussion in 'Java' started by mahesh, Mar 8, 2007.

  1. mahesh

    mahesh Guest

    Following is the error occured while tetsing the EJB. If anybody know
    the solution plz tell us the how to face this error. thanks in
    advance


    javax.naming.LinkException: [Root exception is
    javax.naming.LinkException: [Root exception is
    javax.naming.NameNotFoundException: remaining name: /app/ejb/
    rcxEJB.jar#FoxServicePayRollBean/local-home]; Link Remaining Name:
    'null']; Link Remaining Name: 'java:app/ejb/
    rcxEJB.jar#FoxServicePayRollBean/local-home'
    at
    weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:
    108)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:
    284)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:
    244)
    at weblogic.jndi.internal.ServerNamingNode_813_WLStub.lookup(Unknown
    Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:
    369)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:
    357)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.polaris.rcx.simulator.testMessage.main(testMessage.java:45)
    Caused by: javax.naming.LinkException: [Root exception is
    javax.naming.NameNotFoundException: remaining name: /app/ejb/
    rcxEJB.jar#FoxServicePayRollBean/local-home]; Link Remaining Name:
    'null'
    at
    weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:
    98)
    at
    weblogic.jndi.internal.ServerNamingNode.resolveObject(ServerNamingNode.java:
    292)
    at
    weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:
    771)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:
    191)
    at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:
    477)
    at
    weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:
    108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:
    420)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:
    363)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:
    415)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:
    30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.naming.NameNotFoundException: remaining name: /app/
    ejb/rcxEJB.jar#FoxServicePayRollBean/local-home
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:57)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:62)
    at
    weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:
    45)
    at
    weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:
    130)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at
    weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:
    96)
    ... 13 more
    Exception in thread "main"
     
    mahesh, Mar 8, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    746
    Esmond Pitt
    Mar 27, 2005
  2. Replies:
    0
    Views:
    2,689
  3. lizard
    Replies:
    0
    Views:
    1,770
    lizard
    Jan 30, 2006
  4. Harman
    Replies:
    1
    Views:
    2,511
    Moiristo
    Jul 28, 2006
  5. Andrew Thompson

    javax.servlet and javax.servlet.http

    Andrew Thompson, Apr 24, 2007, in forum: Java
    Replies:
    1
    Views:
    664
    newbie_at_tomcat
    Apr 25, 2007
Loading...

Share This Page