-
1. Re: Excuse: how I can Change the default 8080 port
sesques Apr 20, 2004 5:28 AM (in response to daveeyang)You can change it in the jboss-service.xml on the deploy/jbossweb-tomcat41.sar/META-INF directory.
Search for <!-- A HTTP/1.1 Connector on port 8080
--> comment -
2. Re: Excuse: how I can Change the default 8080 port
daveeyang Apr 20, 2004 6:50 AM (in response to daveeyang)It is so wonderfull !! I solved the big trouble now ,thanks to sesques very much..
and I found that if I restart the jboss server then the problem appears again, and I have to change the server port again,maybe the taking up port is a bug of jboss... however, thanks to sesques very much, you do a very good works...
sincerely DaveeYang.... -
3. Re: Excuse: how I can Change the default 8080 port
sesques Apr 20, 2004 7:09 AM (in response to daveeyang)Do you stop Jboss before starting it again ?
As you says, if the message is "Address already in use" whatever the port value is, you must conclude that the previous instance of JBoss is not stopped.
Thanks to lick my boots, they are pretty crappy.[/img] -
4. Re: Excuse: how I can Change the default 8080 port
daveeyang Apr 20, 2004 7:51 AM (in response to daveeyang)I change the port 8080 to 8081, then started jboss successfully, then I am sure I stopped Jboss as the way: Ctrl+C ,right ? And after the procedure(until it give the message "Shutdown complete Halting VM" ), "run.bat " jboss restart jboss, but in the end then message show 8081 port already in use, while I restart the computer, then it works .. I do think it is better than the 8080 port --- how many times restart the computer, it give the "Address already in use" exception.
May I know why I restart the jboss then the port is busy before I restart my computer, is it means I stop the jboss but leave the port busy ?
Thanks for sesques' wonderful work. -
5. Re: Excuse: how I can Change the default 8080 port
nickman Apr 20, 2004 8:10 AM (in response to daveeyang)Windows can be cryptic when it comes to finding out exactly what executable is locking a port. This free tool from Sysinternals will show you exactly what executable is holding the port: http://www.sysinternals.com/ntw2k/source/tcpview.shtml
//Nicholas -
6. Re: Excuse: how I can Change the default 8080 port
sesques Apr 20, 2004 8:19 AM (in response to daveeyang)Very curious.
What is your OS ?
Can you dump network statistics ? (netstat -a under Windows) ?
After you stop JBoss, is there an instance of java.exe running ?
Is there a network monitor in a activity ? -
7. Re: Excuse: how I can Change the default 8080 port
daveeyang Apr 20, 2004 9:05 AM (in response to daveeyang)there are two OS in my disk, Win2k and linux, and I am running win2k.
nickman ,thanks for your introduction, I downloaded it and run the tool, the tool is usefull, but I could not fund the port 8081 and 8080 , when I start the jboss and it is alse show the message: 8081 port "Address already in use", CURIOUS!
sesques, I check in dos: "netstat -a " but could not found 8081 port is busy. restart the computer,then it works, depressed !
As the most important thing I solved, just I restart the computer OK, I think maybe I will know it in future with my work.. Thanks to both of you !
Have a nice day !
Sincerely DaveeYang...