[jboss-jira] [JBoss JIRA] Created: (JBMETA-242) Allow "Singleton" session-type in ejb-jar.xml through the metadata binding classes

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Jan 4 09:50:30 EST 2010


Allow "Singleton" session-type in ejb-jar.xml through the metadata binding classes 
-----------------------------------------------------------------------------------

                 Key: JBMETA-242
                 URL: https://jira.jboss.org/jira/browse/JBMETA-242
             Project: JBoss Metadata
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: ejb
    Affects Versions: jboss-metadata-ejb-2.0.0-alpha-4
            Reporter: jaikiran pai
            Assignee: jaikiran pai
             Fix For: jboss-metadata-ejb-2.0.0-alpha-5


Right now, it only allows Stateless and Stateful. Using Singleton as session-type in the ejb-jar.xml leads to:

Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Invalid value Singleton for {http://java.sun.com/xml/ns/javaee}session-typeType valid are [Stateful, Stateless]
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)




-- 
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

        



More information about the jboss-jira mailing list