tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Peter
Hi all, I have many entries in /etc/hosts file, like this cat /etc/hosts 127.0.0.1 main.host.com localhost ::1localhost6.localdomain6 localhost6 a.b.c.d client1.host.com hostname a.b.c.d client1.host.com hostname in webapp directory, webapp folders client1 client2 my tomcat uses port

Re: Start the Tomcat server in the server view and go to http://localhost:8080/

2013-12-28 Thread Konstantin Kolinko
2013/12/28 Frank Lugalla frank.luga...@amdocs.com: Hi Chuck, Thank you for having a chance to respond backregarding the version ,I am using Tomcat 7 integrated with Eclipse Kepler Release 1 with JVM=1.7_u45.All run on window platform.What I want is to start my Tomcat

RE: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Caldarale, Charles R
From: Peter [mailto:nex@gmail.com] Subject: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache if I enter *http://client1.host.com http://client1.host.com* on browser, then tomcat should forward it to webapp client1

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Peter
On Sat, Dec 28, 2013 at 6:48 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Peter [mailto:nex@gmail.com] Subject: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache if I enter *http://client1.host.com

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread André Warnier
Peter wrote: Hi all, I have many entries in /etc/hosts file, like this cat /etc/hosts 127.0.0.1 main.host.com localhost ::1localhost6.localdomain6 localhost6 a.b.c.d client1.host.com hostname a.b.c.d client1.host.com hostname in webapp directory, webapp folders client1 client2 my

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread André Warnier
Peter wrote: ... I am confused about installation part please help me, installation guide says its WEB-INF directory which WEB-INF ?? and I didn't find any lib directory look at the following detail, I am newbie I have lot of need of you people's help please do the needful. Maybe you could

Compressed SVG support (*.svgz) in Tomcat

2013-12-28 Thread David Law
Hi, Tomcat doesn't seem to serve compressed SVG's (*.svgz) correctly. The response should have a Content-Encoding header, value 'gzip'. Any chance of getting this at long last? (a change to org.apache.catalina.servlets.DefaultServlet, I presume) Version: 7.0.47 All the best, DaveLaw

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 12/28/13, 12:06 PM, David Law wrote: Tomcat doesn't seem to serve compressed SVG's (*.svgz) correctly. The response should have a Content-Encoding header, value 'gzip'. Any chance of getting this at long last? (a change to

Re: apache tomcat serialization

2013-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ray, On 12/26/13, 12:14 PM, Ray Holme wrote: It appears new revisions of tomcat (current for sure) are much more sensitive to keeping serialized data BETWEEN restarts. I have to wait at least 30 minutes to properly restart my applications. 30

Fw: apache tomcat serialization

2013-12-28 Thread Ray Holme
Yes I have done various things to trace. The problem is DB connections. I believe that the serialized versions of things went nuts trying to refresh. Once serialization is off, the problem is gone. Each of the four applications initializes using one connection. But re-loading through

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-28 Thread David Law
Hi Chris, On 28/12/2013 19:34, Christopher Schultz wrote: What type of data do you have on the disk? Its all standard stuff. As specified by W3C, compressed SVG's are just SVG's (which are just XML) compressed with gzip, with a Mime-Type of image/svg+xml, and extension .svgz What

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-28 Thread David Law
I just tried this in DefaultServlet: if (contentType.equals(image/svg+xml) path.toLowerCase().endsWith(.svgz)) { response.addHeader(Content-Encoding, gzip); } Quick dirty, but Works fine as proof-of-concept. We just need a DefaultServlet expert to do the slow clean stuff. I believe a

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Peter
I am happy that you guys sent reply to me, but anyone here can create configuration file for me for example which I had mentioned in beginning of post, then I can understand better, its my weakness but true. -Peter On Sat, Dec 28, 2013 at 10:25 PM, André Warnier a...@ice-sa.com wrote: Peter

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Mark Eggers
On 12/28/2013 11:00 PM, Peter wrote: I am happy that you guys sent reply to me, but anyone here can create configuration file for me for example which I had mentioned in beginning of post, then I can understand better, its my weakness but true. -Peter On Sat, Dec 28, 2013 at 10:25 PM, André