WAS8.5.5未纳入Jacorb申请

时间:2015-03-04 09:30:40

标签: java websphere corba orb jacorb

我有一个与jacorb紧密结合的应用程序,它与Jboss很好用。现在,我必须迁移此应用程序以在Websphere 8.5.5中部署相同的应用程序。一般流程是,我的应用程序将通过corba usign jacorb到达另一个系统(用C ++开发)。 因为IBM有自己的ORB实现,我的应用程序正在部署在websphere中。如果我的应用程序被修改为使用IBM orb jar,那么80%的appciation必须改变。请建议我使用jacord proeprties和jar来解决错误。

我的踪迹:所有小径彼此独立。

1)保留我的orb.properties,jacorb.jar并删除WAS中的IBM orb.properties-> JAVA-> JRE-> lib
2)通过管理控制台将我的文件包含在JVM类路径中。(此更改后服务器无法启动)。

3)使用jacorb属性修改了IBM orb.properties,但获得了classcast异常。

错误:

[3/4/15 0:52:23:175 PST] 00000001 ContainerHelp E   WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ORBImpl]java.lang.NullPointerException

at java.util.Hashtable.put(Hashtable.java:877)
at org.jacorb.config.JacORBConfiguration.setAttribute(Unknown Source)
at org.jacorb.config.JacORBConfiguration.setAttributes(Unknown Source)
at org.jacorb.config.JacORBConfiguration.init(Unknown Source)
at org.jacorb.config.JacORBConfiguration.<init>(Unknown Source)
at org.jacorb.config.JacORBConfiguration.getConfiguration(Unknown Source)
at org.jacorb.orb.ORB.set_parameters(Unknown Source)
at org.omg.CORBA.ORB.init(ORB.java:371)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:92)



[3/4/15 0:52:23:347 PST] 00000001 ContainerHelp E   WSVR0501E: Error creating component com.ibm.ws.naming.bootstrap.NameServerImpl@e69374e2[_serverProcessType=UnManagedProcess, _listener=null, 

Caused by: javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.reflect.InvocationTargetException]
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:400)
at com.ibm.ws.naming.urlbase.UrlContextImpl.<init>(UrlContextImpl.java:177)
at com.ibm.ws.naming.urlns.genericURLContext.<init>(genericURLContext.java:83)
at com.ibm.ws.naming.urlns.genericURLContextRoot.<init>(genericURLContextRoot.java:79)
at com.ibm.ws.naming.urlns.genericURLContextFactory.createURLContextRoot(genericURLContextFactory.java:110)
... 51 more

Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:391)
... 55 more

Caused by: java.lang.ClassCastException: org.jacorb.orb.ORB incompatible with com.ibm.CORBA.iiop.ORB
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:92)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
at 

感谢你的支持。

0 个答案:

没有答案