User Tools

Site Tools


shared_hosting:pjava_nonsudo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

shared_hosting:pjava_nonsudo [2007/04/20 09:46] (current)
Line 1: Line 1:
 +<code bash>
 +# sysctl net.inet.ip.portrange.reservedhigh=79
 +</​code>​
 +----
  
 +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:
 +
 +%/​home/​ziuadecj/​tomcat/​bin/​catalina.sh start
 +
 +In order to stop your tomcat please run next command:
 +
 +%/​home/​ziuadecj/​tomcat/​bin/​catalina.sh stop
 +
 +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:​39AM ​  ​0:​19.24 [java]
 +
 +<now kill it/them>
 +
 +%kill -9 38581  ​
 +
 +<and now start tomcat>
 +
 +%/​home/​ziuadecj/​tomcat/​bin/​catalina.sh start
 +
 +Please get back to us if you will have any other concerns.
shared_hosting/pjava_nonsudo.txt ยท Last modified: 2007/04/20 09:46 (external edit)