[jboss-jira] [JBoss JIRA] (AS7-4776) Error during (re) adding connection factory using CLI
Justin Bertram (JIRA)
jira-events at lists.jboss.org
Tue Dec 11 11:21:17 EST 2012
[ https://issues.jboss.org/browse/AS7-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740679#comment-12740679 ]
Justin Bertram commented on AS7-4776:
-------------------------------------
This fix causes a regression in 7.1.3 (but not in 7.2.0.x for some reason I haven't figured out). I can't tell if the problem is in the messaging subsystem or in the code committed for this fix. Here's how to reproduce the problem:
# Build a fresh instance of JBoss AS 7.1.3 in <JBOSS_HOME>
# Download the attached JAR to <JBOSS_HOME>
# Start the instance of AS 7.1.3 using "./standalone.sh -c standalone-full.xml"
# Connect via jboss-cli.sh
# execute ":reload"
# execute "deploy MDB.jar"
You should see this:
{noformat}
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"MDB.jar\".component.MDB_CMT_TxRequiredExample.VIEW.\"javax.jms.MessageListener\".MESSAGE_ENDPOINT Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"MDB.jar\".component.MDB_CMT_TxRequiredExample.START Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"MDB.jar\".moduleDeploymentRuntimeInformation Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"MDB.jar\".component.MDB_CMT_TxRequiredExample.CREATE Missing[jboss.ra.hornetq-ra]","jboss.deployment.unit.\"MDB.jar\".component.MDB_CMT_TxRequiredExample.ejb3.timerService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"MDB.jar\".component.MDB_CMT_TxRequiredExample.TimedObjectInvoker Missing[JBAS014861: <one or more transitive dependencies>]"]}}}
{noformat}
> Error during (re) adding connection factory using CLI
> -----------------------------------------------------
>
> Key: AS7-4776
> URL: https://issues.jboss.org/browse/AS7-4776
> Project: Application Server 7
> Issue Type: Bug
> Components: JCA
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Stefano Maestri
> Assignee: Stefano Maestri
> Priority: Critical
> Labels: EAP6_Needs_Triage
> Fix For: 7.1.3.Final (EAP), 7.2.0.Alpha1
>
>
> /subsystem=resource-adapters/resource-adapter=wsDS:add(archive=teiid-connector-ws.rar, transaction-support=NoTransaction)
> /subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:add(jndi-name=java:/wsDS, class-name=org.teiid.resource.adapter.ws.WSManagedConnectionFactory, enabled=true, use-java-context=true)
> /subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=EndPoint:add(value={end_point})
> /subsystem=resource-adapters/resource-adapter=wsDS:activate
> /subsystem=resource-adapters/resource-adapter=wsDS:remove
> 20:48:02,169 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.ra.deployment."teiid-connector-ws.rar_1": org.jboss.msc.service.StartException in service jboss.ra.deployment."teiid-connector-ws.rar_1": org.jboss.jca.core.spi.mdr.NotFoundException: IJ000855: teiid-connector-ws isn't registered
> at org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:127)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [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_26]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
> Caused by: org.jboss.jca.core.spi.mdr.NotFoundException: IJ000855: teiid-connector-ws isn't registered
> at org.jboss.jca.core.mdr.SimpleMetadataRepository.getResourceAdapter(SimpleMetadataRepository.java:150)
> at org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:87)
> ... 5 more
> The problem is present when there is only one RA definitions (added and activated explicitly by :activate operation after deployment of rar) and it's removed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list