[jboss-user] [IronJacamar] - Re: Resource Adapter + authentication

Bjørn Westblad do-not-reply at jboss.com
Tue Apr 24 06:40:43 EDT 2012


Bjørn Westblad [https://community.jboss.org/people/bjorwes] created the discussion

"Re: Resource Adapter + authentication"

To view the discussion, visit: https://community.jboss.org/message/731862#731862

--------------------------------------------------------------
Hi, 

I seem to have the same problem on JBoss 7.1.1-FINAL - even though the related issue is supposed to be resolved.
I have a resource adapter for connection to WMQ, that tries to use a <security-domain> for SSL-authentication to the MQ-server.

Note that the connection to WMQ works if I only use the <application/> tag for the resource adapter, but we need to use SSL and it simply seems to not pick up the configuration.




<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">  
..................                
    <connection-definitions>
        <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl" jndi-name="java:jboss/six-qcf" enabled="true" use-java-context="true" pool-name="QueueConnection" use-ccm="true">
            <config-property name="port">
                PORTNAME
            </config-property>
            <config-property name="hostName">
                HOSTNAME
            </config-property>
            <config-property name="channel">
                CHANNELNAME
            </config-property>
            <config-property name="transportType">
                CLIENT
            </config-property>
            <config-property name="queueManager">
                QMQR-NAME
            </config-property>
            <security>
                <security-domain>ResourceAdapter-policy</security-domain>
            </security>
        </connection-definition>
    </connection-definitions>
</subsystem>

<subsystem xmlns="urn:jboss:domain:security:1.1">
........................
    <security-domain name="ResourceAdapter-policy" cache-type="default">
        <jsse keystore-password="****" keystore-type="JKS" keystore-url="/opt/jboss/etc/keystore.jks" truststore-password="***" truststore-type="JKS" truststore-url="/opt/jboss/etc/truststore.jks" cipher-suites="TLS_RSA_WITH_AES_128_CBC_SHA" server-alias="host-key" client-alias="host-key"/>
    </security-domain>
</subsystem>




The following error message is shown in server.log:
11:53:46,871 WARN  [org.springframework.jms.listener.DefaultMessageListenerContainer] (Container-1) Setup of JMS message listener invoker failed for destination 'com.ibm.mq.connector.outbound.MQQueueProxy at 296df388' - trying to recover. Cause: PB00024: Access Denied:Unauthenticated caller:null
11:53:46,872 WARN  [org.springframework.jms.listener.DefaultMessageListenerContainer] (Container-1) Could not refresh JMS Connection for destination 'com.ibm.mq.connector.outbound.MQQueueProxy at 296df388' - retrying in 5000 ms. Cause: PB00024: Access Denied:Unauthenticated caller:null
--------------------------------------------------------------

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

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

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


More information about the jboss-user mailing list