Thanks for following up Charles.
I have one more question about catalina.* logs.
I made some changes in my webapps config (snippet below) and I got logs in
catalina.out as well as in a file specified by FileAppender. The problem
seems to be because of my wrong config where I used CONSOLE appender
> From: Johan Martinez [mailto:jmart...@gmail.com]
> Subject: Re: newbie logging question: JULI or log4j or both?
>
> Tomcat was not installed using CentOS package manager, but it
> is a core binary package downloaded from tomcat project site.
Good; that means we don't have to guess what any repa
> From: banto [mailto:banto...@gmail.com]
> Subject: set-cookie
>
> Now the code is something like:
>
> public class FrontController extends HttpServlet {
>
> public void init() throws ServletException {
>
> HashMap products = new HashMap();
> Product p = new P
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: set-cookie
>
> // Store products in the ServletContext
> getServletContext().setAttribute("products", products);
>
> Presumably, if you store something in the context, it is because you
> want to retrieve it later (or else,
Thanks for the reply Charles.
It's a CentOS 5.4 system with Sun JDK 1.5 and tomcat-5.5.28 version. Tomcat
was not installed using CentOS package manager, but it is a core binary
package downloaded from tomcat project site.
I downloaded a fresh copy of tomcat package and took a diff of it against
banto wrote:
Hi gurus,
my problem here is that i'm trying to understnad a servlet code that makes
tomcat to send the
Set-Cookie: JSESSIONID=8BCB60D6F6B9394B4ABD2FDD007BDB39; Path=/store
header.
Now the code is something like:
public class FrontController extends HttpServlet {
public
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale,
On 5/20/2010 6:40 PM, André Warnier wrote:
Dale Ogilvie wrote:
...
A free gift can vary greatly in it's final value, depending on it's
actual usefulness and how many hidden costs it brings with it.
I think tha
Hi gurus,
my problem here is that i'm trying to understnad a servlet code that makes
tomcat to send the
Set-Cookie: JSESSIONID=8BCB60D6F6B9394B4ABD2FDD007BDB39; Path=/store
header.
Now the code is something like:
public class FrontController extends HttpServlet {
public void init() th
Hi
I would like to enable singlesignon on vertical cluster environment
[multi-nodes on multiple hosts].
We are using clustersinglesignon under host element, and this works in
horizontal cluster, but does not work in vertical cluster environment.
Is there any way to make this work as part of tomc
Hi Chris,
Thanks for your mail. Actually we were analysing our proxy server logs and
saw that a lot of URLs with jsessionid appended were being cached and this
even includes static files. We saw request for static files like images and
.js files being appended with jsessionid. So i think it happen
Hi Chris,
Thanks for this suggestion. Just to be sure I'm understanding correctly,
the procedure would be
1. Add an error-page element to my xml doc that will be visited whenever an
exception is generated from my JSP or servlet.
2. Configure valve to output a stack trace and the original reques
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/21/2010 8:27 AM, André Warnier wrote:
> Pid wrote:
>> On 21/05/2010 12:57, kent.anders...@tieto.com wrote:
>>> Hi,
>>>
>>> We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20
>
> on Solaris 2.10.
>
> That may have been a 16-bit vers
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Tomcat 6.0.20 is running out of memory
>
> MaxHeap=128MiB and MaxNewSize=4GiB? That doesn't look right
> to me.
It's fine. Newer JVMs automatically set MaxNewSize to a nearly infinite value.
(In other words, it's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kent,
On 5/21/2010 8:25 AM, kent.anders...@tieto.com wrote:
> Heap Configuration:
>MinHeapFreeRatio = 40
>MaxHeapFreeRatio = 70
>MaxHeapSize = 134217728 (128.0MB)
>NewSize = 2228224 (2.125MB)
>MaxNewSize = 42949
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kent,
On 5/21/2010 6:57 AM, kent.anders...@tieto.com wrote:
> java.lang.OutOfMemoryError: Java heap space
> [...]
> at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
> at org.apache.jasper.compiler.Localizer.(Localizer.jav
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
On 5/21/2010 12:07 PM, Richard Nduka wrote:
> Thanks again for your reply.
>
> 1. We are not using clustering.
>
> 2. I have checked in the locations mentioned and more and cannot see
> anywhere that cookies is disabled.
>
> 3. However wha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
On 5/21/2010 11:45 AM, Richard Nduka wrote:
> Secondly, we have not disabled cookies. In our context, we have cookies set
> to true and cookie is enabled in the browser. For some reason, tomcat still
> re-writes the URL and includes the jsess
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/20/2010 5:16 PM, André Warnier wrote:
> Christopher Schultz wrote:
> ...
>>
>> I wonder if a patch could be written for the DefaultServlet to do
>> something like this: if compression has been enabled on the ,
>> the request is for file "f
On 21/05/2010 17:09, Richard Nduka wrote:
> It is a direct request. Typically, it happens for the first time when a user
> enters the application url in a browser and the login page appears with the
> jsessionid appended in the url.
That is expected. Tomcat doesn't know if the browser supports coo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ðavîd,
On 5/20/2010 10:08 PM, Ðavîd Låndïs wrote:
> OK I'll investigate a little more at work tomorrow. I'm hoping the
> issue isn't that Tomcat is swallowing the exceptions somewhere.
Tomcat is very unlikely to swallow such exceptions.
> Incidental
It is a direct request. Typically, it happens for the first time when a user
enters the application url in a browser and the login page appears with the
jsessionid appended in the url.
Thanks.
On Fri, May 21, 2010 at 5:05 PM, Pid wrote:
> On 21/05/2010 16:59, Caldarale, Charles R wrote:
> >> Fr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale,
On 5/20/2010 6:40 PM, André Warnier wrote:
> Dale Ogilvie wrote:
>>
> ...
>>
>> A free gift can vary greatly in it's final value, depending on it's
>> actual usefulness and how many hidden costs it brings with it.
>>
> I think that now you are
Thanks again for your reply.
1. We are not using clustering.
2. I have checked in the locations mentioned and more and cannot see
anywhere that cookies is disabled.
3. However what surprises me is the fact that if i change the port to use
HTTP (8080) then no jsessionid is appended in the URL but
On 21/05/2010 16:59, Caldarale, Charles R wrote:
>> From: Richard Nduka [mailto:richies4...@gmail.com]
>> Subject: Re: jsessionid problem
>
>> First of all, we are not fronting tomcat with any other web server or
>> application server apart from the proxy server (Squid) that seats in
>> front of t
> From: Richard Nduka [mailto:richies4...@gmail.com]
> Subject: Re: jsessionid problem
> First of all, we are not fronting tomcat with any other web server or
> application server apart from the proxy server (Squid) that seats in
> front of tomcat.
Are you using clustering?
> Secondly, we have n
Hi Chuck/Peter,
Thanks guys for your mail.
First of all, we are not fronting tomcat with any other web server or
application server apart from the proxy server (Squid) that seats in front
of tomcat.
Secondly, we have not disabled cookies. In our context, we have cookies set
to true and cookie is
On 21 May 2010 16:16, Caldarale, Charles R wrote:
> > From: Richard Nduka [mailto:richies4...@gmail.com]
> > Subject: jsessionid problem
> >
> > I have a few quesations i want to ask about jessionid in tomcat.
>
> Thanks for asking twice - two minutes apart. A tad impatient, are we?
>
> Also too
> From: Richard Nduka [mailto:richies4...@gmail.com]
> Subject: jsessionid problem
>
> I have a few quesations i want to ask about jessionid in tomcat.
Thanks for asking twice - two minutes apart. A tad impatient, are we?
Also too impatient to mention the Tomcat version, JVM you're using, platf
Richard, there are two ways of maitaining sessions:
1) Using cookies (generally Tomcat's preferred way);
2) Using URL rewriting (generally Tomcat's less preferred way, used where a
client has turned off cookies).
There are no other ways of sending session IDs that are supported by all Web
browsers
Hi,
I have a few quesations i want to ask about jessionid in tomcat.
1. In our web based application which runs on HTTPS, we have observed that
the jsessionid is being appended to the URL. On close examination, we have
observed that this is being added by tomcat to the url (Handled by the
encodeR
Hi,
I have a few quesations i want to ask about jessionid in tomcat.
1. In our web based application which runs on HTTPS, we have observed that
the jsessionid is being appended to the URL. On close examination, we have
observed that this is being added by tomcat to the url (Handled by the
encodeR
On 21/05/2010 15:22, haveaguess wrote:
>
> Ive got the same problem - did anyone figure out what is happening and why
> tomcat is caching files behind symlinks?
This thread is 9 months old.
You might consider starting a new thread, be specific about your
versions & platform.
p
> Epithemeus w
On 21/05/2010 13:25, kent.anders...@tieto.com wrote:
> Hi,
>
> This is what jmap -heap gives:
>
> using thread-local object allocation.
> Mark Sweep Compact GC
>
> Heap Configuration:
>MinHeapFreeRatio = 40
>MaxHeapFreeRatio = 70
>MaxHeapSize = 134217728 (128.0MB)
>NewSize
Ive got the same problem - did anyone figure out what is happening and why
tomcat is caching files behind symlinks?
Epithemeus wrote:
>
> Thanks Mark.
>
> I went through the documentation but the problem persists. I am using
> Tomcat 6.0 and have tried including cachingAllowed="false" in
> $CA
Pid wrote:
On 21/05/2010 12:57, kent.anders...@tieto.com wrote:
Hi,
We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20
on Solaris 2.10.
That may have been a 16-bit version.
We have -Xmx128M, is that to small?
in which case this would be no mean feat.
Hi,
This is what jmap -heap gives:
using thread-local object allocation.
Mark Sweep Compact GC
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 134217728 (128.0MB)
NewSize = 2228224 (2.125MB)
MaxNewSize = 4294901760 (4095.9375MB)
On 21/05/2010 12:37, André Warnier wrote:
> Pid wrote:
> ...
>
>>
>> jmap -heap
>>
> Mmmm. Is the above the /real/ explanation of your so-called crystal
> ball ? I've always been quite sceptical about it. But now we know the
> trick. People, have you noticed ? He does that every time. That's
On 21/05/2010 12:57, kent.anders...@tieto.com wrote:
> Hi,
>
> We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20 on Solaris 2.10.
> We have -Xmx128M, is that to small?
Maybe. :)
What did the jmap -heap command produce?
p
> Best Regards
> /Kent
>
> -Original Message-
> From: P
Hi,
We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20 on Solaris 2.10.
We have -Xmx128M, is that to small?
Best Regards
/Kent
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: den 21 maj 2010 13:20
To: Tomcat Users List
Subject: Re: Tomcat 6.0.20 is running out of memor
On Fri, May 21, 2010 at 9:33 AM, wrote:
>
> Hi all,
>
> I work on JavaMelody and I can speak about the question of jconsole or
> javamelody for Tomcat monitoring.
>
> The main differences between jconsole and javamelody is IMHO that jconsole
> will
> be used occasionally in QA or production for
Pid wrote:
...
jmap -heap
Mmmm. Is the above the /real/ explanation of your so-called crystal
ball ? I've always been quite sceptical about it. But now we know the
trick. People, have you noticed ? He does that every time. That's how
he knows all that stuff.
On 21/05/2010 11:57, kent.anders...@tieto.com wrote:
> Hi,
>
> The Tomcat webserver 6.0.20 we are using has run out of memory.
> Got the following message in the Catalina.out file:
> less /opt/jakarta/tomcat/logs/catalina.out
> ...
> java.lang.OutOfMemoryError: Java heap space
> at java.ut
Hi,
The Tomcat webserver 6.0.20 we are using has run out of memory.
Got the following message in the Catalina.out file:
less /opt/jakarta/tomcat/logs/catalina.out
...
java.lang.OutOfMemoryError: Java heap space
at java.util.Properties$LineReader.(Properties.java:389)
at java.util.P
On 21/05/2010 03:08, Ðavîd Låndïs wrote:
> On Thu, May 20, 2010 at 9:51 PM, Caldarale, Charles R
> wrote:
>>> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
>>> Subject: Re: user cancels download attachment
>>>
>>> I will try to debug deeper down into the platform.
>>
>> What connector are you usin
Hi all,
I work on JavaMelody and I can speak about the question of jconsole or
javamelody for Tomcat monitoring.
The main differences between jconsole and javamelody is IMHO that jconsole will
be used occasionally in QA or production for a few minutes or a few hours,
whereas javamelody will be a
Ðavîd Låndïs wrote:
...
Incidentally, does anyone know what exception is supposed to be thrown
when a user cancels the attachment download?
I am bit out of my depth here, but presumably when the user does that,
the browser closes its (reading) side of the socket. Whatever process is
at the ot
46 matches
Mail list logo