RE: Tomcat startup class loading differences

2006-02-04 Thread Caldarale, Charles R
> From: Casey Dunn [mailto:[EMAIL PROTECTED] > Subject: Tomcat startup class loading differences > > Tomcat 4.1.24 java 1.4.2_09 > > Some days it works (either 200's or 404's) and others it does not > (403's) when making a request to our service. Is the problem reproducible on the current leve

RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15

2006-02-04 Thread Caldarale, Charles R
> From: Yue Mu [mailto:[EMAIL PROTECTED] > Subject: RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15 > > If the sendError method is called on the response, I think the above clause lets the container off the hook, since the app code could not have used the sendError method (since the

Tomcat startup class loading differences

2006-02-04 Thread Casey Dunn
Hi, Tomcat 4.1.24 java 1.4.2_09 We're having an issue with a servlet which makes a secure client-cert request to a service. Some days it works (either 200's or 404's) and others it does not (403's) when making a request to our service. We're doing nothing but restarting the tomcat each day

RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15

2006-02-04 Thread Yue Mu
Thanks, Charles. I should have mentioned that I have tried to use the global web.xml but it does not work either. (Just keep the error pages in the same place, and add the 's in the global web.xml in $TOMCAT_HOME/conf) According to the spec, it should catch 4xx and 5xx. From S

RE: Would like to know what might be causing this exception in servlet

2006-02-04 Thread Caldarale, Charles R
> From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] > Subject: Would like to know what might be causing this > exception in servlet > > Feb 1, 2006 9:09:33 PM org.apache.tomcat.util.net.PoolTcpEndpoint > processSocket > SEVERE: Socket error caused by remote host /204.244.137.23 > java.net.Sock

RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15

2006-02-04 Thread Caldarale, Charles R
> From: Yue Mu [mailto:[EMAIL PROTECTED] > Subject: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15 > > However, when the web application is stopped (unavailable), > it returns the default Tomcat 503 error page (see below), > not the custom error page. If the application is not available,

Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15

2006-02-04 Thread Yue Mu
Greetings, I have searched the internet and seen this same question being asked several times but never got answered (http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg156810.html and http://www.junlu.com/msg/195207.html ). I also checked the Servlet 2.4 Spec and Tomcat Docs

Would like to know what might be causing this exception in servlet

2006-02-04 Thread Richard S. Huntrods
I am getting this exception from time to time (maybe once in a day every few days) with my application (Servlets). None of the code involved in the stack trace is my code, so I'm wondering if anyone knows what is the cause of this exception? Also, is there a workaround / fix? Thanks very much in

Re: request.getHeader() gives null

2006-02-04 Thread Yue Mu
HI Anoop, >> Is it that the response of the first page becomes the request of the next jsp No - "the next jsp" gets the same request, which is the whole idea of "forwarding" a request. This is why you don't see the newly added headers (to the response!). I'm not sure what

newbie:access tomcat virtual host via apache

2006-02-04 Thread matador
runnning tomcat 5.x on windows with apache 2.0.5x with modjk. tomcat on 8080 and apache on 80. so for a given webapp at foo.bar.com that really is served up by tomcat on 8080 as http://foo.bar.com:8080. how to get apache to see it so that i can access it as http://foo.bar.com without the port

Re: request.getHeader() gives null

2006-02-04 Thread Anoop kumar V
I would really appreciate if someone can answer my question.. Thanks, Anoop On 2/3/06, Anoop kumar V <[EMAIL PROTECTED]> wrote: > > HI All, > > I am using Tomcat5. > I have a simple jsp displaying the header information that I have set in > another jsp page. For some reason I can see all the defa

Database for server Application

2006-02-04 Thread Khawaja Shams
Hello, I hope that this does not start any heated debates, but I am curious about what people prefer for a database for use with tomcat and some reasoning. I have read that MySQL handles connections very quickly, which makes is more suitable for web application than postgres. However, I am uns

Re: JSP Servers

2006-02-04 Thread Vinu Varghese
Just check www.myjavaserver.com Phillip Mangwiro wrote: My mistake. I meant free web hosting On 2/4/06, Klotz Jr, Dennis <[EMAIL PROTECTED]> wrote: This reminds me of walking into a forest and asking if there are any trees. (oh and yes I've done this myself many times :) ) -Dennis -O

RE: Missing startup/shutdown scripts in latest 5.1.15 Windows install

2006-02-04 Thread David Thielen
Download the zip file and all of the bat files are in it. No idea why they are missing from the windows install. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 -Original Message- From: Robert Rivoir [mailto:[EMAIL PROTECTED] Sent: Saturday, February 04, 2006 11:33 AM

Missing startup/shutdown scripts in latest 5.1.15 Windows install

2006-02-04 Thread Robert Rivoir
I just installed Tomcat 5.5 on WinXP with the windows installer. The setup docs indicate that it gets installed as a service, but also suggests there should be scripts (I assume .bat files) created in the bin directory for starting, stopping and configuring tomcat. But my install directory con

Re: JSP Servers

2006-02-04 Thread Phillip Mangwiro
My mistake. I meant free web hosting On 2/4/06, Klotz Jr, Dennis <[EMAIL PROTECTED]> wrote: > > > This reminds me of walking into a forest and asking if there are any > trees. (oh and yes I've done this myself many times :) ) > > -Dennis > > -Original Message- > From: Phillip Mangwiro [mai

RE: JSP Servers

2006-02-04 Thread Klotz Jr, Dennis
This reminds me of walking into a forest and asking if there are any trees. (oh and yes I've done this myself many times :) ) -Dennis -Original Message- From: Phillip Mangwiro [mailto:[EMAIL PROTECTED] Sent: Saturday, February 04, 2006 12:33 PM To: Tomcat Users List Subject: JSP Server

Re: JSP Servers

2006-02-04 Thread Leon Rosenberg
how about tomcat? On 2/4/06, Phillip Mangwiro <[EMAIL PROTECTED]> wrote: > Does anyone know of any good free JSP web servers? > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JSP Servers

2006-02-04 Thread Phillip Mangwiro
Does anyone know of any good free JSP web servers?

RE: KeepGenerated

2006-02-04 Thread Caldarale, Charles R
> From: Dave Morrow [mailto:[EMAIL PROTECTED] > Subject: KeepGenerated > > If my thinking is correct, the change in KeepGenerated should have > decrease performance? Am I correct in this assumption? > Does anyonw know of any drawbacks to what I have done? Changing keepgenerated shouldn't real

Catching runtime exception

2006-02-04 Thread Терехов Кирилл Алек сандрович
I don't understand, how to catch exceptions in javax.servlet.http.HttpServlet.doGet. This code works fine: public void doGet |(HttpServletRequest req, HttpServletResponse resp) { ... ... bla-bla-bla throw new ServletException ("my exception"); } I redirect exceptions to my erro

mod_jk weirdness

2006-02-04 Thread Chris Pat
Hello Attached is the full trace, but can anyone please explain second below. The workers.properties file is immediately below. It eventually does some type of core dump. The site is up, working on the specified ip, just not working with the mod_jk. Any help much appreciated. workers.propert

Re: Problem with installation

2006-02-04 Thread Maciej Piechotka
2006/2/4, Giorgio Clavelli <[EMAIL PROTECTED]>: > Hi, > > I'm not sure what your problem with the manager is, but about the > tomcat-user.xml > this is what I'm using on my localhost installation and it works. > > > > > > > > > What do they do? >roles="tomcat,manager,admin

KeepGenerated

2006-02-04 Thread Dave Morrow
Hi all, I recently made a change to my tomcat web.xml file in an effort to avoid having to clear the work directory in an environment where frequent code changes are being made. I added the setting of KeepGenerated=false. It appears that this change has had the desired effect and I no longer ne

mod_jk wierdness

2006-02-04 Thread Chris Pat
Hello Attached is the full trace, but can anyone please explain second below. The workers.properties file is immediately below. It eventually does some type of core dump. The site is up, working on the specified ip, just not working with the mod_jk. Any help much appreciated. workers.propert

Re: Problem with installation

2006-02-04 Thread Giorgio Clavelli
Hi, I'm not sure what your problem with the manager is, but about the tomcat-user.xml this is what I'm using on my localhost installation and it works. Note, it is the 'admin' rolename that allow the admin page to work. About the documentation, if you haven't not found it

Re: Custom Authenticator

2006-02-04 Thread Arash Bijanzadeh
On 2/3/06, Stefan Baramov <[EMAIL PROTECTED]> wrote: > > You can also implement custom LoginModule according to the JAAS > specification. JAAS tutorial and LoginModule example is included in the > JDK documentation. I see. But I want to have access to the users Http Session in the login time. I

Problem with installation

2006-02-04 Thread Maciej Piechotka
I'm so sorry fo those questions. I know there are in documentation. However I search it twice and I've not found it. I'm newbie of jsp. I'm using gentoo and I install tomcat by emerge - I prefere this method cause I wouldn't like to have mess in system. However There are nowhere standard tomcat fi