-
Bug
-
Resolution: Done
-
Major
-
EJB3_1 1.0.6
-
None
-
jboss-ejb3-core:1.3.1
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.