Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB3.1-Weblogic12C. Problem creating dummy orb: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code

 
Anirudh Gupta
Ranch Hand
Posts: 49
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have been trying to create a simple SLSB3.1 on Weblogic12C(which surprsingly ships without jRockit).
All units have been compiled using JDK1.6_29.
The server is also running on Java1.6_29.

I can deploy the same EJB using a 2.1 setup with ejb-jar.xml and weblogic-ejb-jar.xml.
The remote client very easily is able to lookup the remote ejb and return the correct result.

However after commenting(see as attached) some xml tags in ejb-jar.xml and weblogic-ejb-jar.xml to enable ONLY 3.1 lookup
I keep receiving a strange error as below,
Problem creating dummy orb: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
Exception in thread "main" java.lang.AssertionError: Context may not be null
at weblogic.j2eeclient.SimpleContext.checkForNameUnderRemoteNode(SimpleContext.java:103)
at weblogic.j2eeclient.SimpleContext.internalLookup(SimpleContext.java:68)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:39)
at weblogic.jndi.SimpleContext.lookup(SimpleContext.java:86)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at learn.trial.and.error.test.StatelessDemoBeanTest31.main(StatelessDemoBeanTest31.java:37)


COMPLETELY CLUELESS ON WHAT'S WRONG.!!!
Can someone guide me??







CLIENT
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic