when i stop servoy application server this stop only the web page, but there is a “java” process running and maintaining the same connection by the port 8080, if i try to re-start the servoy_server.sh, i got an error
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8080
what can i do to stop that process when i shutdown the application server?
how do you stop the app server through the web user interface ?
If you press shutdown it should shutdown your complete application.
Sometimes this does not work for example if you have put/overwritten new jar files that where already used by the application server. Then the restart doesnt work quite right. So never do that if you want to update your server
first shutdown then restart.
But do you with a clean install from servoy, then you start the server and shutdown it again. You always see it hanging?
jcompagner:
how do you stop the app server through the web user interface ?
Yes i stop the app server through the web user interface
jcompagner:
If you press shutdown it should shutdown your complete application.
Sometimes this does not work for example if you have put/overwritten new jar files that where already used by the application server. Then the restart doesnt work quite right. So never do that if you want to update your server
first shutdown then restart.
But do you with a clean install from servoy, then you start the server and shutdown it again. You always see it hanging?
I have a clean intallation from servoy, but this did not stop or restart it began and remains a process using java port 8080
goldcougar:
Is your server a Mac?
no, is Debian 4.0 (“Etch”)
Normally it should stop the process with a ‘shutdown’ command from the servoy-admin pages…
Are you running the server as root user?
As temp solution you can kill it:
first get a process list:
ps aux|grep java
check what PID the java process has and then kill it:
kill -9 PID
Now the port should be open again! And it should be ready for a normal start of servoy server, using: ./servoy_server.sh
4.0 had a problems shutting down nicely this is fixed.