2 Replies Latest reply on Jan 28, 2002 1:43 PM by sanepid

    .jar beans deployment fails when the jetty-plugin.sar is rem

    sanepid

      Hello,
      I use JBoss 3.0 RH and JDK1.4.1.
      When I tried to remove the jetty-plugin.sar from the deploy/lib directory, all my beans in the .jar archives couldn't be deployed anymore. Other archives, like resource adaptors stored in .rar files are still deployed correctly, but I guess this is because there is a different rar deployer.

      The exception I've got for each .jar is

      [2002-01-28 09:58:32,954,AutoDeployer,INFO] Auto deploy of file:/usr/local/jboss/deploy/ejb-management.jar
      [2002-01-28 09:58:32,957,J2eeDeployer#Default,INFO] Deploy J2EE application: file:/usr/local/jboss/deploy/ejb-management.jar
      [2002-01-28 09:58:32,959,AutoDeployer,ERROR] Deployment failed:file:/usr/local/jboss/deploy/ejb-management.jar
      java.lang.NullPointerException
      at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:400)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:211)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:327)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
      at java.lang.Thread.run(Thread.java:539)


      Did anybody encounter the same problem? Is there something more to do (other then to remove the jetty-plugin.sar) in order to avoid Jetty loading into JBoss?
      Thanks a lot