Re: Virtual host configuration - best practise?

2009-09-19 Thread hepabolu
Hi, Christopher Schultz-2 wrote: It's been demonstrated that you can use the XML parser to include one XML file in another file (say, include myhosts.xml from server.xml). Given that, you could have a process whereby you update Tomcat on-the-fly, but also modify the myhosts.xml file at

[Fwd: Re: Implementing and adding an arbitrary component to Apache Tomcat 6.0]

2009-09-19 Thread Stefan Zoerner
Thanks Mark. I forward it to the users list. Greetings from Hamburg, Stefan ---BeginMessage--- Stefan Zoerner wrote: Hi all, I try to figure out what the best way for an arbitrary extension to tomcat would be. If I implement my own realm, valve etc., there are specific interfaces with

Re: Virtual host configuration - best practise?

2009-09-19 Thread André Warnier
hepabolu wrote: ... However, from the Tomcat docs I understand that any change to server.xml requires a restart of Tomcat which would mean that the existing (non-dummy) hosts which are already in production, i.e. up and running, will also be taken offline. This is the heart of the problem...

RE: Virtual host configuration - best practise?

2009-09-19 Thread Caldarale, Charles R
From: hepabolu [mailto:hepab...@gmail.com] Subject: Re: Virtual host configuration - best practise? Somebody suggested using the host manager, but from the Tomcat docs I understand that the host manager is intended for deploying webapps in a single domain No, that's the doc for the manager

RE: environment variables for hostname and context name

2009-09-19 Thread Caldarale, Charles R
From: Chris Cheshire [mailto:cheshira...@gmail.com] Subject: Re: environment variables for hostname and context name The tomcat directory is available through the environment somehow, and is accessed as ${catalina.home}. The ${catalina.home} reference is to a system property, not an

RE: Why tomcat didn't compile my jsp's

2009-09-19 Thread Rafael Muneton
Hello David. Thanks for your answer. Here are some details: My HelloRafael.war is formed according to this structure: -Dir HelloRafael , under it, (this is the top dir) -Dir docs , docs is empty. -Dir src, inside src i placed HelloRafael.jsp -Dir web, under web there

RE: Why tomcat didn't compile my jsp's

2009-09-19 Thread Rafael Muneton
Hi Chuck. Maybe I wasn't very clear. What I did was the following: I placed all my directories structure, within the src dir I placed the HelloRafael.jsp,inside a HelloRafael.war file and that's what I deployed into Tomcat using the Manager. I copied a build.xml file and adapted it to

RE: Why tomcat didn't compile my jsp's

2009-09-19 Thread Caldarale, Charles R
From: Rafael Muneton [mailto:rafael_mune...@hotmail.com] Subject: RE: Why tomcat didn't compile my jsp's My HelloRafael.war is formed according to this structure: -Dir HelloRafael , under it, (this is the top dir) -Dir docs , docs is empty. -Dir src, inside src i placed

Re: Why tomcat didn't compile my jsp's

2009-09-19 Thread David Smith
Ok... but what actually ends up in your tomcat's webapps folder? If it's a compressed .war file, it should have been expanded either in the webapps folder or tomcat's work folder. What do you see in there? Essentially I'd like to know what tomcat is given to work with ... not what your source

Re: Why tomcat didn't compile my jsp's

2009-09-19 Thread Mark Thomas
Rafael Muneton wrote: Hi Chuck. Maybe I wasn't very clear. What I did was the following: I placed all my directories structure, within the src dir I placed the HelloRafael.jsp,inside a HelloRafael.war file and that's what I deployed into Tomcat using the Manager. I copied a

RE: Why tomcat didn't compile my jsp's

2009-09-19 Thread Rafael Muneton
OK Chuck: Let me try with these changes. I hope it can work now. Thanks again. Rafael. From: chuck.caldar...@unisys.com To: users@tomcat.apache.org Date: Sat, 19 Sep 2009 14:56:20 -0500 Subject: RE: Why tomcat didn't compile my jsp's From: Rafael Muneton

Does tomcat log closed connection

2009-09-19 Thread jithu mada
Hi, I am using Tomcat 5.0.27 on AIX. Its abruptly closing a connection after processing a user request successfully. Wanted to know does it log anywhere why is it closing the connection or do we need to change any settings to make it log closed connections. Thanks Jithu

Re: Does tomcat log closed connection

2009-09-19 Thread David Smith
jithu mada wrote: Hi, I am using Tomcat 5.0.27 on AIX. Its abruptly closing a connection after processing a user request successfully. Wanted to know does it log anywhere why is it closing the connection or do we need to change any settings to make it log closed connections. Thanks

Re: Does tomcat log closed connection

2009-09-19 Thread jithu mada
Hi David, these are the connector elements we have in our server.xml file !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=true redirectPort=8443 acceptCount=100

Re: Does tomcat log closed connection

2009-09-19 Thread jithu mada
And the communication is done on the SSL port 8443. On Sat, Sep 19, 2009 at 8:26 PM, jithu mada jithu.m...@gmail.com wrote: Hi David, these are the connector elements we have in our server.xml file !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector port=8080

RE: Does tomcat log closed connection

2009-09-19 Thread Martin Gainty
can you crank up the logging debug=99 and send us the log at the point of failure couple of things to check : which version HTTP protocol=1.1 ? are you using IBM JDK before implementing algorithm=IbmX509 http://people.apache.org/~fhanik/http.html Martin Gainty

Re: Does tomcat log closed connection

2009-09-19 Thread jithu mada
We have increased the debug value to 99. But didn't see any difference in the log files. I have looked at all the log files catalina.log ,catalina.out and localhost access log. Which log we should be looking after increase the debug to 99. we are using HTTP protocol 1.1 and the application is

Re: Does tomcat log closed connection

2009-09-19 Thread David Smith
Ok ... 1. Tomcat version 5.0.x is no longer supported. You should at minimum move to the latest stable 5.5.x if at all possible. 2. According to http://tomcat.apache.org/tomcat-5.5-doc/config/http.html, Tomcat's HTTP connector uses 1.1 protocol by default, falling back to 1.0 if the client