"java.lang.ClassNotFoundException" When Using thint3client in WLS 12.2.1 (Doc ID 2204628.1)

Last updated on DECEMBER 09, 2016

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Getting below ClassNotFoundException when using thin client in WLS 12.2.1.

 Exception in thread "main" weblogic.jms.common.JMSException:
weblogic.messaging.dispatcher.DispatcherException:
java.rmi.UnmarshalException: Problem finding error class; nested exception
is:
java.lang.ClassNotFoundException: Failed to load class weblogic.jms.common.JMSSecurityException
at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:123)
at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:46)
at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:3235)
at weblogic.jms.client.JMSSession.setupConsumer(JMSSession.java:2974)
at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2904)
at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2868)
at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2841)
at weblogic.jms.client.WLSessionImpl.createConsumer(WLSessionImpl.java:860)
at Main.main(Main.java:38)
Caused by: weblogic.messaging.dispatcher.DispatcherException:
java.rmi.UnmarshalException: Problem finding error class; nested exception
is:
java.lang.ClassNotFoundException: Failed to load class
weblogic.jms.common.JMSSecurityException

at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:395)
at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:431)

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms