Description of problem: I think a change in the icedtea7-forest-2.3 breaks the start up of glassfish 4 Java EE server. See: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk/rev/9603e9d828c4 https://java.net/jira/browse/GLASSFISH-20410 Relevant stack trace: Caused by: java.util.MissingResourceException: Can't find com.sun.enterprise.util.LogMessages bundle at java.util.logging.Logger.setupResourceInfo(Logger.java:1400) at java.util.logging.Logger.<init>(Logger.java:256) at java.util.logging.LogManager.demandLogger(LogManager.java:399) at java.util.logging.Logger.demandLogger(Logger.java:315) at java.util.logging.Logger.getLogger(Logger.java:408) at com.sun.enterprise.util.CULoggerInfo.<clinit>(CULoggerInfo.java:61) Version-Release number of selected component (if applicable): java-1.7.0-openjdk.x86_64 1:1.7.0.25-2.3.10.3.fc19 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Above crash is gone with: java-1.7.0-openjdk.x86_64 1:1.7.0.25-2.3.10.4.fc19 but now the glassfish server uses a lot of CPU in: [1] sun.reflect.Reflection.getCallerClass0 (native method) [2] sun.reflect.Reflection.getCallerClass (Reflection.java:68), pc = 1 [3] java.util.logging.Logger.findResourceBundleFromStack (Logger.java:1.470), pc = 5 [4] java.util.logging.Logger.findResourceBundle (Logger.java:1.454), pc = 183 [5] java.util.logging.Logger.doLog (Logger.java:623), pc = 35 [6] java.util.logging.Logger.log (Logger.java:689), pc = 42 [7] com.sun.enterprise.security.auth.realm.Realm.doInstantiate (Realm.java:338), pc = 156 [8] com.sun.enterprise.security.auth.realm.Realm.instantiate (Realm.java:225), pc = 18 [9] com.sun.enterprise.security.auth.realm.RealmConfig.createRealms (RealmConfig.java:82), pc = 185 [10] com.sun.enterprise.security.auth.realm.RealmsManager.createRealms (RealmsManager.java:278), pc = 110 [11] com.sun.enterprise.security.auth.realm.RealmsManager.createRealms (RealmsManager.java:211), pc = 14 [12] org.glassfish.security.services.impl.AuthenticationServiceImpl.initialize (AuthenticationServiceImpl.java:178), pc = 296 [13] org.glassfish.security.services.impl.AuthenticationServiceImpl.postConstruct (AuthenticationServiceImpl.java:286), pc = 21 [14] org.jvnet.hk2.internal.ClazzCreator.postConstructMe (ClazzCreator.java:281), pc = 16 [15] org.jvnet.hk2.internal.ClazzCreator.create (ClazzCreator.java:328), pc = 71 [16] org.jvnet.hk2.internal.SystemDescriptor.create (SystemDescriptor.java:448), pc = 83 [17] org.jvnet.hk2.internal.SingletonContext.findOrCreate (SingletonContext.java:118), pc = 175 [18] org.jvnet.hk2.internal.Utilities.createService (Utilities.java:2.204), pc = 348 [19] org.jvnet.hk2.internal.ServiceHandleImpl.getService (ServiceHandleImpl.java:93), pc = 77 [20] org.jvnet.hk2.internal.ServiceLocatorImpl.getService (ServiceLocatorImpl.java:558), pc = 79 [21] org.jvnet.hk2.internal.ThreeThirtyResolver.resolve (ThreeThirtyResolver.java:77), pc = 47 [22] org.jvnet.hk2.internal.ClazzCreator.resolve (ClazzCreator.java:191), pc = 29 [23] org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies (ClazzCreator.java:214), pc = 166 [24] org.jvnet.hk2.internal.ClazzCreator.create (ClazzCreator.java:311), pc = 5 [25] org.jvnet.hk2.internal.SystemDescriptor.create (SystemDescriptor.java:448), pc = 83 [26] org.jvnet.hk2.internal.SingletonContext.findOrCreate (SingletonContext.java:118), pc = 175 [27] org.jvnet.hk2.internal.Utilities.createService (Utilities.java:2.204), pc = 348 [28] org.jvnet.hk2.internal.ServiceHandleImpl.getService (ServiceHandleImpl.java:93), pc = 77 [29] org.jvnet.hk2.internal.ServiceLocatorImpl.getService (ServiceLocatorImpl.java:558), pc = 79 [30] org.jvnet.hk2.internal.ThreeThirtyResolver.resolve (ThreeThirtyResolver.java:77), pc = 47 [31] org.jvnet.hk2.internal.ClazzCreator.resolve (ClazzCreator.java:191), pc = 29 [32] org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies (ClazzCreator.java:214), pc = 166 [33] org.jvnet.hk2.internal.ClazzCreator.create (ClazzCreator.java:311), pc = 5 [34] org.jvnet.hk2.internal.SystemDescriptor.create (SystemDescriptor.java:448), pc = 83 [35] org.jvnet.hk2.internal.SingletonContext.findOrCreate (SingletonContext.java:118), pc = 175 [36] org.jvnet.hk2.internal.Utilities.createService (Utilities.java:2.204), pc = 348 [37] org.jvnet.hk2.internal.ServiceHandleImpl.getService (ServiceHandleImpl.java:93), pc = 77 [38] org.jvnet.hk2.internal.IterableProviderImpl$MyIterator.next (IterableProviderImpl.java:205), pc = 12 [39] org.glassfish.resourcebase.resources.listener.ResourceManager.notifyListeners (ResourceManager.java:136), pc = 20 [40] org.glassfish.resourcebase.resources.listener.ResourceManager.postConstruct (ResourceManager.java:128), pc = 4 [41] org.jvnet.hk2.internal.ClazzCreator.postConstructMe (ClazzCreator.java:281), pc = 16 [42] org.jvnet.hk2.internal.ClazzCreator.create (ClazzCreator.java:328), pc = 71 [43] org.jvnet.hk2.internal.SystemDescriptor.create (SystemDescriptor.java:448), pc = 83 [44] org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate (AsyncRunLevelContext.java:163), pc = 256 [45] org.jvnet.hk2.internal.Utilities.createService (Utilities.java:2.204), pc = 348 [46] org.jvnet.hk2.internal.ServiceHandleImpl.getService (ServiceHandleImpl.java:93), pc = 77 [47] org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob (CurrentTaskFuture.java:673), pc = 50 [48] org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run (CurrentTaskFuture.java:660), pc = 48 [49] org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneJob.run (CurrentTaskFuture.java:490), pc = 153 [50] org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpAllTheWay.go (CurrentTaskFuture.java:362), pc = 188 [51] org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpAllTheWay.access$100 (CurrentTaskFuture.java:279), pc = 1 [52] org.glassfish.hk2.runlevel.internal.CurrentTaskFuture.go (CurrentTaskFuture.java:113), pc = 11 [53] org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.proceedTo (AsyncRunLevelContext.java:296), pc = 80 [54] org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl.proceedTo (RunLevelControllerImpl.java:66), pc = 5 [55] com.sun.enterprise.v3.server.AppServerStartup.proceedTo (AppServerStartup.java:532), pc = 5 [56] com.sun.enterprise.v3.server.AppServerStartup.run (AppServerStartup.java:313), pc = 198 [57] com.sun.enterprise.v3.server.AppServerStartup.doStart (AppServerStartup.java:226), pc = 1 [58] com.sun.enterprise.v3.server.AppServerStartup.start (AppServerStartup.java:217), pc = 21 [59] com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start (GlassFishImpl.java:79), pc = 76 [60] com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start (GlassFishDecorator.java:63), pc = 4 [61] com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl.start (EmbeddedOSGiGlassFishImpl.java:75), pc = 1 [62] com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start (GlassFishDecorator.java:63), pc = 4 [63] com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start (OSGiGlassFishImpl.java:71), pc = 1 [64] com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch (GlassFishMain.java:117), pc = 73 [65] sun.reflect.NativeMethodAccessorImpl.invoke0 (native method) [66] sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57), pc = 87 [67] sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43), pc = 6 [68] java.lang.reflect.Method.invoke (Method.java:606), pc = 57 [69] com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main (GlassFishMain.java:97), pc = 135 [70] com.sun.enterprise.glassfish.bootstrap.ASMain.main (ASMain.java:54), pc = 1
okay, I added the JVM option "jdk.logging.allowStackWalkSearch=true". After removing this option again, glassfish works correctly with the latest openjdk version. closing.