Ejb3DescriptorHandler throws IllegalStateException for singleton session-type configured
in ejb-jar.xml
-------------------------------------------------------------------------------------------------------
Key: EJBTHREE-2068
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-2068
Project: EJB 3.0
Issue Type: Bug
Components: core
Affects Versions: EJB3_1 1.0.6
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: EJB3_1 1.0.7
The Ejb3DescriptorHandler throws IllegalStateException for the following in ejb-jar.xml:
<session>
...
<session-type>Singleton</session-type>
</session>
Caused by: java.lang.IllegalStateException: unknown bean type encountered
org.jboss.metadata.ejb.jboss.JBossSessionBean31MetaData@32f54722{Calculator}
at org.jboss.ejb3.Ejb3DescriptorHandler.getEjbType(Ejb3DescriptorHandler.java:380)
at org.jboss.ejb3.Ejb3DescriptorHandler.populateBaseInfo(Ejb3DescriptorHandler.java:359)
at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:196)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:720)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:671)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:653)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:616)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:493)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:175)
... 49 more
The Ejb3DescriptorHandler should ignore any types (like the new Singleton bean type) which
it can't handle.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira