0 Replies Latest reply on Apr 4, 2013 3:47 AM by gagalive gaga

    Resssources in jbossweb.sar/context.xml

    gagalive gaga Newbie

      Hi All,


      cheers to the JBoss Community, this is my first post here

      I'm on the way to learn the zen of JBoss.


      I'm facing actually to the following issue: I want to define more than one Ressources in the jbossweb.sar/context.xml. I got an exception when JBoss (JBoss_5_1_0_GA date=200905221053) is starting:

      org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to start Resources: the element is not repeatable, repeatable parent expected to be a model group but got element Context

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)

          at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)


      The jbossweb.sar/context.xml file looks like:



      <Resources name="bean/name1" auth="Container"



      <Resources name="bean/name2" auth="Container"






      Many thanks for your help!