Re: Basic Question

2010-04-16 Thread Zachary Valentiner
For starting Tomcat in Eclipse, check this out: http://www.eclipsetotale.com/tomcatPlugin.html As for the other part, I'm not really sure at all. Good luck, though. Zach On Apr 16, 2010, at 3:07 AM, Rhino wrote: I hope someone will take pity on me and help me with this very basic question.

Re: Proposal : port mod_expires in java as ExpiresFilter Servlet Filter

2010-04-16 Thread Cyrille Le Clerc
Hello Christopher, I imagine the project crew has been very busy these days. Do you have feedbacks on the adaptations and explanations I did ? Is there anything I could iterate on ? To rephrase my previous email : * I reduced the number of comparison against 'nulls' as you suggested. I

Re: mod_jk question about socket_timeout

2010-04-16 Thread Philip Wigg
Recent versions of mod_jk allow a very fine-grained response timeout configuration, so that you can e.g. set a general response timeout to 20 seconds and a longer timeout like 60 seconds for special URLs you expect to take longer like report generation. The cases where you would need short

Re: Trouble accessing content in webapps/ROOT

2010-04-16 Thread Pid *
HTTPD is serving them rather than Tomcat. Configure a separate document root for HTTPD and the we can fix your connector config. p On 15 Apr 2010, at 18:31, laredotornado laredotorn...@gmail.com wrote: What specifically is wrong? Why are the pages being served without being compiled?

Re: question about APR based native library

2010-04-16 Thread Pid *
On 15 Apr 2010, at 19:15, Bill Au bill.w...@gmail.com wrote: I am using 6.0.26. The native library is loaded. I am not as concern about SSL since most of our application don't use SSL. I am guessing that most people don't use the native library. Why, what makes you think that? One of

Re: 8443 to 443 problem

2010-04-16 Thread Me Self
I can change the redirectPort at runtime through managed bean org.apache.catalina.mbeans.ConnectorMBean to 443. When I do that it works immediately but after server restart the port is back to 8443. On Thu, Apr 15, 2010 at 6:24 PM, Me Self wmso...@gmail.com wrote: I am trying to use port 443 for

Re: 8443 to 443 problem

2010-04-16 Thread Konstantin Kolinko
2010/4/16 Me Self wmso...@gmail.com: I can change the redirectPort at runtime through managed bean org.apache.catalina.mbeans.ConnectorMBean to 443. When I do that it works immediately but after server restart the port is back to 8443. I see two options: a) either there is a misprint

Re: question about APR based native library

2010-04-16 Thread David kerber
On 4/16/2010 6:17 AM, Pid * wrote: On 15 Apr 2010, at 19:15, Bill Aubill.w...@gmail.com wrote: I am using 6.0.26. The native library is loaded. I am not as concern about SSL since most of our application don't use SSL. I am guessing that most people don't use the native library. Why,

Re: mod_jk question about socket_timeout

2010-04-16 Thread Rainer Jung
On 16.04.2010 11:20, Philip Wigg wrote: Recent versions of mod_jk allow a very fine-grained response timeout configuration, so that you can e.g. set a general response timeout to 20 seconds and a longer timeout like 60 seconds for special URLs you expect to take longer like report generation.

Re: Basic Question

2010-04-16 Thread Rhino
Can you remind me how to do that (or where to find documentation describing it)? FileUploadServlet is one that I wrote some time back and it has a web.xml file associated with it. I'm pretty sure I created it myself although I don't actually remember doing so at this point. Here are the

RE: Basic Question

2010-04-16 Thread Joseph Morgan
Depends upon how geeky you want it. You can try this, as it will be certainly the most definitive answer, but somewhat like beef jerky to digest: http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd You could start here for a everything you want to know:

Re: Basic Question

2010-04-16 Thread Konstantin Kolinko
2010/4/16 Rhino rhi...@sympatico.ca: However, when I click on my servlets, like /FileUploadServlet for example, I get this:  HTTP Status 404 - /FileUploadServlet/ The keyword here is welcome page. If your WAR file does not have index.jsp or index.html, or some explicit mapping for its root

Re: 8443 to 443 problem

2010-04-16 Thread Me Self
b) the file that you are changing is not the one that is actually used. I do not use JBoss, so there might be differences with what I know. E.g., you are saying about context.xml, but in Tomcat that is configured in server.xml. I found out jboss uses a hybrid of Tomcats server.xml file and

RE: Hung threads

2010-04-16 Thread Jeffrey Janner
*** NOTICE * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of

Re: question about APR based native library

2010-04-16 Thread Bill Au
Sorry about my assumption(s). I made them based on information I gathered from talking to Tomcat users I know. My sample size is small so my assumptions may not be valid. By smaller user community I don't mean APR. I mean the APR connector Http11AprProtocol. Bill On Fri, Apr 16, 2010 at 6:17

Tomcat Shutdown suddenly / random

2010-04-16 Thread Peter Borkowski
Hi folks, we are facing a serious problem with our tomcat which shuts itself down after some time of running. this problem first arises after we switched to our new server. we are using tomcat 6.0.26 (also tried different other 5.5.x, 6.0.x versions). the old server was a 32 bit red hat

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Pid
On 16/04/2010 17:21, Peter Borkowski wrote: Hi folks, we are facing a serious problem with our tomcat which shuts itself down after some time of running. this problem first arises after we switched to our new server. we are using tomcat 6.0.26 (also tried different other 5.5.x, 6.0.x

Exception report - HTTP Status 500 -

2010-04-16 Thread Paul Chany
Hi, I have installed on my Debian GNU/Linux Lenny system tomcat5.5. When the system boot, and in firefox browser opens the tomcat 's page: http://localhost:8180/ , I get an error message: --- type Exception report message description The server encountered an internal error () that \ prevented

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Harry Metske
Peter, could it be that something is sending your tomcat process a TERM signal, logfiles in /var/log might tell something ? or one of your applications issues a System.exit() under certain circumstances ? regards, Harry 2010/4/16 Peter Borkowski apocalyps...@gmx.de Hi folks, we are facing a

Re: Basic Question

2010-04-16 Thread Rhino
Konstantin Kolinko wrote: 2010/4/16 Rhino rhi...@sympatico.ca: However, when I click on my servlets, like /FileUploadServlet for example, I get this: HTTP Status 404 - /FileUploadServlet/ The keyword here is welcome page. If your WAR file does not have index.jsp or index.html,

Re: Exception report - HTTP Status 500 -

2010-04-16 Thread Pid
On 16/04/2010 19:30, Paul Chany wrote: Hi, I have installed on my Debian GNU/Linux Lenny system tomcat5.5. When the system boot, and in firefox browser opens the tomcat 's page: http://localhost:8180/ , I get an error message: --- type Exception report message description The server

Re: Hung threads

2010-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, BTW your mailer and/or mail exchanger sucks... it puts your message into the html-only portion of a multipart/alternative message which means that basically your messages don't show up properly. Instead, I see the confidential warning that

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harry, On 4/16/2010 2:35 PM, Harry Metske wrote: could it be that something is sending your tomcat process a TERM signal, logfiles in /var/log might tell something ? or one of your applications issues a System.exit() under certain circumstances ?

Re: question about APR based native library

2010-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/15/2010 7:17 PM, Konstantin Kolinko wrote: The main competitors are APR connector vs. Nio connector, as both provide multiplexing aka polling, allowing to serve more sockets than the count of your worker threads. The APR

Re: Hung threads

2010-04-16 Thread Konstantin Kolinko
2010/4/16 Jeffrey Janner jeffrey.jan...@polydyne.com Well, it's definitely deadlocking once it hits the maxThreads limit. The worker is returned to the workers pool by an AprEndpoint.recycleWorkerThread(..) call. If that call is skipped, the workers will leak. That is theoretically. I do not

Re: Exception report - HTTP Status 500 -

2010-04-16 Thread Warren Pace
If you installed your Tomcat using the Debian package manager, take a look at the tomcat startup script. While it's been a number of years since I used Debian, I seem to remember this from back in the day - look for a statement referencing security or use security or something to that effect and

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Carl
I thought thta a System.exit call would kill the JVM and would therefore not show the clean shutdown in the logs that the OP is seeing... am I wrong about System.exit? Thanks, Carl - Original Message - From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List

RE: DB connection error -Tomcat 6 config

2010-04-16 Thread Propes, Barry L
Mark, got the profiler downloaded and going. Looking at the link below I see reference to one other link, https://issues.apache.org/bugzilla/show_bug.cgi?id=48837, which seems to reveal the core of my problem. Konstantin has some instructions on there I'll try implementing and see if it helps

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Mark Thomas
On 16/04/2010 23:43, Carl wrote: I thought thta a System.exit call would kill the JVM and would therefore not show the clean shutdown in the logs that the OP is seeing... am I wrong about System.exit? Yes. It invokes the shutdown hook and that performs a clean shutdown. Mark

Re: DB connection error -Tomcat 6 config

2010-04-16 Thread Konstantin Kolinko
2010/4/17 Propes, Barry L barry.l.pro...@citi.com: Mark, got the profiler downloaded and going. Looking at the link below I see reference to one other link, https://issues.apache.org/bugzilla/show_bug.cgi?id=48837, which seems to reveal the core of my problem. Konstantin has some

RE: DB connection error -Tomcat 6 config

2010-04-16 Thread Propes, Barry L
Yes, that one, as well. Thanks, Konstantin. Sorry about that. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, April 16, 2010 5:14 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config 2010/4/17 Propes, Barry L