javax.naming.NamingException: Unhandled exception in lookup,in linux

we recently migrated our weblogic server from solaris to linux environment, from then we are facing this problem, We are not able get the data from ejbs , lookup to ejb is faling, Can any one provide help or suggest if we are missing out on anything
[256 byte] By [qrious_about_javaa] at [2007-11-26 18:31:29]
# 1
are u trying to get the ejb form the same jvm?
mshanua at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
No , i'm trying to access it from an applet remotely,
qrious_about_javaa at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
have u given all the enviornment properties before lookig up ejbs? like intialcontext parameters and credentials..regardsShanu
mshanua at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
Yes i did, earlier it was working fine in solaris environment, we never modified the sources as wee migrated ,Source is same for both environemtns, the only difference is service pack version of weblogic 8.1.In Solaris it is weblogic 8.1.4.0and in linux it is weblogic
qrious_about_javaa at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
send us the complete error stack trace..
mshanua at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6

This is what i got in java console of Internet Explorer (jsp embeds applet and applet retieves data from EJB)

javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

at .MyLocator.createManager(MyLocator.java:434)

at .MyApplet.initEjb(MyApplet.java:1251)

at .MyApplet.init(MyApplet.java:450)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 8 more

.MyLocatorException: .MyLocatorException: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

at .MyLocator.createManager(MyLocator.java:434)

at .MyApplet.initEjb(MyApplet.java:1251)

at .MyApplet.init(MyApplet.java:450)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 8 more

- end nested exception stack trace -

at .MyLocator.getHome(MyLocator.java:637)

at .MyLocator.createManager(MyLocator.java:434)

at .MyApplet.initEjb(MyApplet.java:1251)

at .MyApplet.init(MyApplet.java:450)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

... 5 more

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 8 more

- end nested exception stack trace -

at .MyLocator.createManager(MyLocator.java:438)

at .MyApplet.initEjb(MyApplet.java:1251)

at .MyApplet.init(MyApplet.java:450)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: .MyLocatorException: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

at .MyLocator.createManager(MyLocator.java:434)

at .MyApplet.initEjb(MyApplet.java:1251)

at .MyApplet.init(MyApplet.java:450)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 8 more

- end nested exception stack trace -

at .MyLocator.getHome(MyLocator.java:637)

at .MyLocator.createManager(MyLocator.java:434)

... 4 more

Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

... 5 more

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 8 more

javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

at .MyLocator.createPlateManager(MyLocator.java:453)

at ..PlateHelper.<init>(PlateHelper.java:48)

at .MyApplet.refreshPanels(MyApplet.java:1667)

at .MyApplet.start(MyApplet.java:1868)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 9 more

Note( @ 11:46:46.031) : Error refreshing data for tabs. Ex: .MyLocatorException: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

at .MyLocator.createPlateManager(MyLocator.java:453)

at ..PlateHelper.<init>(PlateHelper.java:48)

at .MyApplet.refreshPanels(MyApplet.java:1667)

at .MyApplet.start(MyApplet.java:1868)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 9 more

- end nested exception stack trace -

at .MyLocator.getHome(MyLocator.java:637)

at .MyLocator.createPlateManager(MyLocator.java:453)

at ..PlateHelper.<init>(PlateHelper.java:48)

at .MyApplet.refreshPanels(MyApplet.java:1667)

at .MyApplet.start(MyApplet.java:1868)

at sun.MyApplet.MyAppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No]

at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)

at javax.naming.InitialContext.lookup(Unknown Source)

at .MyLocator.getHome(MyLocator.java:628)

... 6 more

Caused by: org.omg.CORBA.COMM_FAILURE:vmcid: SUN minor code: 203 completed: No

at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(Unknown Source)

at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(Unknown Source)

at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(Unknown Source)

at com.sun.corba.se.internal.iiop.RequestImpl.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at com.sun.corba.se.internal.corba.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)

at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

... 9 more

- end nested exception stack trace -

qrious_about_javaa at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
ok..what protocol are u using to get the ejbs..t3? or iiop? are u in the same network domain from where ur cleint is run?
mshanua at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8
t3 protocol only, i'm in different network domain but even i same network domain alos it it throwing same exception
qrious_about_javaa at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 9
ur ebj may not be deployed properly..check your jndi name again..
mshanua at 2007-7-9 6:05:37 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 10
If it was the case it should fail everywhere, but it is working on solaris(onsite) and developers side(offshore) and our test server is also linux(offshore) . But it doen't to seem to cause any problem.
qrious_about_javaa at 2007-7-9 6:05:38 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 11
i guess u are having some network issues..some proxy or some network hassles..
mshanua at 2007-7-9 6:05:38 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 12
how can we know that, that we are having network or proxy issues
qrious_about_javaa at 2007-7-9 6:05:38 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 13
y dont u put a mail or call bea support team to sort out this issue?
mshanua at 2007-7-9 6:05:38 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 14
Thanks alot, you were very helpful. I think i'll send a detailed mail to bea on this issueThanks again,
qrious_about_javaa at 2007-7-9 6:05:38 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 15
I am sorry that i havent encountered this issue before..I am still in dilemma y wls in linux could give u bizzare resonse..i will also do a surf on this issue and update u....regardsShanu
mshanua at 2007-7-21 17:23:20 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 16
In the meanwhile i'll also do some research on this issue, and will update if any breakthrough comes
qrious_about_javaa at 2007-7-21 17:23:20 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 17

The issue got resolved as we gave the listening address for weblogic server , Earlier it was not given, so it was looking in the localhost i.e.(127.0.0.1), So it was causing the problem.

As u said it could be bcoz of network hassles and proxy issues, then i observed his weblogic console and in that no listening address was given.

Any how thanks alot for your help,

I'll be looking forward to your suggestion/help when ever i will be in trouble.

Thanks again

qrious_about_javaa at 2007-7-21 17:23:20 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...