0 Replies Latest reply on Jul 7, 2014 11:35 PM by Yoke Hman Lai

    EJB-2: Unexpected element 'transaction-type' encountered (From JBoss 4.2.3 GA to JBoss 7.1.1 Final)

    Yoke Hman Lai Newbie



      I'm upgrading to JBoss 7.1.1 Final from JBoss 4.2.3 GA and the deployment of my ejb is giving out errors that basically says:


      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Exception while parsing ejb-jar.xml:

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[28,7]

      Message: Unexpected element 'transaction-type' encountered


      the [row,col] points to the following <transaction-type> element inside the ejb-jar.xml











      Can anyone help?