> > OK. He was my mistake i thought that mod_jk automatically takes
> > environment variables and puts them in header. But, yes, as you said
> > this is done by AAI. So right encoding should be done by AAI side. Thank
> > you for clearing that up.
>
> Let us know what AAI says about this.
OK.
On 29/01/2010 00:31, Martin Grotzke wrote:
Hi,
is it somehow possible to have a custom nested element below the Manager
element in server.xml/context.xml? E.g.
where the MyManager class has a property fooBar?
If the MyManager class has a field called fooBar, with matching getter
and s
Hi Pid,
what you describe is correct and works, I've implemented a Manager
implementation that uses simple attributes until now (for memcached
based session failover, memcached-session-manager:
http://code.google.com/p/memcached-session-manager/ ).
However, now I want to support a complex, nested
Chuck and Chris,
Thanks for yor explanations,
Let me, try to summarize what I understand adding some extra info and ask my
questions.
Is following classifications true for memory usage of Java ? If not please
correct it.
A. Java memory usage when application is started as a windows service:
On 29/01/2010 11:33, Martin Grotzke wrote:
Hi Pid,
what you describe is correct and works, I've implemented a Manager
implementation that uses simple attributes until now (for memcached
based session failover, memcached-session-manager:
http://code.google.com/p/memcached-session-manager/ ).
How
On 29/01/2010 14:11, Hüsnü Þentürk wrote:
Chuck and Chris,
Thanks for yor explanations,
Let me, try to summarize what I understand adding some extra info and ask my
questions.
Is following classifications true for memory usage of Java ? If not please
correct it.
A. Java memory usage when ap
> From: Hüsnü Þentürk [mailto:husnusent...@yahoo.com]
> Subject: Re: tomcat memory usage
>
> Is following classifications true for memory usage of Java ?
Pretty much, but you're missing ancillary bits such as libraries, OS-created
structures, statically linked code, dynamically generated code, s
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: tomcat memory usage
> The overall size of the heap is controlled by 3 different groups of
> settings, not just the one you referred to:
> -Xms512M -Xmx512M
> -XX:NewSize=32m -XX:MaxNewSize=4096m
> -XX:PermSize=64m -XX:MaxPermSi
On 29/01/2010 15:13, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: tomcat memory usage
The overall size of the heap is controlled by 3 different groups of
settings, not just the one you referred to:
-Xms512M -Xmx512M
-XX:NewSize=32m -XX:MaxNewSiz
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: tomcat memory usage
>
> So the MaxNewSize, despite often being seen at high values in
> jmap outputs, is actually only applicable if the 'mx' allows it?
Correct. Do you have an example of an erroneous MaxNewSize display? I seem to
recall som
Hi All,
Simple question, how do I keep and view the source code generated when
a JSP is compiled?
Thanks,
Fred
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apac
> From: fred basset [mailto:fredbasset1...@gmail.com]
> Subject: Viewing JSP's compiled code
>
> Simple question, how do I keep and view the source code generated when
> a JSP is compiled?
Look in Tomcat's work directory - several levels deep, organized by webapp name.
- Chuck
THIS COMMUNICAT
Fred, there is a directory under the tomcat directory called "work".
Follow that structure through to the end.. it will be different
depending on your apps, but it starts out with
"work->Catalina->{host}->{app}->org->apache->jsp", and even more if you
have jsp's within sub-directories. You should
Thanks, found it.
What I am trying to do is access a variable from a forEach loop. In
the example below I want to call a java function to do some
calculations on each "p" variable in the loop and output the results
of the calculation in the table. How do I do this?
A really "poor man's" way of doing this is to add a "getXXX" in "p"s class that
calls
The java function and returns the value. Then, you could just write something
like:
${p.XXX}
Replacing XXX with the name of the function.
-Original Message-
From: fred basset [mailto:fredbasset1...
On 29/01/2010 15:27, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: tomcat memory usage
So the MaxNewSize, despite often being seen at high values in
jmap outputs, is actually only applicable if the 'mx' allows it?
Correct. Do you have an example of an erroneous
Yeah I would do this but the p in this case is a class auto generated
by Hibernate, and I don't know yet if it's possible to customize those
auto generated classes (but I'm going to find out).
On Fri, Jan 29, 2010 at 9:18 AM, Joseph Morgan
wrote:
> A really "poor man's" way of doing this is to ad
If the basic functions are there, you can do something like:
And then use:
${result}
-Original Message-
From: fred basset [mailto:fredbasset1...@gmail.com]
Sent: Friday, January 29, 2010 11:47 AM
To: Tomcat Users List
Subject: Re: Viewing JSP's compiled code
Yeah I would do this but
http://github.com/claymccoy/ExecutableWar
Here is an example project for people interested in making an executable war,
or a Groovy script to start embeded Tomcat.
The idea was to take my real project and remove everything not relevant to this
example. But it doesn't work anymore. :(
The scr
6-7 weeks ago, we built up some new servers and started having sudden
failures... Tomcat just stops with no error message, no system error messages,
nothing that I have been able to find so far.
To refresh everyone's memory, this is a new server, a Dell T110 with a Xeon
3440 processor and 4GB m
> From: Clay McCoy [mailto:cmc...@acteksoft.com]
> Subject: Embedded tomcat example
>
> There are no errors, why would the embedded Tomcat server just stop?
Most (possibly all) Tomcat threads are daemons, so they terminate automatically
when the last non-daemon thread exits. If your lead thread
On 29/01/2010 19:54, Carl wrote:
> 6-7 weeks ago, we built up some new servers and started having sudden
> failures... Tomcat just stops with no error message, no system error
> messages, nothing that I have been able to find so far.
>
> To refresh everyone's memory, this is a new server, a Dell
Mark,
Thanks for your quick reply.
Can I run the 32 bit JVM on the 64 bit linux (I think I can but just wanted
to confirm)?
Thanks,
Carl
- Original Message -
From: "Mark Thomas"
To: "Tomcat Users List"
Sent: Friday, January 29, 2010 3:18 PM
Subject: Re: Tomcat dies suddenly
On
> From: Carl [mailto:c...@etrak-plus.com]
> Subject: Re: Tomcat dies suddenly
>
> Can I run the 32 bit JVM on the 64 bit linux
Yes (but not the other way around, of course).
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by
OK, that's what I thought. Died 8 times so far this afternoon... different
than the past although we have unusally heavy volume this afternoon. Don't
understand but 32 bit here I come.
Thanks,
Carl
- Original Message -
From: "Caldarale, Charles R"
To: "Tomcat Users List"
Sent: Fr
Thanks for your response.
So my main application probably keeps going because it is hooked up to a
database, JMS broker, and several other things I guess.
What is the simple and preferred way to keep Tomcat going without adding
anything like that.
I would expect it to be very common for someone t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mirko,
On 1/29/2010 4:02 AM, Mirko Solic wrote:
> Secondly i try to define JkEnvVar directive for non existent environment
> variable and i added also default value with some no ISO-8859-1
> characters. My conf file is in utf8 encoding so default valu
On Fri, Jan 29, 2010 at 1:17 PM, Clay McCoy wrote:
> What is the simple and preferred way to keep Tomcat going without adding
> anything like that.
Run it normally? :-)
Seriously, I'm curious about the use case for "embedded Tomcat" --
embedded in what? What's the goal? I'm totally in the dark
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fred,
On 1/29/2010 12:07 PM, fred basset wrote:
> What I am trying to do is access a variable from a forEach loop. In
> the example below I want to call a java function to do some
> calculations on each "p" variable in the loop and output the results
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Clay,
On 1/29/2010 4:17 PM, Clay McCoy wrote:
> Thanks for your response.
> So my main application probably keeps going because it is hooked up to a
> database, JMS broker, and several other things I guess.
> What is the simple and preferred way to k
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Embedded tomcat example
>
> That's how Tomcat typically "waits forever" before stopping,
> rather than stopping immediately after initialization.
>
> You could do something like that.
>
> Or, you could just do Threa
Thanks everyone for the help. I ended up making my original thread sleep
indefinitely. I'm not happy about that, but it works.
There were a lot of replies asking "why". Again, this is an example project.
Everything company specific and irrelevant to the example has been removed. It
has no p
32 matches
Mail list logo