Re: Need clarification on AJP Connector logs

2009-12-15 Thread Pid
On 15/12/2009 00:24, Michael Dubrovskiy wrote: In order to troubleshoot some issues with Apache Tomcat Connector I set JkLogLevel debug, and I found in mod_jk.log file a lot of messages like [debug] map_uri_to_worker::jk_uri_worker_map.c (597): Attempting to map URI

Re: Tomcat Config Question

2009-12-15 Thread Pid
On 15/12/2009 04:17, steflik wrote: Chuck, OK, I've read the document several times and still can't figure out what it is you are trying to tell me. I'm not using WARs so /META-INF/? doesn't come into play. If theContext statements don't go in to server.xml where should I put them,

Very slow shutdown - 3 mins

2009-12-15 Thread Wayne Pope
Hi, we're running 3 tomcat instances on Solaris. We are experiencing extremely show shutdowns. I've done a thread dump, but as far as I can tell all looks ok. Does anyone know what is causing this? We're calling /opt/ec/tomcat/bin/shutdown.sh to shut down the instance. I see the line: 'INFO:

Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
Hi, i am running an application on tomcat which gets stuck when processing incoming messages after a while. I see accumulation of request processors objects in jconsole under: Catalina\RequestProcessor\http-8080. What do these objects mean, what does it mean that they accumulate? can it explain

j_security_check change the principal user

2009-12-15 Thread peibel80
Hi, I have a problem. I have a web aplication (java,jsp) with j_security_check but the user that i use to authenticate need change por other in the Simpleprincipal for j_security_check store in the session as the primary user. Is posible? thanks, Sorry for my inglish. -- View this message

Getting Servlet-api.jar source.

2009-12-15 Thread Jaime Carmona Loeches
Where Can I download Servlet-api.jar source? Thanks in advance Jaime Carmona Loeches. Formador de Java J2EE / Java-J2EE Teacher Pronoide SL www.pronoide.com Spain

AW: Re: Response logging

2009-12-15 Thread Abid Hussain
Thanks for the link, I will try the filter in my application. Best regards, Abid -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Montag, 14. Dezember 2009 19:56 An: Tomcat Users List Betreff: Re: Response logging -BEGIN PGP SIGNED

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread vramanaj
The problem is https. For rememberMe in Josso, the site should be in ssl. I configured ssl in tomcat. Now i am getting the following error. I have installed the cert. in IE. Please help me if there are tomcat settings required for ssl. 15 Dec 2009 06:14:38,992 DEBUG Error getting client certs

Re: compiling tomcat6020 from source on modern amd64-bit linux

2009-12-15 Thread lux-integ
On Sunday 13 December 2009 10:54:10 am Zacheusz Siedlecki wrote: Right - I meant native APR (with IO functionality) not connectors in jars Regards, Zacheusz thanks for your comments, perhaps you et al could help with a little decryption?. ...in

Re: Getting Servlet-api.jar source.

2009-12-15 Thread Pid
On 15/12/2009 10:50, Jaime Carmona Loeches wrote: Where Can I download Servlet-api.jar source? Thanks in advance Jaime Carmona Loeches. http://tomcat.apache.org/svn.html p - To unsubscribe, e-mail:

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread Pid
On 15/12/2009 11:25, vramanaj wrote: The problem is https. For rememberMe in Josso, the site should be in ssl. I configured ssl in tomcat. Now i am getting the following error. I have installed the cert. in IE. Please help me if there are tomcat settings required for ssl. If the problem is

Re: j_security_check change the principal user

2009-12-15 Thread Pid
On 15/12/2009 10:03, peibel80 wrote: Hi, I have a problem. I have a web aplication (java,jsp) with j_security_check but the user that i use to authenticate need change por other in the Simpleprincipal for j_security_check store in the session as the primary user. Is posible? I don't

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread vramanaj
Yes, I did. I have followed those configuration steps for other applications earlier. Are there any other configurations required to store the cookies in IE browser, if the application is ssl enabled ? Pid Ster wrote: On 15/12/2009 11:25, vramanaj wrote: The problem is https. For

Re: j_security_check change the principal user

2009-12-15 Thread peibel80
Pid Ster wrote: On 15/12/2009 10:03, peibel80 wrote: Hi, I have a problem. I have a web aplication (java,jsp) with j_security_check but the user that i use to authenticate need change por other in the Simpleprincipal for j_security_check store in the session as the primary user.

Re: SessionID cookie not secure over SSL

2009-12-15 Thread vramanaj
I am not sure whether i can post this here or not. But i want to try my luck. I am facing problem in configuring rememberMe for one of the Josso partner application. Following cookies are getting generated when i logging for the first time. cookie=JSESSIONID=964AB2019709DEEEA148DC018D69C2D4;

Re: Tomcat Config Question

2009-12-15 Thread steflik
Chuck, I'm a little bit hesitant as a number of the students are still struggleing to get their JSP project done. Right now the server is running and the Context statements that define where the apps are are right at the end of server.xml. This is an example of a Context ststement as they are

Re: Tomcat Config Question

2009-12-15 Thread David Smith
I'm assuming your docBase for this app is not inside tomcat's webapps folder and in that case, you're right to wonder how tomcat finds the context.xml file. The Context ... .../Context element can also be in it's own file named after the path attribute - i.e. alti.xml in conf/Catalina/localhost.

RE: Tomcat / windows 2008 IIS 7 x64

2009-12-15 Thread Sabo, Eric
We did get tomcat to process the JSP on the localhost site, but it will not process .JSP on the others sites we have configured.Can you do multiple sites? I am assuming we are missing something in the Server.XML is where we need to define all this. -Original Message- From:

AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Kockert, Timo
Thanks for all your answers so far! I'm still trying to figure out the problem but there are also some other things I need to take care of. Just to make it clear, here is a summary of my problem and what was suggested so far: - We have a webapp that serves content (html, xhtml, ...) and images

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread Pid
On 15/12/2009 12:44, vramanaj wrote: Yes, I did. I have followed those configuration steps for other applications earlier. Are there any other configurations required to store the cookies in IE browser, if the application is ssl enabled ? No, Tomcat doesn't need to do anything special for IE.

Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Ingo Gambin
Hi, I am new to Tomcat and JEE, but a new job means to learn new things. So right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows /opt/document-repository - mounted nfs-disk of an archiving

Re: Tomcat Config Question

2009-12-15 Thread Pid
On 15/12/2009 13:15, steflik wrote: Chuck, I'm a little bit hesitant as a number of the students are still struggleing to get their JSP project done. Right now the server is running and the Context statements that define where the apps are are right at the end of server.xml. This is an example

Re: 'Parametrizing' context.xml?

2009-12-15 Thread Mario Splivalo
Bill Barker wrote: Mario Splivalo mario.spliv...@megafon.hr wrote in message news:4b266622.5060...@megafon.hr... Tomcat also supports ant-style variable replacement, so using that then Ken's example would look like: context-param param-namebaseprefix/param-name

tomcat 6 not responding to any kind of request i.e. static and dynamic resources after some hours

2009-12-15 Thread sasidhar prabhakar
hi, we are using tomcat 6, jdk1.5, CentOS 5, with 4gb of ram, data base is Oracle 11g. For the past one month we are getting this problem before that we don't. Tomcat hangs after running for several hours. Means initially it is taking around 24hr now it is hanging every 3 to 4 hr we can not say

RE: Very slow shutdown - 3 mins

2009-12-15 Thread Caldarale, Charles R
From: Wayne Pope [mailto:waynemailingli...@gmail.com] Subject: Very slow shutdown - 3 mins I've done a thread dump, but as far as I can tell all looks ok. Not to me. You have numerous threads apparently spawned by a webapp that are still sitting around. Whatever webapp is responsible for

RE: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Caldarale, Charles R
From: Michal Singer [mailto:michal.sin...@expand.com] Subject: Accumulation of Request Processors objects causes tomcat stuck? i am running an application on tomcat which gets stuck when processing incoming messages after a while. So take a thread dump and find out what they're waiting

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Pid
On 15/12/2009 13:46, Ingo Gambin wrote: Hi, I am new to Tomcat and JEE, but a new job means to learn new things. So right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows

Re: Tomcat / windows 2008 IIS 7 x64

2009-12-15 Thread Pid
On 15/12/2009 13:28, Sabo, Eric wrote: We did get tomcat to process the JSP on the localhost site, but it will not process .JSP on the others sites we have configured. Can you do multiple sites? Yes. p I am assuming we are missing something in the Server.XML is where we need to

Re: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Pid
On 15/12/2009 06:45, Shaun Senecal wrote: I have a blanket security-constraint defined in my conf/web.xml, followed by a couple more specific security-constraints. However, it appears that the more specific ones are not being picked up. When I break in FormAuthenticator.invoke(), I can see in

Re: 'Parametrizing' context.xml?

2009-12-15 Thread Pid
On 14/12/2009 16:21, Mario Splivalo wrote: Is there a way to 'parametrize' context.xml, for instance, in a manner one can 'parametrize' build.xml? For some webapplication in context.xml one puts, for instance, JDBC specific stuff. But, several developers can have different 'properties' for the

Re: cluster error recovered?

2009-12-15 Thread Mitch Claborn
What are more reasonable values for those settings? mitch Filip Hanik - Dev Lists wrote: increase your send timeout, 3000 seconds is very aggressive, and you would have to tune away most long GC pauses to not timeout. increase your dropTimeout, it seems you're getting false positives,

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Ingo Gambin
Am Dienstag, den 15.12.2009, 15:01 + schrieb Pid: o right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows /opt/document-repository- mounted nfs-disk of an archiving system

RE: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: exclusions from conf/web.xml are not being picked up The /agentapp/ could be deployed in it's own war, or exploded dir, with a separate web.xml. The favicon is a bit more tricky, not sure you can do what you want to as long as the first rule

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Pid
On 15/12/2009 15:25, Ingo Gambin wrote: Am Dienstag, den 15.12.2009, 15:01 + schrieb Pid: o right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows /opt/document-repository- mounted

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread André Warnier
Ingo Gambin wrote: ... my directory structure looks as follows /opt/document-repository - mounted nfs-disk of an archiving system /opt/Tomcat/webapps/myApp.war - my project deployment file my webapp for now is just a bunch of servlets which, using java.io.File..., have no trouble to read

Re: mod_jk and session stickyness of images requests

2009-12-15 Thread Rainer Jung
On 15.12.2009 14:36, Kockert, Timo wrote: Thanks for all your answers so far! I'm still trying to figure out the problem but there are also some other things I need to take care of. Just to make it clear, here is a summary of my problem and what was suggested so far: - We have a webapp that

Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Hello,     We frequently have situations where a user has brought down a tomcat entirely by himself by running the same transaction multiple times because the response was not quick enough.   Is there a way through configuation of tomcat and mod_jk to control the number of concurrent

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier a...@ice-sa.com But maybe you could just create a link, inside your deployment directory, to the mount ? /opt/Tomcat/webapps/myApp/docs -- /opt/document-repository If you're going to do this, be Very Very Careful. Tomcat doesn't follow symbolic links by default,

RE: Limit user sessions in tomcat

2009-12-15 Thread George Sexton
This is an application level problem. You need to implement your own synchronization/locking system to prevent this from happening. If you're running reports that are taking a while, you might want to consider creating a system that will email the results to the clients rather than making them

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Pid
On 15/12/2009 16:05, Peter Crowther wrote: 2009/12/15 André Warniera...@ice-sa.com But maybe you could just create a link, inside your deployment directory, to the mount ? /opt/Tomcat/webapps/myApp/docs -- /opt/document-repository If you're going to do this, be Very Very Careful. Tomcat

Re: tomcat 6 not responding to any kind of request i.e. static and dynamic resources after some hours

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sasidhar, On 12/15/2009 9:21 AM, sasidhar prabhakar wrote: Tomcat hangs after running for several hours. Means initially it is taking around 24hr now it is hanging every 3 to 4 hr we can not say the exact time. [snip] And we are sending per day

Re: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michal, On 12/15/2009 9:55 AM, Caldarale, Charles R wrote: From: Michal Singer [mailto:michal.sin...@expand.com] Subject: Accumulation of Request Processors objects causes tomcat stuck? i am running an application on tomcat which gets stuck when

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Paolo Santarsiero
2009/12/15 Ingo Gambin igam...@brilliant.de Hi, I am new to Tomcat and JEE, but a new job means to learn new things. So right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread André Warnier
Pid wrote: On 15/12/2009 16:05, Peter Crowther wrote: 2009/12/15 André Warniera...@ice-sa.com But maybe you could just create a link, inside your deployment directory, to the mount ? /opt/Tomcat/webapps/myApp/docs -- /opt/document-repository If you're going to do this, be Very Very

Re: Tomcat Config Question

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dick, On 12/15/2009 8:15 AM, steflik wrote: I'm a little bit hesitant as a number of the students are still struggling to get their JSP project done. Right now the server is running and the Context statements that define where the apps are are

RE: Tomcat / windows 2008 IIS 7 x64

2009-12-15 Thread Sabo, Eric
Got it to work finally. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, December 15, 2009 10:03 AM To: users@tomcat.apache.org Subject: Re: Tomcat / windows 2008 IIS 7 x64 On 15/12/2009 13:28, Sabo, Eric wrote: We did get tomcat to process the JSP on the

AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Kockert, Timo
Just to make it clear, here is a summary of my problem and what was suggested so far: - We have a webapp that serves content (html, xhtml, ...) and images (jpg, png, ...). - Both, content and images, are _not_ static. - They are generated by two different servlets in the same context.

RE: Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Limit user sessions in tomcat Is there a way through configuation of tomcat and mod_jk to control the number of concurrent transactions/sessions a user can maintain? Don't know about what you might be able to configure in httpd,

RE: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Caldarale, Charles R
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: Trying to access a directory outside docBase... is it possible ? This is a common enough use case (it comes up about once a month on the list) that Someone may have coded a

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Caldarale, Charles R wrote: From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Limit user sessions in tomcat Is there a way through configuation of tomcat and mod_jk to control the number of concurrent transactions/sessions a user can maintain? Don't know about what you might be

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier a...@ice-sa.com On another level, I don't quite understand yet how this squares with the fact that most browsers will not establish more than 2 connections with the same webserver at the same time. It seems a bit difficult to imagine that one single user can crash a

RE: Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Limit user sessions in tomcat On another level, I don't quite understand yet how this squares with the fact that most browsers will not establish more than 2 connections with the same webserver at the same time. Because when you

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Andre, We have a vast user population thats geographically dispersed, so implementing something thru the system would be the favourable approach.. Can you point me to links on the web that explain the add on modules and their implementation? All,     Is there a 3rd party tool available to

tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Guillermo Fernandes
Hi, I'm using ddlutils 1.0 and tomcat jdbc pool 1.0.7.1 and I getting an error due to a connection is closed and the pool is not aware of that. Basically the issue is that ddlutils has a resultset iterator and when it finishes it closes the connection by getting it from the *

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 Chetan Chheda chetan_chh...@yahoo.com Is there a 3rd party tool available to manage tomcat sessions and kill them once they go rogue? Can I just check two pieces of terminology? In Tomcat (and many other web servers), a session is the notion that a user will make multiple

Re: Context Chicken Egg Problem

2009-12-15 Thread David Fisher
Hi Chris, Current architecture is to share a jar in shared/lib between the main webapps, an admin webapps and a localhost only management webapps. This was originally in Tomcat 3. New architecture will separate each, drop the management webapps and we'll control contexts via multicasting,

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Thanks Peter for the clarification. My background is that of a UNIX administrator not a web administrator and its showing from my posts.. My problem is long running requests. If the requests take longer than their fancy, the users just close the browser window, open a new one and resubmit the

Re: AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo, On 12/15/2009 8:36 AM, Kockert, Timo wrote: Just to make it clear, here is a summary of my problem and what was suggested so far: Thanks for the nice summary. After a long thread like this, it's nice to have everything together. - In

Re: AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo, On 12/15/2009 8:36 AM, Kockert, Timo wrote: - We enabled session cookies and URL rewriting (the latter via EncodeUrlTransformer of Cocoon). Oh, and what version of Cocoon are you using? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG

Re: SessionID cookie not secure over SSL

2009-12-15 Thread Mark Thomas
On 15/12/2009 13:09, vramanaj wrote: I am not sure whether i can post this here or not. But i want to try my luck. Please don't hijack threads. Many members of this list will ignore posts that hijack other threads. Mark -

SSL problem

2009-12-15 Thread Carl
Fresh Tomact 6.0.20 install on a new Slackware (version 13 - 64bit) linux box. Access to 8080 works fine but neither 8443 nor 443 work. I believe 443 and 8443 are up because a nmap gives: Discovered open port 443/tcp on 127.0.0.1 Discovered open port 8080/tcp on 127.0.0.1 Discovered open port

Re: Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/15/2009 12:01 PM, André Warnier wrote: On another level, I don't quite understand yet how this squares with the fact that most browsers will not establish more than 2 connections with the same webserver at the same time. Things have

Re: tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Mark Thomas
On 15/12/2009 17:34, Guillermo Fernandes wrote: Hi, I'm using ddlutils 1.0 and tomcat jdbc pool 1.0.7.1 and I getting an error due to a connection is closed and the pool is not aware of that. Basically the issue is that ddlutils has a resultset iterator and when it finishes it closes the

RE: SSL problem

2009-12-15 Thread Caldarale, Charles R
From: Carl [mailto:c...@etrak-plus.com] Subject: SSL problem Access to 8080 works fine but neither 8443 nor 443 work. What does that mean? Does Tomcat return a message saying not working? (I doubt it.) I believe 443 and 8443 are up because a nmap gives: Do a netstat -an while Tomcat is

Re: SSL problem

2009-12-15 Thread Mark Thomas
On 15/12/2009 18:18, Carl wrote: Connector port=443 maxHttpHeaderSize=8192 maxThreads=600 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true

Re: Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 12/15/2009 11:03 AM, Chetan Chheda wrote: We frequently have situations where a user has brought down a tomcat entirely by himself by running the same transaction multiple times because the response was not quick enough. Does this

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 12/15/2009 11:05 AM, Peter Crowther wrote: If you're going to do this, be Very Very Careful. Tomcat doesn't follow symbolic links by default, even on UNIX. This is for a very good reason: if you do this, Tomcat *will* follow the

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
Are there any standard techniques that a /developer/ of such a long running prccess could apply to wrap the process in a cocoon which periodically updates a browser with (real) progress data, and at the same time, such updates are verifications that the socket is still live and the user

Re: j_security_check change the principal user

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peibel, On 12/15/2009 8:03 AM, peibel80 wrote: I have a web application (java,jsp) with j_security_check but the user that i use to authenticate need change por other in the Simpleprincipal for j_security_check store in the session as the primary

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 12/15/2009 7:44 AM, vramanaj wrote: Yes, I did [read the SSL HOWTO]. I have followed those configuration steps for other applications earlier. You may still need to import the /remote server's/ certificate into your

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 12/15/2009 1:52 PM, Ken Bowen wrote: Are there any standard techniques that a /developer/ of such a long running proccess could apply to wrap the process in a cocoon which periodically updates a browser with (real) progress data, and at

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Chetan Chheda wrote: Andre, We have a vast user population thats geographically dispersed, so implementing something thru the system would be the favourable approach.. Can you point me to links on the web that explain the add on modules and their implementation? All, Is there a 3rd

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Chetan Chheda wrote: Thanks Peter for the clarification. My background is that of a UNIX administrator not a web administrator and its showing from my posts.. My problem is long running requests. If the requests take longer than their fancy, the users just close the browser window, open a new

Re: Tomcat 6 and IIS 7

2009-12-15 Thread Tuan Quan
Hi Peter; no other service listens to port 80, except Tomcat and IIS. When IIS stops and Tomcat start, running netstat -an returns what I expected. However, then Tomcat stop, and IIS start, running netstat -an got below: TCP    [::]:80    [::]:0 LISTENING Even though,

Re: tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Guillermo Fernandes
Ok, I agree it is a bug. I have created the ticket: https://issues.apache.org/bugzilla/show_bug.cgi?id=48392 https://issues.apache.org/bugzilla/show_bug.cgi?id=48392Actually I'm using commons-dbcp but were are not getting good performance results so I wanted to try out with the tomcat jdbc-pool.

Re: [OT] Context Chicken Egg Problem

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, I'm bringing this back onto the list in case it helps anyone. Also marking OT. On 12/15/2009 1:42 PM, David Fisher wrote: We designed things during the Tomcat 3 timeframe. I will need to push my developer to do it the JNDI way, I'll likely

Re: SSL problem

2009-12-15 Thread Carl
Chuck, When I try to go to either 8443 or 443, with: https://10.10.10.30/ or https://10.10.10.30:8443/ I get the following: Secure Connection Failed An error occurred during a connection to 10.10.10.30. SSL received a record that exceeded the maximum permissible length. (Error code:

Re: SSL problem

2009-12-15 Thread Carl
Mark and Chuck, I am so embarrassed, I should have caught that. It works properly with that one little addition. You guys (and others also) provide so much help. All I can say is thanks. Carl - Original Message - From: Mark Thomas ma...@apache.org To: Tomcat Users List

Re: AW: mod_jk and session stickyness of images requests

2009-12-15 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo, On 12/15/2009 8:36 AM, Kockert, Timo wrote: - We enabled session cookies and URL rewriting (the latter via EncodeUrlTransformer of Cocoon). Oh, and what version of Cocoon are you using? I believe that I saw

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
Chris, Thanks. We do #1 routinely, usually setting the thread(s) up as workers managing a queue. #2 can be problematic as you note: long-running db queries or long graphics generation are hard to fit into this model simply because one is using someone else's monolithic code that makes no

Re: SSL problem

2009-12-15 Thread André Warnier
Carl wrote: Fresh Tomact 6.0.20 install on a new Slackware (version 13 - 64bit) linux box. Access to 8080 works fine but neither 8443 nor 443 work. Can you define does not work ? What error are you seeing ? - is it a failure to even connect to that port on the server ? - or do you get a

Re: [OT] Context Chicken Egg Problem

2009-12-15 Thread Ken Bowen
On the Eclipse question: Eclipse basically just starts your Tomcat (which you configure into Eclipse), using it's own startup script which maps all Tomcat output into the Eclipse console. As such, JNDI (or whatever else) works just like it does when start Tomcat from it's own startup.sh

Expired client certificate was not rejected by server

2009-12-15 Thread tony bui
Using the keytool, I generated a couple of client trust/key stores and a server trust/key store to setup two way ssl authentication. I used a single jks file as both the trust/key store for each client/server. I've setup the tomcat 6 secure connector to require the client to present it's cert .

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Ken Bowen wrote: Chris, Thanks. We do #1 routinely, usually setting the thread(s) up as workers managing a queue. #2 can be problematic as you note: long-running db queries or long graphics generation are hard to fit into this model simply because one is using someone else's monolithic code

RE: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT - question] Limit user sessions in tomcat It would seem that there ought to be some low-level response-direction socket flag that should be available, to tell whether the receiving end has gone, without actually having to send

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Pid
On 15/12/2009 22:01, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT - question] Limit user sessions in tomcat It would seem that there ought to be some low-level response-direction socket flag that should be available, to tell whether the receiving end

Re: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Shaun Senecal
Thanks Chuck. That is in fact what I was doing, so I will move that into the webapps web.xml. Pid, I'm actually not as concerned about the favicon as I am with agentapp, but your suggestion of moving it into the webapp seems to be the key. Thanks. On Wed, Dec 16, 2009 at 12:32 AM,

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Leon Rosenberg
On Tue, Dec 15, 2009 at 11:01 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT - question] Limit user sessions in tomcat It would seem that there ought to be some low-level response-direction socket flag that should be

Page 404 on mydomain.com/share but not localhost:8080/share

2009-12-15 Thread Tim Heger
Hello- I am running Alfresco on Apache/Tomcat on Snow Leopard 10.6.2 and have an anomaly that I can¹t figure out. http://localhost:8080/alfresco works as expected http://localhost:8080/share works as expected http://mydomain.com/alfresco works as expected http://mydomain.com/share fails. When

Could not init service for worker=jkstatus

2009-12-15 Thread Carlos Ortiz
Hi I having a problem with mod_jk [ Could not init service for worker=avizpado] where avizpado is my workername [ you can see all the configuration attatch] i already have test if the port 8009 is open [nmap and telenet] and is open but i have absolute no idea what is wrong Thanks in avance for

RE: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] Subject: Re: [OT - question] Limit user sessions in tomcat Hmm, last time I implemented a tcp/ip stack (which is more than 10 years ago) there were no possibility in the tcp protocol to detect a broken (not closed) connection

Re: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat?

2009-12-15 Thread Zacheusz Siedlecki
Nobody knows? Regards, Zacheusz On Sat, Dec 12, 2009 at 10:35 PM, Zacheusz Siedlecki zacheusz.siedle...@gmail.com wrote: Can I use JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat? With Jetty and Glassfish Mojarra works fine. With Tomcat I get facelets exception. For example

RE: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat?

2009-12-15 Thread Caldarale, Charles R
From: zacheu...@gmail.com [mailto:zacheu...@gmail.com] On Behalf Of Zacheusz Siedlecki Subject: Re: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat? Nobody knows? Probably not, since you got zero responses to your original query - but then it contained pretty much zero useful

Re: tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Filip Hanik - Dev Lists
On 12/15/2009 10:34 AM, Guillermo Fernandes wrote: Hi, I'm using ddlutils 1.0 and tomcat jdbc pool 1.0.7.1 and I getting an error due to a connection is closed and the pool is not aware of that. Basically the issue is that ddlutils has a resultset iterator and when it finishes it closes the

Re: tomcat 6 not responding to any kind of request i.e. static and dynamic resources after some hours

2009-12-15 Thread sasidhar prabhakar
DDOS is definitely not the cause we are accurately monitoring the incoming traffic and all the mails we are sending from the application are user generated like friend requests. we are unable to identify the cause by seeing thread dump could any body tell us the problem by seeing thread dump. On

Re: 'Parametrizing' context.xml?

2009-12-15 Thread Bill Barker
Mario Splivalo mario.spliv...@megafon.hr wrote in message news:4b27994e.5080...@megafon.hr... Bill Barker wrote: Mario Splivalo mario.spliv...@megafon.hr wrote in message news:4b266622.5060...@megafon.hr... Tomcat also supports ant-style variable replacement, so using that then Ken's

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Bill Barker
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:99c8b2929b39c24493377ac7a121e21f9680850...@usea-exch8.na.uis.unisys.com... From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT - question] Limit user sessions in tomcat It would seem that there ought to be some

Re: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
Hi. First of all, i am using Executor in the configuration of the connectors, and so if i understand you correctly, it means that the requestors are supposed to reduce? at least after i see that messages are stuck. Second, i am using apache-tomcat-6.0.18, jdk1.6.0_12, running on Windows XP.

RE: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Caldarale, Charles R
From: Michal Singer [mailto:michal.sin...@expand.com] Subject: Re: Accumulation of Request Processors objects causes tomcat stuck? i am using Executor in the configuration of the connectors Might want to post your server.xml so we can take a look at it. if i understand you correctly, it

Re: Trying to access a directory outside docBase... is possible !

2009-12-15 Thread Ingo Gambin
Hi, thanks a lot! Using the 'deprecated' way of putting the 'Context docBase...' directive to server.xml worked whereas trying to put it into documents.xml in the localhost directory did not (using Tomcat 5.5). I am using an extra servlet for the viewer because I dont want to reload the whole

  1   2   >