0 Replies Latest reply on Nov 1, 2001 4:38 PM by Navdeep

    JBoss/Tomcat hangs in Windows 2000

    Navdeep Newbie

      hi,
      I am very sorry for posting it in two seperate forums, but I did not know where it belonged.

      I am running an application under JBoss 2.4.3 and tomcat 3.2.3, the application runs fine under windows NT 4.0 , but when I deploy it under win 2000 it hangs (I have tried both 1.3.0 and 1.3.1_01 version of JDK)
      The place where it hangs is while...
      inflate and install WEB module myapp-web.war
      process.
      after about 20 odd minutes I get the following stack trace dump......

      [J2eeDeployer] Create application myapp.ear
      [J2eeDeployer] inflate and install WEB module myapp-web.war
      ERROR: invalid console appender config detected, console stream is looping[Default] log4j:ERROR Fail
      ed to flush writer,
      [Default] java.io.IOException: The specified network name is no longer available
      [Default] at java.io.FileOutputStream.writeBytes(Native Method)
      [Default]
      [Default] at java.io.FileOutputStream.write(FileOutputStream.java:212)
      [Default]
      [Default] at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:230)
      [Default]
      [Default] at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:244)
      [Default]
      [Default] at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:49)
      [Default]
      [Default] at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:309)
      [Default]
      [Default] at org.apache.log4j.WriterAppender.append(WriterAppender.java:157)
      [Default]
      [Default] at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
      [Default]
      [Default] at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAtt
      achableImpl.java:57)
      [Default]
      [Default] at org.apache.log4j.Category.callAppenders(Category.java:255)
      [Default]
      [Default] at org.apache.log4j.Category.forcedLog(Category.java:445)
      [Default]
      [Default] at org.apache.log4j.Category.error(Category.java:364)
      [Default]
      [Default] at org.jboss.logging.LogToCategory.logToCategory(LogToCategory.java:64)
      [Default]
      [Default] at org.jboss.logging.LogToCategory.log(LogToCategory.java:44)
      [Default]
      [Default] at org.jboss.logging.Log.error(Log.java:135)
      [Default]
      [Default] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:220)
      [Default]
      [Default] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      [Default]
      [Default] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [Default]
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Default]
      [Default] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationSer
      vice.java:836)
      [Default]
      [Default] at $Proxy0.start(Unknown Source)
      [Default]
      [Default] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [Default]
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Default]
      [Default] at org.jboss.Main.(Main.java:221)
      [Default]
      [Default] at org.jboss.Main$1.run(Main.java:127)
      [Default]
      [Default] at java.security.AccessController.doPrivileged(Native Method)
      [Default]
      [Default] at org.jboss.Main.main(Main.java:123)
      [Default]
      [AutoDeployer] Deployment failed:file:/E:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/myapp.ear
      [AutoDeployer] java.lang.NoClassDefFoundError: java/util/zip/DataFormatException
      [AutoDeployer] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:133)
      [AutoDeployer] at java.io.FilterInputStream.read(FilterInputStream.java:114)
      [AutoDeployer] at java.io.PushbackInputStream.read(PushbackInputStream.java:164)
      [AutoDeployer] at java.util.zip.ZipInputStream.read(ZipInputStream.java:160)
      [AutoDeployer] at java.io.FilterInputStream.read(FilterInputStream.java:93)
      [AutoDeployer] at org.jboss.deployment.Installer.copy(Installer.java:572)
      [AutoDeployer] at org.jboss.deployment.Installer.inflate(Installer.java:616)
      [AutoDeployer] at org.jboss.deployment.Installer.installInflate(Installer.java:496)
      [AutoDeployer] at org.jboss.deployment.Installer.execute(Installer.java:279)
      [AutoDeployer] at org.jboss.deployment.InstallerFactory.install(InstallerFactory.java:102)
      [AutoDeployer] at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:418)
      [AutoDeployer] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:203)
      [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [AutoDeployer] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [AutoDeployer] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      [AutoDeployer] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      [AutoDeployer] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [AutoDeployer] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationSer
      vice.java:836)
      [AutoDeployer] at $Proxy0.start(Unknown Source)
      [AutoDeployer] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [AutoDeployer] at org.jboss.Main.(Main.java:221)
      [AutoDeployer] at org.jboss.Main$1.run(Main.java:127)
      [AutoDeployer] at java.security.AccessController.doPrivileged(Native Method)
      [AutoDeployer] at org.jboss.Main.main(Main.java:123)
      [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-jdbc.rar
      [RARDeployer] Attempting to deploy RAR at 'file:/E:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/lib/jbossp
      ool-jdbc.rar'
      [RARDeployer] java.lang.NoClassDefFoundError: java/util/zip/ZipFile$2
      [RARDeployer] at java.util.zip.ZipFile.entries(ZipFile.java:286)
      [RARDeployer] at java.util.jar.JarFile.entries(JarFile.java:192)
      [RARDeployer] at org.jboss.resource.RARDeployer.inflateJar(RARDeployer.java:481)
      [RARDeployer] at org.jboss.resource.RARDeployer.deploy(RARDeployer.java:270)
      [RARDeployer] at org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:70)
      [RARDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [RARDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [RARDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [RARDeployer] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [RARDeployer] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      [RARDeployer] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      [RARDeployer] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [RARDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [RARDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [RARDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [RARDeployer] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationSer
      vice.java:836)
      [RARDeployer] at $Proxy0.start(Unknown Source)
      [RARDeployer] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [RARDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [RARDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [RARDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [RARDeployer] at org.jboss.Main.(Main.java:221)
      [RARDeployer] at org.jboss.Main$1.run(Main.java:127)
      [RARDeployer] at java.security.AccessController.doPrivileged(Native Method)
      [RARDeployer] at org.jboss.Main.main(Main.java:123)
      [AutoDeployer] Deployment failed:file:/E:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-jdbc.r
      ar
      [AutoDeployer] java.lang.NoClassDefFoundError: java/util/zip/ZipFile$2
      [AutoDeployer] at java.util.zip.ZipFile.entries(ZipFile.java:286)
      [AutoDeployer] at java.util.jar.JarFile.entries(JarFile.java:192)
      [Service Control] Could not start null
      Exception in thread "JBossMain"

      I would be really helpful for any help.....also the test app supplied with the JBoss installation works fine under win 2000.
      Thanks