6 Replies Latest reply on Feb 28, 2003 8:37 AM by machinehoofd

    Error in ejb-management.jar ??

    kammau

      Hi,
      When I set the attribute of ValidateDTDs to true in the jboss-service.xml,
      I found that the the ejb-jar.xml and jboss.xml are both wrong in ejb-management.jar and jmx-ejb-adaptor.jar.
      The DTD in ejb-jar.xml is ejb-jar_1_1.dtd and in jboss.xml is jboss_2_4.dtd.
      Is this a bug?

      Kammau

        • 1. Re: Error in ejb-management.jar ??
          kammau

          This is same in both JBoss3.0.0 and JBoss3.0.3

          • 2. Re: Error in ejb-management.jar ??

            No, its probably not a bug, theý just use CMP1.1 entities and were developed under 2.4 version. We still support these deployments in 3.0.

            • 3. Re: Error in ejb-management.jar ??
              kammau

              But, when I start server, it cannot be deployed because some elements are not supported in ejb-jar_1_1.dtd and jboss_2_4.dtd.
              But if I change the DTD to ejb-jar_2_0.dtd and jboss_3_0.dtd,it cannot be deployed.
              Actually, if I set the attribute of ValidateDTDs to true in the jboss-service.xml, I can find more error.

              Thanks,
              Kammau

              • 4. Re: Error in ejb-management.jar ??
                kammau

                Sorry, the above message is wrong.!!!!

                But, when I start server, it cannot be deployed because some elements are not supported in ejb-jar_1_1.dtd and jboss_2_4.dtd.
                But if I change the DTD to ejb-jar_2_0.dtd and jboss_3_0.dtd,it can be deployed.
                Actually, if I set the attribute of ValidateDTDs to true in the jboss-service.xml, I can find more error.

                Thanks,
                Kammau

                • 5. Re: Error in ejb-management.jar ??

                  well, what are the errors?

                  • 6. Re: Error in ejb-management.jar ??
                    machinehoofd

                    Hey people.

                    I have the same problem with jBoss 3.0.4 (with Tomcat), but only since about 2 weeks...
                    The ejb-management.jar and jmx-ejb-adaptor.jar don't deploy and the errors I get are:

                    Error in jboss.xml for Bean MEJB: found in jboss.xml but not in ejb-jar.xml

                    and

                    Error in jboss.xml for Bean jmx/ejb/Adaptor: found in jboss.xml but not in ejb-jar.xml

                    Hope someone can help me with this.

                    greetz,

                    Ronald

                    p.s. weird thing: collegue of mine uses a exact copy of this installation and there it works fine!