Re: Max connections

2008-10-13 Thread Mark Thomas
Martin Gainty wrote: in $TOMCAT_HOME/conf/server.xml Connector implements the acceptCount attribute http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html acceptCount is not the right attribute to do this. That is also the 4.1 doc. The OP didn't say what version they were using. From:

IIS Connector truncate HTTP Header 5.5.23

2008-10-13 Thread Alexander Diedler
Hello everybody, There are a issue, that I think it is not easy to fix. We have a Tomcat, which is connected to a IIS as Frontendserver. But the IIS seems to be not to get the full header. The connector truncate the Header to 2KB. In the server.xml it is possible to increase the header space,

Re: IIS Connector truncate HTTP Header 5.5.23

2008-10-13 Thread Mark Thomas
Alexander Diedler wrote: Hello everybody, There are a issue, that I think it is not easy to fix. We have a Tomcat, which is connected to a IIS as Frontendserver. But the IIS seems to be not to get the full header. The connector truncate the Header to 2KB. In the server.xml it is possible to

AddResource: how to prevent adding session id to stylesheet URL

2008-10-13 Thread Dave
Hi, We are using AddResource to add stylesheet dynamically, like:   addResource.addStyleSheet(context, AddResource.HEADER_BEGIN, /main.css);   In the generated HTML, the current session id is in the URL, like:   link rel=stylesheet href=/main.css;jsessionid=965804C1F45636F4BBD825591EE74E3C

Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-10-13 Thread Johnny Kewl
- Original Message - From: James Wang [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, October 13, 2008 7:11 AM Subject: Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally Hi Mark, In order to find out if the problem

Re: Error while starting the CATLINA/TOMCAT Server: Cant configure sessionPool

2008-10-13 Thread Mark Thomas
Fabrizio Calselli wrote: please could any of you help me trying so solve the CATALINA/TOMACT problem I am getting? Initialization Problem Message: Cant configure SessionPool Description: org.apache.avalon.framework.configuration.ConfigurationException: Cant configure SessionPool

Error while starting the CATLINA/TOMCAT Server: Cant configure sessionPool

2008-10-13 Thread Fabrizio Calselli
Hi everyone, please could any of you help me trying so solve the CATALINA/TOMACT problem I am getting? Thank you in advance. Kind Regards, Fabrizio Initialization Problem Message: Cant configure SessionPool Description:

Re: [OT] Why can NOT run Tomcat on my Laptop

2008-10-13 Thread David Smith
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: [OT] Why can NOT run Tomcat on my Laptop Allowing spaces in directory and file names was a nutty idea which has cost more over time than the Iraq war and current financial debacle combined. (I'll

RE: apache virtual hosts using different tomcat on different servers

2008-10-13 Thread Nicola Burns
Thanks Christopher Mikolaj for your very helpful information. I move my 'JkMount *.jsp workerA' information from mod_jk.conf into my virtual hosts tag and restart apache. When I attempt to access my url test1.foo.com, apache tell me it cannot find my home.do page to login (not found in this

Re: Error while starting the CATLINA/TOMCAT Server: Cant configure sessionPool

2008-10-13 Thread Kusuma Pabba
Fabrizio Calselli wrote: Hi everyone, please could any of you help me trying so solve the CATALINA/TOMACT problem I am getting? Thank you in advance. Kind Regards, Fabrizio Initialization Problem Message: Cant configure SessionPool Description:

RE: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-10-13 Thread Martin Gainty
agreed there is a framework setup to handle Ajax calls based on pageLoad, timers, listen topics http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html ping me offline for details Martin Gainty __ Disclaimer and confidentiality note

Re: [OT] Why can NOT run Tomcat on my Laptop

2008-10-13 Thread André Warnier
David Smith wrote: Caldarale, Charles R wrote: ... for that Microsoft should be awarded the opposite of the Nobel peace prize. - Chuck That would be the Darwin award :-) --David Now, call me thick, but that one I don't get.

RE: [OT] Why can NOT run Tomcat on my Laptop

2008-10-13 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: [OT] Why can NOT run Tomcat on my Laptop That would be the Darwin award :-) Now, call me thick, but that one I don't get. Might be a USA thing: http://www.darwinawards.com/ - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-10-13 Thread Johnny Kewl
- Original Message - From: James Wang [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, October 13, 2008 11:35 AM Subject: Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally Hi Johnny, Yes, We are using ajax to make

Re: Problem running TC 6.0.18 with CATALINA_BASE

2008-10-13 Thread Pavel Savara
The fix is http://svn.apache.org/viewvc?view=revrevision=685715 The catalina.sh change is the only one you need to apply. Pavel On Fri, 2008-10-10 at 15:16 -0400, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been running multiple TC 4.1 and 5.5

Re: [OT] Why can NOT run Tomcat on my Laptop

2008-10-13 Thread David Smith
André Warnier wrote: David Smith wrote: Caldarale, Charles R wrote: ... for that Microsoft should be awarded the opposite of the Nobel peace prize. - Chuck That would be the Darwin award :-) --David Now, call me thick, but that one I don't get. Google for the Darwin Awards. It's

polish dialectic signs lturn into #

2008-10-13 Thread Raghu
I have developed JSP Struts Polish Application in UTF-8 encoding. Application interacts with SAP for polish data .I am able to insert the data into SAP from jsp application running on tomcat. Application which is working on windows version of polish system (windows XP )is not working on

Re: apache virtual hosts using different tomcat on different servers

2008-10-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicola, Nicola Burns wrote: I move my 'JkMount *.jsp workerA' information from mod_jk.conf into my virtual hosts tag and restart apache. When I attempt to access my url test1.foo.com, apache tell me it cannot find my home.do page to login (not

Re: polish dialectic signs lturn into #

2008-10-13 Thread Mark Thomas
Raghu wrote: I have developed JSP Struts Polish Application in UTF-8 encoding. Application interacts with SAP for polish data .I am able to insert the data into SAP from jsp application running on tomcat. Application which is working on windows version of polish system (windows

Re: Problem running TC 6.0.18 with CATALINA_BASE

2008-10-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pavel and Konstantin, Thanks for the references. This appears to be exactly what's happening to me. I'll patch catalina.sh and re-try. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla -

Re: Problem running TC 6.0.18 with CATALINA_BASE

2008-10-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, Konstantin Kolinko wrote: 2008/10/10 Christopher Schultz [EMAIL PROTECTED]: (..) The result is that I get this and only this in /home/chris/app/connector-test/8785/logs/catalina.out: Exception in thread main

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: That looks like a bug to me. Please add to to bugzilla so it doesn't get lost and forgotten about. Done. Thanks. https://issues.apache.org/bugzilla/show_bug.cgi?id=45997 - -chris -BEGIN PGP SIGNATURE- Version:

Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-10-13 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, October 13, 2008 10:34 AM Subject: Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally - Original Message - From: James

Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-10-13 Thread James Wang
Hi Johnny, Yes, We are using ajax to make the post requests, and the header do include content-length information that was calculated by ajax automatically, but the strange thing is sometime it get stuck at the begin of uploading http body(0 byte was transfered always in this case) until AJP

Re: Max connections

2008-10-13 Thread Mohit Anchlia
I didn't understand the description of attribute maxKeepAliveRequests, it says: The maximum number of HTTP requests which can be pipelined until the connection is closed by the server. Does it mean total number of keep alive connections allowed at one time. When we say connection is closed, does

Re: AddResource: how to prevent adding session id to stylesheet URL

2008-10-13 Thread Hassan Schroeder
On Mon, Oct 13, 2008 at 12:32 AM, Dave [EMAIL PROTECTED] wrote: We are using AddResource to add stylesheet dynamically, like: addResource.addStyleSheet(context, AddResource.HEADER_BEGIN, /main.css); So, wouldn't this be a question for (guessing) a MyFaces list? :-) Doesn't seem remotely

Using S/MIME encryption in Tomcat5.5 fails

2008-10-13 Thread Celik, Servet (ext MA)
Hi *, I try to encrypt outgoing mails from my webapplication with S/MIME. Therefore I make use of the BouncyCastleProvider and created an example according to http://javamail-crypto.sourceforge.net/. Afterwards I introduced Bouncycaste as securityprovider by adding the line

RE: apache virtual hosts using different tomcat on different servers

2008-10-13 Thread Nicola Burns
Hi Chris, My mod_jk.conf setting are below, no error reported in the mod_jk.log file when I have the following in either virtual hosts tag or in mod_jk.conf. I am only testing with test1.foo.com, apache is running on the localhost and my jboss app is on a remote server, worker82 Nicola

RE: Max connections

2008-10-13 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Max connections I didn't understand the description of attribute maxKeepAliveRequests, it says: The maximum number of HTTP requests which can be pipelined until the connection is closed by the server. Does it mean total number of

RE: Using S/MIME encryption in Tomcat5.5 fails

2008-10-13 Thread Martin Gainty
I dont believe the default BC jars have S/MIME capability I would download bcmailJDK.jar and place in your /lib folder from http://www.bouncycastle.org/latest_releases.html let me know if this helps.. Martin __ Disclaimer and confidentiality note

Re: Max connections

2008-10-13 Thread Mohit Anchlia
I am using tomcat 6 On Sun, Oct 12, 2008 at 11:29 PM, Mark Thomas [EMAIL PROTECTED] wrote: Martin Gainty wrote: in $TOMCAT_HOME/conf/server.xml Connector implements the acceptCount attribute http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html acceptCount is not the right attribute

Re: Max connections

2008-10-13 Thread Mohit Anchlia
so if I can use JMX can I also set debug level dynamically? I am using tomcat 6.0 On Mon, Oct 13, 2008 at 9:55 AM, Mohit Anchlia [EMAIL PROTECTED] wrote: I am using tomcat 6 On Sun, Oct 12, 2008 at 11:29 PM, Mark Thomas [EMAIL PROTECTED] wrote: Martin Gainty wrote: in

Re: [OT] Why can NOT run Tomcat on my Laptop

2008-10-13 Thread André Warnier
David Smith wrote: André Warnier wrote: David Smith wrote: Caldarale, Charles R wrote: ... for that Microsoft should be awarded the opposite of the Nobel peace prize. - Chuck That would be the Darwin award :-) --David Now, call me thick, but that one I don't get. Google for the

Re: polish dialectic signs lturn into #

2008-10-13 Thread André Warnier
Mark Thomas wrote: Raghu wrote: I have developed JSP Struts Polish Application in UTF-8 encoding. Application interacts with SAP for polish data .I am able to insert the data into SAP from jsp application running on tomcat. Application which is working on windows version of polish

Re: polish dialectic signs lturn into #

2008-10-13 Thread Joseph Millet
If any of the above are not working you through this ... I understand you rely on some DB layer for inserts, so that you seem to acknowledge that inserts perform ok and that you get proper unicode stored - you should then investigate how your application connects to that data store, i.e. it's

SSL Accelerator - Front ending Tomcat

2008-10-13 Thread Mike Koponick
Hello Everyone, I have not been a frequent administrator of Tomcat, but it seems that I am becoming one! So, Here is my setup, I using an SSL accelerator in front of a Tomcat server running two instances. When I try to access the website, the webserver (rightfully so) redirects me to another

RE: SSL Accelerator - Front ending Tomcat

2008-10-13 Thread Martin Gainty
all your SSL/nonSSL connections are all defined in $TOMCAT_HOME/conf/server.xml if you provide information on who/what/why/how specific security features you want your website to implement we can be of point you in the right direction check out

mod_proxy_balancer

2008-10-13 Thread AD
hello, If i have a tomcat app deployed at http://localhost:8080/myapp1/ and http://localhost:8080/myapp2/ and i want 2 virtualhosts in apache to map / to each one of these apps, is this possible? Trying something like Proxy balancer://app1/ BalancerMember ajp://localhost:8009/app1/

Re: SSL Accelerator - Front ending Tomcat

2008-10-13 Thread Brian Clark
I don't know if this will actually help Mike do what he wants to do. I don't think he needs to know about Tomcat SSL configuration. I think we do exactly what Mike wants to do...we have a network load balancer with SSL accelerator in front of all of our Tomcat instances. All of our incoming

Re: mod_proxy_balancer

2008-10-13 Thread Hassan Schroeder
On Mon, Oct 13, 2008 at 7:17 PM, AD [EMAIL PROTECTED] wrote: If i have a tomcat app deployed at http://localhost:8080/myapp1/ and http://localhost:8080/myapp2/ and i want 2 virtualhosts in apache to map / to each one of these apps, is this possible? Possible? Sure. Good idea? Probably not.

Re: mod_proxy_balancer

2008-10-13 Thread Hassan Schroeder
Rats, sorry, copy/paste failure there, mail sent prematurely ... Assuming port 8080 -- Proxy balancer://whatever BalancerMember http://localhost:8080/app1/ BalancerMember http://localhost:8080/app2/ /Proxy And that would be configured the same for both virtual hosts. ProxyPass /

server.xml configuration

2008-10-13 Thread gjj391
I seem to have a bit of a issue when installing railo in tomcat. Hoping someone here has seen this. This is alot more about tomcat than it is railo though. I have deployed railo as a war file through the tomcat manager. I am using mod_jk to bypass apache and have tomcat serve everything. you