ibm-jvm

Error accessing a Web Service with SSL

谁说胖子不能爱 提交于 2019-12-30 01:05:58
问题 I have a program that is supposed to send a file to a web service, which requires an SSL connection. I run the program as follows: SET JAVA_HOME=C:\Program Files\Java\jre1.6.0_07 SET com.ibm.SSL.ConfigURL=ssl.client.props "%JAVA_HOME%\bin\java" -cp ".;Test.jar" ca.mypackage.Main This was works fine, but when I change the first line to SET JAVA_HOME=C:\Program Files\IBM\SDP\runtimes\base_v7\java\jre I get the following error: com.sun.xml.internal.ws.client.ClientTransportException: HTTP

Error accessing a Web Service with SSL

孤街浪徒 提交于 2019-12-30 01:05:09
问题 I have a program that is supposed to send a file to a web service, which requires an SSL connection. I run the program as follows: SET JAVA_HOME=C:\Program Files\Java\jre1.6.0_07 SET com.ibm.SSL.ConfigURL=ssl.client.props "%JAVA_HOME%\bin\java" -cp ".;Test.jar" ca.mypackage.Main This was works fine, but when I change the first line to SET JAVA_HOME=C:\Program Files\IBM\SDP\runtimes\base_v7\java\jre I get the following error: com.sun.xml.internal.ws.client.ClientTransportException: HTTP

How to detect whether String.substring copies the character data

主宰稳场 提交于 2019-12-18 04:08:54
问题 I know that for Oracle Java 1.7 update 6 and newer, when using String.substring , the internal character array of the String is copied, and for older versions, it is shared. But I found no offical API that would tell me the current behavior. Use Case My use case is: In a parser, I like to detect whether String.substring copies or shares the underlying character array. The problem is, if the character array is shared, then my parser needs to explicitly "un-share" using new String(s) to avoid

IBM JVM 1.6 SR14: java.lang.UnsatisfiedLinkError: fontmanager (Not found in com.ibm.oti.vm.bootstrap.library.path)

不羁岁月 提交于 2019-12-08 13:35:02
问题 We upgraded IBM Java on our AIX machine from Java 1.6 SR 9 to Java 1.6 SR14 and now we have following error during start of our applications: Exception in thread "main" java.lang.UnsatisfiedLinkError: fontmanager (Not found in com.ibm.oti.vm.bootstrap.library.path) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1030) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:994) at java.lang.System.loadLibrary(System.java:507) at sun.font.FontManager$1.run