0

jacorb と緊密に結合されたアプリケーションがあり、Jboss でうまく機能しています。ここで、このアプリケーションを移行して、同じものを Websphere 8.5.5 にデプロイする必要があります。一般的な流れは次のとおりです。私のアプリケーションは、corba ussign jacorb を介して別のシステム (C++ で開発) に到達します。IBM は独自の ORB を実装しているため、私のアプリケーションは websphere にデプロイされています。IBM orb jar を使用するようにアプリケーションを変更すると、アプリケーションの 80% を変更する必要があります。エラーを解決するために jacord プロパティと jar を含める方法を教えてください。

マイ トレイル : すべてのトレイルは互いに独立しています。

1) orb.properties、jacorb.jar を保持し、IBM orb.properties を WAS->JAVA->JRE->lib から削除しました。2
) 管理コンソールを介して JVM クラスパスにファイルを含めました (この変更後、サーバーが起動しませんでした)。

3) IBM orb.properties を jacorb プロパティで変更しましたが、クラスキャストの例外が発生しました。

エラー:

[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 

事前にご支援いただきありがとうございます。

4

0 に答える 0