Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connecting to TIBCO EMS queues on 2-way SSL

774676Jul 24 2012 — edited Jul 25 2012
Hi folks,

I am facing a few issues while connecting to TIBCO EMS queues from OSB on 2-way SSL. The following is the error I encountered when I tried to do so.

"There was an error while making the initial connection to the JMS resource named ALSB_JMS_SessionPool_1178959128 from within an EJB or a servlet. The server will attempt the connection again later. The error was javax.jms.JMSSecurityException: Failed to connect to any server at: ssl://<TIBCOHOSTNAME>:20302,ssl:<TIBCOHOSTNAME>:20302 [Error: Can not initialize SSL client: no trusted certificates are set: url that returned this exception = SSL://<TIBCOHOSTNAME>:20302"

I have done the following setup to connect to the TIBCO EMS queues.

1.) Uploaded these jars into the weblogic server by putting them into lib folder.
Tibjms.jar
Tibcrypt.jar
Tibjmsapp.jar
Tibjmsadmin.jar
Tibrvjms.jar

2.) Created a JMS module and JMS foreign server and set the following values.
JNDI Initial Context Factory: com.tibco.tibjms.naming.TibjmsInitialContextFactory
JNDI Connection URL : ssl://<TIBCOHOSTNAME>:20302
JNDI Properties Credentials: password entered
Confirm JNDI Properties Credentials : Re entered the password
JNDI Properties :
com.tibco.tibjms.naming.security_protocol=ssl
java.naming.security.principal= principal provided
com.tibco.tibjms.naming.ssl_enable_verify_host=false

2.) Provided details on connection factory
Name:TibcoJMSForeignConnectionFactory
Local JNDI Name:LocalTibcoQueueConnectionFactory
Remote JNDI Name : SSLQueueConnectionFactory
Provided username and password for CF credentials

3.)Details of the Foreign Destinations:
Name: JMSTibcoAsycReqForeignDestination
Local JNDI Name: localTibcoReqQueue
Remote JNDI Name: remote.tibco.queue

4.) Imported keystores into weblogic server and configured the credential mapping. Created a ServiceKeyProvider in OSB and applied it into the proxy service.

5.) Created the business service as any XML service and put the endpoint URL as follows: jms:///LocalTibcoQueueConnectionFactory/localTibcoReqQueue. I have also turned on 'Use SSL' property.

Is there anything else I need to do on weblogic/OSB server to connect to the TIBCO EMS queues via 2-way SSL?

I 'd appreciate if you can throw more light on any of the setup I missed on weblogic/OSB side of things.

Thanks,
SD
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2012
Added on Jul 24 2012
3 comments
6,713 views