• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

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

Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)

Can someone guide me??

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic