How to solve sun/io/MalformedInputException during JNDI lookup on remote WebSphere

后端 未结 2 408
囚心锁ツ
囚心锁ツ 2021-01-06 07:42

I use WebSphere 8.5 to host my application and configured some JDBC resources on the application server. Also I developed a client application using the thin client runtime

2条回答
  •  甜味超标
    2021-01-06 08:16

    If you wanna use Oracle JDK 8.0 with IBM Websphere, try to replace 'ibmorb.jar' in your classpath to a newer (that using new java.nio.charset.MalformedInputException class).

    You can find it here:

    1. Download IBM JDK 8.0 (https://www.ibm.com/developerworks/java/jdk/java8/);
    2. Unzip obtained archive into a folder (eclipseDevelopmentPackage by default);
    3. Copy 'ibmorb.jar' from the following path: /eclipseDevelopmentPackage/ibm_sdk80/jre/lib/ibmorb.jar

    Hope these help.

提交回复
热议问题