Hello:
I have Tomcat 6.0.26 running behind Apache and am using the
JK Connector to communicate between them.
My application stops responding on occasion.
I added the jk status page to the web server and checked it
when the application becomes non-responsive.
The tomcat worker has this info:
W
Hi Cyrille,
We have the RemoteIpValve implemented already, thanks. The behaviour we are
seeing is occurring in the Connector, before the request even reaches the
valves. In this case, the request never reaches the valves as the redirect is
done within the connector.
Cheers,
Matt.
-Origina
"This is *open* source..."
Thx Capt. Obvious - very helpful ;-)
OK, so I now understand why it was chosen to perform the redirection in the
Connector rather than in a Valve; to remove unnecessary processing keeping the
redirect response as efficient as possible. I might lodge an enhancemen
Hello Matt,
I think the RemoteIpValve does what you need : it looks at http
headers filled in the request by preceding network components (layer 7
load balancer, ssl accelerator, etc) such as 'x-forwarded-for' to get
the real ip address and 'x-forwarded-proto' to get the http/https
protocol. A con
Rainer,
You are right. I had an error in the jvmroute hence my problem. Once I put the
correct node it worked.
Thank you for taking the time to respond.
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Thursday, June 17, 2010 9:54 AM
To: Tomcat Users List
S
On 17.06.2010 19:44, Jeffrey Nguyen (jeffrngu) wrote:
This question might be a little off topic, but I thought since it
involved tomcat web apps, I figured someone might know the answer.
I have Liferay EE 5.2.6 running on top of tomcat 6.0.26. Liferay has
an admin GUI page to allows me to cha
Ok, the problem is my misunderstanding of the process here. I thought
WebAppClassLoader always checked WEB-INF/lib before delegating; I see that
it actually delegates to the System loader first, then checks WEB-INF/lib,
and finally delegates to its own parent. So my comment earlier about "they
can'
Then you have to use
InitialContext # lookup("java:/comp/env/_Resource_Id_In_your_web_Xml").
As we said, if you want to inject dependencies to your classes, those classes
must be known by the container.
--Gurkan
From: marble4u
To: users@tomcat.apache.org
S
Hi Everyone,
This question might be a little off topic, but I thought since it
involved tomcat web apps, I figured someone might know the answer.
I have Liferay EE 5.2.6 running on top of tomcat 6.0.26. Liferay has
an admin GUI page to allows me to change log level settings for
different
> Time to hit the vendor around the head with the cluebat.
> If the app is happy with less heap space then increasing
> it is only going to cause problems - mainly that GC when it
> happens will take longer and trigger longer pauses. You can
> mitigate this with GC config (later VMs may make th
Thanks for the response pid. I am using Tomcat 6.0.26 with java 1.6 on
Windows XP.
I have two applications (application AU and AC) under same webapps. AC does
not have a context.xml though AU has. There is a dependency between AU
and AC and AC need to be started first at start up.
When I deployed
On 17.06.2010 16:33, Luis Esquivel wrote:
Hello,
I have a situation where my IIS tomcat load balancing configuration between 2
nodes keeps switching in every single request from the same browser.
The JSESSIONID changes every time I hit refresh on the browser because it
switches between the 2 n
Ok, it turned out to be either a bug (or a wrong configuration) of the
environment I was working with (GIS + embedded Jetty).
So, I ended up working around it. I write it down; hope it can be useful
for someone else.
The workaround is Jetty specific, but the same approach can be used with
To
On 17.06.2010 16:37, Konstantin Kolinko wrote:
2010/6/16:
Looking at section 10 of the 6.0 user guide, which describes classloading,
the text makes perfect sense and matches the way I understand things work.
However the summary at the end of the section "Class Loader Definitions"
looks wrong; i
check your windows NLB affinity setting for the cluster, should be set
to single. Sounds like it's off.
Luis Esquivel wrote:
Hello,
I have a situation where my IIS tomcat load balancing configuration between 2
nodes keeps switching in every single request from the same browser.
The JSESSIONID
@gurkan & Chris: actually I don't want to use the resource directly in a
servlet or JSP - due to architectural reasons - so is there a way to inject
resources into plain java classes?
@Pid: Thanks for the Information. I will check out the spec and hope that it
is not too much to read ;-)
And tha
2010/6/17 Felix Schumacher :
> For the moment I have written a filter, which sets a default encoding, as
> soon as Response.setContentType(String type) is called and
> type.startsWith("text/"). That works for the moment, but I would prefer the
> solution described in above thread.
I know that sett
>
> You're talking about having to change your app, but you've only
> described having to make modifications to a Tomcat internal support class.
>
> You seem to be saying that Tomcat has a compliancy issue - IMO the
> problem with leaving that unchallenged is that it breeds
> misunderstanding that
On 17/06/2010 15:23, Felix Schumacher wrote:
> My Question now is, should I file a bug to enhance DefaultServlet? If so
> would it be legal to include the patch from that discussion?
That is covered by section 5 of the ALv2, so yes it would be legal. Make
sure you correctly attribute it. I'd add t
On 17/06/2010 15:08, Marc Boorshtein wrote:
>>> Hi.
>>> I must say that, with my limited knowledge of the Tomcat internals taken
>>> into consideration, I tend to agree with Marc in this case, if he is
>>> right in claiming that the Tomcat Realm mixes authentication with
>>> authorization and does
Alan Coyne wrote:
Hi All,
I'm new to TomCat however I have managed to get JDK setup and Tomcat 6 running
on Linux 64bit server.
I've deployed an app via WAR file and all looks good.
So all that remains for me to do is confirgure a domain name to use the server
and be able to FTP to the install
Hi all,
I have some strange issues:
Enviroment: Windows 2003 R2 64 bits with Tomcat6 6.0.24 and Java6 1.6.0_20
64bits.
If I have some libraries that need to be loaded at startup so I've added in
catalina.bat: JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="C:\libs", start
tomcat with startup.bat, every
2010/6/16 :
>
> Looking at section 10 of the 6.0 user guide, which describes classloading,
> the text makes perfect sense and matches the way I understand things work.
> However the summary at the end of the section "Class Loader Definitions"
> looks wrong; it basically says that the search order
Hello,
I have a situation where my IIS tomcat load balancing configuration between 2
nodes keeps switching in every single request from the same browser.
The JSESSIONID changes every time I hit refresh on the browser because it
switches between the 2 nodes each time.
This was working at some po
Hi,
I have a character encoding problem with the DefaultServlet.
We use it to serve static html content, which is encoded in utf-8.
The DefaultServlet doesn't set characterset in the response, so the
browser looks for a meta-tag describing the encoding. Luckily these are set
in our content and t
"Caldarale, Charles R" wrote on 06/16/2010
09:55:19 PM:
> > From: peter_f...@blm.gov [mailto:peter_f...@blm.gov]
> > Subject: Re: Tomcat 6.0 documentation: is classloading description
> > correct?
> >
> > The docs say in one place that the order is one way (WebApp
> > first, then Boot, System and
>> Hi.
>> I must say that, with my limited knowledge of the Tomcat internals taken
>> into consideration, I tend to agree with Marc in this case, if he is
>> right in claiming that the Tomcat Realm mixes authentication with
>> authorization and does not allow to separate the two.
>
> Well, he said
2010/6/16 Jorge Moya :
> Hello guys.
> (...)
>
> Now, I've established a long conversation with the POI userlist and came to
> the conclusion I'm having some issues with some of the .jar files and
> classes. (...)
>
> Java version is 1.5.0_18-b02
> Windows version is Windows Server 2003 SP2
> Tomca
On Thu, Jun 17, 2010 at 9:11 AM, Mark Thomas wrote:
> On 17/06/2010 13:26, André Warnier wrote:
>> I must say that, with my limited knowledge of the Tomcat internals taken
>> into consideration, I tend to agree with Marc in this case, if he is
>> right in claiming that the Tomcat Realm mixes authe
On 17/06/2010 13:26, André Warnier wrote:
> Pid wrote:
>> On 17/06/2010 12:34, Marc Boorshtein wrote:
> I'm not looking to start a holy war here, but is there anything
> incorrect in what I said? Tomcat is a servlet container, the servlet
Yes.
You made a sweeping statement a
On 17/06/2010 14:33, David Fisher wrote:
> Hi All,
>
> Over here from POI where I helped Jorge track things down in Tomcat. I
> suggested he come over here for help, but he seems to have started at the
> beginning and is getting the exact same initial questions that were asked on
> POI User.
>
2010/6/17 Jonathan Jackson :
> The problem I have is that in my daily rolling catalina-[data].out I only
> get SEVERE level messages.
> Given the above configuration, my understanding from reading this (
> http://tomcat.apache.org/tomcat-6.0-doc/logging.html) is that FINE for the
> FileHandler woul
Hi All,
Over here from POI where I helped Jorge track things down in Tomcat. I
suggested he come over here for help, but he seems to have started at the
beginning and is getting the exact same initial questions that were asked on
POI User.
Here's what was determined. One of the webapps on his
Hi All,
I'm new to TomCat however I have managed to get JDK setup and Tomcat 6 running
on Linux 64bit server.
I've deployed an app via WAR file and all looks good.
So all that remains for me to do is confirgure a domain name to use the server
and be able to FTP to the installed app folder.
I've
On 17/06/2010 13:26, André Warnier wrote:
> I must say that, with my limited knowledge of the Tomcat internals taken
> into consideration, I tend to agree with Marc in this case, if he is
> right in claiming that the Tomcat Realm mixes authentication with
> authorization and does not allow to separ
On 17/06/2010 01:41, Matt Peterson wrote:
> I can't find any documentation on the order of events for the Connector, so
> I'm not sure what other decisions get made based on the request attributes,
> but assume there are others.
This is *open* source...
> Is there another solution to handling pr
On 17/06/2010 08:59, Robinson, Eric wrote:
>> If your heap size is right on the edge of your minimum for a Tomcat
>> instance, you may be doing more GC work than is really needed.
>> However, if you're satisfied with the response time and
>> CPU utilization, you should be ok.
>
> My thoughts e
Jonathan Jackson wrote:
...
Hi.
If it may contribute to less confusion : for as long as I remember, and still in tomcat
6.0.26 e.g., the comment in front of this paragraph at the end of the logging.properties file
# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
#org.a
Pid wrote:
On 17/06/2010 12:34, Marc Boorshtein wrote:
I'm not looking to start a holy war here, but is there anything
incorrect in what I said? Tomcat is a servlet container, the servlet
Yes.
You made a sweeping statement about container managed security which
implied that things should just
Hello,
Im a newbie to Tomcat logging.
Here is the logging.properties of my Catalina installation:
---
handlers = 1catalina.org.apache.juli.FileHandler,
2localhost.org.apache.juli.FileHandler,
3manager.org.apac
On 17/06/2010 12:34, Marc Boorshtein wrote:
>>>
>>> I'm not looking to start a holy war here, but is there anything
>>> incorrect in what I said? Tomcat is a servlet container, the servlet
>>
>> Yes.
>>
>> You made a sweeping statement about container managed security which
>> implied that things
>>
>> I'm not looking to start a holy war here, but is there anything
>> incorrect in what I said? Tomcat is a servlet container, the servlet
>
> Yes.
>
> You made a sweeping statement about container managed security which
> implied that things should just work. Someone has to make them work.
>
On 15/06/2010 15:59, Olivier DOREMIEUX wrote:
> Hello,
>
> How to propagate variables to the jasper2 task in ANT?
>
> I have log4.properties with a variable, with define the path where the
> log file are located.
OK so far.
> My variable is visible inside of ant, but doesn't get propagated with
Sorry I have posted to the wrong conference.
Add the end of this mail youc can find where I have a problem?
2010/6/17 Pid
> On 16/06/2010 10:08, Petr Hracek wrote:
> > Sorry my wrong explanation. I have ment the when the request is
> > authorized/authenticated by my module how the request should
On 17.06.2010 05:35, Caldarale, Charles R wrote:
From: Marco Castillo [mailto:mabcasti...@vdkit.net]
Subject: Tomcat unexpected shutdown on Solaris
I have checked all the logs and there is no exception displayed,
no error, nothing. I look for an error file from java, but there
is no one. It happ
> Just wondering, what tools do you use to manage all the
> instances? Also, what do you use to look for the OutOfMemory
> in logs? I am looking at Splunk too.
Just shell scripts. We have scripts that...
-- set up a new instance and customize it for a new customer
-- stops, sta
> If your heap size is right on the edge of your minimum for a Tomcat
> instance, you may be doing more GC work than is really needed.
> However, if you're satisfied with the response time and
> CPU utilization, you should be ok.
My thoughts exactly. Just wanted to check it with the community.
On 17/06/2010 00:49, Rajeev Verma wrote:
> Hi,
>
> I am facing a problem which can be solved if I can disable copy of
> context.xml to conf/Catalina/localhost. Is there some setting to do so?
> Thanks for the help.
What are your exact Tomcat, JVM, OS versions?
What is the problem?
p
signatu
On 17/06/2010 02:41, Marc Boorshtein wrote:
>>>
>>> The problem with the Realm system is its designed with the assumption
>>> that tomcat is doing the authentication which is not a valid
>>> assumption in an environment where the authentication is seperated
>>> from authorization. The entire point
49 matches
Mail list logo