I am using apache-tomcat-5.5.31
on a Ubuntu server.My services websites were running perfectly fine until today 
morning.
I see it down.
Here is a link http://sakai.openitup.in

It is running in a reverse proxy situation and I see following log 
[Tue Feb 08 12:55:15 2011] [error] proxy: AJP: disabled connection for 
(192.168.1.4)
[Tue Feb 08 12:55:46 2011] [error] proxy: AJP: disabled connection for 
(192.168.1.4)
[Tue Feb 08 12:56:33 2011] [error] (111)Connection refused: proxy: AJP: attempt 
to connect to 192.168.1.4:8009 (192.168.1.4) failed
[Tue Feb 08 12:56:33 2011] [error] ap_proxy_connect_backend disabling worker 
for 
(192.168.1.4)
[Tue Feb 08 12:56:33 2011] [error] proxy: AJP: failed to make connection to 
backend: 192.168.1.4
~                                                                               
                       

Here is the log from /opt/apache-tomcat-5.5.31/logs/catalina.out 
on server where it is actually hosted 

INFO Unregistered entity provider 
(org.sakaiproject.poll.tool.entityproviders.PollEntityProvider) and 17 
capabilities
2011-02-04 14:54:26,664  INFO Thread-16 org.sakaiproject.spring.util.SpringTool 
- destroy
2011-02-04 14:54:26,664  INFO Thread-16 org.sakaiproject.spring.util.SpringTool 
- destroy
2011-02-04 14:54:26,664  INFO Thread-16 org.sakaiproject.spring.util.SpringTool 
- destroy
2011-02-04 14:54:26,665  INFO Thread-16 org.sakaiproject.spring.util.SpringTool 
- destroy
2011-02-04 14:54:26,665  INFO Thread-16 org.sakaiproject.jsf.util.JsfTool - 
destroy
2011-02-04 14:54:26,681  INFO Thread-16 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/osp-matrix-tool]
 
- Closing Spring root WebApplicationContext
2011-02-04 14:54:26,682  INFO Thread-16 
org.sakaiproject.util.ContextLoaderListener - Destroying Components in 
osp-matrix
./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found

Upon seeing the last 3 lines I verified in the folder
/usr/lib/jvm/java-6-sun-1.6.0.20/bin/java
exists which it complains as not found.

The vhost configuration for this site is as follows


<VirtualHost *:80 >
        ServerName sakai.openitup.in
        ServerAdmin webmaster@localhost
        ProxyRequests off
        <Proxy *>
        Order deny,allow
        Allow from all
        </Proxy>
        ProxyPass / ajp://192.168.1.4:8009/
        ProxyPassReverse / ajp://192.168.1.4:8009/
</VirtualHost>

The machine on which my application (sakai 2.7 binary 
  http://sakaiproject.org/ ) is actually hosted has following also defined as
 $JAVA_HOME is set to /usr/lib/jvm/java-6-sun-1.6.0.20
$CATALINA_HOME is set to /opt/apache-tomcat-5.5.31

So now I have no clue as what is causing this error can some one point to right 
direction as what more should I look now?
Each time when I try to restart the Tomcat server I am getting the following 
error

./shutdown.sh 
Using CATALINA_BASE:   /opt/apache-tomcat-5.5.31
Using CATALINA_HOME:   /opt/apache-tomcat-5.5.31
Using CATALINA_TMPDIR: /opt/apache-tomcat-5.5.31/temp
Using JRE_HOME:        /usr/lib/jvm/java-6-sun-1.6.0.20
Using CLASSPATH:       /opt/apache-tomcat-5.5.31/bin/bootstrap.jar
./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found

which is not correct.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to