I'm trying to move a working online payment application from one iSeries at V5R2 to another iSeries at V5R2. I get java.lang.NoClassDefFoundError: com/sun/net/ssl/TrustManagerFactory at java/lang/Throwable.(Throwable.java:195) at java/lang/Error.(Error.java:49) at java/lang/NoClassDefFoundError.(NoClassDefFoundError.java:40) at com/Verisign/payment/f.([DashoPro-V1.2-120198]:0) at com/Verisign/payment/e.([DashoPro-V1.2-120198]:0) at com/Verisign/payment/e.([DashoPro-V1.2-120198]:0) at com/Verisign/payment/b.e([DashoPro-V1.2-120198]:0) at com/Verisign/payment/b.b([DashoPro-V1.2-120198]:0) at com/Verisign/payment/PFProAPI.SubmitTransaction([DashoPro-V1.2-120198] :0)...The /QIBM/UserData/Java400/SystemDefault.properties files are identical on both machines (pointing to JDK 1.4)The /QIBM/ProdData/Java400/jdk14/lib/security/java.security files are identical as well (excerpt)security.provider.1=sun.security.provider.Sunsecurity.provide r.2=com.sun.net.ssl.internal.ssl.Providersecurity.provider.3=com.ibm.c rypto.provider.IBMJCEsecurity.provider.4=com.sun.rsajca.Providersecuri ty.provider.5=com.ibm.security.cert.IBMCertPathsecurity.provider.6=com .ibm.jsse.IBMJSSEProvidersecurity.provider.7=com.ibm.as400.ibmonly.net .ssl.Providersecurity.provider.8=com.ibm.security.jgss.IBMJGSSProvider security.overridePropertiesFile=truessl.KeyManagerFactory.algorithm=Ib mX509ssl.TrustManagerFactory.algorithm=IbmX509ssl.SocketFactory.provid er=com.ibm.jsse.JSSESocketFactoryssl.ServerSocketFactory.provider=com. ibm.jsse.JSSEServerSocketFactory The documentation for the pure Java JSSE provider is not easy to locate (the obvious documentation points to changing to the native provider.) DeveloperWorks throws me 500 errors so I can't check there. Ignite/400 doesn't seem to have any info on JSSE; the archives here have Shannon trying to get it going but I think he was using JDK 1.3 (when JSSE was an extension and not part of the base Java implementation.) Google didn't net me anything useful either. My task is complicated by the fact that the Java programmer who did the original install of this had lots of problems on the first box, and as a result there are copies of the JSSE extension, expanded jar files, copies of jar files and so on scattered throughout the machine. The programmer is gone and what ever notes were made are gone as well. This makes it difficult to find a canonical 'working' configuration on the 'working' machine. If there is a good reference for implementing JSSE on iSeries with JDK 1.4 I would deeply appreciate knowing about it. --buck
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.