Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
hi Christopher, my tomcat version is : 7.0.14 working on Window7 with JDK 1.6 On Thu, Dec 1, 2011 at 4:45 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Debraj, > > On 11/30/11 1:16 PM, Debraj Mallick wrote: > > i have set max

Do any of the Tomcat LDAP-type realms support "no password" authentication?

2011-11-30 Thread ohaya
Hi, I'm new here, and hope that someone can help. I was wondering if any of the LDAP-type realms (e.g., JNDIRealm, etc.) support an authentication mode where no password or credentials are required? In other words, where just a userID/username is presented, and if that userID/username is pres

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Debraj, On 11/30/11 1:16 PM, Debraj Mallick wrote: > i have set maxHttpHeaderSize=81920 but still i am getting > exception *Stack trace:* 30 Nov, 2011 11:38:48 PM > org.apache.catalina.connector.CoyoteAdapter service SEVERE: An > exception or error oc

Re: Logging

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thom, On 11/30/11 1:04 PM, Thom Hehl wrote: > I'm using VI to reading the log file. I running a Windows RDP. Are you using 'vi' in a way that allows it to get updates from the file? I'm no 'vi' expert, but I'm sure it reads the entire file at startup

Re: [OT] Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Francis GALIEGUE
On Wed, Nov 30, 2011 at 22:38, André Warnier wrote: [...] > > I am not knowledgeable at all in such questions, and while you are at it let > me ask a question : > Does the fact of having a system with a 64-bit CPU (and OS) necessarily (or > usually) imply that data transfers between CPU and RAM ha

RE: [OT] Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Ilya Kazakevich
>>Does the fact of having a system with a 64-bit CPU (and OS) necessarily (or usually) imply >>that data transfers between CPU and RAM happen also 64-bit in parallel ? That depends on front bus width. Modern PCs has 64-bit bus AFAIK. In "64-bit CPU" 64 is register size and nothing else (although

Re: [OT] Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread André Warnier
Francis GALIEGUE wrote: On Wed, Nov 30, 2011 at 18:51, Christopher Schultz wrote: [...] Running a machine with more than 4GiB in 32-bit mode isn't stupid at all IMO. If you have relatively small processes, there's no need for the overhead of 64-bit even if you have 16GiB or more. This is qui

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Stefan Mayr
Am 30.11.2011 12:08, schrieb j...@gniffelnieuws.net: On Wed, 30 Nov 2011 16:14:45 +0530, Choudhury wrote Hello , The question is not why I would use 32 bit JVM , the question is whether there is any maximum limit on memory for Tomcat and if yes why ? Regards, The limit is the JVM, not

Connection has been abanded

2011-11-30 Thread János Löbb
Hi, IT is Mac OSX 10.6.8 java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) tomcat is 7.0.21 database is Sybase ASE 15.0.3 We are getting this error in about every half hour

[OT] Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Francis GALIEGUE
On Wed, Nov 30, 2011 at 18:51, Christopher Schultz wrote: [...] > > Running a machine with more than 4GiB in 32-bit mode isn't stupid at > all IMO. If you have relatively small processes, there's no need for > the overhead of 64-bit even if you have 16GiB or more. > This is quite the opposite: a

Problems with forwaring HTTP to HTTPS

2011-11-30 Thread Gregor S.
Hi list, I'm a bit puzzled. I want to forward all incoming HTTP-traffic to HTTPS. Within my $catalina.home/conf/server.xml I've specified the following connectors: Then I specified in $catalina.home/conf/web.xml the following transport-guarantee:

RE: block direct tomcat

2011-11-30 Thread Ilya Kazakevich
Just disable HTTP connector (comment it in server.xml). You can use firewall to protect AJP port from remote clients too. Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -Original Message- From: cpanon [mailto:cpa...@yahoo.com] Sent: Wednesday,

RE: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Ilya Kazakevich
>> That is just stupid since 32bit cannot address more >> than 4GB of memory no matter what you do. Any sysadmin should know >> that right? >That's per process. All reasonably recent 32-bit OSs can address way >more than 4GiB internally. Yes, but one region in memory is reserved for IO. Drivers u

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
Hi Martin, i have set maxHttpHeaderSize=81920 but still i am getting exception *Stack trace:* 30 Nov, 2011 11:38:48 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.ArrayIndexOutOfBoundsException:

block direct tomcat

2011-11-30 Thread cpanon
Hello I have an Apache-ajp-Tomcat config that works, but I would like to block any access to tomcat directly, either on localhost (except for 8009) or from a client?  What/is there a tomcat config to achieve that?

RE: Logging

2011-11-30 Thread Thom Hehl
I'm using VI to reading the log file. I running a Windows RDP. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, November 30, 2011 1:03 PM To: Tomcat Users List Subject: Re: Logging -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thom, On

Re: Logging

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thom, On 11/30/11 10:01 AM, Thom Hehl wrote: > When running Tomcat 7.0.20 as a daemon, it doesn't appear to be > writing the logs to the file until tomcat is stopped. Is there some > way I can make tomcat dump the logs it's holding onto? What tool ar

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casper, On 11/30/11 3:37 AM, Casper Wandahl Schmidt wrote: > Another question to ask is, why do you have 8GB memory when > running 32bit? That is just stupid since 32bit cannot address more > than 4GB of memory no matter what you do. Any sysadmin shou

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 11/30/11 12:11 PM, Martin Kuen wrote: > Try setting"maxHttpHeaderSize" for the in your > server.xml. Its default value is 8192 bytes. I guess you're > exceeding this limit. +1 If you have a lot of cookies or if you are sending SSL cert

RE: Logging

2011-11-30 Thread Thom Hehl
I am using the out of the box configuration for logging. I did a search of my logging.properties and didn't find buffersize. Here 'tis. # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for addi

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Subhrajyoti, On 11/30/11 1:28 AM, choudh...@labware.com wrote: > Is there any cap on maximum memory that can be assigned to tomcat > on 32 bit Windows machines? See this week's thread called "Server crash for memory limit" for some information about

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Pid *
On 30 Nov 2011, at 10:45, "choudh...@labware.com" wrote: > Hello , >The question is not why I would use 32 bit JVM , the question is > whether there is any maximum limit on memory for Tomcat and if yes why No. Tomcat has no knowledge of the memory capacity of the JVM. p > ? > Regards

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Martin Kuen
Hi Mallick, Try setting"maxHttpHeaderSize" for the in your server.xml. Its default value is 8192 bytes. I guess you're exceeding this limit. i.e. More details/exact info: http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation Best Regards, Martin

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
Thankyou Dan for your quick response my *server.xml*:

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Daniel Mikusa
On Wed, 2011-11-30 at 08:31 -0800, Debraj Mallick wrote: > hi all, > > i am getting exception while adding cookies in response > > *Stack trace*: > org.apache.catalina.connector.CoyoteAdapter service > SEVERE: An exception or error occurred in the container during the request > processing > java.

Re: Logging

2011-11-30 Thread Daniel Mikusa
On Wed, 2011-11-30 at 07:01 -0800, Thom Hehl wrote: > When running Tomcat 7.0.20 as a daemon, it doesn't appear to be writing > the logs to the file until tomcat is stopped. Is there some way I can > make tomcat dump the logs it's holding onto? > Just a guess, but it sounds like it could be buffe

Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
hi all, i am getting exception while adding cookies in response *Stack trace*: org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.ArrayIndexOutOfBoundsException: 8192 at org.apache.coyote.http11.Abstr

Logging

2011-11-30 Thread Thom Hehl
When running Tomcat 7.0.20 as a daemon, it doesn't appear to be writing the logs to the file until tomcat is stopped. Is there some way I can make tomcat dump the logs it's holding onto?

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-11-30 Thread Sylvain Goulmy
> > So the effect is that multiple physical directories must be searched for > a given resource? Correct. The alias maps a given path to an external directory. Ok, that's what i had understood. Can you give an example of how you would like it to work? Here is the description of the EDR (Ex

Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-30 Thread Ellecer Valencia
Thanks Igor. I made a mistake though. I actually meant "modifying web.xml and restarting the webapp." We want to find a way to change session timeouts - even for existing sessions - without doing a restart of the webapp. I know there's also a server-level session timeout in tomcat's /conf/web.x

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread john
On Wed, 30 Nov 2011 16:14:45 +0530, Choudhury wrote > Hello , > The question is not why I would use 32 bit JVM , the > question is whether there is any maximum limit on memory for Tomcat > and if yes why ? Regards, > It depends on the windows version used actually. From what I remember t

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Francis GALIEGUE
On Wed, Nov 30, 2011 at 11:44, wrote: > Hello , >        The question is not why I would use 32 bit JVM , the question is > whether there is any maximum limit on memory for Tomcat and if yes why ? The question _is_ why you use a 32bit OS and JVM with 8 GB RAM. Tomcat is not limited in memory us

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-11-30 Thread Pid
On 29/11/2011 17:47, Sylvain Goulmy wrote: > Hi all, > > I'd like to know it is possible to have equivalent functionality to the > "extended document root" provided by the WebSphere product. This feature > allows you to define a location outside the webapp to make contribution > without having to

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Choudhury
Hello , The question is not why I would use 32 bit JVM , the question is whether there is any maximum limit on memory for Tomcat and if yes why ? Regards, Subhrajyoti Mobile: +919830079545 Mail: choudh...@labware.com Web: www.labware.com LabWare LIMS Solutions - Results Count From:

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Francis GALIEGUE
On Wed, Nov 30, 2011 at 09:37, Casper Wandahl Schmidt wrote: > [...] >> > Another question to ask is, why do you have 8GB memory when running 32bit? > That is just stupid since 32bit cannot address more than 4GB of memory no > matter what you do. Any sysadmin should know that right? > > disclaimer

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Casper Wandahl Schmidt
Den 30-11-2011 09:21, Francis GALIEGUE skrev: On Wed, Nov 30, 2011 at 07:28, wrote: Hi , Is there any cap on maximum memory that can be assigned to tomcat on 32 bit Windows machines ? I have found out that even if we have 8GB memory in the server , can not assign more 1.4/1.5 GB to T

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Francis GALIEGUE
On Wed, Nov 30, 2011 at 07:28, wrote: > Hi , >         Is there any cap on maximum memory that can be assigned to tomcat > on 32 bit Windows machines ? I have found out that even if we have 8GB > memory in the server , can not assign more 1.4/1.5 GB to Tomcat . I also > found this thread which re