LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   I had Java and Tomcat working until I tried setup of Mod_JK (https://www.linuxquestions.org/questions/linux-software-2/i-had-java-and-tomcat-working-until-i-tried-setup-of-mod_jk-445059/)

booga 05-15-2006 01:35 PM

I had Java and Tomcat working until I tried setup of Mod_JK
 
Now the tomcat default page does not load

http://localhost:8088

port 8080 is in use by the router. Port 8088 is configured to forward to the server.

Big sign of a problem.

Code:

# java -version
bash: java: command not found

Tomcat Log shows

Code:

This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat
binary download page.

I will try install of XX instead of j2sdk1.4.2_11 tomorrow

In the course of troubleshooting, and reinstalling, the log may also reflect the following:

Code:

/usr/local/apache-tomcat-5.5.17/bin/./catalina.sh: line 258: /usr/java/j2sdk1.4.2_11/bin/java: No such file or directory

booga 05-15-2006 04:32 PM

in the course of trying to figure this out, i reinstalled JAVA.

The tomcat default page now displays when pulling up localhost:8088

problem is that it does not display login prompt when clicking STATUS or MANAGER

Tomcat logs show this
Code:

May 15, 2006 1:20:29 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8088
May 15, 2006 1:20:29 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
        at org.apache.jk.server.JkMain.pause(JkMain.java:677)
        at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:162)
        at org.apache.catalina.connector.Connector.pause(Connector.java:1031)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:491)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
        at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644)



All times are GMT -5. The time now is 07:38 PM.