Posted: Thu Aug 26, 2004 7:31 am Post subject: java.lang.NoClassDefFoundError javax/net/ssl/HandshakeComple
Apprentice
Joined: 18 Aug 2004 Posts: 43
Hi,
I am testing SSL support for MQ Series V5.3 CSD07 (Solaris v 2. and getting following error when I start a sample program.
The Client is running on the same box on which MQ QMgr is running. I am able to create all the certificates and install them I used gsk6smd to do certificate related stuff- so the environment and JVM is all setup correctly.
Here is the exception stack trace -
Exception in thread "main" java.lang.NoClassDefFoundError: javax/net/ssl/HandshakeCompletedListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at com.ibm.mq.MQInternalCommunications.createSocketConnection(MQInternalCommunications.java:1355)
at com.ibm.mq.MQInternalCommunications.access$000(MQInternalCommunications.java:114)
at com.ibm.mq.MQInternalCommunications$1.run(MQInternalCommunications.java:498)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.MQInternalCommunications.<init>(MQInternalCommunications.java:494)
at com.ibm.mq.MQSESSIONClient.MQCONN(MQSESSIONClient.java:1316)
at com.ibm.mq.MQSESSIONClient.MQCONNX(MQSESSIONClient.java:1388)
at com.ibm.mq.MQSESSIONClient.spiConnect(MQSESSIONClient.java:4333)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:211)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:276)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:296)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:171)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:754)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:688)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:469)
at com.ibm.mq.MQSPIQueueManager.<init>(MQSPIQueueManager.java:52)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2200)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1701)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:144)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:106)
Please let me know any ideas/suggestions to correct this problem. Thank you. The java that came with gsk6cmd does not seem to have this class in the jar files. Do I need to point to another JVM ( higher version) ? But, per the doc from IBM i need to use the JAVA_HOME to be /opt/mqm/ssl. Do the /opt/mqm/ssl/lib/ect jar files have to be added to the classpath for this to work ( just guessing???).
Raj
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum