Posts

Showing posts with the label jvm

Appach Tomcat is shutting down automatically when i run it

Appach Tomcat is shutting down automatically when i run it In the last weeks Appach was working normally but today when i want to start appach-tomcat, it shuts down automatically, this is the log message in catalina : 29-Jun-2018 11:06:49.714 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 32769 ms 29-Jun-2018 11:06:49.745 SEVERE [main] org.apache.catalina.core.StandardServer.await StandardServer.await: create[localhost:8005]: java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.<init>(ServerSocket.java:237) at org.apache.catalina.core.StandardServer.await(StandardServer.java:420) at org.apache.catalina.s...

jshell finishes silently if the user tries to source a script with some error

jshell finishes silently if the user tries to source a script with some error Follow these steps to reproduce: Create a '.jsh' script with some kind of error(missing import, syntax error etc) open a jshell jshell /open the erroneous script /open The /open command will finish silently. /open The elements declared in that script won't be in the current namespace. Is there a way to force jshell to spit out the error and it's location in the script if an erroneous script is loaded? Setting the feedback level to verbose doesn't change anything. jshell verbose 1 Answer 1 jshell imports a lot of classes on startup and any subsequent snippet (even if load from file) can use them, SO few of the missing imports can be taken care here. --no-startup can be used to disable this behavior. By clicking "Post Your Answer", you acknowledge ...