RE: need help in setting up virtual url for tomcat 5 URGENT

2010-04-15 Thread Vivek Kanchan
Hi, We ar eusing the BIGIP url for this , so certificates and all will not be kept at host level. This means now do we need to only change files to use new url and port. Thanks, Vivyek kanchan -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Wednesday, April 14, 2010 6:12

mod_jk question about socket_timeout

2010-04-15 Thread Philip Wigg
Hi, I'm using mod_jk 2.2.27 to connect via AJP to a JBoss backend. The problem is that a reporting application takes a couple of minutes to run a report but mod_jk seems to be closing the connection to the back-end and the user receives a 502 Bad Gateway error. 10 seconds after the request is

Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Stephen .
Hi all, I have recently bought and installed an SSL Certificate on my Apache Tomcat Server. I modified the server.xml file, so that my webpage now uses only HTTPS (meaning, a secure site) However, I would like to modify it such that : if someone types in only HTTP, he will nevertheless

Re: need help in setting up virtual url for tomcat 5 URGENT

2010-04-15 Thread Pid
On 15/04/2010 13:56, Vivek Kanchan wrote: hi I meant is that we are implemnting SSL at bigip level not at host level. So which files do i need to change the url and port number. is it onnly in server.xml or other files too? I don't mean to be rude Vivek, but have you actually read the

Re: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Mark Shifman
You need to add a security constraint to web.xml with transport-guarantee CONFIDENTIAL http://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration google is your friend. Stephen . wrote: Hi all, I have recently bought and installed an

Re: Hung threads

2010-04-15 Thread Konstantin Kolinko
2010/4/13 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, Okay, you're running into the limits of my knowledge of the APR connector's internals. On 4/13/2010 1:24 PM, Jeffrey Janner wrote: http-172.16.27.1-443-Acceptor-0 daemon prio=6

Re: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Pid
On 15/04/2010 14:38, Mark Shifman wrote: You need to add a security constraint to web.xml with transport-guarantee CONFIDENTIAL http://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration google is your friend. Stephen . wrote: Hi

question about APR based native library

2010-04-15 Thread Bill Au
Are there any reasons I shouldn't use the APR based native libaray? Or at least things that I should be aware of if I do use it? According to the documentation using the native library will give better scalability and performance. I want to understand if there are any downside since with most

Trouble accessing content in webapps/ROOT

2010-04-15 Thread laredotornado
Hi, I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3. I want to use http://localhost/ to access content in my $CATALINA_HOME/webapps/ROOT/ directory. However, when I visit http://localhost/index.jsp, I just get the raw page with all the uncompiled, JSP code. Below is the directive I'm

Re: SSL session resuming

2010-04-15 Thread Meandron80
Hi, seems that MSIE for some reason resets the connection forcing a new SSL session to be created. (This seems to be an TLSv1 issue as well, TLSv1.1 available with Java7 is said to be more tolerant on that). I don't know whether this behavior of MSIE can be influenced. Regards, Matthias

8443 to 443 problem

2010-04-15 Thread Me Self
I am trying to use port 443 for https - without success so far. I changed from 8443 to 443 in two places in server.xml: Connector protocol=HTTP/1.1 port=80 ... redirectPort=443 / ... Connector protocol=HTTP/1.1 SSLEnabled=true port=443 ... scheme=https secure=true

Re: Hung threads

2010-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/15/2010 10:19 AM, Konstantin Kolinko wrote: +1. If it is stuck there, it will not accept any more incoming requests. Thanks for the confirmation that Jeffrey is deadlocked. It might be that you bumped into BZ 48843

RE: Hung threads

2010-04-15 Thread Jeffrey Janner
Thanks Konstantin - That's a possibility. Is it feasible that all 150 worker threads would enter await before the Acceptor thread got some CPU time again? I guess so. I suppose setting the priority of the Acceptor thread higher than the workers would minimize the chances of this happening. I

Re: 8443 to 443 problem

2010-04-15 Thread Konstantin Kolinko
2010/4/15 Me Self wmso...@gmail.com: I am trying to use port 443 for https - without success so far. I changed from 8443 to 443 in two places in server.xml:  Connector protocol=HTTP/1.1 port=80 ... redirectPort=443 / ...  Connector protocol=HTTP/1.1 SSLEnabled=true           port=443 ...  

RE: 8443 to 443 problem

2010-04-15 Thread Jeffrey Janner
Did you restart your Tomcat instance? -Original Message- From: Me Self [mailto:wmso...@gmail.com] Sent: Thursday, April 15, 2010 11:25 AM To: users@tomcat.apache.org Subject: 8443 to 443 problem I am trying to use port 443 for https - without success so far. I changed from 8443 to 443

RE: Hung threads

2010-04-15 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-15 Thread Jeffrey Janner
Other than the different SSL implementation? It depends on the release of Tomcat you are using. 5.5.28 (and some release of 6.x) won't properly recognize the library. That is fixed in current releases. -Original Message- From: Bill Au [mailto:bill.w...@gmail.com] Sent: Thursday, April

Re: Trouble accessing content in webapps/ROOT

2010-04-15 Thread Konstantin Kolinko
2010/4/15 laredotornado laredotorn...@gmail.com: Hi, I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3.  I want to use http://localhost/ to access content in my $CATALINA_HOME/webapps/ROOT/ directory.  However, when I visit http://localhost/index.jsp, I just get the raw page with all

Re: Hung threads

2010-04-15 Thread David kerber
On 4/15/2010 12:47 PM, Jeffrey Janner wrote: Thanks Konstantin - That's a possibility. Is it feasible that all 150 worker threads would enter await before the Acceptor thread got some CPU time again? I guess so. I suppose setting the priority of the Acceptor thread higher than the workers

Re: Trouble accessing content in webapps/ROOT

2010-04-15 Thread laredotornado
What specifically is wrong? Why are the pages being served without being compiled? Thanks, - Dave Konstantin Kolinko wrote: 2010/4/15 laredotornado laredotorn...@gmail.com: Hi, I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3.  I want to use http://localhost/ to access content

Re: question about APR based native library

2010-04-15 Thread Bill Au
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. One of my concern is stability. With a smaller user community, is the native code less stable than the pure

Re: 8443 to 443 problem

2010-04-15 Thread Me Self
1. Tomcat version? 2. Is Tomcat running standalone, or behind another web server, e.g. Apache? 3. There are only these two connectors in your server.xml? Its tomcat 5.5 (i believe) embedded in jboss5.1.0GA running standalone default server. Those are the only 2 connectors in the context.xml

Re: 8443 to 443 problem

2010-04-15 Thread Me Self
Many times, also tried reinstalling the server complete. On Thu, Apr 15, 2010 at 6:59 PM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Did you restart your Tomcat instance? - To unsubscribe, e-mail:

Re: tomcat 5.5.28

2010-04-15 Thread André Warnier
Christopher Schultz wrote: ... Note that members of this list often have difficulty giving advice to folks using package-managed versions of Tomcat because of the ... latitude taken by the package administrators when it comes to the placement of configuration files, deployed webapps, etc. Oh

Tomcat AJP Problem

2010-04-15 Thread Zimmerman, Rusty L
I have Tomcat 6.0.16 running on a box, and Apache 2.2.11 running on another box, both running on windows server 2003 and am using Mod_JK 1.2.23 for communications between the two. I have had a recurring problem where after a few days, usually 3 or 4, the AJP listener on the tomcat seems to

Re: mod_jk question about socket_timeout

2010-04-15 Thread Rainer Jung
On 15.04.2010 13:22, Philip Wigg wrote: Hi, I'm using mod_jk 2.2.27 to connect via AJP to a JBoss backend. The problem is that a reporting application takes a couple of minutes to run a report but mod_jk seems to be closing the connection to the back-end and the user receives a 502 Bad Gateway

Re: question about APR based native library

2010-04-15 Thread Konstantin Kolinko
2010/4/15 Bill Au bill.w...@gmail.com: 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.  One of my concern is stability.  With a smaller user community, is

Re: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Leon Kolchinsky
Hi, You can read here - http://myunster.com/blog/10.html http://myunster.com/blog/10.htmlI wrote it a while ago and configuration is pretty simple. Best Regards, Leon Kolchinsky On Thu, Apr 15, 2010 at 22:33, Stephen . marr...@hotmail.com wrote: Hi all, I have recently bought and

Re: Basic Question

2010-04-15 Thread Campbell, Lance
Did you put an entry in your web.XML file? Lance Campbell Sent from my iPhone On Apr 15, 2010, at 8:09 PM, Rhino rhi...@sympatico.ca wrote: I hope someone will take pity on me and help me with this very basic question. I was moderately fluent with servlets and Tomcat several years ago but

Re: Basic Question

2010-04-15 Thread Joseph M Morgan
Did you configure your servlets in your web.xml properly? Also...it sounds as though you are deploying each servlet in its own app. Make sure you are invoking the servlet through the proper app. -Original message- From: Rhino rhi...@sympatico.ca To: tomcat-user