[JBoss JIRA] (WFLY-5576) JBAS014666: Duplicate resource resource-adapters
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFLY-5576?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil updated WFLY-5576:
------------------------------
Component/s: JCA
(was: JMS)
> JBAS014666: Duplicate resource resource-adapters
> ------------------------------------------------
>
> Key: WFLY-5576
> URL: https://issues.jboss.org/browse/WFLY-5576
> Project: WildFly
> Issue Type: Bug
> Components: JCA
> Reporter: Pradeep Pantula
> Assignee: Jeff Mesnil
> Priority: Blocker
> Labels: ibm-mq, jms, resource-adapter, wildfly
>
> Hi,
> I'm trying to deploy wmq.jmsra.rar (IBM MQ resource adapter) on wildfly 8.2.0 final. At the time of deployment I'm getting following exception.
> MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@46a660f2" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters exception.
>
> My requirement is that I have to connect to multiple Queue connection factories on multiple hosts. For this I have configured 4 resource adapters which connects to different queue connection factories.
> I have tried with WildFly 8.1 and WildFly 8.2. In both the servers I'm facing the same issue.
>
> Can anyone suggest me of how to configure this properly.
> Complete configuration for resource adapters and exceptions occurred pasted below.
>
> Resource adapter configuration in standalone.xml
> <subsystem xmlns="urn:jboss:domain:resource-adapters:2.0">
> <resource-adapters>
> <resource-adapter id="wmq1.jmsra.rar">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/phptp" enabled="true" pool-name="mqConnectionPHPTPPool">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> <resource-adapter id="wmq.jmsra.rar">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/ph" enabled="true" pool-name="mqConnectionPHPool">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> <resource-adapter id="wmq.jmsra.rar3">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/vhptp" enabled="true" pool-name="mqConnectionVHPTPPool1">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> <resource-adapter id="wmq.jmsra.rar4">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/vh" enabled="true" pool-name="mqConnectionVHool">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> </resource-adapters>
> </subsystem>
> Exceptions at the time of deployment.
> 14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-5) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@46a660f2" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
> at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
>
> 14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-6) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@6358919d" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
> at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
>
> 14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-4) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@5f064521" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
> at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
>
> Please advise in this regard.
> Thanks in Advance.
> Pradeep. P
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 10 months
[JBoss JIRA] (WFLY-5576) JBAS014666: Duplicate resource resource-adapters
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFLY-5576?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil reassigned WFLY-5576:
---------------------------------
Assignee: Jesper Pedersen (was: Jeff Mesnil)
> JBAS014666: Duplicate resource resource-adapters
> ------------------------------------------------
>
> Key: WFLY-5576
> URL: https://issues.jboss.org/browse/WFLY-5576
> Project: WildFly
> Issue Type: Bug
> Components: JCA
> Reporter: Pradeep Pantula
> Assignee: Jesper Pedersen
> Priority: Blocker
> Labels: ibm-mq, jms, resource-adapter, wildfly
>
> Hi,
> I'm trying to deploy wmq.jmsra.rar (IBM MQ resource adapter) on wildfly 8.2.0 final. At the time of deployment I'm getting following exception.
> MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@46a660f2" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters exception.
>
> My requirement is that I have to connect to multiple Queue connection factories on multiple hosts. For this I have configured 4 resource adapters which connects to different queue connection factories.
> I have tried with WildFly 8.1 and WildFly 8.2. In both the servers I'm facing the same issue.
>
> Can anyone suggest me of how to configure this properly.
> Complete configuration for resource adapters and exceptions occurred pasted below.
>
> Resource adapter configuration in standalone.xml
> <subsystem xmlns="urn:jboss:domain:resource-adapters:2.0">
> <resource-adapters>
> <resource-adapter id="wmq1.jmsra.rar">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/phptp" enabled="true" pool-name="mqConnectionPHPTPPool">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> <resource-adapter id="wmq.jmsra.rar">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/ph" enabled="true" pool-name="mqConnectionPHPool">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> <resource-adapter id="wmq.jmsra.rar3">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/vhptp" enabled="true" pool-name="mqConnectionVHPTPPool1">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> <resource-adapter id="wmq.jmsra.rar4">
> <archive>
> wmq.jmsra.rar
> </archive>
> <transaction-support>NoTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/vh" enabled="true" pool-name="mqConnectionVHool">
> <config-property name="port">
> 1415
> </config-property>
> <config-property name="hostName">
> 192.168.0.247
> </config-property>
> <config-property name="transportType">
> CLIENT
> </config-property>
> <config-property name="cleanupInterval">
> 300000
> </config-property>
> <config-property name="queueManager">
> cbp.queue.manager
> </config-property>
> <pool>
> <min-pool-size>1</min-pool-size>
> <max-pool-size>200</max-pool-size>
> <prefill>true</prefill>
> </pool>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> </resource-adapters>
> </subsystem>
> Exceptions at the time of deployment.
> 14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-5) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@46a660f2" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
> at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
>
> 14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-6) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@6358919d" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
> at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
>
> 14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-4) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@5f064521" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
> at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
>
> Please advise in this regard.
> Thanks in Advance.
> Pradeep. P
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 10 months
[JBoss JIRA] (WFLY-5576) JBAS014666: Duplicate resource resource-adapters
by Pradeep Pantula (JIRA)
Pradeep Pantula created WFLY-5576:
-------------------------------------
Summary: JBAS014666: Duplicate resource resource-adapters
Key: WFLY-5576
URL: https://issues.jboss.org/browse/WFLY-5576
Project: WildFly
Issue Type: Bug
Components: JMS
Reporter: Pradeep Pantula
Assignee: Jeff Mesnil
Priority: Blocker
Hi,
I'm trying to deploy wmq.jmsra.rar (IBM MQ resource adapter) on wildfly 8.2.0 final. At the time of deployment I'm getting following exception.
MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@46a660f2" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters exception.
My requirement is that I have to connect to multiple Queue connection factories on multiple hosts. For this I have configured 4 resource adapters which connects to different queue connection factories.
I have tried with WildFly 8.1 and WildFly 8.2. In both the servers I'm facing the same issue.
Can anyone suggest me of how to configure this properly.
Complete configuration for resource adapters and exceptions occurred pasted below.
Resource adapter configuration in standalone.xml
<subsystem xmlns="urn:jboss:domain:resource-adapters:2.0">
<resource-adapters>
<resource-adapter id="wmq1.jmsra.rar">
<archive>
wmq.jmsra.rar
</archive>
<transaction-support>NoTransaction</transaction-support>
<connection-definitions>
<connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/phptp" enabled="true" pool-name="mqConnectionPHPTPPool">
<config-property name="port">
1415
</config-property>
<config-property name="hostName">
192.168.0.247
</config-property>
<config-property name="transportType">
CLIENT
</config-property>
<config-property name="queueManager">
cbp.queue.manager
</config-property>
<config-property name="cleanupInterval">
300000
</config-property>
<pool>
<min-pool-size>1</min-pool-size>
<max-pool-size>200</max-pool-size>
<prefill>true</prefill>
</pool>
</connection-definition>
</connection-definitions>
</resource-adapter>
<resource-adapter id="wmq.jmsra.rar">
<archive>
wmq.jmsra.rar
</archive>
<transaction-support>NoTransaction</transaction-support>
<connection-definitions>
<connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/ph" enabled="true" pool-name="mqConnectionPHPool">
<config-property name="port">
1415
</config-property>
<config-property name="hostName">
192.168.0.247
</config-property>
<config-property name="transportType">
CLIENT
</config-property>
<config-property name="cleanupInterval">
300000
</config-property>
<config-property name="queueManager">
cbp.queue.manager
</config-property>
<pool>
<min-pool-size>1</min-pool-size>
<max-pool-size>200</max-pool-size>
<prefill>true</prefill>
</pool>
</connection-definition>
</connection-definitions>
</resource-adapter>
<resource-adapter id="wmq.jmsra.rar3">
<archive>
wmq.jmsra.rar
</archive>
<transaction-support>NoTransaction</transaction-support>
<connection-definitions>
<connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/vhptp" enabled="true" pool-name="mqConnectionVHPTPPool1">
<config-property name="port">
1415
</config-property>
<config-property name="hostName">
192.168.0.247
</config-property>
<config-property name="transportType">
CLIENT
</config-property>
<config-property name="cleanupInterval">
300000
</config-property>
<config-property name="queueManager">
cbp.queue.manager
</config-property>
<pool>
<min-pool-size>1</min-pool-size>
<max-pool-size>200</max-pool-size>
<prefill>true</prefill>
</pool>
</connection-definition>
</connection-definitions>
</resource-adapter>
<resource-adapter id="wmq.jmsra.rar4">
<archive>
wmq.jmsra.rar
</archive>
<transaction-support>NoTransaction</transaction-support>
<connection-definitions>
<connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/vh" enabled="true" pool-name="mqConnectionVHool">
<config-property name="port">
1415
</config-property>
<config-property name="hostName">
192.168.0.247
</config-property>
<config-property name="transportType">
CLIENT
</config-property>
<config-property name="cleanupInterval">
300000
</config-property>
<config-property name="queueManager">
cbp.queue.manager
</config-property>
<pool>
<min-pool-size>1</min-pool-size>
<max-pool-size>200</max-pool-size>
<prefill>true</prefill>
</pool>
</connection-definition>
</connection-definitions>
</resource-adapter>
</resource-adapters>
</subsystem>
Exceptions at the time of deployment.
14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-5) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@46a660f2" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-6) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@6358919d" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
14:47:57,544 ERROR [org.jboss.msc.service] (MSC service thread 1-4) MSC000002: Invocation of listener "org.jboss.as.connector.util.RaServicesFactory$2@5f064521" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceListener.java:140) [wildfly-connector-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
Please advise in this regard.
Thanks in Advance.
Pradeep. P
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 10 months
[JBoss JIRA] (SECURITY-897) Unable to authenticate in SPNEGO Login Module with NullPointerException
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/SECURITY-897?page=com.atlassian.jira.plug... ]
Darran Lofthouse reassigned SECURITY-897:
-----------------------------------------
Assignee: Chao Wang (was: Darran Lofthouse)
> Unable to authenticate in SPNEGO Login Module with NullPointerException
> -----------------------------------------------------------------------
>
> Key: SECURITY-897
> URL: https://issues.jboss.org/browse/SECURITY-897
> Project: PicketBox
> Issue Type: Bug
> Components: Negotiation
> Affects Versions: Negotiation_2_3_6_Final
> Environment: Red Hat JBoss EAP 6.3.2
> Reporter: Kunjan Rathod
> Assignee: Chao Wang
> Labels: jboss, jboss-as
> Fix For: Negotiation_3_0_0_Final
>
>
> Description of problem:
> The configuration with SPNEGO works fine, however from time to time the authentication fails with the following error:
> ERROR (HTTP-341) [org.jboss.security.auth.spi.AbstractServerLoginModule] Unable to authenticate: java.lang.NullPointerException
> at org.jboss.security.negotiation.spnego.SPNEGOLoginModule$AcceptSecContext.run(SPNEGOLoginModule.java:420)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:356)
> Version-Release number of selected component (if applicable):
> JBoss Security Negotiation 2.3.3.Final
> How reproducible:
> This happens very rarely (20 times in a day on a system where about 50 users are working) and it is extremely hard to reproduce.
> Additional info:
> At line 420 in [1], the GSSToken is null
> ~~~~
> if (respToken != null)
> {
> NegotiationMessage response;
> if (requestMessage instanceof KerberosMessage)
> {
> response = new KerberosMessage(Constants.KERBEROS_V5, respToken);
> }
> else
> {
> NegTokenTarg negTokenTarg = new NegTokenTarg();
> negTokenTarg.setResponseToken(respToken);
> response = negTokenTarg;
> }
> ~~~~
> It looks like a GSSToken can be or is null, check the line#344 as follows:-
> ~~~~~~~~~
> public Object run()
> {
> try
> {
> // The message type will have already been checked before this point so we know it is
> // a SPNEGO message.
> NegotiationMessage requestMessage = negotiationContext.getRequestMessage();
> // TODO - Ensure no way to fall through with gssToken still null.
> byte[] gssToken = null;
> if (requestMessage instanceof NegTokenInit)
> {
> ...
> ~~~~~~~~~
> [1] : https://github.com/wildfly-security/jboss-negotiation/blob/2.3.3.Final/jb...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 10 months
[JBoss JIRA] (SECURITY-897) Unable to authenticate in SPNEGO Login Module with NullPointerException
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/SECURITY-897?page=com.atlassian.jira.plug... ]
Darran Lofthouse resolved SECURITY-897.
---------------------------------------
Resolution: Done
> Unable to authenticate in SPNEGO Login Module with NullPointerException
> -----------------------------------------------------------------------
>
> Key: SECURITY-897
> URL: https://issues.jboss.org/browse/SECURITY-897
> Project: PicketBox
> Issue Type: Bug
> Components: Negotiation
> Affects Versions: Negotiation_2_3_6_Final
> Environment: Red Hat JBoss EAP 6.3.2
> Reporter: Kunjan Rathod
> Assignee: Chao Wang
> Labels: jboss, jboss-as
> Fix For: Negotiation_3_0_0_Final
>
>
> Description of problem:
> The configuration with SPNEGO works fine, however from time to time the authentication fails with the following error:
> ERROR (HTTP-341) [org.jboss.security.auth.spi.AbstractServerLoginModule] Unable to authenticate: java.lang.NullPointerException
> at org.jboss.security.negotiation.spnego.SPNEGOLoginModule$AcceptSecContext.run(SPNEGOLoginModule.java:420)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:356)
> Version-Release number of selected component (if applicable):
> JBoss Security Negotiation 2.3.3.Final
> How reproducible:
> This happens very rarely (20 times in a day on a system where about 50 users are working) and it is extremely hard to reproduce.
> Additional info:
> At line 420 in [1], the GSSToken is null
> ~~~~
> if (respToken != null)
> {
> NegotiationMessage response;
> if (requestMessage instanceof KerberosMessage)
> {
> response = new KerberosMessage(Constants.KERBEROS_V5, respToken);
> }
> else
> {
> NegTokenTarg negTokenTarg = new NegTokenTarg();
> negTokenTarg.setResponseToken(respToken);
> response = negTokenTarg;
> }
> ~~~~
> It looks like a GSSToken can be or is null, check the line#344 as follows:-
> ~~~~~~~~~
> public Object run()
> {
> try
> {
> // The message type will have already been checked before this point so we know it is
> // a SPNEGO message.
> NegotiationMessage requestMessage = negotiationContext.getRequestMessage();
> // TODO - Ensure no way to fall through with gssToken still null.
> byte[] gssToken = null;
> if (requestMessage instanceof NegTokenInit)
> {
> ...
> ~~~~~~~~~
> [1] : https://github.com/wildfly-security/jboss-negotiation/blob/2.3.3.Final/jb...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 10 months
[JBoss JIRA] (SECURITY-897) Unable to authenticate in SPNEGO Login Module with NullPointerException
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/SECURITY-897?page=com.atlassian.jira.plug... ]
Darran Lofthouse updated SECURITY-897:
--------------------------------------
Fix Version/s: Negotiation_3_0_0_Final
> Unable to authenticate in SPNEGO Login Module with NullPointerException
> -----------------------------------------------------------------------
>
> Key: SECURITY-897
> URL: https://issues.jboss.org/browse/SECURITY-897
> Project: PicketBox
> Issue Type: Bug
> Components: Negotiation
> Affects Versions: Negotiation_2_3_6_Final
> Environment: Red Hat JBoss EAP 6.3.2
> Reporter: Kunjan Rathod
> Assignee: Darran Lofthouse
> Labels: jboss, jboss-as
> Fix For: Negotiation_3_0_0_Final
>
>
> Description of problem:
> The configuration with SPNEGO works fine, however from time to time the authentication fails with the following error:
> ERROR (HTTP-341) [org.jboss.security.auth.spi.AbstractServerLoginModule] Unable to authenticate: java.lang.NullPointerException
> at org.jboss.security.negotiation.spnego.SPNEGOLoginModule$AcceptSecContext.run(SPNEGOLoginModule.java:420)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:356)
> Version-Release number of selected component (if applicable):
> JBoss Security Negotiation 2.3.3.Final
> How reproducible:
> This happens very rarely (20 times in a day on a system where about 50 users are working) and it is extremely hard to reproduce.
> Additional info:
> At line 420 in [1], the GSSToken is null
> ~~~~
> if (respToken != null)
> {
> NegotiationMessage response;
> if (requestMessage instanceof KerberosMessage)
> {
> response = new KerberosMessage(Constants.KERBEROS_V5, respToken);
> }
> else
> {
> NegTokenTarg negTokenTarg = new NegTokenTarg();
> negTokenTarg.setResponseToken(respToken);
> response = negTokenTarg;
> }
> ~~~~
> It looks like a GSSToken can be or is null, check the line#344 as follows:-
> ~~~~~~~~~
> public Object run()
> {
> try
> {
> // The message type will have already been checked before this point so we know it is
> // a SPNEGO message.
> NegotiationMessage requestMessage = negotiationContext.getRequestMessage();
> // TODO - Ensure no way to fall through with gssToken still null.
> byte[] gssToken = null;
> if (requestMessage instanceof NegTokenInit)
> {
> ...
> ~~~~~~~~~
> [1] : https://github.com/wildfly-security/jboss-negotiation/blob/2.3.3.Final/jb...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 10 months