Websphere6.1访问weblogic8.1.3ejb

Was6.1访问weblogic8.1.3ejb

Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@2073328532 Local Classpath:  Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ProtectionClassLoader@6f326f32
[3] com.ibm.ws.bootstrap.ExtClassLoader@19ee19ee
[4] org.eclipse.osgi.framework.adaptor.core.CDSBundleClassLoader@7a8c7a8c
[5] sun.misc.Launcher$AppClassLoader@3e163e16
[6] sun.misc.Launcher$ExtClassLoader@5fc45fc4
—Original exception—
java.lang.NoClassDefFoundError: com.sun.corba.se.connection.ORBSocketFactory
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:222)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:526)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:477)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:373)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:131)
at weblogic.corba.j2ee.naming.ORBHelper.<clinit>(ORBHelper.java:112)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:144)
at weblogic.corba.client.ClientORBInitializer.initialize(ClientORBInitializer.java:84)
at weblogic.jndi.WLInitialContextFactory.<init>(WLInitialContextFactory.java:29)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1263)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:666)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:259)
at javax.naming.InitialContext.init(InitialContext.java:235)
at javax.naming.InitialContext.<init>(InitialContext.java:209)

将wlclient-8.1.3.0.jar、rt-Sun_JDK_1.4.2.jar加入你的classpath中

Caused by: java.lang.NoClassDefFoundError: Error while defining class: weblogic.corba.client.cluster.ORBSocketFactory
This error indicates that the class: com.sun.corba.se.connection.ORBSocketFactory
could not be located while defining the class: weblogic.corba.client.cluster.ORBSocketFactory
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
*** indicates classloader where the missing class could have been found
==>[0]
com.ibm.ws.classloader.CompoundClassLoader@72107210

原创文章,转载请注明: 转载自海波无痕

本文链接地址: Websphere6.1访问weblogic8.1.3ejb

文章的脚注信息由WordPress的wp-posturl插件自动生成

此条目发表在javaee, weblogic, websphere分类目录,贴了, , , , 标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

评论链接可以 移除 nofollow.