0 Replies Latest reply: Apr 27, 2012 9:40 PM by martien huijsmans RSS

    Exception when disabling a Connnector in JBoss management GUI

    martien huijsmans Newbie

      Deal all,

       

      Some time ago I posted a connector problem (https://community.jboss.org/message/725225#725225) which was not resolved.

      Further playing showed an exception when disabling the connector in the JBoss web gui..

       

      So I did a enable followed by a disable, resulting in the trace below.

       

      1) Is this exception a bug?

       

      2) Can the bug reside in the "enable code", more specific can it be that the "enable code" fails to register SessionRA?
          It is guessing, but it would be an explanation for my "connector problem".

       

      3) I tried to get detailed logging information (I set org.jboss.as.deployment to finest) but that provides the information below.

          Is it possible to get more detailed logging information?

       

      Regards Martien

       

      ######## enable #################

       

      18:00:25,934 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "SessionRA.rar"

      18:00:26,373 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-4) DEPLOYMENT name = SessionRA

      18:00:26,393 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-4) Registering ResourceAdapter SessionRA

      18:00:26,417 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010406: Registered connection factory java:/jca/SessionConnectionFactory

      18:00:26,430 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-4) Registering ResourceAdapter SessionRA

      18:00:30,310 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020002: Deployed: file:/C:/MyPrograms/jboss-as-7.1.1.Final/standalone/tmp/vfs/temp9988cf7c50e46109/content-f5638382bb5e268c/contents/

      18:00:30,313 TRACE [org.jboss.as.deployment.connector.registry] (MSC service thread 1-4) Adding deployment: ResourceAdapterDeployment@d085f8[deployment=org.jboss.jca.deployers.common.CommonDeployment@b96a5]

      18:00:30,315 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-6) JBAS010401: Bound JCA ConnectionFactory [java:/jca/SessionConnectionFactory]

      18:00:30,332 INFO  [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS018559: Deployed "SessionRA.rar"

       

      ######## disable ##############

       

      18:00:35,013 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-7) Stopping service service jboss.ra.SessionRA

      18:00:35,012 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-6) JBAS010410: Unbound JCA ConnectionFactory [java:/jca/SessionConnectionFactory]

      18:00:35,017 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-7) Unregistering: SessionRA

      18:00:35,023 TRACE [org.jboss.as.deployment.connector.registry] (MSC service thread 1-7) Removing deployment: ResourceAdapterDeployment@d085f8[deployment=org.jboss.jca.deployers.common.CommonDeployment@b96a5]

      18:00:35,023 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-8) Removed JCA ConnectionFactory [java:/jca/SessionConnectionFactory]

      18:00:35,212 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-2) Stopping sevice service jboss.ra.deployment.SessionRA

      18:00:35,214 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-2) Unregistering: SessionRA

      18:00:35,216 TRACE [org.jboss.as.deployment.connector.registry] (MSC service thread 1-2) Removing deployment: ResourceAdapterDeployment@8393ef[deployment=org.jboss.jca.deployers.common.CommonDeployment@654dec]

      18:00:35,220 DEBUG [org.jboss.as.deployment.connector] (MSC service thread 1-2) Exception during unregistering deployment: org.jboss.jca.core.spi.mdr.NotFoundException: IJ000855: SessionRA isn't registered

          at org.jboss.jca.core.mdr.SimpleMetadataRepository.unregisterResourceAdapter(SimpleMetadataRepository.java:117) [ironjacamar-core-impl-1.0.9.Final.jar:1.0.9.Final]

          at org.jboss.as.connector.metadata.deployment.AbstractResourceAdapterDeploymentService.unregisterAll(AbstractResourceAdapterDeploymentService.java:183) [jboss-as-connector-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.connector.metadata.deployment.ResourceAdapterDeploymentService.unregisterAll(ResourceAdapterDeploymentService.java:149) [jboss-as-connector-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.connector.metadata.deployment.ResourceAdapterDeploymentService.stop(ResourceAdapterDeploymentService.java:134) [jboss-as-connector-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]

       

      18:00:35,566 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment SessionRA.rar in 568ms

      18:00:35,603 INFO  [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS018558: Undeployed "SessionRA.rar"

       

      ################################################