0 Replies Latest reply on Oct 28, 2009 2:28 PM by Tiago Scarton

    JBoss 5.1 OutOfMemoryError

    Tiago Scarton Newbie

      Hi,

      I'm trying to migrate my application to JBoss 5.1 GA and I got some exceptions when I access my login page (the start process run normaly).

      Take a look the exceptions:

      Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.w3c.dom.Document, msg=null
      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:165)
      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)
      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      ... 40 more
      Caused by: java.lang.OutOfMemoryError
      at java.util.zip.Inflater.init(Native Method)
      at java.util.zip.Inflater.(Unknown Source)
      at java.util.zip.ZipFile.getInflater(Unknown Source)
      at java.util.zip.ZipFile.getInputStream(Unknown Source)
      at java.util.zip.ZipFile.getInputStream(Unknown Source)
      at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:214)
      at org.jboss.virtual.plugins.context.zip.ZipEntryContext.openStream(ZipEntryContext.java:1082)
      at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.openStream(ZipEntryHandler.java:153)
      at org.jboss.virtual.VirtualFile.openStream(VirtualFile.java:230)
      at org.jboss.classloading.spi.vfs.policy.VFSClassLoaderPolicy.getResourceAsStream(VFSClassLoaderPolicy.java:483)
      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:534)
      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507)
      at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
      at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
      at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
      at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251)
      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150)
      ... 46 more

      I tried to increase the JVM memory but didn't work.

      Does anyone have any ideia what is going on?

      Thanks