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

    How to write a jboss-app.xml?

    Muraly Newbie

      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

      These are the files I am using
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE application PUBLIC "-//Sun Microsystems,
      Inc.//DTD J2EE Application 1.2//EN"

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



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

      <!DOCTYPE jboss-app>


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