[jBPM] - Runtime Libs
by Toacy Oliveira
Toacy Oliveira [https://community.jboss.org/people/waterloo] created the discussion
"Runtime Libs"
To view the discussion, visit: https://community.jboss.org/message/647960#647960
--------------------------------------------------------------
Hi all,
I'm using JBPM4 as the runtime support for a language I've created. In essence I transform this language into JPDL.
It happens that JBPMN5.2 is out now and I'd like to move my stuff to generate BPMN2 (and benefit on several interesting things such as drools!).
I've checked the documentation and discussions to solve my problems but ....
OK.. the problems are:
- I need a way to wrap JBPM5 as a component so that I can start the whole engine from a java program (just passing the proper config). Is that possible? Any examples? (I did with JBPM4)
- What are (and where to find) the requied jars? I don't want to use the ant.install as my eclipse is bespoke to my needs.
Can some one help me?
cheers
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/647960#647960]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months
[jBPM] - jbpm-console using oracle database
by Prasanth Manchambhatla
Prasanth Manchambhatla [https://community.jboss.org/people/pmancham] created the discussion
"jbpm-console using oracle database"
To view the discussion, visit: https://community.jboss.org/message/647939#647939
--------------------------------------------------------------
I see the following error when I try the overall report. I want birt runtime to connect to my oracle database that has all the log tables. Where is that configuration located? I am using the full-installer for jbpm 5.2
Birt is running against in memory H2 database.
12:28:44,192 SEVERE [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-6) Failed to prepare the following query for the data set type (org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet).
[select
p.PROCESSINSTANCEID,
p.PROCESSID,
p.START_DATE,
p.END_DATE
from
PUBLIC.PROCESSINSTANCELOG as p]: org.eclipse.birt.report.data.oda.jdbc.JDBCException: Error preparing SQL statement.
SQL error #1:Table "PROCESSINSTANCELOG" not found; SQL statement:
select
p.PROCESSINSTANCEID,
p.PROCESSID,
p.START_DATE,
p.END_DATE
from
PUBLIC.PROCESSINSTANCELOG as p [42102-124]
;
org.h2.jdbc.JdbcSQLException: Table "PROCESSINSTANCELOG" not found; SQL statement:
select
p.PROCESSINSTANCEID,
p.PROCESSID,
p.START_DATE,
p.END_DATE
from
PUBLIC.PROCESSINSTANCELOG as p [42102-124]
at org.h2.message.Message.getSQLException(Message.java:111)
at org.h2.message.Message.getSQLException(Message.java:122)
at org.h2.message.Message.getSQLException(Message.java:75)
at org.h2.schema.Schema.getTableOrView(Schema.java:382)
at org.h2.command.Parser.readTableOrView(Parser.java:4266)
at org.h2.command.Parser.readTableFilter(Parser.java:979)
at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1509)
at org.h2.command.Parser.parseSelectSimple(Parser.java:1606)
at org.h2.command.Parser.parseSelectSub(Parser.java:1503)
at org.h2.command.Parser.parseSelectUnion(Parser.java:1348)
at org.h2.command.Parser.parseSelect(Parser.java:1336)
at org.h2.command.Parser.parsePrepared(Parser.java:395)
at org.h2.command.Parser.parse(Parser.java:291)
at org.h2.command.Parser.parse(Parser.java:263)
at org.h2.command.Parser.prepareCommand(Parser.java:235)
at org.h2.engine.Session.prepareLocal(Session.java:416)
at org.h2.server.TcpServerThread.process(TcpServerThread.java:232)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:138)
at java.lang.Thread.run(Thread.java:619)
at org.eclipse.birt.report.data.oda.jdbc.Statement.prepare(Statement.java:135) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.data.oda.jdbc.bidi.BidiStatement.prepare(BidiStatement.java:52) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doPrepare(OdaQuery.java:229) [org.eclipse.datatools.connectivity.oda.consumer_3.2.4.v201105200848.jar:]
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.prepare(OdaQuery.java:186) [org.eclipse.datatools.connectivity.oda.consumer_3.2.4.v201105200848.jar:]
at org.eclipse.birt.data.engine.odaconsumer.Connection.prepareOdaQuery(Connection.java:290) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.odaconsumer.Connection.prepareStatement(Connection.java:197) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.executor.DataSource.prepareStatement(DataSource.java:302) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:281) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:455) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:343) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:616) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:80) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.executor.ExtendedGenerateExecutor.executeQueries(ExtendedGenerateExecutor.java:205) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.executor.ExtendedGenerateExecutor.execute(ExtendedGenerateExecutor.java:65) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.executor.ExtendedItemExecutor.execute(ExtendedItemExecutor.java:62) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:260) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:85) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.jboss.bpm.report.BirtService.render(BirtService.java:276) [report-core-1.4.2.Final.jar:]
at org.jboss.bpm.report.ReportFacade.renderReportHtml(ReportFacade.java:147) [report-core-1.4.2.Final.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/647939#647939]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months
[IronJacamar] - ActivationSpec.setResourceAdapter called twice on the same ActivationSpec instance
by Stan Brown
Stan Brown [https://community.jboss.org/people/traffic] created the discussion
"ActivationSpec.setResourceAdapter called twice on the same ActivationSpec instance"
To view the discussion, visit: https://community.jboss.org/message/647063#647063
--------------------------------------------------------------
I'm running jboss-as-7.0.2.Final. And I have a situation where setResourceAdapter is being called twice on the same the ActivationSpec instance. I have three MDBs accessing the same resource adapter instance. Here's part of the log:
> 14:13:18,492 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final "Arc" started in 1512ms - Started 94 of 149 services (55 services are passive or on-demand)
> 14:14:18,599 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "jrac-simple.rar"
> 14:14:18,973 INFO [org.jboss.as.jpa] (MSC service thread 1-2) added javax.persistence.api dependency to jrac-simple.rar
> 14:14:19,099 INFO [stdout] (MSC service thread 1-5) >>>> made setResourceAdapter: activationSpec = com.unisys.coms.connector.COMSActivationSpec@1256a73 - 4bc11a8e:134e894e0c2:07ffd
> 14:14:19,099 INFO [stdout] (MSC service thread 1-5) >>>> made setResourceAdapter: resourceAdapter= com.unisys.coms.connector.COMSResourceAdapter@19c21b
> 14:14:19,141 INFO [org.jboss.as.connector.metadata.deployment.ResourceAdapterDeploymentService$AS7RaDeployer] (MSC service thread 1-5) IJ020002: Deployed: file:/F:/jboss-as-7.0.2.Final/standalone/tmp/vfs/temp5bdb9eed1653ea45/jrac-simple.rar-f74d935d3711582a/contents/
> 14:14:19,217 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jrac-simple.rar"
> 14:14:34,281 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "jrac-simpleEJB.jar"
> 14:14:34,360 INFO [org.jboss.as.jpa] (MSC service thread 1-5) added javax.persistence.api dependency to jrac-simpleEJB.jar
> 14:14:34,468 INFO [stdout] (MSC service thread 1-2) >>>> made setResourceAdapter: activationSpec = com.unisys.coms.connector.COMSActivationSpec@1c27402 - 4bc11a8e:134e894e0c2:07ff2
> 14:14:34,468 INFO [stdout] (MSC service thread 1-2) >>>> made setResourceAdapter: resourceAdapter= com.unisys.coms.connector.COMSResourceAdapter@19c21b
> 14:14:34,468 INFO [stdout] (MSC service thread 1-3) >>>> made setResourceAdapter: activationSpec = com.unisys.coms.connector.COMSActivationSpec@10651eb - 4bc11a8e:134e894e0c2:07ff0
> 14:14:34,469 INFO [stdout] (MSC service thread 1-3) >>>> made setResourceAdapter: resourceAdapter= com.unisys.coms.connector.COMSResourceAdapter@19c21b
> 14:14:34,470 INFO [stdout] (MSC service thread 1-4) >>>> made setResourceAdapter: activationSpec = com.unisys.coms.connector.COMSActivationSpec@14e5d57 - 4bc11a8e:134e894e0c2:07ff1
> 14:14:34,470 INFO [stdout] (MSC service thread 1-4) >>>> made setResourceAdapter: resourceAdapter= com.unisys.coms.connector.COMSResourceAdapter@19c21b
> 14:14:34,520 INFO [stdout] (MSC service thread 1-2) >>>> made setServiceName: serviceName = RecordService
> 14:14:34,521 INFO [stdout] (MSC service thread 1-4) >>>> made setServiceName: serviceName = TextService
> 14:14:34,521 INFO [stdout] (MSC service thread 1-3) >>>> made setServiceName: serviceName = ByteService
> 14:14:34,523 INFO [stdout] (MSC service thread 1-2) >>>> made setResourceAdapter: activationSpec = com.unisys.coms.connector.COMSActivationSpec@1c27402 - 4bc11a8e:134e894e0c2:07ff2
> 14:14:34,523 INFO [stdout] (MSC service thread 1-3) >>>> made setResourceAdapter: activationSpec = com.unisys.coms.connector.COMSActivationSpec@10651eb - 4bc11a8e:134e894e0c2:07ff0
> 14:14:34,524 INFO [stdout] (MSC service thread 1-4) >>>> made setResourceAdapter: activationSpec = com.unisys.coms.connector.COMSActivationSpec@14e5d57 - 4bc11a8e:134e894e0c2:07ff1
> 14:14:34,537 INFO [stdout] (MSC service thread 1-4) >>>> made setResourceAdapter: resourceAdapter= com.unisys.coms.connector.COMSResourceAdapter@19c21b
> 14:14:34,537 INFO [stdout] (MSC service thread 1-3) >>>> made setResourceAdapter: resourceAdapter= com.unisys.coms.connector.COMSResourceAdapter@19c21b
> 14:14:34,538 INFO [stdout] (MSC service thread 1-2) >>>> made setResourceAdapter: resourceAdapter= com.unisys.coms.connector.COMSResourceAdapter@19c21b
> 14:14:34,538 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."jrac-simpleEJB.jar".component.SimpleRecordBean.CREATE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jrac-simpleEJB.jar".component.SimpleRecordBean.CREATE: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
> Caused by: java.lang.RuntimeException: javax.resource.spi.ResourceAdapterInternalException: ResourceAdapter instance already associated - com.unisys.coms.connector.COMSActivationSpec@1c27402 - 4bc11a8e:134e894e0c2:07ff2, error code: ERROR-GEN-006
> at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:85)
> at org.jboss.as.ee.component.BasicComponentCreateService.start(BasicComponentCreateService.java:78)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
> ... 3 more
> Caused by: javax.resource.spi.ResourceAdapterInternalException: ResourceAdapter instance already associated - com.unisys.coms.connector.COMSActivationSpec@1c27402 - 4bc11a8e:134e894e0c2:07ff2, error code: ERROR-GEN-006
> at com.unisys.coms.connector.COMSActivationSpec.setResourceAdapter(COMSActivationSpec.java:512)
> at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:83)
> ... 6 more
>
>
> 14:14:34,538 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."jrac-simpleEJB.jar".component.SimpleByteBean.CREATE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jrac-simpleEJB.jar".component.SimpleByteBean.CREATE: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
> Caused by: java.lang.RuntimeException: javax.resource.spi.ResourceAdapterInternalException: ResourceAdapter instance already associated - com.unisys.coms.connector.COMSActivationSpec@10651eb - 4bc11a8e:134e894e0c2:07ff0, error code: ERROR-GEN-006
> at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:85)
> at org.jboss.as.ee.component.BasicComponentCreateService.start(BasicComponentCreateService.java:78)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> ... 3 more
> Caused by: javax.resource.spi.ResourceAdapterInternalException: ResourceAdapter instance already associated - com.unisys.coms.connector.COMSActivationSpec@10651eb - 4bc11a8e:134e894e0c2:07ff0, error code: ERROR-GEN-006
> at com.unisys.coms.connector.COMSActivationSpec.setResourceAdapter(COMSActivationSpec.java:512)
> at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:83)
> ... 6 more
>
>
> 14:14:34,538 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."jrac-simpleEJB.jar".component.SimpleTextBean.CREATE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jrac-simpleEJB.jar".component.SimpleTextBean.CREATE: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
> Caused by: java.lang.RuntimeException: javax.resource.spi.ResourceAdapterInternalException: ResourceAdapter instance already associated - com.unisys.coms.connector.COMSActivationSpec@14e5d57 - 4bc11a8e:134e894e0c2:07ff1, error code: ERROR-GEN-006
> at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:85)
> at org.jboss.as.ee.component.BasicComponentCreateService.start(BasicComponentCreateService.java:78)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
> ... 3 more
> Caused by: javax.resource.spi.ResourceAdapterInternalException: ResourceAdapter instance already associated - com.unisys.coms.connector.COMSActivationSpec@14e5d57 - 4bc11a8e:134e894e0c2:07ff1, error code: ERROR-GEN-006
> at com.unisys.coms.connector.COMSActivationSpec.setResourceAdapter(COMSActivationSpec.java:512)
> at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:83)
> ... 6 more
>
>
> 14:14:34,812 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "jrac-simpleEJB.jar" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleTextBean.CREATE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleTextBean.CREATE: Failed to start service","jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleRecordBean.CREATE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleRecordBean.CREATE: Failed to start service","jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleByteBean.CREATE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleByteBean.CREATE: Failed to start service"}}
> 14:14:34,846 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) Stopped deployment jrac-simpleEJB.jar in 35ms
> 14:14:34,847 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleTextBean.CREATE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleTextBean.CREATE: Failed to start service","jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleRecordBean.CREATE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleRecordBean.CREATE: Failed to start service","jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleByteBean.CREATE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jrac-simpleEJB.jar\".component.SimpleByteBean.CREATE: Failed to start service"}}}}
>
>From the log, it looks like the ActivationSpecs are being called twice, for example COMSActivationSpec(a)1c27402. We throw an exception under these circumstances since the Connector Architecture spec states that setResourceAdapter should only be called once. Is there some configuration to get around this issue?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/647063#647063]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months