Hi, all
I use Tomcat 5.5.26 as web server, and use Hibernate3.1 Beta 1 to
connect Database MySQL5.0. The connection pool is c3p0-0.9.1.2. Tomcat
and Database are deployed on different hosts.
During the running the Tomcat, the database is restarted. And meanwhile
there are lots of HTTP
Hello, I'm tryng to monitor my JVM and so Tomcat HeapMemory usage by remote
access using VisualVM. I configured all, but my client always display an
error message ( Cannoct connect using
service:jmx:rmi:///jndi/rmi://xxx.xxx.xxx.xxx.:8080:jmxrmi).
I added in catalina.sh this Java options:
elif [
Hi,
I think you should add this line
-Djava.rmi.server.hostname=192.168.1.12 like this
-Dcom.sun.management.jmxremote.port=8080 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true \
-Djava.rmi.server.hostname=192.168.1.12
On 12/11/2009 06:55 PM, Kockert, Timo wrote:
The image links are pure html img tags. But they are handled by
another
servlet then the one serving the html pages. The context however is
the
same.
Example:
Content url: http://domain.tld/myapp/
Image url:
Thanks for answer, but don't solve. I executed jconsole in debug mode and
the eception stack is this:
java.rmi.ConnectException: Connection refused to host: xxx.xxx.xxx.xxx;
nested exception is:
java.net.ConnectException: Connection timed out: connect
at
On 14/12/2009 10:04, Paolo Santarsiero wrote:
Thanks for answer, but don't solve. I executed jconsole in debug mode and
the eception stack is this:
Firewall settings interfering?
Is the server actually listening on the port you set?
p
java.rmi.ConnectException: Connection refused to host:
I use 8080 port because it's sure open on server (I used it for tomcat
direct access).
2009/12/14 Pid p...@pidster.com
On 14/12/2009 10:04, Paolo Santarsiero wrote:
Thanks for answer, but don't solve. I executed jconsole in debug mode and
the eception stack is this:
Firewall settings
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: 12 December 2009 15:51
To: Tomcat Users List
Cc: Gerhardus Geldenhuis (GTA-LON)
Subject: Re: Strange characters seen in RR and Cd columns on jkserver-
status page after upgrading modjk to .28
On
On 12/14/2009 10:59 AM, Kockert, Timo wrote:
Have you tried to use JkStripSession directive?
It is meant to be used exactly for what you describe.
Hm, maybe I'm not getting what JkStripSession does, but generally I want
_more_ session IDs, not less ;-)
My fault, I should have read the
I'm loadbalancing my tomcat 5.5.27 servers and have discovered that if I put
the following line
The advised server.xml line
Context distributable=true /Context
is causing the following fatal server errors
SEVERE: createMBeans: Throwable
SEVERE: Error starting static Resources
SEVERE:
Paolo Santarsiero wrote:
I use 8080 port because it's sure open on server (I used it for tomcat
direct access).
I believe the monitor port has to be a different one from the http
request port, so if 8080 is the one your app is listening on, it won't
work for monitoring.
2009/12/14 Pid
Hi,
I am through with the Josso configuration. Could be able to see the sso
logon page, redirecting the authenticated username to the partner
application. Facing problem with rememberMe option. Second time when i try
to logon to the application, logon page is showing up again. I set
You forgot -Dcom.sun.management.jmxremote.
Like:
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=port \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false
Greetings,
Timo
On 14/12/2009 12:26, Andrew Harvey wrote:
I'm loadbalancing my tomcat 5.5.27 servers and have discovered that if I put
the following line
The advised server.xml line
Context distributable=true /Context
is causing the following fatal server errors
(We don't advise putting Context
On 14/12/2009 12:55, vramanaj wrote:
Hi,
I am through with the Josso configuration. Could be able to see the sso
logon page, redirecting the authenticated username to the partner
application. Facing problem with rememberMe option. Second time when i try
to logon to the application, logon page
From: Kockert, Timo [mailto:timo.kock...@adesso-mobile.de]
Subject: AW: remote monitoring JVM by VisualVM
You forgot -Dcom.sun.management.jmxremote.
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=port \
-Dcom.sun.management.jmxremote.authenticate=false \
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: remote monitoring JVM by VisualVM
I believe the monitor port has to be a different one from the http
request port, so if 8080 is the one your app is listening on, it won't
work for monitoring.
The OP already stated that he
thanks for all answer, but problem doesn't solve. I tested at last JConsole
in debug mode and this is the exception stack:
java.rmi.ConnectException: Connection refused to host: xxx.xxx.xxx.xxx;
nested exception is:
java.net.ConnectException: Connection timed out: connect
at
From: Paolo Santarsiero [mailto:paolo.santarsi...@gmail.com]
Subject: Re: remote monitoring JVM by VisualVM
I use 8080 port because it's sure open on server (I used it for tomcat
direct access).
Unfortunately, JMX requires an additional, dynamically assigned port, making it
difficult to
From: Andrew Harvey [mailto:hemispheric-ve...@hotmail.co.uk]
Subject: Why does only one server.xml Context causing failure
The advised server.xml line
Context distributable=true /Context
is causing the following fatal server errors
If you blindly threw the above line into server.xml, I'm
From: Peter Chen [mailto:peter.c...@aicent.com]
Subject: ask about the HTTP response timeout parameter.
I start an IE Browser to send HTTP request to the Tomcat, and I find
that the Tomcat need very long time( often more than 10 minutes) to
send a HTTP response to IE Browser.
I don't
On 14/12/2009 14:56, Caldarale, Charles R wrote:
From: Andrew Harvey [mailto:hemispheric-ve...@hotmail.co.uk]
Subject: Why does only one server.xml Context causing failure
The advised server.xml line
Context distributable=true /Context
is causing the following fatal server errors
If you
Many thanks Chuck, I think this can solve my problem. How can I integrate
this Listener in my production Tom?
2009/12/14 Caldarale, Charles R chuck.caldar...@unisys.com
From: Paolo Santarsiero [mailto:paolo.santarsi...@gmail.com]
Subject: Re: remote monitoring JVM by VisualVM
I use 8080
From: Paolo Santarsiero [mailto:paolo.santarsi...@gmail.com]
Subject: Re: remote monitoring JVM by VisualVM
How can I integrate this Listener in my production Tom?
The general building-from-source instructions are here:
http://tomcat.apache.org/tomcat-6.0-doc/building.html
It's easy and
Hello everybody,
for testing some ajax components on my local tomcat (in a JSF
application) I would like to log the complete responses (including the
body) from the incoming ajax requests.
I already configured a org.apache.catalina.valves.AccessLogValve for
logging the incoming requests. But
Is there a way to 'parametrize' context.xml, for instance, in a manner
one can 'parametrize' build.xml?
For some webapplication in context.xml one puts, for instance, JDBC
specific stuff. But, several developers can have different 'properties'
for the database (different user accounts, and so
You can make use of ant's token filtering on copy.
You identify the parameters in your context.xml, and create a separate
new context.xml with
those parameters identified. For example, we have several such
parameters occurring
in our web.xml, such as @BPVAL@ below:
context-param
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 12/11/2009 3:39 PM, David Fisher wrote:
Finally, you might consider using a ServletContextListener instead of a
Servlet, as this is the recommended practice for context setup. You can
still provide a servlet to report on the status of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 12/12/2009 1:40 PM, Caldarale, Charles R wrote:
From: Adria Stembridge [mailto:adrya.stembri...@gmail.com]
Subject: Re: New to Tomcat -- SSL
I compiled jsvc per tomcat 5.5 documentation.
[Linux] service tomcat5 stop
[Linux]
On Sat, Dec 12, 2009 at 4:57 PM, Rainer Jung rainer.j...@kippdata.de wrote:
On 12.12.2009 13:26, Alessandro Bahgat wrote:
We actually found out a lot of unrecoverable error 200, request
failed error messages in the mod_jk log (roughly around 1k per hour),
so I'm starting to wonder if there's
Now that's really retro. :-)
On Dec 14, 2009, at 11:58 AM, Christopher Schultz wrote:
FWIW, we recently moved from 5.5 to 5.0 in our development environment
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerhardus and Rainer,
On 12/14/2009 6:32 AM, gerhardus.geldenh...@gta-travel.com wrote:
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
It's a known problem. There's an open Bugzilla for that issue. It seems
you need
On 14.12.2009 18:20, Alessandro Bahgat wrote:
On Sat, Dec 12, 2009 at 4:57 PM, Rainer Jungrainer.j...@kippdata.de wrote:
On 12.12.2009 13:26, Alessandro Bahgat wrote:
We actually found out a lot of unrecoverable error 200, request
failed error messages in the mod_jk log (roughly around 1k
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 12/14/2009 12:34 PM, Christopher Schultz wrote:
I have a development server with 18 workers defined. I'll enable the
status page and check to see what happens.
Hmm... I don't see any RR or Cd stuff... probably because I'm not in a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 12/14/2009 12:43 PM, Christopher Schultz wrote:
Rainer, is this an encoding problem, or an instrumentation problem
(counter out-of-range, etc.)? Can you please post a reference to the bug
you mentioned earlier?
Looks like this is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 12/14/2009 11:58 AM, Christopher Schultz wrote:
FWIW, we recently moved from 5.5 to 5.0 in our development environment
Thanks, Ken.
s/5\.0/6.0/
:)
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
On 12/14/2009 11:50 AM, Ken Bowen wrote:
You can make use of ant's token filtering on copy.
This is exactly what we do to solve the OP's problem: we have a
revision-controlled context.xml file that has all this replacement stuff
in it. Running
Aong those same lines, is it permissible to line-split items inside
quotes?
For example, the compressableMimeType list can get mighty long. Is it
acceptible to write it like;
compressableMimeType=text/html,
text/xml,
Hi All,
To all the geeks out there :),
I'm pretty new to server level configurations. I have a task in hand to
migrate a set of applications from one server to another. The requirement is
an AS-IS migration. The requirement is to migrate a setup which has Apache
as the webserver, Webgate as the
Markus,
Do I just move the context statements out of server.xml and into
context.xml?
or is there something else I have to do. If thats all I have to do do I
place them before or after the watched element tag that is already in the
context.xml file?
Dick Steflik
Markus Schönhaber-10 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
On 12/14/2009 1:14 PM, Jeffrey Janner wrote:
[Along] those same lines, is it permissible to line-split items inside
quotes?
For example, the compressableMimeType list can get mighty long. Is it
acceptible to write it like;
On 14/12/2009 18:25, Smithan John wrote:
Hi All,
To all the geeks out there :),
I'm pretty new to server level configurations. I have a task in hand to
migrate a set of applications from one server to another. The requirement is
an AS-IS migration. The requirement is to migrate a setup which
On 14/12/2009 18:46, steflik wrote:
Markus,
Do I just move thecontext statements out of server.xml and into
context.xml?
or is there something else I have to do. If thats all I have to do do I
place them before or after the watched element tag that is already in the
context.xml file?
There
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abid,
On 12/14/2009 11:09 AM, Abid Hussain wrote:
I would like to log the complete responses (including the body) from
the incoming ajax requests.
[snip]
Does anybody if there is any tomcat-built-in or external tool which
can log every response
The binaries for the 1.1.18 native libraries are missing. The links are
there, but the files are not. I've tried several of the mirrors and
this link:
http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.18/binari
es/
Any idea when they might be available?
Jeff
Smithan John wrote:
waiting for your priceless help. Thanks a ton :)
Don't worry, it won't be priceless. For this kind of work, I am sure
you can hire a couple of the gurus here, and they will name a price.
-
To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
On 12/12/2009 10:46 AM, Rainer Jung wrote:
If you want to track, in which cases the browsers support what, you can
use the Apache access log. The URL is part of it, so you can see,
whether the session id was part of the request URL, and by
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Timo,
On 12/13/2009 2:22 PM, Kockert, Timo wrote:
On Fri, Dec 11, 2009 at 12:38, Kockert, Timo wrote:
Just to clarify: I know the EncodeUrlTransformer does the
encoding for me. The problem seems to be that some
devices do not send session ID
On 14.12.2009 18:43, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 12/14/2009 12:34 PM, Christopher Schultz wrote:
I have a development server with 18 workers defined. I'll enable the
status page and check to see what happens.
Hmm... I don't see any RR or
From: steflik [mailto:stef...@binghamton.edu]
Subject: Re: Tomcat Config Question
Do I just move the context statements out of server.xml and into
context.xml?
It's Context not context - case matters.
or is there something else I have to do.
Reading the doc would be a good first step:
On 12/14/2009 07:58 PM, Jeffrey Janner wrote:
The binaries for the 1.1.18 native libraries are missing.
Any idea when they might be available?
This week.
Regards
--
^TM
-
To unsubscribe, e-mail:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Logo file location
In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put
a small .bmp file that I use for putting a logo on generated reports?
Use ServletContext.getResourceAsStream() to retrieve the file, which can
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Logo file location
In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put
a small .bmp file that I use for putting a logo on generated reports?
Use ServletContext.getResourceAsStream() to
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Logo file location
Will it find it pretty much wherever I put it
No, the argument to ServletContext.getResourceAsStream() is a path argument,
which must point to the location of the file of interest. Look at the servlet
API
David kerber wrote:
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Logo file location
In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put
a small .bmp file that I use for putting a logo on generated reports?
Use
André Warnier wrote:
David kerber wrote:
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Logo file location
In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put
a small .bmp file that I use for putting a logo on generated reports?
Use
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Logo file location
Upon further examination of the spec page above, I would guess that a
better way (more flexible) would be to specify the relative URI of your
file as an init-param value, and then do a getRealPath() to convert
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Logo file location
Upon further examination of the spec page above, I would guess that a
better way (more flexible) would be to specify the relative URI of your
file as an init-param value, and then do a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 12/14/2009 3:53 PM, André Warnier wrote:
Upon further examination of the spec page above, I would guess that a
better way (more flexible) would be to specify the relative URI of your
file as an init-param value, and then do a
Hi.
On another thread, a discussion was started as to how to correctly
locate and specify some data file, part of the application, and which
needs to be read in by some code part of that same webapp.
Say that the application has a context path /myapp.
The original idea is to locate the
On 14/12/2009 22:02, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 12/14/2009 3:53 PM, André Warnier wrote:
Upon further examination of the spec page above, I would guess that a
better way (more flexible) would be to specify the relative URI of your
file
From: André Warnier [mailto:a...@ice-sa.com]
Subject: resource file location (was: Logo file location)
The trouble is, it does not really explain what is meant by a path in
that context, and some of the other method descriptions on the same
page introduce a slight doubt.
Sure it does:
The
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: resource file location (was: Logo file location)
The trouble is, it does not really explain what is meant by a path in
that context, and some of the other method descriptions on the same
page introduce a slight
In order to troubleshoot some issues with Apache Tomcat Connector I
set JkLogLevel debug, and I found in mod_jk.log file a lot of messages
like
[debug] map_uri_to_worker::jk_uri_worker_map.c (597): Attempting to
map URI '//phpmyadmin/config/config.inc.php' from 5 maps
[debug]
Mario Splivalo mario.spliv...@megafon.hr wrote in message
news:4b266622.5060...@megafon.hr...
Is there a way to 'parametrize' context.xml, for instance, in a manner
one can 'parametrize' build.xml?
For some webapplication in context.xml one puts, for instance, JDBC
specific stuff. But,
increase your send timeout, 3000 seconds is very aggressive, and you
would have to tune away most long GC pauses to not timeout.
increase your dropTimeout, it seems you're getting false positives,
prolly GC again
Filip
On 12/11/2009 04:28 PM, Mitch Claborn wrote:
tomcat 6.0.20 cluster
See
Chuck,
OK, I've read the document several times and still can't figure out what it
is you are trying to tell me. I'm not using WARs so /META-INF/? doesn't come
into play. If the Context statements don't go in to server.xml where
should I put them, context.xml doesn't seem to be the appropriate
I have a blanket security-constraint defined in my conf/web.xml,
followed by a couple more specific security-constraints. However, it
appears that the more specific ones are not being picked up. When I
break in FormAuthenticator.invoke(), I can see in the constraints
variable
68 matches
Mail list logo