-
Bug
-
Resolution: Done
-
Major
-
None
-
None
If a thread completes the DomainServerMain main(String[] args) method, the process must exit. Currently that may not occur, as this stack trace reported while manually checking the WFCORE-1844 fix showed:
[Server:server-one] 14:15:39,022 ERROR [stderr] (main) Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at java.lang.Thread.start0(Native Method) [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at java.lang.Thread.start(Thread.java:714) [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at org.jboss.threads.JBossThread.start(JBossThread.java:342) [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368) [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at org.jboss.as.server.mgmt.domain.HostControllerConnection.asyncReconnect(HostControllerConnection.java:165) [Server:server-one] 14:15:39,023 ERROR [stderr] (main) at org.jboss.as.server.mgmt.domain.HostControllerClient.reconnect(HostControllerClient.java:93) [Server:server-one] 14:15:39,024 ERROR [stderr] (main) at org.jboss.as.server.DomainServerMain.main(DomainServerMain.java:151) [Server:server-one] 14:15:39,024 ERROR [stderr] (main) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [Server:server-one] 14:15:39,024 ERROR [stderr] (main) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [Server:server-one] 14:15:39,024 ERROR [stderr] (main) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [Server:server-one] 14:15:39,024 ERROR [stderr] (main) at java.lang.reflect.Method.invoke(Method.java:498) [Server:server-one] 14:15:39,024 ERROR [stderr] (main) at org.jboss.modules.Module.run(Module.java:336) [Server:server-one] 14:15:39,024 ERROR [stderr] (main) at org.jboss.modules.Main.main(Main.java:520)
If the process does not exit, it is no longer under the control of the PC or HC and the only thing they can do with it is kill it. So it should kill itself.
- blocks
-
JBEAP-6414 [GSS](7.0.z) loose of domain controller manageabilty after an OOM
- Closed