File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Running a JEE 1.5 Swing Client with an 1.4 EJB-Container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Running a JEE 1.5 Swing Client with an 1.4 EJB-Container" Watch "Running a JEE 1.5 Swing Client with an 1.4 EJB-Container" New topic
Author

Running a JEE 1.5 Swing Client with an 1.4 EJB-Container

Ali Reza Hosseini
Ranch Hand

Joined: Apr 28, 2005
Posts: 33
Is there a way to connect a jee 1.5 swing client to a j2ee 1.4 ejb server
an let the client use the ejbs there?

When I try to do this I get the following exception

Cannot use a 1.3.x ORB with a 1.4.x JDK
Exception in thread "P=469187 =0:CT" javax.naming.NamingException: Failed to initialize the ORB [Root exception is org.omg.CORBA.INITIALIZE: java.lang.Exception: Cannot use a 1.3.x ORB with a 1.4.x JDK vmcid: 0x4942f000 minor code: 1285 completed: No]
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:293)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:366)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
at com.ibm.ws.naming.util.WsnInitCtx.addToEnvironment(WsnInitCtx.java:360)
at javax.naming.InitialContext.addToEnvironment(Unknown Source)
at test.main(test.java:43)
Caused by: org.omg.CORBA.INITIALIZE: java.lang.Exception: Cannot use a 1.3.x ORB with a 1.4.x JDK vmcid: 0x4942f000 minor code: 1285 completed: No
at com.ibm.rmi.util.Version.checkVersions(Version.java:149)
at com.ibm.rmi.corba.ORB.parseProperties(ORB.java:1732)
at com.ibm.CORBA.iiop.ORB.parseProperties(ORB.java:1376)
at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1225)
at com.ibm.CORBA.iiop.ORB.orbParameters(ORB.java:1151)
at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1178)
at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1704)
at org.omg.CORBA.ORB.init(Unknown Source)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
... 6 more
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running a JEE 1.5 Swing Client with an 1.4 EJB-Container
 
Similar Threads
Access Server's Datasource from standalone
different JVM exception: "Cannot use a 1.3.x ORB with a 1.4.x JDK"
java.lang.IllegalAccessException: Class org.omg.CORBA.ORB can not access a member of class com.ibm.
interop problems with iiop between sun and ibm jvm's
WAS application clients