[jboss-user] [JBoss Messaging] - Re: How to configure JBoss to use Tibco JMS over SSL

Umesh R do-not-reply at jboss.com
Thu Oct 14 14:22:31 EDT 2010


Umesh R [http://community.jboss.org/people/umeshr] created the discussion

"Re: How to configure JBoss to use Tibco JMS over SSL"

To view the discussion, visit: http://community.jboss.org/message/566544#566544

--------------------------------------------------------------
If you are configuring tibco jms using ldap and SSL, your jms-ds (~/jboss-5.1.0.GA/server/default/deploy/messaging/jms-ds.xml) mbean entires would look like this

  +<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
        name=":service=JMSProviderLoader,name=TibjmsProvider">
    <attribute name="ProviderName">TIBCOJMSProvider</attribute>
    <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
    <!--
     add ldap path to myqueue factory
    -->
    <attribute name="QueueFactoryRef">CN=prod,OU=myappid,OU=ConnectionFactory,OU=myqueuename</attribute>
    <attribute name="TopicFactoryRef">XAMyTopicConnectionFactory</attribute>
    <attribute name="Properties">
        java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
    <!--
      add ldap server url
        -->
        java.naming.provider.url=myldapurl
    </attribute>
  </mbean> 
+
+   <mbean code="org.jboss.naming.NamingAlias"
                name="DefaultDomain:service=NamingAlias,fromName=TopicConnectionFactory">
    <attribute name="ToName">tibjmsnaming://localhost/XAMyTopicConnectionFactory</attribute>
    <attribute name="FromName">MyTopicConnectionFactory</attribute>
  </mbean> 
+
++ 
+   <mbean code="org.jboss.naming.NamingAlias"
                name="DefaultDomain:service=NamingAlias,fromName=QueueConnectionFactory">
    <attribute name="ToName">tibjmsnaming://localhost/QueueConnectionFactory</attribute>
    <attribute name="FromName">MyQueueConnectionFactory</attribute>
  </mbean>+ 
+    <mbean code="org.jboss.naming.NamingAlias"
                name="DefaultDomain:service=NamingAlias,fromName=MyQueue">
    <!--
     add ldap path to myqueue destination
    -->
    <attribute name="ToName">CN=prod,OU=Destination,OU=myqueuename</attribute>
    <attribute name="FromName">jms/MyQueue</attribute>
  </mbean> 
+
++ 

Normally the cert and key path is configured in ldap(atleast in my case).  Make tibco debug trace enabled so that it will print the cert path in the logs when it throws error if it is not finding the cert path. Place your ca.crt.pem and .p12 files there. The tibco debug trace can be enabled by setting respective system properties, i.e. by adding following entry to $JBOSS_HOME/server/default/deploy/properties-service.xml
   
+  <attribute name="Properties">
        com.tibco.tibjms.debug=true
        com.tibco.tibjms.ssl.debug.trace=true
        com.tibco.tibjms.ssl.trace=true
   </attribute>+

 Make sure to add tibjms.jar, tibcrypt.jar to $JBOSS_HOME/server/default/lib. Btw, the setup did is for jboss-5.1.0.GA
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/566544#566544]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101014/5557dd15/attachment.html 


More information about the jboss-user mailing list