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 abov

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 I

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 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > James, > > On 2/23/2011 5:16 PM, James Godrej wrote: >> - Original Message >> From: "Caldarale, Charles R" >> To: Tomcat Us

Re: how to set auto redirection in tomcat

2011-02-23 Thread James Godrej
- Original Message From: "Caldarale, Charles R" To: Tomcat Users List 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 auto redirection in tomc

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 ServerName social.openitup.in ServerAdmin webmaster@localhost ProxyRequests off

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 java.net.PlainSocketImpl.doConnect(PlainSocketImp

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 8:05 PM, André Warnier wrote: >> On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote: >>> >>> James Godrej wrote: >>>> >>>> >>> To avoid this same issue in the future, maybe you should set JAVA_HOME or >&

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote: > James Godrej wrote: >> >> >> >> - Original Message >> From: James Godrej >> To: Tomcat Users List >> Sent: Tue, 8 February, 2011 3:59:32 PM >> Subject: Re: problem in shutt

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
- Original Message From: James Godrej To: Tomcat Users List 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 wrote: > 2011/2/8 James Godrej : >> >> On Tue, Feb 8,

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko wrote: > 2011/2/8 James Godrej : >> >> On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko >> wrote: >>> 2011/2/8 James Godrej : >>>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: n

Re: problem in shutting down Tomcat server

2011-02-08 Thread James Godrej
On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko wrote: > 2011/2/8 James Godrej : >> ./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/jv

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: disabl

running multiple instances of Tomcat on same server

2011-02-04 Thread James Godrej
I have to run multiple instances of Tomcat. The reason I am doing so is I have a server where I hosted a learning management system known as Sakai which runs on Tomcat 5.5.30 and now on same server I have to host another learning management system known as OLAT. As per OLAT doc here in Tomcat

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 http://past

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

2010-07-24 Thread James Godrej
From: Mark Thomas To: Tomcat Users List 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 I

Re: using Apache as a front end for Tomcat

2010-07-23 Thread James Godrej
From: André Warnier To: Tomcat Users List 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 >as a front end to To

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 cha

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 mod_proxy

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" To: Tomcat Users List Sent: Tue, 20 July, 2010 12:29:48 AM Subject: RE: using Apache as a front end for Tomcat > From: James Godrej [mailto:jamesgod...@yahoo.in] >

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 ServerAdmin webmas...@localhost ServerName internal1.mydomain.com ProxyRequests Off Order deny,allow Allow from all ProxyPreserveHost

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 ServerAdmin webmas...@localhost ServerName internal1.mydomain.com ProxyRequests Off Order deny,allow Allow from all

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 we