0 Replies Latest reply on Aug 20, 2002 12:56 PM by Muraly

    How to write a jboss-app.xml?

    Muraly Newbie

      Hi
      I am trying to load an ejb with specific class loader specification. For this I have written an EJB with apllication.xml and jboss-app.xml as deploymnet descriptors.

      If I deploy the bean with application.xml, it is getting deployed successfully.

      If I deploy it using application.xml+jboss.xml, then the following error occurs at deploy time:

      1) 21:18:29,065 ERROR [EARDeployer] Error in init step of ear deployment
      javax.management.MalformedObjectNameException: missing domain

      2) org.jboss.deployment.DeploymentException: Error in accessing application metadat
      a: ; - nested throwable: (javax.management.MalformedObjectNameException: missing
      domain)

      These are the files I am using
      application.xml
      ---------------
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE application PUBLIC "-//Sun Microsystems,
      Inc.//DTD J2EE Application 1.2//EN"
      "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

      <display-name>Interest Tutorial</display-name>


      <web-uri>interest.war</web-uri>
      <context-root>/interest</context-root>



      interest.jar



      jboss-app.xml
      -------------
      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE jboss-app>

      <jboss-app>
      <loader-repository>org.jboss.docs.interest=interest.ear</loader-repository>
      </jboss-app>

      Is there any errors in the deployment descriptor.
      Can anyone throw some light on this error.
      Ita URGENT.