1 Reply Latest reply on May 12, 2006 1:46 PM by jaikiran pai

    Problems deploying an ear with a sar inside

    Eduardo Leite Newbie

      Hi guys,

      I have the following scenario: i have an ear with some ejb-jar, a war and a sar package. I did all the steps that the docs say about how to deploy the sar. I put the sar file inside the ear, and alter the jboss-app.xml to include a module declaration.

      When I deploy the ear, I get the exception listed bellow. Does anyone ever had a problem like this? The jboss version I am using is 3.2.7.

      Thanks in advance

      org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml
      at org.jboss.deployment.SARDeployer.parseDocument (SARDeployer.java:522)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.init (MainDeployer.java:713)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
      at sun.reflect.GeneratedMethodAccessor40.invoke (Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch (ReflectedDispatcher.
      java:60)