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