Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-242

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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jboss-metadata-ejb-2.0.0-alpha-4
    • ejb
    • None

      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)

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: