After changing all log levels for a remote instance, on SSH node, to WARNING, instance fails to start with the following error in Admin Console:
An error has occurred
Could not start instance intp on node tuppy (tuppy). Command failed on node tuppy (tuppy): CLI801 Instance is already synchronized Waiting for intp to start ..........Command start-local-instance failed. Error starting instance intp. The server exited prematurely with exit code 1. Before it died, it produced the following output: Launching GlassFish on Felix platform Completed shutdown of GlassFish runtime Exception in thread "main" java.lang.reflect.InvocationTargetException 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:601) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) Caused by: java.lang.NullPointerException at com.sun.enterprise.server. .... msg.seeServerLog
Attaching server.log files.
I have tried it several times with b20 and b21 and it always happens in my setup with a remote instance on an SSH node. I does not happen when instance is on a DCOM node or on localhost. Changing just one or two log levels for an instance on SSH node does NOT trigger this error. However, I'm still logging this as a Major issue, so we at least investigate it, since this is not an unlikely scenario, to set all log levels to warning on a production system.
Steps to reproduce:
1. Create a remote SSH node.
2. Create a standalone instance under the new node and start it.
3. In Admin Console go to instance's configuration, Logger Settings, Log Levels.
4. Select checkboxes for all loggers, WARNING for Log Level drop down and click on Change Level. Then click on Save.
5. Go back to instance page and stop it.
6. Start the instance and the above mentioned error is displayed.