2011/11/22 rswart :
>
>
> Hi,
>
> I'm trying to configure the RemoteIp in combination with AccessLogValve.
> request.getRemoteAddr() return the correct remote-ip from X-Forwarded-For
> header, but AccessLogValve still logs the unmodified (proxy) ip-address. Can
> this be related to the execution o
Hello,
I use ajp, because on tomcat I make authentication based on client
certificate. That you cannot do via http connector.
Jan.
Hi,
Is there any document which I can refer to which states if tomcat's built in
http connector (Coyote) can be used for production ? And also a comparison
betw
Hi,
I'm trying to configure the RemoteIp in combination with AccessLogValve.
request.getRemoteAddr() return the correct remote-ip from X-Forwarded-For
header, but AccessLogValve still logs the unmodified (proxy) ip-address. Can
this be related to the execution order of valves? Can I enforce the
On 22 Nov 2011, at 07:15, Asha K S wrote:
> Is there any performance comparison document available already between http
> and AJP
Please don't top-post. Post your questions below the answers so it's
possible to read the conversation without jumping up and down the
page.
The AJP and HTTP connec
Is there any performance comparison document available already between http and
AJP
Thanks,
Asha
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, November 22, 2011 12:40 PM
To: Tomcat Users List
Subject: RE: tomcat http connector
> From:
> From: Asha K S [mailto:a...@adobe.com]
> Subject: RE: tomcat http connector
> My question was mainly regarding which one is recommended
> for production .
Both, depending on what you need to do. If you are using httpd for something
useful (and just serving static content isn't one of those
On 21 Nov 2011, at 16:25, Martin O'Shea wrote:
Thanks Terence.
Yes, I have been. Increasing the number of connections in MySQL, the
max_connections parameter, seems to have helped somewhat.
If you are leaking connections it will just delay the problem, even
make it worse.
Connect Visua
HI Chuck,
Sorry I am newbie here :) .My question was mainly regarding which one is
recommended for production .
Thanks,
Asha
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, November 22, 2011 12:29 PM
To: Tomcat Users List
Subject: RE: t
> From: Asha K S [mailto:a...@adobe.com]
> Subject: tomcat http connector
> Is there any document which I can refer to which states if tomcat's
> built in http connector (Coyote) can be used for production ?
What an odd question. Of course it can be used for production.
> And also a compariso
Hi,
Is there any document which I can refer to which states if tomcat's built in
http connector (Coyote) can be used for production ? And also a comparison
between http connector and AJP one.
Thanks,
Asha
On 21 Nov 2011, at 22:09, John Hinnegan wrote:
Hi,
I'm looking for a resource for how to set dependencies on tomcat.
I'm using SBT and looking to replace Jetty with Tomcat in the test/build
phase.
(SBT is a build tool written in Scala - I had to look it up)
http://catb.org/~esr/faqs/*smart*
Problem resolved! Thanks so much for all the helpful hints. I had
been going to the end of the catalina.out file and seeing this error
message in the last ~60 lines of text, and thought it represented the
latest restart errors. What I failed to notice, was that there WERE
previous errors above t
Hi Charles,
Thanks for the advice. apologies for being stubborn. I'll change the JVM
and set the CATALINA_OPTS in the setenv.sh
Best regards,
Adrian
"Caldarale, Charles R"
11/19/2011 01:18 AM
Please respond to
"Tomcat Users List"
To
"Tomcat Users List"
cc
Subject
RE: Tomcat Causes S
I understand you want to use APR, but just for troubleshooting purposes,
try using the same server.xml but changing the SSL connector from
protocol="org.apache.coyote.http11.Http11AprProtocol"
to
protocol="org.apache.coyote.http11.Http11NioProtocol"
If that works, then your problem is with APR,
On November 21, 2011 17:35 , André Warnier wrote:
Mark Montague wrote:
Any advice on how to solve this problem? I need Tomcat 6 to use the
authentication performed by the front-end webserver without breaking
the roles required by the Tomcat Manager webapp.
I know that it does not answer yo
On 21 Nov 2011, at 21:25, Martin O'Shea wrote:
Well, I hope I’m reading VisualVM correctly, because when I run the JMeter
test first time around, I see 40 ‘connector’ threads created in VisualVM,
all of which run for so long and then return to a wait state.
I always forget to tell people to get
Mark Montague wrote:
...
Any advice on how to solve this problem? I need Tomcat 6 to use the
authentication performed by the front-end webserver without breaking the
roles required by the Tomcat Manager webapp.
I know that it does not answer your question, but may I ask why ?
If you alrea
On 21 Nov 2011, at 20:09, Martin O'Shea wrote:
> Are you able to provide any more information about what I am actually
> looking for in VisualVM?
Depends how you defined the Db. Did you define a global Resource in server.xml?
Or perhaps in conf/context.xml?
p
>
-
Hi,
I'm looking for a resource for how to set dependencies on tomcat.
I'm using SBT and looking to replace Jetty with Tomcat in the test/build
phase. I already deploy to tomcat in prod.
Here's the jetty dependency.
15 "org.eclipse.jetty" % "jetty-webapp" % "7.4.5.v20110725" % "container",
1
Well, I hope I'm reading VisualVM correctly, because when I run the JMeter
test first time around, I see 40 'connector' threads created in VisualVM,
all of which run for so long and then return to a wait state.
And if I run the test again several times in succession, the number of
connector th
Are you able to provide any more information about what I am actually
looking for in VisualVM?
On November 18, 2011 16:17 , Leo Donahue - PLANDEVX
wrote:
Is is possible to ... or some other independent source for role
information?
> A sample using JNDI and active directory in the archives.
>
> http://www.mail-archive.com/users@tomcat.apache.org/msg74641.html
And a SQL server DataSourc
On 21 Nov 2011, at 16:25, Martin O'Shea wrote:
> Thanks Terence.
>
> Yes, I have been. Increasing the number of connections in MySQL, the
> max_connections parameter, seems to have helped somewhat.
If you are leaking connections it will just delay the problem, even
make it worse.
Connect Visual
On 21 Nov 2011, at 16:11, "Terence M. Bandoian" wrote:
>
> On 1:59 PM, Martin O'Shea wrote:
>> Caused by:
>> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data
>> source rejected establishment of connection, message from server: "Too many
>> connections"
>
> I'd check int
On 21 Nov 2011, at 18:52, "André Warnier" wrote:
> Hi.
>
> What we are trying to say is this :
>
> The WEB-INF and META-INF sub-directories of a Tomcat webapp, are supposed to
> contain files
> that should NOT be accessed by the users. For example, in the WEB-INF and
> META-INF
> subdirectorie
Konstantin,
I was wrong. It is working after I added the useHttpOnly="false" to the
context.
Thanks a lot for the help.
Al.
On 21 Nov 2011, at 13:24, "Jan Vávra" wrote:
>
>>> Hello,
>>> is there any way how to tell tomcat: Recycle after X minutes OR Y requests
>>> like it is eg. on the IIS server?
>> IIS can reboot itself after N requests?
>> That's awesome. What could possibly go wrong?
>
> Yes, IIS can do recycling
Hi.
What we are trying to say is this :
The WEB-INF and META-INF sub-directories of a Tomcat webapp, are supposed to contain files
that should NOT be accessed by the users. For example, in the WEB-INF and META-INF
subdirectories, there are files (like WEB-INF/web.xml) which may contain privat
Another thing I realized is that the whole wmv file is sent to the browser
per it's request. So why doesn't it hand off the file to windows media
player and why does windows media player requests the file again?
Thanks,
Al
Konstantin,
*
*
*Thanks for the info. I believe it is related to that HttpOnly flag as you
said because in access log it shows that in response to fetching the video
file it sends the same amount of bytes as my login screen. I set the
useHttpOnly flag to false in app context but that didn't help. H
Thanks Terence.
Yes, I have been. Increasing the number of connections in MySQL, the
max_connections parameter, seems to have helped somewhat.
Is there an optimum number of connections that the 'equivalent' Tomcat
maxActive should have?
-Original Message-
From: Terence M. Bandoian [mail
On 1:59 PM, Martin O'Shea wrote:
Caused by:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data
source rejected establishment of connection, message from server: "Too many
connections"
I'd check into this.
-Terence Bandoian
---
On Mon, 2011-11-21 at 01:41 -0800, Pid * wrote:
> On 21 Nov 2011, at 03:15, S Ahmed wrote:
>
> > I have a spring project (web app), in my project where should I be putting
> > my static files like images/css/javascript?
> >
> > In my WEB-INF like:
> >
> > /WEB-INF/Assets {images/css/js}
>
> You
Hello,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jan,
On 11/18/11 10:35 AM, Jan Vávra wrote:
is there any way how to tell tomcat: Recycle after X minutes OR Y
requests like it is eg. on the IIS server?
Tomcat does not come with any mechanism for doing that. IIS has hacks to
work-around ho
Hello,
is there any way how to tell tomcat: Recycle after X minutes OR Y requests like
it is eg. on the IIS server?
IIS can reboot itself after N requests?
That's awesome. What could possibly go wrong?
Yes, IIS can do recycling
See eg. at
http://www.microsoft.com/technet/prodtechnol/Windows
Usually the connection is initialised as null and then assigned inside
the try block. What happens if the method above throws an error after
a connection is removed from the pool?
To try to answer this, the sample code provided is illustrative of my DAO
classes generally. The following is
Hello,
when I started my project others told me to use apache for static
content and tomcat for java/jsp.
It works quite good. Tomcat is hidden under reverse proxy (mod_ajp). So
static content gives apache, dynamic tomcat.
Jan.
I have a spring project (web app), in my project where should I
2011/11/21 Kurt :
> Hello all:
>
> I compile tomcat 5.5.30 and import it to eclipse as a project, to research
> how the tomcat load class , I need to view the running log ,after reading
> through this post(http://tomcat.apache.org/tomcat-5.5-doc/logging.html) and
> adding below log4j.properties to
2011/11/21 Eric Kemp :
> Below is my entire server.xml (minus commented lines)
>
Good to know.
Can you post the logs? (catalina..log file). Clear them first
then try starting Tomcat.
Best regards,
Konstantin Kolinko
-
To unsubs
On 21 Nov 2011, at 02:44, Eric Kemp wrote:
> Below is my entire server.xml (minus commented lines)
>
>
>
>
> className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" />
>
> className="org.apache.catalina.core.JasperListener" />
>
> className="org.apache.catalina.core.JreMem
On 21 Nov 2011, at 09:28, "app...@dsl.pipex.com" wrote:
> Hello
>
> I don't think this is a Tomcat issue but I thought I would post here just in
> case.
>
> I have a Java, JSP and MySQL application running under Apache Tomcat 6.0.26
> which I've been testing with JMeter.
> What I find is that f
On 21 Nov 2011, at 03:15, S Ahmed wrote:
> I have a spring project (web app), in my project where should I be putting
> my static files like images/css/javascript?
>
> In my WEB-INF like:
>
> /WEB-INF/Assets {images/css/js}
You can't serve files directly from WEB-INF.
> I know when I go in prod
Hello
I don't think this is a Tomcat issue but I thought I would post here just in
case.
I have a Java, JSP and MySQL application running under Apache Tomcat 6.0.26
which I've been testing with JMeter.
What I find is that for a simple test having 10 users logging in and displaying
a JSP which
S Ahmed wrote:
I have a spring project (web app), in my project where should I be putting
my static files like images/css/javascript?
In my WEB-INF like:
/WEB-INF/Assets {images/css/js}
I know when I go in production I will have nginx map to this folder to
serve the static files,
which, as
Hello all: I compile tomcat 5.5.30 and import it to eclipse as a project, to research how the tomcat load class , I need to view the running log ,after reading through this post(http://tomcat.apache.org/tomcat-5.5-doc/logging.html) and adding below log4j.properties to the direcotry 'common/classes
Il 18/11/2011 16:09, Christopher Schultz ha scritto:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
a. on node01, jvmroute="istance01_node01" and "instance02_node01"
for instance01 and istance02, respectively; b. on node01,
jvmroute="istance01_node02" and "instance02_node02" for instance01
an
Hello,
It works.
Thanks.
markt-2 wrote:
>
> On 17/11/2011 16:48, rosiere wrote:
>>
>> Hello,
>> Thanks for your hint.
>>
>> I made a copy of my keystore. Then I changed alias:
>> my private key now uses the alias "mykey".
>> I changed our certificate's alias to "tomcat", by keytool's -chan
47 matches
Mail list logo