unable to share folder using a symlink

2011-03-22 Thread James Godrej
Here is a situation I have a directory in  /media/7AC03B13C03AD4DB/something   which is an ntfs drive. I want to share from this a subdirectory so I go to /var/www/ and create a symlink as follows ln -s /media/7AC03B13C03AD4DB/something  /var/www/new_name  when the client tries to reach the

how to set auto redirection in tomcat

2011-02-23 Thread James Godrej
I have a site http://social.openitup.in right now what you are seeing is a default Tomcat6 page. I am using mod_ajp as a front end and Apache vhost configuration for same is VirtualHost *:80 ServerName social.openitup.in ServerAdmin webmaster@localhost ProxyRequests

Re: how to set auto redirection in tomcat

2011-02-23 Thread James Godrej
- Original Message From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Thu, 24 February, 2011 3:01:01 AM Subject: RE: how to set auto redirection in tomcat From: James Godrej [mailto:jamesgod...@yahoo.in] Subject: how to set

Re: how to set auto redirection in tomcat

2011-02-23 Thread James Godrej
On Thu, Feb 24, 2011 at 4:41 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 2/23/2011 5:16 PM, James Godrej wrote: - Original Message From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users

how to configure ProxyPass for tomcat for app which generates url at root /

2011-02-23 Thread James Godrej
I basically have 2 applications http://sakai.openitup.in http://olat.openitup.in we wanted both of these to be accessible as http://research.openitup.in/sakai http://research.openitup.in/olat and a website http://reserach.openitup.in which is separate from both of these but what I found was if

error when tomcat is shutting down

2011-02-16 Thread James Godrej
/opt/apache-tomcat-5.5.31/bin/bootstrap.jar 2011-02-17 12:50:38,919 ERROR main org.apache.catalina.startup.Catalina - Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at

problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
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:

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/2/8 James Godrej jamesgod...@yahoo.in: ./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

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/2/8 James Godrej jamesgod...@yahoo.in: On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/2/8 James Godrej jamesgod...@yahoo.in: ./catalina.sh: 373: /usr/lib/jvm/java

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
- Original Message From: James Godrej jamesgod...@yahoo.in To: Tomcat Users List users@tomcat.apache.org Sent: Tue, 8 February, 2011 3:59:32 PM Subject: Re: problem in shutting down Tomcat server On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko knst.koli...@gmail.com wrote

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 6:18 PM, André Warnier a...@ice-sa.com wrote: James Godrej wrote: - Original Message From: James Godrej jamesgod...@yahoo.in To: Tomcat Users List users@tomcat.apache.org Sent: Tue, 8 February, 2011 3:59:32 PM Subject: Re: problem in shutting down Tomcat

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 8:05 PM, André Warnier a...@ice-sa.com wrote: On Tue, Feb 8, 2011 at 6:18 PM, André Warnier a...@ice-sa.com wrote: James Godrej wrote: To avoid this same issue in the future, maybe you should set JAVA_HOME or JRE_HOME to a higher-level link to the Java installation

Apache as a front end for a Tomcat application

2011-02-01 Thread James Godrej
Hi, I am trying to use Apache as a front end to an application which runs on a Tomcat server. On lan I am able to correctly see it but from internet things are not working. I tried understanding mod_jk page but I was unable to get to the correct settings. apache vhost can be read here

Re: Gui for viewing Apache responses from a chain of proxy servers

2010-07-25 Thread James Godrej
From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org That is what HEAD requests were invented for. I did not get your point.Can you give a link to what you are saying.

Gui for viewing Apache responses from a chain of proxy servers

2010-07-24 Thread James Godrej
Is there any GUI for viewing Apache headers which are being served by a chain of Reverse Proxy Servers. I have a cloud which uses a few Proxy Servers in between the client and actual server which has to serve the original request. All servers are Unix Servers. And if there is a problem which

Re: using Apache as a front end for Tomcat

2010-07-23 Thread James Godrej
From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent: Tue, 20 July, 2010 1:22:07 AM Subject: Re: using Apache as a front end for Tomcat James Godrej wrote: Hi, it would be very kind of you people if some one can share how can I use Apache

Re: using Apache as a front end for Tomcat

2010-07-20 Thread James Godrej
On your blog http://myunster.com/blog/10.html at step number 8 you mentioned to create worker.properties there a variable is workers.tomcat_home and workers.java_home if the apache machine and tomcat machine are physically different then how do you define these variables . Also is there any

Re: using Apache as a front end for Tomcat

2010-07-19 Thread James Godrej
Thanks Caldarale,I will go through all of them. From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Tue, 20 July, 2010 12:29:48 AM Subject: RE: using Apache as a front end for Tomcat From: James Godrej

Re: using Apache as a front end for Tomcat

2010-07-19 Thread James Godrej
Hi, Marco thanks for your kind reply. I am a bit new to this Proxy business I did searched tutorials on net but I have got a lot confused. If you can share your vhost as how you are using mod_proxy_ajp For example following is an example configuration of Apache as front end I enabled

using Apache as a front end

2010-07-15 Thread James Godrej
I am looking for an example to use Apache as a front end to two tomcat servers running on different ports on same machine.ProxyPass /site1 http://site1.local.com:8080/ProxyPassReverse /site1 http://site1.local.com:8080/ as in Apache there is Document Root to serve webpages I found Tomcat uses

how to serve a website hidden to internet

2010-07-15 Thread James Godrej
I am having a website which is being served on my LAN as http://internal1.mydomain.com the vhost configuration for this is VirtualHost *:80 ServerAdmin webmas...@localhost ServerName internal1.mydomain.com ProxyRequests Off Proxy * Order deny,allow

changing server name in HTTP request

2010-07-15 Thread James Godrej
I am having a website which is being served on my LAN as http://internal1.mydomain.com the vhost configuration for this is VirtualHost *:80 ServerAdmin webmas...@localhost ServerName internal1.mydomain.com ProxyRequests Off Proxy * Order deny,allow Allow from all