javax.jms.JMSSecurityException Error When Doing A JNDI Lookup In Java CAPS 6 (Doc ID 1026039.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 and later
Information in this document applies to any platform.
****Checked for relevance on 28-May-2015****


Symptoms

After migrating a project from JCAPS 5.1.3 to CAPS 6, the following error occurs when doing a JNDI lookup to create a JMS connection to STCMS.

This worked in JCAPS 5.1.3.

Error:

javax.jms.JMSSecurityException: Access denied by server. Check userid and password.
    at com.stc.jms.sockets.ProxyStcms.newSession(ProxyStcms.java:280)
    at com.stc.jms.client.SessionImpl.<init>(SessionImpl.java:186)
    at com.stc.jms.client.ConnectionImpl.obtainSessionImpl(ConnectionImpl.java:355)
    at com.stc.jms.client.STCTopicConnection.createTopicSession(STCTopicConnection.java:97)
    at Test_Dummy.main(Test_Dummy.java:21)

Changes

project migrated from JCAPS 5.1.3 to CAPS 6

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