Re: Multiple Java processes when using Tomcat

2008-06-16 Thread John Gardner
Caldarale, Charles R wrote: -Original Message- From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Java processes when using Tomcat Normally, I only expect to see 2,3,4 or 5 java processes associated with the Tomcat user, not all of the above!

jk manager: what means CE (client errors) ?

2008-06-16 Thread Stephanie Wullbieter
Hi, in jk manager there is CE Number of client errors shown. What means client error ? When happens this? Thank You, Stephanie -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

Re: getAttribute(null)?

2008-06-16 Thread Leon Rosenberg
On Thu, Jun 12, 2008 at 5:36 PM, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 [EMAIL PROTECTED] wrote: It's not the why is formName null? that I'm worried about. In this case, it's supposed to be null. What I want to know is this: Is a NullPointerException supposed to be thrown if the

Re: getAttribute(null)?

2008-06-16 Thread Mark Thomas
Leon Rosenberg wrote: P.S. probably it would be good if StandartSession would check for it return name==null ? null : (attributes.get(name)); instead of return (attributes.get(name)); but they probably won't do it anyway:-) Oh yea of little faith.

Re: getAttribute(null)?

2008-06-16 Thread Leon Rosenberg
may I suggest that you add the same check also to that method : protected void removeAttributeInternal(String name, boolean notify) { // Remove this attribute from our collection Object value = attributes.remove(name); ? Thanx Leon. On Mon, Jun 16, 2008 at 9:25 AM, Mark Thomas

AW: Tomcat will not create session cookie

2008-06-16 Thread Mario Killmer
Hello Christopher, you are right. It was a Firewall problem. Thanks for your help. Mario -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 13. Juni 2008 18:59 An: Tomcat Users List Betreff: Re: Tomcat will not create session cookie

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread Luis Villa
Hello all, I'm trying to add redirect rules to the tomcat connector. I've been reading Tomcat connector documentation, and what I've done till the moment is this: 1.- I've created a rewrite_rules.properties with this content: /myapplication/=/MyApplication/

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread André Warnier
Luis Villa wrote: Hello all, I'm trying to add redirect rules to the tomcat connector. I've been reading Tomcat connector documentation, and what I've done till the moment is this: 1.- I've created a rewrite_rules.properties with this content: /myapplication/=/MyApplication/

httpRequest TimeOut

2008-06-16 Thread Raj
HI, I have a httpServlet running on apache-tomcat-4.1.36 . My httpServlet receives HTTP request from a .net application and process it. Sometimes my httpServlet takes more than 5 min to process this request but, .net application is timing out the transaction in 110 Sec. I wonder is there

Re: jk manager: what means CE (client errors) ?

2008-06-16 Thread Rainer Jung
Stephanie Wullbieter wrote: Hi, in jk manager there is CE Number of client errors shown. What means client error ? When happens this? Client = http client in front of web server (e.g. browser) Typically: when we either try to read a part of the request from the client or - more

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread Luis Villa
Hello André, thanks for your answer, My configuration is: - tomcat 6 - IIS 6 - Windows 2003 server SP1 - tomcat connector 1.2.26 When I ask for MYAP, it doesn't appear a IIS screen, but a Tomcat error. So, I assumed the connector was correctly deriving the requests from IIS to

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread Rainer Jung
Luis Villa wrote: Hello all, I'm trying to add redirect rules to the tomcat connector. I've been reading Tomcat connector documentation, and what I've done till the moment is this: 1.- I've created a rewrite_rules.properties with this content: /myapplication/=/MyApplication/

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread André Warnier
Luis Villa wrote: Hello André, thanks for your answer, My configuration is: - tomcat 6 - IIS 6 - Windows 2003 server SP1 - tomcat connector 1.2.26 When I ask for MYAP, it doesn't appear a IIS screen, but a Tomcat error. So, I assumed the connector was correctly deriving the

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread André Warnier
Rainer Jung wrote: Luis Villa wrote: [...] Set you redirector log level to debug and try once. Woa ! That's cheating ! :-) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread Rainer Jung
André Warnier wrote: Set you redirector log level to debug and try once. Woa ! That's cheating ! :-) It depends on the rules of the game ;) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread Luis Villa
Ok, I found the problem :) What was misconfigured was the virtual directory in IIS. There was a mess of configuration files and the one I was changing was not the one the previous system admin configured :S The thing is, there was configuration in the registry, and 3 folders with the isapi

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread Rainer Jung
Luis Villa wrote: I catched it when, setting log_level to debug did nothing. That was a desired side effect of the exercise :) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Multiple Java processes when using Tomcat

2008-06-16 Thread Ben Stringer
On Mon, 2008-06-16 at 06:59 +0100, John Gardner wrote: Caldarale, Charles R wrote: -Original Message- From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Java processes when using Tomcat Normally, I only expect to see 2,3,4 or 5 java processes associated with the

Re: Tomcat, iis connector and case sensitivity

2008-06-16 Thread André Warnier
Rainer Jung wrote: Luis Villa wrote: I catched it when, setting log_level to debug did nothing. That was a desired side effect of the exercise :) You see, cheating will get you nowhere ! :-) - To start a new topic,

Re: allow access without auth to app from several ip ranges , but leave auth from any other hosts

2008-06-16 Thread Alex Mestiashvili
Johnny Kewl wrote: - Original Message - From: Alex Mestiashvili [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, June 13, 2008 9:56 PM Subject: allow access without auth to app from several ip ranges , but leave auth from any other hosts HI ALL . I have basic

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Mark H. Wood
You are not the only one frustrated by the state of log4j documentation. If you persevere, the Introduction section Configuration does sort of explain things, although as noted it does so mainly from the programmer's point of view. The section Default Initialization discusses how the

Re: problem gzipping dynamic content with apache+jk+tomcat configuration

2008-06-16 Thread Rainer Jung
Kirti Teja wrote: Hi, I use apache 2, tomcat 6.0.13 with modjk2. When I added AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript text/x-js in my httpd conf file, I see only static resources which are served by apache getting

Re: problem gzipping dynamic content with apache+jk+tomcat configuration

2008-06-16 Thread Kirti Teja
AddOutputFilter DEFLATE html txt xml css js jsp do did the trick. Thankyou very much. Your help is just great thanks once again. With Regards, Teja R On Mon, Jun 16, 2008 at 9:18 PM, Rainer Jung [EMAIL PROTECTED] wrote: Kirti Teja wrote: Hi, I use apache 2, tomcat 6.0.13 with

Re: problem gzipping dynamic content with apache+jk+tomcat configuration

2008-06-16 Thread Len Popp
Did you put AddOutputFilterByType in *all* the Location and Directory sections? In particular, in the Location associated with the Tomcat connector? -- Len On Mon, Jun 16, 2008 at 11:26, Kirti Teja [EMAIL PROTECTED] wrote: Hi, I use apache 2, tomcat 6.0.13 with modjk2. When I added

Fwd: problem gzipping dynamic content with apache+jk+tomcat configuration

2008-06-16 Thread Kirti Teja
AddOutputFilter DEFLATE html txt xml css js jsp do adding this in httpd.conf did the trick. now i see even my dynamic reponses gzipped. thanks, teja -- Forwarded message -- From: Rainer Jung [EMAIL PROTECTED] Date: Mon, Jun 16, 2008 at 9:18 PM Subject: Re: problem gzipping

Memory usage in Tomcat 6

2008-06-16 Thread Tuan Quan
Hi all, how do I adjust Memory allocation Tomcat 6, running as service in Windows? I ran into out of memory error. thanks.

RE: Memory usage in Tomcat 6

2008-06-16 Thread Caldarale, Charles R
From: Tuan Quan [mailto:[EMAIL PROTECTED] Subject: Memory usage in Tomcat 6 Hi all, how do I adjust Memory allocation Tomcat 6, running as service in Windows? Use the tomcat6w.exe program in Tomcat's bin directory. Read the FAQ for memory usage information:

mod_jk load balancing and cluster node health

2008-06-16 Thread Nathan E. Pilling
Is it possible to configure mod_jk to check node status by requesting a specific web application path to see if a cluster node is healthy (and should be included or excluded from the cluster)? I have a web application that runs across multiple tomcat instances and any request be processed by

Re: Using PHP4 with Tomcat5.5

2008-06-16 Thread Jonathan Mast
Thanks, but I've tried them both and no luck. The Tomcat wiki tells me how to compile php for tomcat, which i have no intention of doing. The second one tells me i must unjar the phpservlet.jar file and fiddle with some properties. But I know I don't have to do this. My work computer has been

Re: Multiple Java processes when using Tomcat

2008-06-16 Thread John Gardner
Ben Stringer wrote: This entry is for ps, will this be the same situation for top? On linux systems, they are part of the same package (procps), and both top and ps will behave the same way. Your RHEL3 system will likely be running a 2.4 series kernel. From the procps FAQ: Why do ps and top

Re: URL is null and HTTP 404 error when using FROM authentication

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Assaf, exkor wrote: | The problem im having right now (which i believe is relatively simple) | is that my app doesn't connect to the DB. I configured server.xml back | to use MemoryRealm because i want only the app to use the DB. Then | I've changed

Re: AW: Tomcat will not create session cookie

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mario, Mario Killmer wrote: | Hello Christopher, | you are right. It was a Firewall problem. Thanks for your help. For the good of the list (and the archives), could you explain: 1. How you determined that the problem was your firewall 2. What

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Ok, then where about in my Tomcat configuration would I find which | logging system it uses, or a pointer to something that tells me which | system is used ? Without going further down the rabbit hole, your question is

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://logging.apache.org/log4j/1.2/manual.html André Warnier wrote: | So I started with the log4j menu item, basically because it seems to be | the only one mentioned there with relevance to Tomcat. | Logically (I thought), I started with the 2.0

Re: Using PHP4 with Tomcat5.5

2008-06-16 Thread Steve Ochani
On 16 Jun 2008 at 14:37, Jonathan Mast wrote: Date sent: Mon, 16 Jun 2008 14:37:55 -0400 From: Jonathan Mast [EMAIL PROTECTED] Subject:Re: Using PHP4 with Tomcat5.5 To: Tomcat Users List users@tomcat.apache.org, [EMAIL PROTECTED] Send reply to: Tomcat Users List

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Fisher wrote: | All | my contexts logs are hijacked by Roller, and that is a roller question | that I can't ask due to my weird configuration. But if I understood | better how logging and tomcat interact I could understand. All of the

Re: disable directory indexing in tomcat?

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Girardin wrote: | Thanks so much Mark. As you suspected it was disabled so I suspect the | security scan is in error. I'll check the web page to be sure though. The scan probably just determines the version of TC running and then spits

Re: 3 fiels form based login authentication in Tomcat

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, Chetan Bob wrote: | I want Tomcat authentication like company id / username / Password so it | looks i should go for Form based authentication Tomcat cannot do this at all, unfortunately. Securityfilter

Re: problem gzipping dynamic content with apache+jk+tomcat configuration

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: | Kirti Teja wrote: | I use apache 2, tomcat 6.0.13 with modjk2. When I added [snip] | Not before you are telling us your version of httpd and mod_jk ;) She said she was using shiver mod_jk2, all versions of which

Re: allow access without auth to app from several ip ranges , but leave auth from any other hosts

2008-06-16 Thread Johnny Kewl
- Original Message - From: Alex Mestiashvili [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, June 16, 2008 1:36 PM Subject: Re: allow access without auth to app from several ip ranges , but leave auth from any other hosts Johnny Kewl wrote: -

Installing Apache-Tomcat 6.0.16 Problem

2008-06-16 Thread Chuck Noren
I have a PC with Fedora Core 6 I have installed jdk 1.6.0_06 I downloaded Tomcat 6.0.16, did a sucessful ant download. When I do ant, I get a complaint from javac on the first line of Resouce.java, flagging the comment characters /* and complaining about Enum (see below). Of cource, javac

Re: SSL/HTTPS forwarding under Apache + mod_jk + tomcat

2008-06-16 Thread Bill Davidson
André Warnier wrote: By the way, the reason why I can't try it right now is that I just don't have the application to try it with. So whatever I mentioned before (but which apprently so far seems ok) was purely by attempting to understand the documentation. Beware. I tried it today. I

Re: Installing Apache-Tomcat 6.0.16 Problem

2008-06-16 Thread Steve Ochani
On 16 Jun 2008 at 17:32, Chuck Noren wrote: Date sent: Mon, 16 Jun 2008 17:32:34 -0400 From: Chuck Noren [EMAIL PROTECTED] Subject:Installing Apache-Tomcat 6.0.16 Problem To: Tomcat Users List users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org I

Re: Tomcat-5.5 run error on red hat

2008-06-16 Thread kohanm
Thanks Juha, The windows version was the problem. I forgat to download the linux version. Thanks for your help. mk On 6/10/08, Juha Laiho [EMAIL PROTECTED] wrote: kohanm wrote: here they are: [EMAIL PROTECTED] usr]# cd java [EMAIL PROTECTED] java]# cd jdk* [EMAIL PROTECTED] jdk1.6.0_02]#

Class Loader Documentation

2008-06-16 Thread Ole Ersoy
Hi, Reading through the classloader documentation for 6.0 I noticed this: ... However, the standard Tomcat 5 startup scripts ... It seems like this should be: the standard Tomcat 6 startup scripts But I figured I'd check before filing a ticket. Also it seems like this section could be