On Wed, Feb 9, 2011 at 7:46 AM, Konstantin Kolinko
wrote:
> 2011/2/8 Christopher Schultz :
>> On 2/8/2011 4:31 AM, Stevo Slavić wrote:
>>> I don't see support for
>>> ordering in @WebFilter annotation. Am I missing something?
>>
>> I don't see anything that would allow an ordering to be specified.
On 2/9/2011 1:15 AM, Mark Thomas wrote:
On 08/02/2011 18:58, Reinwald Warapen wrote:
Hey,
I am facing a very weird problem when trying to read a cookie who's
value has a colon.
The issue faced is that when a request is routed from a jsp the cookie
versions are messed up. But when the servlet i
2011/2/8 Christopher Schultz :
> On 2/8/2011 4:31 AM, Stevo Slavić wrote:
>> I don't see support for
>> ordering in @WebFilter annotation. Am I missing something?
>
> I don't see anything that would allow an ordering to be specified.
>
Ordering is discussed in chapters 8.2.2 and 8.2.3 of the servl
On 2/8/2011 11:46 AM, Mark Thomas wrote:
On 08/02/2011 07:41, Michael McCutcheon wrote:
Do I need something in web.xml?
Yes.
Or do I need to declare something special on the servlet that calls the
login method?
No.
Do I need a section? If so, What should it be populated
with?
Yes. I'd j
Sorry - Had a brain cramp and am working on two many things at once.
The file was actually still in the directory and had the wrong permissions.
Once
I set the correct permissions the error went away.
From: Oliver Pike
To: users@tomcat.apache.org
Sent: Tue,
Running tomcat 6.0.29 on CentOS 5.5.
I was trying to get some
third party libraries to work and at one point I copied one of the jar
files into the examples/WEB-INF/lib directory. I subsequently removed
that jar file from the directory but now I get this error in
catalina.out during startup:
> From: David kerber [mailto:dcker...@verizon.net]
> Subject: Re: Is IBM Right About Java?
> I don't know, but always assumed that GC made the cleared memory
> available for the JVM to use for other things, not the OS.
Not really. The JVM always reserves the maximum heap size as virtual space,
Andre,
> Like, what if they come back next week and say that now they
> need 1 GB heap per instance ?
>
Sometimes I lose sleep thinking about that scenario. :-)
--Eric
Disclaimer - February 8, 2011
This email and any files transmitted with it are confidential and intended
solely for
> Daniel,
>
> On 2/8/2011 4:56 PM, Daniel Savard wrote:
> > However, increasing this limit for all instances may lead to a
> > situation where enough instances are claiming more memory
> at the same
> > time and beyond the physical memory available.
>
> Exactly. With the low-memory limit on ea
Now of course, you could just add some RAM, and send the bill for the upgrade to the
unreasonable software vendor.
Or to the customer, or to whoever decided to upgrade to this new version which requires
more resources.
Like, what if they come back next week and say that now they need 1 GB heap p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
On 2/8/2011 4:56 PM, Daniel Savard wrote:
> However, increasing this limit for all instances may lead to a
> situation where enough instances are claiming more memory at the same
> time and beyond the physical memory available.
Exactly. With
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 2/8/2011 5:32 PM, Christopher Schultz wrote:
> All,
>
> On 2/4/2011 9:05 PM, Mark Thomas wrote:
>> All users are recommended to upgrade to a Tomcat version with the
>> work-around. Users unable to upgrade can filter malicious requests via a
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 2/4/2011 9:05 PM, Mark Thomas wrote:
> All users are recommended to upgrade to a Tomcat version with the
> work-around. Users unable to upgrade can filter malicious requests via a
> Servlet filter, an httpd re-write rule (if Tomcat is behind a
2011/2/8 Robinson, Eric
>
> Obviously I need to understand this better. If all instances are set to
> -Xmx512M and then one instance peaks to 512M and even tries to go above
> that (and therefore generates an OOME) how does that impact the other
> instances? Does an OOME mean there is no more mem
Chris,
> On 2/8/2011 3:16 PM, Robinson, Eric wrote:
> > This is great feedback, Chuck. Right now we have 200+ instances
> > running on the same server, most of which are set to 64MB
> min and max
> > heap. Like I daid, we do not see OOM messages or paging,
> and top shows
> > about 27GB of 32
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
On 2/8/2011 3:16 PM, Robinson, Eric wrote:
> This is great feedback, Chuck. Right now we have 200+ instances running
> on the same server, most of which are set to 64MB min and max heap. Like
> I daid, we do not see OOM messages or paging, and t
> pid's using a mail client that uses header information to
> track threads.
> So, if you started this thread by hitting "reply" to an
> existing topic then changed the subject and content, the
> header thread tracking info will still be present. Thus, to
> him, it will appear as though you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tiago,
Marking off-topic.
On 2/7/2011 6:45 AM, Tiago Batista wrote:
> During development, I need to run two web services that chat amongst
> themselves on the development server. I think I am hitting the issue
> mentioned on [1], however I could not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stevo,
On 2/8/2011 4:31 AM, Stevo Slavić wrote:
> I don't see support for
> ordering in @WebFilter annotation. Am I missing something?
I don't see anything that would allow an ordering to be specified.
> But if [programmatically adding] is the only
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 2/8/2011 2:51 PM, Mark Thomas wrote:
> Finally, you are committer and all the docs are commit-then-review. If
> you have improvements just commit them.
Yes, but I find it makes sense to discuss these things before just doing
them. CTR is onl
pid's using a mail client that uses header information to track threads.
So, if you started this thread by hitting "reply" to an existing topic
then changed the subject and content, the header thread tracking info
will still be present. Thus, to him, it will appear as though you
hijacked a thre
> > As I understand it, it would actually not work because
> instances that
> > peak at 512M but then go back down to, say, 128M, would still never
> > return the unused memory to the OS so it can be used by
> other instances.
>
> Not true - that's the whole point of the -Xms setting. If GC
> > Saw this statement on an IBM web site:
>
> Please don't hijack threads.
>
> Start a new email to the list, just like you would to a person.
>
>
I'm not sure what you are referring to. I started this as a new thread
and so far it has not wandered off topic at all. I'm especially
appreciati
On 2/8/11 4:27 PM, Robinson, Eric wrote:
> Saw this statement on an IBM web site:
Please don't hijack threads.
Start a new email to the list, just like you would to a person.
p
signature.asc
Description: OpenPGP digital signature
On 2/8/11 4:27 PM, Robinson, Eric wrote:
> Saw this statement on an IBM web site:
Please don't hijack threads.
Start a new email to the list, just like you would to a person.
p
signature.asc
Description: OpenPGP digital signature
On 08/02/2011 18:06, Christopher Schultz wrote:
> Brian,
>
> On 2/4/2011 8:33 PM, Brian Cross wrote:
>> Thanks very much Chris, Chuck, and Mark. I did indeed have
>
>> org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true in my CATALINA_OPTS.
>
>> I remember setting that a long time ago to fix a p
On 08/02/2011 09:31, Stevo Slavić wrote:
> Hello Tomcat users,
>
> Now that Tomcat 7 is out with Servlet 3.0 support, I've been trying
> out new features it brings. In pre 3.0 servlet era, one would specify
> filter in web.xml and order they are defined in the xml would
> determine order filters w
On 08/02/2011 07:41, Michael McCutcheon wrote:
> Do I need something in web.xml?
Yes.
> Or do I need to declare something special on the servlet that calls the
> login method?
No.
> Do I need a section? If so, What should it be populated
> with?
Yes. I'd just configure it as BASIC.
Mark
On 08/02/2011 18:58, Reinwald Warapen wrote:
> Hey,
> I am facing a very weird problem when trying to read a cookie who's
> value has a colon.
>
> The issue faced is that when a request is routed from a jsp the cookie
> versions are messed up. But when the servlet is directly called the
> versions
> From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]
> Subject: RE: Is IBM Right About Java?
> So are you saying it will reduce the upper consumed heap?
It should, if you reduce the -Xms value. Might take a while to observe the
effect.
> Our core load is from 9am - 7pm CST, and we hav
Chuck,
So are you saying it will reduce the upper consumed heap? I have -Xms =
-Xmx, so maybe that's why I never see a reduction. Our core load is
from 9am - 7pm CST, and we have virtually nothing from 11pm to 5am. So
if low heap usage should ever cause the JVM to drop the consumed heap,
that i
Hey,
I am facing a very weird problem when trying to read a cookie who's
value has a colon.
The issue faced is that when a request is routed from a jsp the cookie
versions are messed up. But when the servlet is directly called the
versions are maintained as expected . Ive written a small test
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com]
> Subject: RE: Is IBM Right About Java?
> As I understand it, it would actually not work because instances that
> peak at 512M but then go back down to, say, 128M, would still never
> return the unused memory to the OS so it can be used by o
> On 2/8/2011 12:27 PM, Robinson, Eric wrote:
> >>> I would like to set all JVMs to -Xms=32M -Xmx=512M and let
> >> the system
> >>> figure out how much memory each instance really needs.
> >>
> >> That should work, at the expense of some thrashing of the
> heap size
> >> as the load waxes and wa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 2/4/2011 8:33 PM, Brian Cross wrote:
> Thanks very much Chris, Chuck, and Mark. I did indeed have
>
> org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true in my CATALINA_OPTS.
>
> I remember setting that a long time ago to fix a problem, bu
On 2/8/2011 12:27 PM, Robinson, Eric wrote:
I would like to set all JVMs to -Xms=32M -Xmx=512M and let
the system
figure out how much memory each instance really needs.
That should work, at the expense of some thrashing of the
heap size as the load waxes and wanes.
As I understand it, it w
> > I would like to set all JVMs to -Xms=32M -Xmx=512M and let
> the system
> > figure out how much memory each instance really needs.
>
> That should work, at the expense of some thrashing of the
> heap size as the load waxes and wanes.
>
As I understand it, it would actually not work becaus
Thanks guys! I'm definitely running the a 64 bit JRE. I just could
have sworn that an earlier version of the 32/64 bit installation put the
procrun registry entries in the 64 bit registry location.
Oh well, doesn't matter. Thanks for the feedback!
Tim
On 08/02/2011 10:26 AM, Jeffrey Janne
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com]
> Subject: RE: Is IBM Right About Java?
> I would like to set all JVMs to -Xms=32M -Xmx=512M and let the
> system figure out how much memory each instance really needs.
That should work, at the expense of some thrashing of the heap size as
Thanks for the input, everyone. I see there is mostly agreement on this
question. Once the OS allocates memory to the JVM, the OS never gets it
back. GC does not return memory to the OS.
This is unfortunate behavior for those of us who stack multiple
instances on tomcat/java on the same server as
> From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]
> Subject: RE: Is IBM Right About Java?
> if the server experiences a hit on load and increases the
> heap, it remains at that level.
This is controlled by the -Xms setting; if your current heap is less than -Xms,
GC will not retur
On 2/8/2011 11:27 AM, Robinson, Eric wrote:
Saw this statement on an IBM web site:
"Most JVMs grow towards the upper heap limit (-Xmx/-mx options) when
more memory is required, and do not return memory to the operating
system, even if the memory is no longer needed, until the JVM process
termina
Hi,
This scenario is working as expected on Tomcat 7.0.8, and not working as
expected on Tomcat 6.0.32.
I found the mail thread [1] but one of the proposed solutions there is to
deploy ROOT app which is not a solution for my system environment.
I created a bug report [2] with a proposal.
Regards
I have a JVM heap monitor that sends emails when the upper limit
changes, and this appears to be true. The GC still works, that is, used
heap continues to fluctuate up and down within the current upper limit,
but if the server experiences a hit on load and increases the heap, it
remains at that le
Dear Eric:
Nop, the GC process returns the memory to the memory pool allocated by the
JVM, so the JVM never exhaust its memory resources. The Xmx parameter indeed
indicates the maximum amount of memory from the system that the JVM can use
and the IBM assertion is true, the JVM never returns the me
Saw this statement on an IBM web site:
"Most JVMs grow towards the upper heap limit (-Xmx/-mx options) when
more memory is required, and do not return memory to the operating
system, even if the memory is no longer needed, until the JVM process
terminates."
Is this true? If thought returning unne
On Tue, Feb 8, 2011 at 8:05 PM, André Warnier wrote:
>> On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote:
>>>
>>> James Godrej wrote:
>>> To avoid this same issue in the future, maybe you should set JAVA_HOME or
>>> JRE_HOME to a "higher-level" link to the Java installation direct
On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote:
James Godrej wrote:
To avoid this same issue in the future, maybe you should set JAVA_HOME or
JRE_HOME to a "higher-level" link to the Java installation directory.
Usually, Ubuntu/Debian set this as /usr/lib/jvm/java-6-sun for example, an
> -Original Message-
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
>
> > -Original Message-
> > From: Timothy Astle [mailto:timothy.as...@caris.com]
> > Sent: Tuesday, February 08, 2011 8:14 AM
> > To: users@tomcat.apache.org
> > Subject: Registry settings locatio
> -Original Message-
> From: Timothy Astle [mailto:timothy.as...@caris.com]
> Sent: Tuesday, February 08, 2011 8:14 AM
> To: users@tomcat.apache.org
> Subject: Registry settings location for Procrun after a 64 bit
> installation
>
> Hi all,
>
> I just installed Tomcat 6.0.32 on my Windo
2011/2/8 Timothy Astle :
> Hi all,
>
> I just installed Tomcat 6.0.32 on my Windows 7, 64 bit OS (using a 64 bit
> JRE) and I noticed that there all of the Procrun parameters are stored under
> the Wow6432Node. Shouldn't those values be under HKLM\SOFTWARE\Apache
> Software Foundation\Tomcat\6.0 w
2011/2/8 James Godrej :
> I could not understand your suggestion completely.
> Sakai needs JAVA_HOME in a particular fashion.
> https://confluence.sakaiproject.org/display/DOC/Sakai+2.7
> see the binary version on the link I mentioned
Where is "particular fashion" there? The document says
JAVA_HOM
Hi all,
I just installed Tomcat 6.0.32 on my Windows 7, 64 bit OS (using a 64
bit JRE) and I noticed that there all of the Procrun parameters are
stored under the Wow6432Node. Shouldn't those values be under
HKLM\SOFTWARE\Apache Software Foundation\Tomcat\6.0 where the other keys
are located
On Tue, Feb 8, 2011 at 6:18 PM, André Warnier wrote:
> James Godrej wrote:
>>
>>
>>
>> - Original Message
>> From: James Godrej
>> To: Tomcat Users List
>> Sent: Tue, 8 February, 2011 3:59:32 PM
>> Subject: Re: problem in shutting down Tomcat server
>>
>>
>>
>>
>> On Tue, Feb 8, 2011
James Godrej wrote:
- Original Message
From: James Godrej
To: Tomcat Users List
Sent: Tue, 8 February, 2011 3:59:32 PM
Subject: Re: problem in shutting down Tomcat server
On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko
wrote:
2011/2/8 James Godrej :
On Tue, Feb 8, 2011 at
- Original Message
From: James Godrej
To: Tomcat Users List
Sent: Tue, 8 February, 2011 3:59:32 PM
Subject: Re: problem in shutting down Tomcat server
On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko
wrote:
> 2011/2/8 James Godrej :
>>
>> On Tue, Feb 8, 2011 at 2:20 PM, Konst
I think there was another thread not long ago (2 months max) on the same
subject.
May be worth searching the archives.
It would also help if you provided an exact version of Tomcat.
Violeta Georgieva wrote:
Hi,
I have the following use case:
I have no web applications deployed on Tomcat.
Neve
Hi,
I have the following use case:
I have no web applications deployed on Tomcat.
Nevertheless when I request a web application: http://localhost:8080/testapp
Instead of the expected 404 Not Found I'm receiving 400 Bad Request.
Can you explain why is that. Typically such response is returned in ca
2011/2/4 Christopher Schultz :
> "
> Various JNDI realm improvements for Active Directory. These include the
> ability to specify a default role, optional handling for nested roles
> and an option to ignore PartialResultExceptions (markt).
> "
>
> Unfortunately, there's no bug number listed and no
Thanks All for the information provided.
RB
On Tue, Feb 8, 2011 at 4:02 PM, Konstantin Kolinko
wrote:
> 2011/2/6 Caldarale, Charles R :
> >
> >> We have a simpleTCP cluster built between 2 Tomcat 6.0.18 nodes
> >
> > It would be beneficial for you to move up to a newer level - that one is
> over
On 08/02/11 11.29, James Godrej wrote:
ls -l /usr/lib/jvm/java-6-sun-1.6.0.22/bin/java
>> lrwxrwxrwx 1 root root 15 2011-02-04 12:52
>> /usr/lib/jvm/java-6-sun-1.6.0.22/bin/java -> ../jre/bin/java
>
> Those are permissions of the symlink, not of the actual file.
When I type ls -l for this I
2011/2/6 Caldarale, Charles R :
>
>> We have a simpleTCP cluster built between 2 Tomcat 6.0.18 nodes
>
> It would be beneficial for you to move up to a newer level - that one is over
> 2.5 years old, and lots and lots of fixes have gone in since then.
>
>> when we use another IP like 172.x.x.x the
On Tue, Feb 8, 2011 at 2:51 PM, Konstantin Kolinko
wrote:
> 2011/2/8 James Godrej :
>>
>> On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko
>> wrote:
>>> 2011/2/8 James Godrej :
./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
./catalina.sh: 373: /usr/lib/jv
Hello Tomcat users,
Now that Tomcat 7 is out with Servlet 3.0 support, I've been trying
out new features it brings. In pre 3.0 servlet era, one would specify
filter in web.xml and order they are defined in the xml would
determine order filters would get applied. I don't see support for
ordering in
2011/2/8 James Godrej :
>
> On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko
> wrote:
>> 2011/2/8 James Godrej :
>>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
>>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
>>> ./catalina.sh: 373: /usr/
James Godrej wrote:
...
I repeat :
Are you sure that when you are *the same user as the one under which Tomcat
normally runs*, you can find that "java", by walking each component of the
above path one after the other ?
Like :
su - tomcat55
cd /usr
cd lib
cd jvm
.. and so on
I have not change
On Tue, Feb 8, 2011 at 2:20 PM, Konstantin Kolinko
wrote:
> 2011/2/8 James Godrej :
>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
>> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bi
The title says "problem in shutting down..", but this seems more about starting
up.
Are you hijacking another thread ?
Apart from that, regarding :
./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
There seems to be something funny with that path.
In catalina.sh, this pat
2011/2/8 James Godrej :
> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
> ./catalina.sh: 373: /usr/lib/jvm/java-6-sun-1.6.0.20/bin/java: not found
>
> Upon seeing the last 3 lines I verified in the
I am using apache-tomcat-5.5.31
on a Ubuntu server.My services websites were running perfectly fine until today
morning.
I see it down.
Here is a link http://sakai.openitup.in
It is running in a reverse proxy situation and I see following log
[Tue Feb 08 12:55:15 2011] [error] proxy: AJP: disabl
70 matches
Mail list logo