If when you are running you jboss application you see in the log the message:
Address already in use:8009
It is probably because the address is in use.
You're already running an instance of your servlet engine, or another service is running on its port. Make sure the other service is fully stopped before launching another one.
In my case it happened when I started Pentaho the message was:
Protocol handler initialization failed: java.net.BindException: Address already in use:8009
To solve it:
# ps -a
It will show something like that:
caio@coruja-mobile:~$ ps -a
PID TTY TIME CMD
8345 pts/0 00:00:00 su
8370 pts/0 00:00:00 bash
21804 pts/0 00:00:00 sh
21806 pts/0 00:00:00 sh
21812 pts/0 00:02:48 java
28213 pts/2 00:00:00 ps
So kill the java process
# kill -9 21812
If it does not work try:
# ps -ef | grep tomcat
In my case my wmware-server was using port 8009 because the 2.0 version is a web-based version and it uses tomcat.
See the process and kill them all.
To see if the port is still opened use the command:
# nmap your_computer_ip
That's it!!! It worked for me.
Post a Comment