Re: Tutorial: Load Balancing Tomcat with Apache

2009-02-17 Thread GF
Thank You for feedback. The answers: 1) I'll add that note. You're right, It's important. 2) Usually, I keep the main ServerRoot of Apache Httpd just as a dummy website, and even if I have just one website to setup, I always create a virtual host (for example on Debian, using the symbolic linking

ssl_error_handshake_failure_alert

2009-02-17 Thread gmail_ber
Hi all A colleague has set up a web app via https using tomcat on a server that I have access to. When I try to access the web app via a browser (Firefox 3) from my own PC or from a browser (IE) on the server running the web app, I get an ssl_error_handshake_failure_alert error. Something else

RE: [OT] of the different methods to get a user-id

2009-02-17 Thread Peter Crowther
From: Christopher Schultz [mailto:ch...@christopherschultz.net] IMHO, you either have control of your production environment yourself (and can do whatever you want) or you have an ops team with complete control of your production environment (and they ought to be able to handle scary stuff

Wrong Time Shown in Catalina.out of Tomcat.

2009-02-17 Thread kashif_tomcat
Hi All, These days i am facing a strange problem on Production Server. here is my issue. We are running tomcat 6.0.18 in QA and Production environment. ON QA Server, When i start tomcat, its catalina shows the same time as of OS. [r...@qatest ~]# date Tue Feb 17 10:04:53 GMT 2009

Re: Wrong Time Shown in Catalina.out of Tomcat.

2009-02-17 Thread Ben Stringer
The Java runtime (JRE or JDK) maintains it's own timezone files. Most likely there is a mismatch between the timezone for the OS and the Java runtime (eg. daylight savings time). Try installing the latest Java runtime and rechecking. For more info, google for Java Olson timezone. Cheers, Ben On

Tomcat vs deflate

2009-02-17 Thread Gabor 'Morc' KORMOS
Hi Guys/Gals, I tried to search for an answer whether Tomcat can support deflate as compression but I found nothing really except that it supports gzip by adding the compression parameter to the Connector definition. Is there a way to enable deflate besides/instead of gzip in any version of

Re: ssl_error_handshake_failure_alert

2009-02-17 Thread Siddhartha Purkayastha
It looks as if tomcat is configured for 2-way SSL. So the client (browser) should have a certificate that the server can trust. I think you could try to install a certificate from a good CA in your browser truststore, and try using that. I wonder if the other apps are running because tomcat

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
Can support - yes Out of the box - no. Why not out of the box? Because gzip is there and most people use apache in front of tomcat. -Tim Gabor 'Morc' KORMOS wrote: Hi Guys/Gals, I tried to search for an answer whether Tomcat can support deflate as compression but I found nothing

Re: Tomcat vs deflate

2009-02-17 Thread Gabor 'Morc' KORMOS
Hi Tim, Thanks for the speedy response. Can you point me in the direction of some documentation which describes how to do it? I'm willing to read just did not find what to read :) Thanks, Morc. On 17/02/2009 13:23, Tim Funk wrote: Can support - yes Out of the box - no. Why not out

RE: Tomcat vs deflate

2009-02-17 Thread Peter Crowther
From: Tim Funk [mailto:funk...@joedog.org] most people use apache in front of tomcat. Tim, I'm interested - do you have any real-world usage figures? I'm genuinely not trying to challenge your assertion; I'd just love to see the data, and how it's changed over time! - Peter

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
There aren't really any docs to point to beyond http://tomcat.apache.org/tomcat-6.0-doc/config/http.html From there you can dig into the source. Since gzip and deflate are much the same - it might be relatively easy. -Tim Gabor 'Morc' KORMOS wrote: Hi Tim, Thanks for the speedy

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
Sadly no. As I rethink the previous statement - I wonder how true it is. For small self contained webapps - Tomcat is usually enough. But once you introduce clustering or use it as public face to the world, instead of a internal app - I would kind of expect apache to be out front to handle

Re: Tomcat vs deflate

2009-02-17 Thread Gabor 'Morc' KORMOS
So basically you say code it for yourself by modifying the HTTP connector? Morc. On 17/02/2009 13:46, Tim Funk wrote: There aren't really any docs to point to beyond http://tomcat.apache.org/tomcat-6.0-doc/config/http.html From there you can dig into the source. Since gzip and deflate are

SSL

2009-02-17 Thread Venkata Siva Gangavarapu
Hi, I would like to know how to configure SSL in Tomcat6.0. Could you please provide me the steps to configure SSL and how to register Verisgn test certificate . Thanks in advance. Thanks Siva Notice: The information contained in this electronic mail message is intended only

RE: SSL

2009-02-17 Thread Peter Crowther
From: Venkata Siva Gangavarapu [mailto:siva.gangavar...@gvkbio.com] I would like to know how to configure SSL in Tomcat6.0. http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html - Peter - To unsubscribe,

RE: SSL

2009-02-17 Thread Venkata Siva Gangavarapu
Hi, Thanks for the quick response. When I followed the link given below, I was stuck @ the below point C:\Program Files\Apache Software Foundation\Tomcat 6.0\binkeytool -import -alia s tomcat -keystore C:\Documents and Settings\siva.gangavarapu\.keystore -trus tcacerts -file C:\Documents and

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
yup - and if your inclined - you can submit an bug enhancement with the patch -Tim Gabor 'Morc' KORMOS wrote: So basically you say code it for yourself by modifying the HTTP connector? Morc. On 17/02/2009 13:46, Tim Funk wrote: There aren't really any docs to point to beyond

Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Taylan Develioglu
Hi Guys, Our application is a servlet running in a container in Tomcat standalone. It uses the following NIO connector definition: Connector port=80 protocol=org.apache.coyote.http11.Http11NioProtocol connectionTimeout=65000 keepAliveTimeout=1 maxKeepAliveRequests=1000

Re: [OT] of the different methods to get a user-id

2009-02-17 Thread André Warnier
Just in case it was missed in the subsequent conflagration (and I always marvel at how easy it is to start a conflagration by saying something like language X is better than language Y), I would just like to state that my blurb was meant to be taken lightly, with ;-) and so on. Comparing

Re: Apache/mod_jk serves random files from tomcat

2009-02-17 Thread rnilsen
Hi, We had similar behaviour on our server, apache in the front serving tomcat on SSL, mostly servlets. First off, this is what we installed: Tomcat 5.5.27 and Apache 2.2.11 with mod_jk 1.2.26. The server is a 64 bit version of Windows Server 2008 (2 CPUs). We got some strange problems with

Re: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Mark Thomas
Taylan Develioglu wrote: Following the gc trail, it looks like an oom situation (maybe a mem leak in our application, our heapsize is 4GB), is it normal behavior for tomcat to destroy itsself like this? Are you on a 64-bit JVM? If not, the process heap is limited to 4GB so the Java object heap

RE: Tomcat vs deflate

2009-02-17 Thread Caldarale, Charles R
From: Gabor 'Morc' KORMOS [mailto:m...@baxter-it.com] Subject: Re: Tomcat vs deflate So basically you say code it for yourself by modifying the HTTP connector? Preferably you'd write a filter to do it, rather than modifying Tomcat source. Oh look, someone's already done it:

RE: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Caldarale, Charles R
From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] Subject: Fatal error: Cleaner terminated abnormally Lately we've been experiencing a fatal error, related to gc, with Tomcat that causes it to stop and unload It's not really a GC problem - rather a silly bug in NIO. You might try the

Re: Resource JDBC connection pooling USING LDAP

2009-02-17 Thread trames
Thanks, that is exactly what I did. Since the documentation stated that it used apache (tomcat's version) dbcp and the BasicDataSourceFactory, I looked at the source for this class through SVN. It fairly simply creates a BasicDataSource. So that is what I did. I retrieved all the parameters

Tomcat in-memory (session) cookie

2009-02-17 Thread makaira nigricans
Hello... As I understood (maybe I understood wrongly) with every GET and POST request Tomcat generates cookie which it do not write on hard drive (so it cannot be seen in browser cookie manager). It is some kind of in-memory (session) cookie which is active only while browser's page is opened.

RE: Tomcat in-memory (session) cookie

2009-02-17 Thread Caldarale, Charles R
From: makaira nigricans [mailto:liame.e...@yahoo.com] Subject: Tomcat in-memory (session) cookie As I understood (maybe I understood wrongly) You did. with every GET and POST request Tomcat generates cookie which it do not write on hard drive (so it cannot be seen in browser cookie

RE: [OT] of the different methods to get a user-id

2009-02-17 Thread Peter Crowther
From: Ken Bowen [mailto:kbo...@als.com] The only thing more fiery than language X is better than language Y is editor Z is better than editor W :-) To skip a few levels in the inevitable impending debate... Well I edited the inodes by hand. With magnets. (http://www.userfriendly.org)

Re: [OT] of the different methods to get a user-id

2009-02-17 Thread Ken Bowen
The only thing more fiery than language X is better than language Y is editor Z is better than editor W :-) On Feb 17, 2009, at 9:45 AM, André Warnier wrote: language X is better than language Y - To unsubscribe, e-mail:

Re: Apache/mod_jk serves random files from tomcat

2009-02-17 Thread Yuval Perlov
Is APR part of tomcat or apache? If I am running on linux and have no .so files in my tomcat directory does that mean I have no APR installed? On a more positive note, we switched to proxy_http (after making the necessary code changes) and everything works now - no more mixed content.

Expired Self-Signed Certificates?

2009-02-17 Thread Furman, Mark
We have noticed that our expired self-signed certificates are still functioning with no error messages. When using self-signed certificates with Tomcat 6, are the expiration dates valid?

Re: Expired Self-Signed Certificates?

2009-02-17 Thread Serge Fonville
Hi, We have noticed that our expired self-signed certificates are still functioning with no error messages. What error messages would you expect?Is there nothing displayed prior to showing the page? Regards, Serge Fonville

RE: Expired Self-Signed Certificates?

2009-02-17 Thread Furman, Mark
Our application is using a SSL connection to communicate with Tomcat. If we were using a browser I might expect to see a connection denied response or an invalid certificate message in the Tomcat logs. R/ Mark -Original Message- From: Serge Fonville [mailto:serge.fonvi...@gmail.com]

RE: Expired Self-Signed Certificates?

2009-02-17 Thread Furman, Mark
Thanks Serge. I believe that answers my question. -Original Message- From: Serge Fonville [mailto:serge.fonvi...@gmail.com] Sent: Tuesday, February 17, 2009 2:56 PM To: Tomcat Users List Subject: Re: Expired Self-Signed Certificates? Our application is using a SSL connection to

RE: Tomcat in-memory (session) cookie

2009-02-17 Thread Jorge Medina
Hi Makaira, I also found hard to understand the concept of sessions and its relation to cookies. After all, HTTP is a stateless protocol, right? Well, a servlet engine (as stated in the Servlet Engine specification pointed by Charles) must provide a way to provide some state. This is done by a

Re: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Filip Hanik - Dev Lists
search the sun database, some results there http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6521677 supposedly fixed in Java 7 :( Filip Taylan Develioglu wrote: Hi Guys, Our application is a servlet running in a container in Tomcat standalone. It uses the following NIO connector

Re: Tomcat in-memory (session) cookie

2009-02-17 Thread makaira nigricans
Thanks Chuck and Jorge... My English is not so great and maybe my questions did not had good grammatical form. Chuck thanks for answer, and I know what cookie is :) but I was confused... Just for practice I created two jsp, one calls another through form tag. And after that I created one

RE: Tomcat in-memory (session) cookie

2009-02-17 Thread makaira nigricans
Thanks Chuck and Jorge... My English is not so great and maybe my questions did not had good grammatical form. Chuck thanks for answer, and I know what cookie is :) but I was confused... Just for practice I created two jsp, one calls another through form tag. And after that I created one servlet

RE: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Caldarale, Charles R
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com] Subject: Re: Fatal error: Cleaner terminated abnormally search the sun database, some results there http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6521677 It's somewhat related, but I don't think it will cover the case reported

RE: Tomcat in-memory (session) cookie

2009-02-17 Thread Caldarale, Charles R
From: makaira nigricans [mailto:liame.e...@yahoo.com] Subject: RE: Tomcat in-memory (session) cookie And is there in-memory cookie which generates on every get and post request? First, let's do the terminology: there's no such thing as an in-memory cookie. A cookie is just a piece of

RE: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Taylan Develioglu
Sadly there is no mention of a fix related to NIO in the 6u12 release notes. This comes as kind of a bummer, as we were hoping to make a comet implementation soon. The native/apr connector looks like it could be a replacement for NIO for us, but after searching I could not find anything

RE: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Taylan Develioglu
Yes, 64-bit hotspot server vm. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: dinsdag 17 februari 2009 16:23 To: Tomcat Users List Subject: Re: Fatal error: Cleaner terminated abnormally Taylan Develioglu wrote: Following the gc trail, it looks like an oom

Re: Fun with the JVM crashing.

2009-02-17 Thread Bill Davidson
Rainer Jung wrote: In case you only want to exclude few methods from compilation, -XX:CompileCommand=exclude,com/myCompany/servlets/sales/blah/some,method will do it. Since we put this change into production, we haven't seen the problem. Thank you so much.

RE: Fatal error: Cleaner terminated abnormally

2009-02-17 Thread Taylan Develioglu
I found bug 4938372, but it didn't seem related to me at the time. There's a post dated 2007, from Alan Bateman, indicating they'd try putting the fix in a java 6 update. I'll submit a bug report and in the meanwhile explore other options such as native/apr then. -Original Message-

mod_jk

2009-02-17 Thread Mohit Anchlia
Is there a way to verify if mod_jk is load balancing properly among given live servers - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org