0 Replies Latest reply on Jul 30, 2003 5:41 PM by sraj

    unpacked sar deployment failed

    sraj Newbie

      Hi

      I have my server configuration set in a location other than the jboss home. I am defining multiple deploy urls, one in my configuration set (which has my ear files) and urls to other jboss sar and rar in the jboss home default configuration.


      deploy/ ,
      ${jboss.home.url}/server/default/deploy/http-invoker.sar ,
      ${jboss.home.url}/server/default/deploy/jboss-jca.sar ,
      ${jboss.home.url}/server/default/deploy/jboss-local-jdbc.rar ,
      ${jboss.home.url}/server/default/deploy/jmx-ejb-connector-server.sar ,
      ${jboss.home.url}/server/default/deploy/sqlexception-service.xml


      Everything in deploy/ is deployed fine, also all the sar and rar in the default configuration that are packed deploys fine. But i am getting errors during startup for the unpacked sars (http-invoker.sar)

      The error is
      16:14:03,834 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.2.1_tomcat-4.1.24//server/default/deploy/http-in
      voker.sar
      16:14:03,877 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException i
      s assignable from: class org.jboss.deployment.DeploymentException
      16:14:03,897 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@7fa18ef0{
      url=file:/opt/jboss-3.2.1_tomcat-4.1.24//server/default/deploy/http-invoker.sar, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: exception in init of file:/opt/jboss-3.2.1_tomcat-4.1.24//server/default/deploy/http-invok
      er.sar; - nested throwable: (org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:720)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

      ...

      16:14:03,928 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.2.1_tomcat-4.1.24//server/default/deploy/jboss-j
      ca.sar
      16:14:04,284 INFO [RARDeployer] Creating
      ...

      If i move http-invoker.sar to my deploy directory and remove the above line it works fine.

      Thanks