huge "info" messages about mod_jk

2011-02-14 Thread Yu Kikuchi
Hello All. My Environment: RHEL 5.3 Apache 2.2.11 mod_jk 1.2.30 JBoss 5.0.0 GA I have changed the configuration from using mod_proxy_ajp to mod_jk. When I restarted Apache, huge "info" messages were put out to the mod_jk's log like following (over 200 lines!) "mod_jk.log" [Tue Feb 08 21:03:

Re: Tomcat 5.5.23 with SSL

2011-02-14 Thread Crypto Sal
Hi Alexander, As Mark has previously mentioned, there's no entry type of 'privateKeyEntry' which is *required* for the certificate to work. I suspect what has happened is that you might not have been in the directory with your keystore file or you did not specify the right keystore as keytool

Re: Issues with Tomcat 6.0 & Renewing SSL cert using keytool

2011-02-14 Thread Crypto Sal
Hi Sean, Have you tried to specify just "TLS" or "SSL" for the sslProtocol? You presently have this set at "TLSv1", which I do not believe is valid. http://tomcat.apache.org/tomcat-6.0-doc/config/http.html --Sal On 02/14/2011 02:46 PM, Sean Killeen wrote: It doesn't -- it tells me that a c

Re: Replicate session-object after values in object has been changed

2011-02-14 Thread Martin Grotzke
memcached-session-manager detects session modification as you describe it. It's a custom session manager that keeps sessions (additionally) in memcached: http:// code.google.com/p/memcached-session-manager Cheers, Martin Thomas Andraschko wrote: > > Thanks for your answer. > Yep that works bu

Re: Tomcat 7.0.8 maven repository

2011-02-14 Thread George Vagenas
Thanks Mark On Sun, Feb 13, 2011 at 12:32 PM, George Vagenas wrote: > Hi guys, > > I am trying to locate the tomcat 7.0.8 artifacts with no success. I tried > http://repo2.maven.org/maven2/org/apache/tomcat/ but no luck there. > > Can you please shed some light here? > > Regards > > -- > George

Re: Issues with Tomcat 6.0 & Renewing SSL cert using keytool

2011-02-14 Thread Sean Killeen
It doesn't -- it tells me that a certificate already exists with that alias, and the import fails. -- Sean On Mon, Feb 14, 2011 at 12:54 PM, Mark Thomas wrote: > On 14/02/2011 14:03, Sean Killeen wrote: > > The next step seems to throw tomcat off. I believe I need to replace the > > "tomcat" a

Re: Replicate session-object after values in object has been changed

2011-02-14 Thread Thomas Andraschko
Thanks for your answer. Yep that works but it isn't really nice if you are working with managed beans from JSF or other DI containers. Does other Servlet containers support this kind of replication or is it really the only way to put/remove the object to/from the session map? It is possible to de

Some useful information which some of you may find of use

2011-02-14 Thread Reinwald Warapen
We are in the process of migration our servers from Resin Pro to Tomcat 6.0.32.Have documented some changes/issues/information which may be of use to some of you. So thought of sharing it with you all http://www.reinwaldwarapen.com/2011/02/how-hell-did-that-value-come-in-cookie.html http://www

Re: Replicate session-object after values in object has been changed

2011-02-14 Thread Mark Thomas
On 14/02/2011 15:57, Thomas Andraschko wrote: > Is it possible that Tomcat will automatically check the SessionMap entries > after each request if any value in a entry has been changed? No. Tomcat adding or removing an object from the session will trigger replication. Modifying the object direct

RE: Tomcat 5.5.23 with SSL

2011-02-14 Thread Shaun Farrugia
I believe this information might help - apologies if this was tried already http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html#Configuration -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, February 14, 2011 12:52 PM To: Tomcat Users List Subject: Re: Tom

Re: Issues with Tomcat 6.0 & Renewing SSL cert using keytool

2011-02-14 Thread Mark Thomas
On 14/02/2011 14:03, Sean Killeen wrote: > The next step seems to throw tomcat off. I believe I need to replace the > "tomcat" alias certificate. Barring a replace function in keytool (which I > don't think exists, though I could be wrong), I think this means I have to > delete the old "tomcat" cer

Re: Tomcat 5.5.23 with SSL

2011-02-14 Thread Mark Thomas
On 14/02/2011 15:45, Alexander Mills wrote: > For reference, > > keytool -list -keystore keystore.kdb > [root@localhost tomcat5]# keytool -list -keystore keystore.kdb > Enter keystore password: > > Keystore type: JKS > Keystore provider: SUN > > Your keystore contains 1 entry > > tomcat, Feb 14

Re: Tomcat 7.0.8 maven repository

2011-02-14 Thread Mark Thomas
On 14/02/2011 17:31, Martin Vaněk wrote: > Hi, > I missing 7.0.8 too... > And what repo is hosting org.eclipse.jdt.core.compiler:ecj:3.6 used in > tomcat-jasper? Last version in central is 3.5.1 https://issues.apache.org/bugzilla/show_bug.cgi?id=50604 Mark -

Re: Tomcat 5.5.28 Servlet Spec 2.3 - When does Tomcat actually service requests?

2011-02-14 Thread Konstantin Kolinko
The webapp won't service the requests, because it is "unavailable", until setAvailable(true) is called at the end of its start(). Connectors are start()'ed after the Engine, and thus after all the webapps. 2011/2/14 Shaun Farrugia : > I'm not asking if they will or will not be loaded.  I am wonde

Re: Tomcat 7.0.8 maven repository

2011-02-14 Thread Martin Vaněk
Hi, I missing 7.0.8 too... And what repo is hosting org.eclipse.jdt.core.compiler:ecj:3.6 used in tomcat-jasper? Last version in central is 3.5.1 Martin On 13.2.2011 11:32, George Vagenas wrote: Hi guys, I am trying to locate the tomcat 7.0.8 artifacts with no success. I tried http://repo2.m

RE: Tomcat 5.5.28 Servlet Spec 2.3 - When does Tomcat actually service requests?

2011-02-14 Thread Shaun Farrugia
I'm not asking if they will or will not be loaded. I am wondering if http requests to a JSP page are blocked before the servlets are loaded. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Monday, February 14, 2011 12:14 PM To: Tomcat Users List Subje

Re: Tomcat 5.5.28 Servlet Spec 2.3 - When does Tomcat actually service requests?

2011-02-14 Thread Konstantin Kolinko
2011/2/14 Shaun Farrugia : >  I would think the same but I'm wondering that Tomcat is doing.  Would it > allow http requests to a JSP to be serviced before ALL of the servlets marked > as load-on-startup are loaded? > They will be loaded, but any failure will just mark this specific servlet as u

Replicate session-object after values in object has been changed

2011-02-14 Thread Thomas Andraschko
Hi, i have a simple Tomcat (7.0.8) cluster (org.apache.catalina.ha.tcp.SimpleTcpCluster without other options) with a simple Myfaces2.0.3 App for testing purpose. If JSF creates a SessionBean or i manually put an object to the SessionMap, Tomcat replicates this bean/object to all nodes. The pr

Re: Tomcat 5.5.23 with SSL

2011-02-14 Thread Alexander Mills
For reference, keytool -list -keystore keystore.kdb [root@localhost tomcat5]# keytool -list -keystore keystore.kdb Enter keystore password: Keystore type: JKS Keystore provider: SUN Your keystore contains 1 entry tomcat, Feb 14, 2011, trustedCertEntry, Certificate fingerprint (MD5): FC:XX:XX:8

Re: Tomcat 5.5.23 with SSL

2011-02-14 Thread Alexander Mills
Yes, -rwxr-xr-x 1 tomcat tomcat 1098 Feb 14 12:32 keystore.kdb On 14 Feb 2011, at 15:38, Shaun Farrugia wrote: Is the keystore file available to be read/executed by the user running tomcat? -Original Message- From: Alexander Mills [mailto:alexander.mi...@psycle.com] Sent: Monday, F

RE: Tomcat 5.5.23 with SSL

2011-02-14 Thread Shaun Farrugia
Is the keystore file available to be read/executed by the user running tomcat? -Original Message- From: Alexander Mills [mailto:alexander.mi...@psycle.com] Sent: Monday, February 14, 2011 8:04 AM To: users@tomcat.apache.org Subject: Tomcat 5.5.23 with SSL Hi I'm having issues with usin

RE: Tomcat 5.5.28 Servlet Spec 2.3 - When does Tomcat actually service requests?

2011-02-14 Thread Shaun Farrugia
I would think the same but I'm wondering that Tomcat is doing. Would it allow http requests to a JSP to be serviced before ALL of the servlets marked as load-on-startup are loaded? -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Saturday, February 12, 2011 1:04 PM

Issues with Tomcat 6.0 & Renewing SSL cert using keytool

2011-02-14 Thread Sean Killeen
Hi all, I'm hoping someone has run into this problem before. I'm using VeriSign certs and have imported a certificate correctly before using keytool. However, the certificate we were using expired, and we obtained a replacement. Importing the replacement appears to be more difficult. Verisign's

Tomcat 5.5.23 with SSL

2011-02-14 Thread Alexander Mills
Hi I'm having issues with using a signed SSL certificate from thawte.com with tomcat 5.5.23. My server.xml contains the following: /var/log/tomcat5/catalina.out reports the following: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.io.IOExce

Re: IIS6 not forwarding requests to Tomcat 5.5

2011-02-14 Thread Sebastian Szuber
Unfortunately this doesn't work too. -- Registry: [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] "extension_uri"="/jakarta/isapi_redirect.dll" "log_file"="E:\\tomcat-connector\\isapi.log" "log_level"="debug" "worker_file"="E:\\tomcat-connector\\workers.proper

Re: Performance Tuning Tomcat 7...

2011-02-14 Thread Tony Anecito
All I am showing is a very long chain of method calls for Jersey that seem to compose most of the overall time. I suspect that the tests Mark was talking about where he got 50k requests did not have anything like what I am seeing. Just shows Jersey is not capable of high throughput. -Tony --

Re: Performance Tuning Tomcat 7...

2011-02-14 Thread Pid
On 2/13/11 8:15 PM, Tony Anecito wrote: > Hi Mark, > > Here is the link to the screenshot I tried to send as an attachement. > > http://www.myuniportal.com/tomcatjerseyservletprofile.jpg What are we looking for here? I don't know if there's any optimisation possible in the SocketProcessor.run()

Re: Tomcat 6.0.29 problem

2011-02-14 Thread Mark Thomas
On 14/02/2011 07:47, Bilal Ashraf wrote: > > Hi, > > - I have written a servlet that reads the request from the client, process > the request, produce the > response and then write the response to > the client. > - I have deployed the servlet on tomcat 6.0.29. > - I sent 10 batches of 100

Re: How to show the timestamp of listed file according to the user timezone?

2011-02-14 Thread Mark Thomas
On 14/02/2011 05:38, jie tang wrote: > I place a directory in Tomcat webapps directory. I want to Tomcat list files > under the directory. > When I browse the file list in my browser, the file list looks like the > following > >2011-02-12_r5384_1669/ Sat, 12 Feb 2011 09:40:44 GMT > > Bu

Thread Dump Analysis

2011-02-14 Thread Luca Gervasi
Hello, tomcat 6.0.26 jvm 1.5.0_16 i'm trying to tune tomcat, avoiding some timeout i think come from the database. Where can i find info about thread analysis? I'm using Visual VM to see the thread status, but so far i know: 1) TP-Processor[x] are the request handling threads 2) RMI and JMX are