Is the class com/sun/corba/se/connection/ORBSocketFactory in the JRE 1.5.
I get my WLS 8.1 client working with 1.4 but it desn't work anymore with 1.5 due to the following error:
java.lang.NoClassDefFoundError: com/sun/corba/se/connection/ORBSocketFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at weblogic.corba.j2ee.naming.ORBHelper.<clinit>(ORBHelper.java:112)
at weblogic.corba.client.ClientORBInitializer.initialize(ClientORBInitializer.java:84)
at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModul
e.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javax.security.auth.login.LoginContext.invoke(Unknown Source)
at javax.security.auth.login.LoginContext.access$000(Unknown Source)
at javax.security.auth.login.LoginContext$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
at javax.security.auth.login.LoginContext.login(Unknown Source)
It seems that the cless doesn't exist any more????
Hi, I am also facing the same exception. It seems that the class is refactored casing backward compatibility issues.
The class
com.sun.corba.se.connection.ORBSocketFactory
exists in rt.jar of the 1.4.2 but not in 1.5.0.
In 1.5, its com.sun.corba.se.spi.transport.ORBSocketFactory
I have faced with the same problem as you, and I am too cannot find any clear and full description/solution about upgrading from 1.4 to 1.5 and com.sun.corba.se.connection and com.sun.corba.se.internal packages. I am trying to find official clarification from java.sun.com but without results. Did you get any results with this question?
I will be very grateful for you help!
You don't mention WebLogic, but the OP did. WebLogic 8 will not run on Java 1.5. And WebLogic 9 will not run on Java 1.4. A truly diabolically bad decision because it forces you to do a Java and WebLogic upgrade simultaneously.