5 Replies Latest reply on Oct 25, 2002 8:52 AM by Barri Jansen

    Hot Deploy Fails on Re-Deploy

    Dorothy Gantenbein Newbie

      Hi -

      I am using JBoss 3.0.1. My ear contains a sar file. When I deploy this ear for the first time, everything works great. I can hot deploy the ear or have the ear deployed before starting JBoss. However all re-deploys of the ear fail with a class loader error....

      [java] org.jboss.deployment.DeploymentException interface org.jboss.system.Service is not visible from class loader; - nested throwable: (java.lang.Illega
      lArgumentException: interface org.jboss.system.Service is not visible from class loader)
      [java] at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227)

      [java] at org.jboss.deployment.MainDeployer.create MainDeployer.java:749)
      [java] at org.jboss.deployment.MainDeployer.create(MainDeployer.java:741)
      [java] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
      [java] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      [java] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      [java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      [java] at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      [java] at $Proxy4.deploy(Unknown Source)
      [java] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLD
      eploymentScanner.java:427)
      [java] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:553)
      [java] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
      [java] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      [java] Caused by: java.lang.IllegalArgumentException: interface org.jboss.s
      ystem.Service is not visible from class loader
      [java] at java.lang.reflect.Proxy.getProxyClass(Proxy.java:331)
      [java] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552)
      [java] at org.jboss.system.ServiceController.getServiceProxy(ServiceController.java:740)
      [java] at org.jboss.system.ServiceController.create(ServiceController.java:276)
      [java] at org.jboss.system.ServiceController.create(ServiceController.java:242)
      [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      [java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      [java] at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      [java] at $Proxy3.create(Unknown Source)
      [java] at org.jboss.deployment.SARDeployer.create(SARDeployer.java:217)

      [java] ... 15 more

      Any suggestions? Could this be a bug?

      Thanks...
      Dorothy