[jboss-jira] [JBoss JIRA] (AS7-3708) ejb-jar.xml does not understand tag <concurrent-method> for singleton session type
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Thu Feb 16 16:04:36 EST 2012
[ https://issues.jboss.org/browse/AS7-3708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved AS7-3708.
---------------------------------
Fix Version/s: 7.1.1.Final
Resolution: Done
I have fixed the error message generation
> ejb-jar.xml does not understand tag <concurrent-method> for singleton session type
> ----------------------------------------------------------------------------------
>
> Key: AS7-3708
> URL: https://issues.jboss.org/browse/AS7-3708
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Reporter: Ondřej Chaloupka
> Assignee: Stuart Douglas
> Priority: Minor
> Fix For: 7.1.1.Final
>
>
> In case of definition concurrent-method tag for singleton session bean in ejb-jar.xml following exception is thrown on deployment:
> {code}
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."ejb3-singleton-bean-example.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ejb3-singleton-bean-example.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "ejb3-singleton-bean-example.jar"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
> 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_23]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_23]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014402: Could not merge data for ReadOnlySingletonBeanDescriptor
> at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:75)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
> ... 5 more
> Caused by: java.lang.NullPointerException
> at org.jboss.as.ejb3.deployment.processors.merging.EjbConcurrencyMergingProcessor.resolveMethod(EjbConcurrencyMergingProcessor.java:134)
> at org.jboss.as.ejb3.deployment.processors.merging.EjbConcurrencyMergingProcessor.handleDeploymentDescriptor(EjbConcurrencyMergingProcessor.java:111)
> at org.jboss.as.ejb3.deployment.processors.merging.EjbConcurrencyMergingProcessor.handleDeploymentDescriptor(EjbConcurrencyMergingProcessor.java:53)
> at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.processComponentConfig(AbstractMergingProcessor.java:93)
> at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:73)
> ... 6 more
> {code}
> You can check my testing code: https://github.com/ochaloup/jboss-as/blob/JBQA-5268-tests-singleton/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/singleton/concurrency/ejb-jar.xml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list