This shows you the differences between two versions of the page.
shared_hosting:pjava_nonsudo [2007/04/20 09:46] |
shared_hosting:pjava_nonsudo [2007/04/20 09:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <code bash> | ||
+ | # sysctl net.inet.ip.portrange.reservedhigh=79 | ||
+ | </ | ||
+ | ---- | ||
+ | We have modified scheme of tomcat start/stop, so that you could kill your java if it will hang again. Here are the details: | ||
+ | |||
+ | Now you don't need to use sudo for start/stop. | ||
+ | |||
+ | In order to start your tomcat please run next command: | ||
+ | |||
+ | %/ | ||
+ | |||
+ | In order to stop your tomcat please run next command: | ||
+ | |||
+ | %/ | ||
+ | |||
+ | If you have Address already in use:80 error, find all java processes and kill them: | ||
+ | |||
+ | %ps auxww | grep java | grep ziuadecj|grep -v grep | ||
+ | |||
+ | <you will see something like> | ||
+ | |||
+ | ziuadecj 38581 0.0 1.9 263964 75880 p1 S 11: | ||
+ | |||
+ | <now kill it/them> | ||
+ | |||
+ | %kill -9 38581 | ||
+ | |||
+ | <and now start tomcat> | ||
+ | |||
+ | %/ | ||
+ | |||
+ | Please get back to us if you will have any other concerns. |