1 Reply Latest reply on Feb 14, 2003 4:22 PM by wmprice

    Hi! I'm trying to put my rar inside ear. Everything goes w

    beehie

      Hi!
      I'm trying to put my rar inside ear.
      Everything goes well except service.xml
      I've tryed to make it as described in
      http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ use jboss-app.xml with

      <jboss-app>

      myrar-service.xml

      </jboss-app>

      inside. But it won't work. Here's error message:

      ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@47667f64{ url=file:/opt/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/ccee.ear, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Failed to find module file: myrar-service.xml

      myrar-service.xml is located in EAR's root.
      JBoss is 3.0.4 as you can see.

      Help, ple-e-e-a-a-se...

        • 1. Re: Hi!I'm trying to put my rar inside ear.Everything goes w

          Hello,
          This won't work. We tried this route on our project and ended up having a lot of headaches. Here is the solution:

          RAR up your JCA adaptor as normal.
          Create a SAR file with with the **-service.xml file at the root of the SAR.
          Put this SAR file inside the EAR
          Add a reference to the SAR file in application.xml of the EAR.

          You should be all set now.

          Regards,

          Weston