tareq zaman [
https://community.jboss.org/people/tareq_zaman] commented on the document
"JBoss7 integration with Tibco EMS using 'Generic JMS RA'"
To view all comments on this document, visit:
https://community.jboss.org/docs/DOC-47346#comment-12392
--------------------------------------------------
Hi,
I have followed the steps mentioned above , however not able to get it working. I guess I
have misssed something. Trying this on AS 7.1.1 final. Tibco EMS 6.3. Getting this
exception. Would some one help me?
Thanks.
12:11:30,870 INFO [org.jboss.as.ejb3] (MSC service thread 1-14) JBAS014142: Started
message driven bean 'SampleMdb' with 'genericra' resource adapter
12:11:31,093 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed
to start service
jboss.deployment.subunit."ezsystemEAR.ear"."ezsystem.jar".component.SampleMdb.START:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."ezsystemEAR.ear"."ezsystem.jar".component.SampleMdb.START:
Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_25]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: String
index out of range: -1
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:171)
at
org.jboss.as.ee.component.ComponentStartService.start(ComponentStartService.java:44)
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]
... 3 more
Caused by: javax.resource.spi.InvalidPropertyException: String index out of range: -1
at
com.sun.genericra.util.ExceptionUtils.newInvalidPropertyException(ExceptionUtils.java:42)
at
com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:100)
at com.sun.genericra.util.ObjectBuilder.build(ObjectBuilder.java:99)
at
com.sun.genericra.inbound.AbstractConsumer.initializeAdministeredObjects(AbstractConsumer.java:95)
at
com.sun.genericra.inbound.AbstractConsumer.<init>(AbstractConsumer.java:63)
at
com.sun.genericra.inbound.async.EndpointConsumer.<init>(EndpointConsumer.java:57)
at
com.sun.genericra.inbound.EndpointConsumerFactory.createEndpointConsumer(EndpointConsumerFactory.java:45)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:215)
at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:164)
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:169)
... 6 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1911) [rt.jar:1.7.0_25]
at
com.sun.genericra.util.ObjectBuilder.parseToProperties(ObjectBuilder.java:86)
at
com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:92)
... 14 more
12:11:31,203 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871:
Deploy of deployment "genericra.rar" was rolled back with no failure message
12:11:31,213 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870:
Deploy of deployment "ezsystemEAR.ear" was rolled back with failure message
{"JBAS014671: Failed services" =>
{"jboss.deployment.subunit.\"ezsystemEAR.ear\".\"ezsystem.jar\".component.SampleMdb.START"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.subunit.\"ezsystemEAR.ear\".\"ezsystem.jar\".component.SampleMdb.START:
Failed to start service"}}
12:11:31,349 INFO [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015877:
Stopped deployment genericra.rar in 143ms
12:11:31,411 INFO [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015877:
Stopped deployment ezsystem.jar in 189ms
12:11:31,442 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877:
Stopped deployment ezsystemEAR.ear in 226ms
12:11:31,451 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774:
Service status report
JBAS014777: Services which failed to start: service
jboss.deployment.subunit."ezsystemEAR.ear"."ezsystem.jar".component.SampleMdb.START:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."ezsystemEAR.ear"."ezsystem.jar".component.SampleMdb.START:
Failed to start service
--------------------------------------------------