Setting Character Encoding in server.xml

2010-02-16 Thread Peter Sparkes
Hi, I am using Linux/Tomcat 5.5. I am running several Tomcat instances each with its own server.xml and wish to use different character encoding in each instance. Please how do I set the character encoding in server.xml Thanks Peter **

SSL % tomcat 6.0

2010-02-16 Thread Andrey D
Hi, I have a small troubles with SSL certificates integration for tomcat 6.0. Of course I've read the FAQ and SSL tutorial but my situation is not described in that help sheets in details... I enabled SSL on tomcat and can log in onto default page with default certificate, but I have to make the

using SSL in tomcat

2010-02-16 Thread syskarthik
I need to use the existing Private Key Certifiate generated for a wildcard sub-domain like *.maindomain.com in Tomcat. May I know the steps to import the key certificate to the keystore so that tomcat can use it for secure mode operation. -- View this message in context:

Re: using SSL in tomcat

2010-02-16 Thread Mark Thomas
On 16/02/2010 11:30, syskarthik wrote: I need to use the existing Private Key Certifiate generated for a wildcard sub-domain like *.maindomain.com in Tomcat. May I know the steps to import the key certificate to the keystore so that tomcat can use it for secure mode operation. Tomcat

Re: SSL % tomcat 6.0

2010-02-16 Thread Mikolaj Rydzewski
Andrey D wrote: I have a small troubles with SSL certificates integration for tomcat 6.0. Of course I've read the FAQ and SSL tutorial but my situation is not described in that help sheets in details... Well, maybe it does not address your problem directly. I found it's much easier to work

RE: performance problems with Tomcat 6 and JSF 1.2

2010-02-16 Thread Michael Heinen
Thanks Christopher. I created bug 48750: https://issues.apache.org/bugzilla/show_bug.cgi?id=48750 The source jsp and the compiled jsps are attached at this bug. There is also a link to the complete demo web app. A major difference between jetty and tomcat is the usage of a AnnotationHelper

Re: SSL % tomcat 6.0

2010-02-16 Thread Andrey D
Sorry, but I can't use apache httpd separately... only tomcat.. :( someone said me: ok, I think the solution is this create a CA ... then, import the CA public key into key-store sign each client certificate with CA private key .. I believe this will mean that when Tomcat requests

logging

2010-02-16 Thread Sayin
Hi, I have an application which uses apache commons logging for logging . When i deployed this appication to tomcat 6.0.20 , the appication level logs are not dispayed . I havent altered the default logging.properties in CATALINA_HOME/config. How to enable application level logging in tomcat

logging

2010-02-16 Thread Sayin
Hi, I have an application which uses apache commons logging for logging . When i deployed this appication to tomcat 6.0.20 , the appication level logs are not dispayed . I havent altered the default logging.properties in CATALINA_HOME/config. How to enable application level logging in tomcat

RE: Setting Character Encoding in server.xml

2010-02-16 Thread Caldarale, Charles R
From: Peter Sparkes [mailto:pe...@didm.co.uk] Subject: Setting Character Encoding in server.xml I am using Linux/Tomcat 5.5. I am running several Tomcat instances each with its own server.xml and wish to use different character encoding in each instance. Please how do I set the

exclude specific IP address from HTTP auth

2010-02-16 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. In other words, use HTTP Digest authentication for a web app, but allow some specific IP address access without authentication. I already

RE: exclude specific IP address from HTTP auth

2010-02-16 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Marcus Better Subject: exclude specific IP address from HTTP auth I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. Take a look at SecurityFilter to see if it will do what you want.

Re: Is it possible to replace the HttpSession implementation in Tomcat?

2010-02-16 Thread Martin Grotzke
Hi Jon, On Mon, 2010-02-15 at 11:55 -0600, Jon Brisbin wrote: I'm trying to figure out today how I can implement a Valve or something that can store a session to a backend DB and reload that session on another Tomcat instance similar to how the PersistentManager loads user's session after a

RE: [OT] Tomcat dies suddenly

2010-02-16 Thread Jeffrey Janner
Reminds me of a story from an old-timer friend of mine. This was back in the day of shuddertext-based terminals/shudder. The company he worked for had a military contract to install bunch of terminals in an office building at a local airbase. A few days after the workers moved in, his company

Re: logging

2010-02-16 Thread reno . rkcrew
Sayin, did you have a look on the wiki: http://wiki.apache.org/tomcat/FAQ/Logging S. Hi, I have an application which uses apache commons logging for logging . When i deployed this appication to tomcat 6.0.20 , the appication level logs are not dispayed . I havent altered the default

Re: [OT] Tomcat dies suddenly

2010-02-16 Thread Mark H. Wood
Heh, when I was in another building I was issued an ADDS Viewpoint terminal which would, every so often, begin typing all by itself and quite at random. Eventually we determined that my cubicle was directly underneath an arc welding station in the welding shop one floor up, and when welding

Re: Is it possible to replace the HttpSession implementation in Tomcat?

2010-02-16 Thread Simone Tripodi
Hi Martin, very interesting, thanks for share it!!! I did, more or less, the same on a project for a customer, but it was strictly related to the application, your stuff looks much much better of mine and it is a reusable module. All the best, Simo http://people.apache.org/~simonetripodi/ On

Re: [OT] Tomcat dies suddenly

2010-02-16 Thread André Warnier
Ognjen Blagojevic wrote: I heard almost the same story in the last company I used to work. The only differences are: instead of floor polisher it was a vacuum cleaner, and there was no spare outlet... :) Now I am very curious, because I happen to have supplied the media archive management

RE: exclude specific IP address from HTTP auth

2010-02-16 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Caldarale, Charles R wrote: I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. Take a look at SecurityFilter to see if it will do what you want. Thanks, but it says it only supports form

RE: exclude specific IP address from HTTP auth

2010-02-16 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Marcus Better Subject: RE: exclude specific IP address from HTTP auth but it says it only supports form authentication, not HTTP Basic or Digest... To quote Chris S: Note that the warning about BASIC authentication is waaay outdated: sf

Re: exclude specific IP address from HTTP auth

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, On 2/16/2010 3:56 PM, Marcus Better wrote: Caldarale, Charles R wrote: I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. Take a look at SecurityFilter to see if it will do what you

Re: exclude specific IP address from HTTP auth

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, On 2/16/2010 3:56 PM, Marcus Better wrote: Caldarale, Charles R wrote: I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. Take a look at SecurityFilter to see if it will do what you

Re: exclude specific IP address from HTTP auth

2010-02-16 Thread André Warnier
Marcus Better wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Caldarale, Charles R wrote: I'm looking for the Tomcat 6 security configuration that would correspond to Apache httpd's Satisfy Any. Take a look at SecurityFilter to see if it will do what you want. Thanks, but it says it

Re: SSL % tomcat 6.0

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrey, On 2/16/2010 7:46 AM, Andrey D wrote: Sorry, but I can't use apache httpd separately... only tomcat.. :( someone said me: ok, I think the solution is this create a CA ... then, import the CA public key into key-store sign each

Configure tomcat in my development environment, and save session across restart

2010-02-16 Thread Ashish Kulkarni
Hi I use tomcat 5.5.28 for my development in eclipse, when ever i change any class it restarts my tomcat and i loose my session, so i have to go through login process to get the session. Is it possible to save this session across restarts, it would be great and save me a lot of time in development

Re: performance problems with Tomcat 6 and JSF 1.2

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Micheal, On 2/16/2010 7:45 AM, Michael Heinen wrote: I created bug 48750: https://issues.apache.org/bugzilla/show_bug.cgi?id=48750 The source jsp and the compiled jsps are attached at this bug. You might also want to show what JSF 1.1 gets you,

Re: Tomcat dies suddenly

2010-02-16 Thread André Warnier
So what now ? I leave this list for 3 days to go earn my keep, and when I come back this silly crash issue is /still/ not resolved ? Carl, still on my trip about the SegFaults caused by some native non-kosher executable module.. You mentioned earlier that you are using SSL on all requests.

Re: Configure tomcat in my development environment, and save session across restart

2010-02-16 Thread Mark Thomas
On 16/02/2010 21:35, Ashish Kulkarni wrote: Hi I use tomcat 5.5.28 for my development in eclipse, when ever i change any class it restarts my tomcat and i loose my session, so i have to go through login process to get the session. Is it possible to save this session across restarts, it would

Re: Configure tomcat in my development environment, and save session across restart

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 2/16/2010 4:35 PM, Ashish Kulkarni wrote: I use tomcat 5.5.28 for my development in eclipse, when ever i change any class it restarts my tomcat and i loose my session, so i have to go through login process to get the session. Is it

Re: Tomcat dies suddenly

2010-02-16 Thread Mark Thomas
On 16/02/2010 21:41, André Warnier wrote: Appeal to the experts : considering the lenghtily expounded symptoms, would it be possible that one obscure corner of the SSL code or data is being used only occasionally, and that such occasional usage could cause the symptoms here observed ? Or the

Re: performance problems with Tomcat 6 and JSF 1.2

2010-02-16 Thread Mark Thomas
On 16/02/2010 21:39, Christopher Schultz wrote: Mark Thomas is a frequent contributor to this list and, if he's got time and you're willing to help, he's quite likely to help investigate and maybe work on a solution. It is on my radar but I haven't had time to look at it yet. There is at least

Re: Tomcat dies suddenly

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/16/2010 4:41 PM, André Warnier wrote: So what now ? I leave this list for 3 days to go earn my keep, and when I come back this silly crash issue is /still/ not resolved ? Well, we've been waiting for you to bring your expertise to bear

Re: JSP Page hangs... clues? (SOLVED)

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jordan, On 2/15/2010 6:24 PM, Jordan Michaels wrote: The client got in touch with us today stating that the entire site was now unresponsive. We reviewed the log files and miraculously this time there WAS an error message (lots of them). The

Re: File does not exist error - public_html/addArticle.do

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, On 2/14/2010 12:54 PM, Steve Campisano wrote: So this does work It will not work however when I attempt to run it with http://www.mysite.com/TestStruts1/newArticle.jsp. I agree with Chuck: the botched configuration of Tomcat is

Re: tomcat 6 on solaris losing cookies

2010-02-16 Thread George Baxter
Hi Konstantin, Thanks for your reply. Yes, the getHeaders(cookie) returns what seems to be a valid set of cookies, thus we're not losing them in any of the proxies we might have set up. (Currently, we're only in development mode for tomcat 6 and we're not going through any proxies, just

Re: tomcat 6 on solaris losing cookies

2010-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 2/16/2010 5:14 PM, George Baxter wrote: Yes, the getHeaders(cookie) returns what seems to be a valid set of cookies, thus we're not losing them in any of the proxies we might have set up. Good to know. But this means that Tomcat is

Re: tomcat 6 on solaris losing cookies

2010-02-16 Thread Konstantin Kolinko
2010/2/17 George Baxter gbax...@shutterfly.com: Hi Konstantin, Thanks for your reply. Yes, the getHeaders(cookie) returns what seems to be a valid set of cookies, thus we're not losing them in any of the proxies we might have set up.  (Currently, we're only in development mode for tomcat

Re: [OT] Tomcat dies suddenly

2010-02-16 Thread Peter Crowther
An ex-colleague of mine tells the story (which may well be apocryphal, but is good fun) of being called to an industrial estate in South Wales to debug a problem where floppy disks in the office would mysteriously wipe themselves - pretty much every floppy in the office, at the same time. It

Re: tomcat 6 on solaris losing cookies

2010-02-16 Thread George Baxter
Hi Konstantin, 1. We're still an Latin-1 shop, primarily... .. skip to 3. We've tried 6.0.24 as well, same result. We were using 6.0.18 because I've been using in (on my Mac in development, other users using Linux in development) for the past 8 months with no real issues. I'll get to work

Re: tomcat 6 on solaris losing cookies

2010-02-16 Thread George Baxter
We took a quick look at the cookie parsing code and unfortunately, logging is dependent not on log4j configuration, but instead on a static final int 'dbg' variable defined in the Cookies.java. I'll try copy/paste code into my own class to see how it fairs on the header value. -g. On Feb 16,

Re: [OT] Tomcat dies suddenly

2010-02-16 Thread Hassan Schroeder
On Tue, Feb 16, 2010 at 3:17 PM, Peter Crowther peter.crowt...@melandra.com wrote: snip/ Oh, now we're on magnet stories? :-) Back in the day, I was working as an IBM CE in downtown SF. One of our branch specialists and I were in an elevator headed out to a customer's office with a piece of

Re: tomcat 6 on solaris losing cookies

2010-02-16 Thread George Baxter
Well.. we parsed the header that failed, and it parsed just fine. Note that we're parsing via the 'old deprecated' parse by string entity. I guess I'll try parsing by bytes next. -g. On Feb 16, 2010, at 2:47 PM, Konstantin Kolinko wrote: 2010/2/17 George Baxter gbax...@shutterfly.com: Hi

Re: logging

2010-02-16 Thread Sayin
Dear Reno, Thanks for the quick response . but i couldnt find any solution to put application level log using appache commons logging - JULI combination. Reno , the issue is that my appication is a hibernate application [ a java project in eclipse ]. O/R mapping is done using Hibernate

Re: Setting Character Encoding in server.xml

2010-02-16 Thread Peter Sparkes
Thanks Chuck, problem fixed Peter From: Peter Sparkes [mailto:pe...@didm.co.uk] Subject: Setting Character Encoding in server.xml I am using Linux/Tomcat 5.5. I am running several Tomcat instances each with its own server.xml and wish to use different character encoding in each instance.