这个错误问题是啥意思,又谁知道啊,谢谢了

03-12-25 ljm
C:\bea\jdk131_03\bin\javaw -classpath "D:\ejb\cmp\classes;C:\bea\weblogic700\server\lib\weblogic.jar;C:\bea\weblogic700\server\lib\webservices.jar;C:\JBuilder9\lib\jdsserver.jar;C:\JBuilder9\lib\beandt.jar;C:\JBuilder9\lib\dx.jar;C:\bea\jdk131_03\jre\lib\i18n.jar;C:\bea\jdk131_03\jre\lib\jaws.jar;C:\bea\jdk131_03\jre\lib\rt.jar;C:\bea\jdk131_03\jre\lib\sunrsasign.jar;C:\bea\jdk131_03\lib\dt.jar;C:\bea\jdk131_03\lib\htmlconverter.jar;C:\bea\jdk131_03\lib\tools.jar" cmp.Xtm01TestClient1

-- Initializing bean access.

javax.naming.NameNotFoundException: Unable to resolve 'Xtm01Remote' Resolved: '' Unresolved:'Xtm01Remote' ; remaining name 'Xtm01Remote'

at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)

at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)

at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)-- Failed initializing bean access.

at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)

at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)

at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333)

at javax.naming.InitialContext.lookup(InitialContext.java:345)

at cmp.Xtm01TestClient1.initialize(Xtm01TestClient1.java:32)

at cmp.Xtm01TestClient1.<init>(Xtm01TestClient1.java:17)

at cmp.Xtm01TestClient1.main(Xtm01TestClient1.java:261)

java.lang.NullPointerException

at cmp.Xtm01TestClient1.findByPrimaryKey(Xtm01TestClient1.java:110)

at cmp.Xtm01TestClient1.main(Xtm01TestClient1.java:262)-- Calling findByPrimaryKey(10002002)

-- Failed: findByPrimaryKey(10002002)

-- Return value from findByPrimaryKey(10002002): null.

Error in getXtyhdm(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.

Error in getXtyhmc(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.

arlin
2003-12-25 20:40
no

arlin
2003-12-25 20:41
no

cats_tiger
2003-12-26 09:57
没有找到JNDI名字!

检查你的lookup("Xtm01Remote")

检查InitailContext

进入weblogic console 检查jndi tree

猜你喜欢