|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am trying to run jakarta-tomcat 5.5. I installed jre1.5.0_03 and also jdk1.5.0_03. I tried setting my JAVA_HOME variable to both /usr/local/re1.5.0_03 and also /usr/local/jdk1.5.0_03 and then running the /usr/local/jakarta-tomcat-5.5.9/bin/startup.sh script. # ./startup.sh Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.5.9/ Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.5.9/ Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.5.9//temp Using JRE_HOME: /usr/local/jdk1.5.0_03 # ps -fela | grep -i java | grep -v grep 8 R root 9665 1 16 59 20 ? 11500 17:11:23 pts/11 0:05 /usr/local/jdk1.5.0_03/bin/java -Dj 8 R root 9510 1 0 50 20 ? 11906 16:22:41 pts/11 0:15 /usr/local/jdk1.5.0_03/bin/java -Dj # echo $JAVA_HOME /usr/local/jdk1.5.0_03 Here is where I set JAVA_HOME to jre: # export JAVA_HOME=/usr/local/jre1.5.0_03/ # ./startup.sh Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.5.9/ Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.5.9/ Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.5.9//temp Using JRE_HOME: /usr/local/jre1.5.0_03/ # ps -fela | grep -i java | grep -v grep 8 R root 9665 1 0 50 20 ? 12294 17:11:23 pts/11 0:13 /usr/local/jdk1.5.0_03/bin/java -Dj 8 R root 9510 1 0 50 20 ? 11906 16:22:41 pts/11 0:15 /usr/local/jdk1.5.0_03/bin/java -Dj 8 R root 9682 1 25 99 20 ? 11267 17:12:04 pts/11 0:09 /usr/local/jre1.5.0_03//bin/java -D Now looking at nestat info, I get listening on port 8080 but going to a browser and http://localhost:8080 produces nothing. jakarta process is not running. # netstat -an | grep 8080 *.8080 *.* 0 0 24576 0 LISTEN 127.0.0.1.33149 127.0.0.1.8080 32768 0 32768 0 TIME_WAIT 172.18.5.91.33156 172.18.5.95.8080 0 0 24820 0 SYN_SENT # Why is this happening, what can I do about it? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hi Juha.
This did the trick. I followed the instructions and was able to start the Tomcat 5.5 server. It took about 1-1.5 minutes for it to go from 33% to 0.7% and it started serving requests. I was expecting it to server requests immediately, much like Apache. Interesting experience. BTW, the platform is Solaris 8. |
|
![]() |
| Outils de la discussion | |
|
|