0 Replies Latest reply on May 12, 2010 3:00 AM by Hubert Felber

    jboss.xml : configuration 'CMP 2.x and Cache' not found

    Hubert Felber Newbie

      Hi all,

      I try to optimize EJB's in jboss.xml (4.2.2 GA) and get the following error on startup:


      2010-05-11 21:19:10,918 ERROR [org.jboss.metadata.XmlFileLoader] failed to load jboss.xml.  There could be a syntax error.
      org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean HistoryStep: configuration 'CMP 2.x and Cache' not found in standardjboss.xml or jboss.xml
          at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:956)
          at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:200)

      I made the following changes in jboss.xml:


            <container-configuration extends=
              "Standard CMP 2.x EntityBean">
              <container-name>CMP 2.x and Cache</container-name>

            CMP 2.x and Cache</configuration-name>


      I checked it against here:http://www.mastertheboss.com/en/jboss-application-server/130-jboss-performance-tuning-part-2.html

      But I cannot see what I did wrong.

      Could anybody please give me a hint?

      Thank you