1 Reply Latest reply on Apr 27, 2002 10:50 PM by Dorothy Gantenbein

    JBoss 3.0RC1 + Jetty Bug?

    Dorothy Gantenbein Newbie

      Hi -

      I am just trying to move my application from JBoss 2.4.4 to JBoss 3.0. When I deploy my ear file, I get an error down in deploy.

      2002-04-27 19:04:48,354 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Bound PropertyManager to PropertyManager
      2002-04-27 19:04:48,354 DEBUG [org.jboss.resource.connectionmanager.CachedConnectionInterceptor] start called in CachedConnectionInterceptor
      2002-04-27 19:04:48,364 INFO [org.jboss.ejb.EjbModule] Started
      2002-04-27 19:04:48,364 DEBUG [org.jboss.ejb.EJBDeployer] Deployed: njar:file:/D:/jboss-3.0.0RC1/server/default/tmp/deploy/D/jboss-3.0.0RC1/server/default/deploy/study.ear/83.study.ear^/study.jar
      2002-04-27 19:04:48,364 DEBUG [org.jboss.deployment.MainDeployer] Final (start) deployment step successfully completed on package: study.jar
      2002-04-27 19:04:48,364 DEBUG [org.jboss.deployment.MainDeployer] start step for deployment njar:file:/D:/jboss-3.0.0RC1/server/default/tmp/deploy/D/jboss-3.0.0RC1/server/default/deploy/study.ear/83.study.ear^/study.war
      2002-04-27 19:04:48,364 DEBUG [org.jboss.jetty.JettyService] webContext: /informative
      2002-04-27 19:04:48,364 DEBUG [org.jboss.jetty.JettyService] warURL: njar:file:/D:/jboss-3.0.0RC1/server/default/tmp/deploy/D/jboss-3.0.0RC1/server/default/deploy/study.ear/83.study.ear^/study.war
      2002-04-27 19:04:48,364 DEBUG [org.jboss.jetty.JettyService] webAppParser: org.jboss.web.AbstractWebContainer$DescriptorParser@592deb08
      2002-04-27 19:04:48,794 WARN [org.jboss.jetty.session.ClusteredStore] distributed HttpSession support is not deployed - disabled
      2002-04-27 19:04:49,856 INFO [org.jboss.jetty.Jetty] Registered jboss.web:Jetty=0,JBossWebApplicationContext=1,context=/informative
      2002-04-27 19:04:50,036 INFO [org.jboss.jetty.Jetty] Delete existing temp dir d:\DOCUME~1\dvg\LOCALS~1\Temp\Jetty__8080___informative for WebApplicationContext[/informative,jar:njar:file:/D:/jboss-3.0.0RC1/server/default/tmp/deploy/D/jboss-3.0.0RC1/server/default/deploy/study.ear/83.study.ear^/study.war!/]
      2002-04-27 19:04:50,156 INFO [org.jboss.jetty.Jetty] Created temp dir d:\DOCUME~1\dvg\LOCALS~1\Temp\Jetty__8080___informative for WebApplicationContext[/informative,jar:njar:file:/D:/jboss-3.0.0RC1/server/default/tmp/deploy/D/jboss-3.0.0RC1/server/default/deploy/study.ear/83.study.ear^/study.war!/]
      2002-04-27 19:04:50,266 INFO [org.jboss.jetty.Jetty] Extract jar:njar:file:/D:/jboss-3.0.0RC1/server/default/tmp/deploy/D/jboss-3.0.0RC1/server/default/deploy/study.ear/83.study.ear^/study.war!/ to d:\DOCUME~1\dvg\LOCALS~1\Temp\Jetty__8080___informative\webapp
      2002-04-27 19:04:52,520 DEBUG [org.jboss.jetty.JBossWebApplicationContext#/informative] setting up ENC...
      2002-04-27 19:04:52,520 DEBUG [org.jboss.jetty.JettyService] AbstractWebContainer.parseWebAppDescriptors, Begin
      2002-04-27 19:04:52,530 ERROR [org.jboss.jetty.JBossWebApplicationContext#/informative] failed to setup ENC
      java.lang.NullPointerException
      at java.util.zip.Inflater.reset(Inflater.java(Compiled Code))
      at java.util.zip.ZipFile.getInflater(ZipFile.java(Compiled Code))
      at java.util.zip.ZipFile.getInputStream(ZipFile.java(Compiled Code))
      at java.util.zip.ZipFile.getInputStream(ZipFile.java(Compiled Code))
      at java.util.jar.JarFile.getBytes(JarFile.java:310)
      at java.util.jar.JarFile.getManifest(JarFile.java:149)
      at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:619)
      at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code))
      at sun.misc.URLClassPath.access$000(URLClassPath.java:61)
      at sun.misc.URLClassPath$1.next(URLClassPath.java:169)
      at sun.misc.URLClassPath$1.hasMoreElements(URLClassPath.java:180)
      at java.net.URLClassLoader$3.run(URLClassLoader.java:390)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader$2.hasMoreElements(URLClassLoader.java:387)
      at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:34)
      at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:43)
      at com.sun.naming.internal.VersionHelper12$7.run(VersionHelper12.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.naming.internal.VersionHelper12$InputStreamEnumeration.getNextElement(VersionHelper12.java:194)
      at com.sun.naming.internal.VersionHelper12$InputStreamEnumeration.hasMore(VersionHelper12.java:214)
      at com.sun.naming.internal.ResourceManager.getApplicationResources(ResourceManager.java:439)
      at com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceManager.java:153)
      at javax.naming.InitialContext.init(InitialContext.java:219)
      at javax.naming.InitialContext.(InitialContext.java:179)
      at org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContainer.java:527)
      at org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(AbstractWebContainer.java:1050)
      at org.jboss.jetty.JBossWebApplicationContext.setUpENC(JBossWebApplicationContext.java:272)
      at org.jboss.jetty.JBossWebApplicationContext.startHandlers(JBossWebApplicationContext.java:258)
      at org.mortbay.http.HttpContext.start(HttpContext.java:1425)
      at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:405)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:405)
      at org.jboss.jetty.JettyService.performDeploy(JettyService.java:244)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:405)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:665)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:658)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:507)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
      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:492)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:530)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:410)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:237)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
      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:492)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:867)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      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:492)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:281)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:665)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:507)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:452)
      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:492)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:320)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:218)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:498)


      Has anyone else seen this error? Any suggestions are much appreciated.

      Thanks...
      Dorothy