[Live-demo] [OSGeo] #1522: GeoNetwork 3.0.3 fails to start in 32bit system (was: GeoNetwork 3.0.1 fails to start in a VM)

OSGeo trac_osgeo at osgeo.org
Mon Mar 14 12:27:28 PDT 2016


#1522: GeoNetwork 3.0.3 fails to start in 32bit system
--------------------------+---------------------------
 Reporter:  kalxas        |       Owner:  live-demo@…
     Type:  defect        |      Status:  reopened
 Priority:  blocker       |   Milestone:  OSGeoLive9.5
Component:  LiveDVD       |  Resolution:
 Keywords:  geonetwork 3  |
--------------------------+---------------------------
Changes (by kalxas):

 * status:  closed => reopened
 * priority:  critical => blocker
 * resolution:  fixed =>


Comment:

 While GeoNetwork 3.0.3 is working as expected in 64 bit system (RC1),
 unfortunately it fails to work on the 32 bit system.

 Here is the Jetty output log from the live 32bit RC1 iso:

 {{{
 2016-03-14 19:20:50.516:INFO:oejs.Server:jetty-8.1.16.v20140903
 2016-03-14 19:20:50.762:INFO:oejdp.ScanningAppProvider:Deployment monitor
 /usr/local/lib/geonetwork/web at interval 1
 2016-03-14 19:20:50.768:INFO:oejd.DeploymentManager:Deployable added:
 /usr/local/lib/geonetwork/web/geonetwork
 2016-03-14 19:21:52.707:WARN:oejuc.AbstractLifeCycle:FAILED
 o.e.j.w.WebAppContext{/geonetwork,[file:/usr/local/lib/geonetwork/web/geonetwork/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-INF/lib/coffee-
 script-1.8.0.jar!/META-INF/resources/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-
 INF/lib/emberjs-1.5.0.jar!/META-INF/resources/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-
 INF/lib/handlebars-1.3.0.jar!/META-INF/resources/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-
 INF/lib/jquery-1.10.2-1.jar!/META-INF/resources/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-
 INF/lib/jshint-2.4.3.jar!/META-INF/resources/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-INF/lib/jslint-
 c657984cd7.jar!/META-INF/resources/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-
 INF/lib/json2-20110223.jar!/META-INF/resources/,
 jar:file:/usr/local/lib/geonetwork/web/geonetwork/WEB-
 INF/lib/less-1.3.3.jar!/META-
 INF/resources/]},/usr/local/lib/geonetwork/web/geonetwork:
 java.lang.OutOfMemoryError
 java.lang.OutOfMemoryError
         at java.util.zip.Inflater.inflateBytes(Native Method)
         at java.util.zip.Inflater.inflate(Inflater.java:259)
         at
 java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
         at java.io.FilterInputStream.read(FilterInputStream.java:133)
         at java.io.FilterInputStream.read(FilterInputStream.java:133)
         at org.objectweb.asm.ClassReader.a(Unknown Source)
         at org.objectweb.asm.ClassReader.<init>(Unknown Source)
         at
 org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:898)
         at
 org.eclipse.jetty.annotations.AnnotationParser$2.processEntry(AnnotationParser.java:857)
         at
 org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:161)
         at
 org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)
         at
 org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)
         at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)
         at
 org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:869)
         at
 org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:884)
         at
 org.eclipse.jetty.annotations.AnnotationConfiguration.parseWebInfLib(AnnotationConfiguration.java:422)
         at
 org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:120)
         at
 org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:468)
         at
 org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1237)
         at
 org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
         at
 org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
         at
 org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
         at
 org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39)
         at
 org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
         at
 org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494)
         at
 org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141)
         at
 org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145)
         at
 org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56)
         at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
         at
 org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
         at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
         at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337)
         at
 org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
         at
 org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121)
         at
 org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
         at
 org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555)
         at
 org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230)
         at
 org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
         at
 org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
         at
 org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
         at
 org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
         at org.eclipse.jetty.server.Server.doStart(Server.java:282)
         at
 org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
         at
 org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
         at java.security.AccessController.doPrivileged(Native Method)
         at
 org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
         at org.eclipse.jetty.start.Main.start(Main.java:615)
         at org.eclipse.jetty.start.Main.main(Main.java:96)#
 # There is insufficient memory for the Java Runtime Environment to
 continue.
 # Native memory allocation (malloc) failed to allocate 32756 bytes for
 ChunkPool::allocate
 # An error report file with more information is saved as:
 # /usr/local/lib/geonetwork/jetty/hs_err_pid3960.log
 }}}

 and `/usr/local/lib/geonetwork/jetty/hs_err_pid3960.log`

 {{{
 #
 # There is insufficient memory for the Java Runtime Environment to
 continue.
 # Native memory allocation (malloc) failed to allocate 32756 bytes for
 ChunkPool::allocate
 # Possible reasons:
 #   The system is out of physical RAM or swap space
 #   In 32 bit mode, the process size limit was hit
 # Possible solutions:
 #   Reduce memory load on the system
 #   Increase physical memory or swap space
 #   Check if swap backing store is full
 #   Use 64 bit Java on a 64 bit OS
 #   Decrease Java heap size (-Xmx/-Xms)
 #   Decrease number of Java threads
 #   Decrease Java thread stack sizes (-Xss)
 #   Set larger code cache with -XX:ReservedCodeCacheSize=
 # This output file may be truncated or incomplete.
 #
 #  Out of Memory Error (allocation.cpp:214), pid=3960, tid=3008150336
 #
 # JRE version: OpenJDK Runtime Environment (7.0_95) (build 1.7.0_95-b00)
 # Java VM: OpenJDK Client VM (24.95-b01 mixed mode, sharing linux-x86 )
 # Derivative: IcedTea 2.6.4
 # Distribution: Ubuntu 14.04.3 LTS, package 7u95-2.6.4-0ubuntu0.14.04.1
 # Failed to write core dump. Core dumps have been disabled. To enable core
 dumping, try "ulimit -c unlimited" before starting Java again
 #

 ---------------  T H R E A D  ---------------

 Current thread (0xb674dc00):  JavaThread "C1 CompilerThread0" daemon
 [_thread_in_native, id=3970, stack(0xb344b000,0xb34cc000)]

 Stack: [0xb344b000,0xb34cc000]

 Current CompileTask:
 C1:  66070  812
 }}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1522#comment:29>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list