Dear All,
I have an exception that is littering my catalina.out. I see about 7000 of
these on a normal day (server handles about 25 requests per second). It is this
precise stack trace always. I have some other exceptions, but this one is the
main headache I have today.
Tomcat 7.0.30
openjdk v
big thank you for all that contributed to this thread and helped me
understand the problem.
Kees Jan
On 22 May 2012, at 14:45, André Warnier wrote:
> Kees Jan Koster wrote:
>> Dear André,
>>> Assuming that your client is really connecting to that HTTP connector on
>>>
Dear All,
I get these errors in the logs quite frequently. About 1500 times every day.
The application works nicely, strangely enough.
What is happening here? How can I resolve these error messages?
Should I worry?
Jun 10, 2012 4:43:17 PM org.apache.tomcat.util.net.NioEndpoint setSocketOptions
Dear André,
Took me a while to answer, because I wanted to get more precise readings.
>>> Assuming that your client is really connecting to that HTTP connector on
>>> port 8080 mentioned above..
>> Yes, it has a forwarded port 80 (using FreeBSD ipfw) that also points to
>> 8080, and there is an
Dear André,
> Assuming that your client is really connecting to that HTTP connector on port
> 8080 mentioned above..
Yes, it has a forwarded port 80 (using FreeBSD ipfw) that also points to 8080,
and there is an Apache with mod_proxy_http that hooks into 8081. My tests are
on the vanilla port,
Dear Jose,
>> Yes I am. In finally{} block. Here is the client code:
>
> Calling the disconnect() method of HttpURLConnection may close the
> underlying socket
> if a persistent connection is otherwise idle at that time
> Try don't call it, test it and tell us :-)
>
> http://docs.oracle.com/jav
Dear Jose,
> 2012/5/22 Kees Jan Koster :
>> Dear Tomcat community,
>>
>> I am trying to resolve the problem where some client code in Java frequently
>> gets the following error in the logs:
>>
>> java.net.SocketException: Connection reset
>&
Dear Tomcat community,
I am trying to resolve the problem where some client code in Java frequently
gets the following error in the logs:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(
Dear Chris,
>>> Should I just give up and use JmxRemoteLifecycleListener?
>>
>> Yes. You really aren't get to get anywhere on EC2 without it.
>
> I figured since I was using localhost everything would stay there
> anyway. I'll give JmxRemoteLifecycleListener a chance.
Or you could write a sma
On 17 jan. 2012, at 11:11, André Warnier wrote:
> Kees Jan Koster wrote:
>> Dear all,
>>> Now about whether this is a bug in Tomcat or its documentation : I am
>>> fairly sure that not long ago, I saw a strong warning somewhere in the
>>> on-line Tomcat docu
Dear all,
> Now about whether this is a bug in Tomcat or its documentation : I am fairly
> sure that not long ago, I saw a strong warning somewhere in the on-line
> Tomcat documentation, about not using spaces in pathnames somewhere, as it
> was not supported by some component.
Perhaps the Tom
On 27 dec. 2011, at 06:25, Saravanan L wrote:
> Please find the server.xml attached.
>
> The real problem is I dont know where to look at.
> -There are no error in logs or the linux sys logs.
> - I cannot diagnose as the connector(443) does not even connect.
>
I saw the same with
Hi,
Have a look at http://Java-monitor.com It will send mail or SMS when the tomcat
dies. It will also make pretty graphs from the JMX data. And it is free. :)
Kees Jan
On 21 apr. 2011, at 17:25, "Gautam R Singh (gautsing)"
wrote:
> Hi List,
>
> My team maintains a small Tomcat 6.x hosting
Or you can install http://java-monitor.com It will send you an e-mail or SMS
when Tomcat dies. Plus graphs for memory and file descriptors etc
Kees Jan
On 20 mrt. 2011, at 12:07, André Warnier wrote:
> Or write the script in perl. That way, it will be portable between
> Unix/Linux/Windows an
Dear Ziggy,
> I was looking at the above for the above information as i am working on a
> client tool that tries to find out this exact information. The tool i am
> using connects to Tomcat via JMX but i am not sure if i can get the same
> information via JMX. Can i access the Context class? or is
Dear Leon,
>
> It'd be nice to see some speed comparisons between "-client" "-server" and
> "-Xint" options and not only "-server" vs "-Xint".
>
I did some benchmarks with these settings. I was actually exploring
hyperthreading in P4 hardware when I found -server to be twice as fast
for even simp
Dear All,
> I don't believe Tomcat has any System.exit calls in it, so you could
> grep your code looking for such calls.
Note that findbugs can be used for that. It will issue a warning for code that
calls System.exit().
--
Kees Jan
http://java-monitor.com/
kjkos...@kjkoster.org
06-51838192
Dear Gerukan,
> Is anybody try to stop the catalina engine from jconsole. I have been using
> Tomcat 6.0.20, and trying to stop Catalina from jconsole. I click
> "Catalina/Service/Catalina/Operations/stop" on the MBean view. INFO messages
> are written to the console related with stopping operatio
Dear Carl,
So this problem happens on one machine or on more than one? If it is
limited to one machine, I would be inclined to run memtest86 on it to
see if the RAM is good.
Kees Jan
On 4 feb 2010, at 02:07, "Carl" wrote:
Chris,
Interesting idea. I tried over the weekend to force that
Dear Mon Cab,
Yes. That fixed it. Thankyou Kees.
Glad to help.
For some reason, the issue was with my WinSCP client.
When I edited a jsp and then looked at the jsp file timestamp on the
remote machine with WinSCP it showed the timestamp as my the current
time (local and remote system
Dear Mon Cab,
Given the results below it looks like this is not a daylight savings
time issue. In fact its extremely odd behavior. Both Tomcat and
the OS have the correct time, and yet when Tomcat compiles the JSP,
the java and class files in the work directory have a create /
modified
Dear Chris,
I have to restart Tomcat regularly because it exhausted my MySQL
connections. Show processlist confirms the problem.
I use Hibernate. Do you?
I'll dig deeper later when I have more time.
Kees Jan
On 7 aug 2009, at 16:53, Christopher Schultz > wrote:
-BEGIN PGP SIGNED MES
Dear Matt,
I am not too familiar with jmap, jstack or jinfo. I could write a
script
that uses jmap to get the memory of the tomcat running and then
store the
necessary information in a log file.
That is an option, or you could use a tool that does that for you,
plus make nice graphs. Ch
Dear Todd,
I'm not sure I can use session counting, as my
session size is not consistent. I could try to estimate
the size of each session, and keep a global counter,
but that seems like a lot of work.
JMX offers quite a bit of insight in what your GC is doing. You could
implement throttling
Dear uma_rk,
We centralize configurations in /etc/conf and hence I would
like to import property configuration files into
${CATALINA_BASE}/conf/catalina.properties
using #include as in
// conf/catalina.properties
...
#include /etc/conf/mytomcat.properties
...
Please let me know if
Dear Khlystov,
1. 5 second (using maven) compile source ( usually it is 1 or 2
files )
2. 0 second copy *.class file into Tomcat/webapps
Stop using Maven for simple compiles and write a small shell script
that just calls javac with the webapp's WEB-INF/classes as output dir.
3. 5-7 s
Dear reader,
I use a combination of Zabbix http://zabbix.com/ to monitor the
hardware and OS, combined with Java-monitor http://java-monitor.com/
for the Java and Tomcat side.
Kees Jan
On 20 mrt 2009, at 14:46, ujjain wrote:
What preparations have YOU made to ensure good monitoring of
Dear Aleksandr,
So how to ping to application so that tomcat is going to be shutdown?
http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContextListener.html
Register it in web.xml
--
Kees Jan
http://java-monitor.com/forum/
kjkos...@kjkoster.org
06-51838192
The secret of success li
Dear Paul,
... the time period that tomcat spends honouring current requests
when the
server is shutdown?
We have a web app used for secure file transfers and occasionally we
need to
take it down, however some requests for downloads can take more than
an hour
as the system allows very la
Dear Stanley,
I try to setup the JMX in Tomcat 6.0.
Here is a discussion on how to enable JConsole and JMX for various
application servers. http://java-monitor.com/forum/showthread.php?t=1
I downloaded the latest version of mx4j and placed in the tomcat/lib
folder.
Java 5 and 6 already
Dear Eric,
Does anyone have suggestions on the best free or inexpensive tomcat
log
analyzer? I'm specifically looking for a tool that can help me spot
performance problems such as requests that take a long time, errors,
timeouts, and so on. If the tool can centrally monitor multiple
servers,
Dear sneha,
I have developed web application using netbeans , I wish to deploy
on remote server .
I have placed files under / webapps directory of remote server.
Tomcat is unable to locate libraries . how do I make tomcat locate
libraries which are under WEB-INF/lib folder
Why don't you
Dear Okey,
Am using windows vista and i wish to know what version of apache
tomcat to download.
Any version you like.
--
Kees Jan
http://java-monitor.com/forum/
kjkos...@kjkoster.org
06-51838192
Rule 1 for being in a hole: stop digging.
--
Dear Stanimir,
How to exclude some classes to being serialized in sharing session
with
clustered tomcats?
I`m using hibernate, spring, java mail, apache commons dbcp, pool ...
and to serialize/deserialize sessions all the classes must implement
Serializable (or Externalizable), and I think tha
Dear Eric,
and see that all my threads are in the WAITING state from
org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject
(GenericObjectPool.java:810)
I don't believe I have any connection leaks in my code
Belief is not a substitute for evidence... Your webapp is clearly
not
re
Dear Steve,
One additional restriction I have is a security bureaucracy from
hell. As far as console access I have a two-hop connection.
Is there no test system that you can use to reproduce this, under less
insane restrictions? Have you considered hauling your behind to the
data center
Dear prakash.s,
I had visited the link suggested by you, please let me know
how to
change the java property "-Djava.awt.headless=true"
Is it just enough to type the command prompt?
For tomcat, you can either edit catalina.sh and add it after the Java
command, for example.
Go
Dear S.Prakash,
I am using jrxml for preparing the reports in excel
files. It is
working fine in windows but if the same is implemented (server)MAC
OS tomcat
I am facing "Javax.servlet.servletException: cannot connect to
windows
server – not enough".
I am using Tomcat 5.5
Dear Gerardus,
> I was just wondering if anyone can recommend a open source that one can
> use to build "control panels" based on jmx properties published by the
> jvm or your own application.
>
> We have monitoring software that can alert us when some jmx values
> exceeds a threshold but I would
Dear All,
Do any of you guys tune networkaddress.cache.ttl or
networkaddress.cache.negative.ttl? If so, what values do you use?
--
Kees Jan
http://www.kjkoster.org/
kjkos...@gmail.com
06-51838192
-
To unsubscribe, e-mail: user
Dear Jesper,
At server startup, is it possible to configure tomcat to not open
it's http ports so early?
By default the server starts to receive http requests quite long
before initialization is complete. These requests are held open
until the server is ready to respond, and then the resp
Dear Keith,
It's not clear what you want to do (as opposed to what you don't
want to
do). Is your goal to use a >> new DB connection for every DB access
your
webapp makes, or do you want to do DB connection >>
pooling inside your webapp, or ???
Not using connection pooling at all is a r
Dear Mike,
You mentioned JMX - would I be able to use JMX in such a way that it
would
allow me to restart the connector programatically upon a url request
into my
web app?
I wrote some sample code that does just that, have a look at
http://java-monitor.com/forum/showthread.php?t=169
Doe
Dear Mike,
What is the recommended way if any, of restarting the http
Connector ? i.e.
is there an api for achieving this?
You asked before. I suggested you use JMX. Have you made any headway
in that direction?
--
Kees Jan
http://java-monitor.com/forum/
kjkos...@kjkoster.org
06-5183819
Dear Petr,
any comment on this subject? The question is related to OpenSolaris
package
(*) where we have all files owned by root and tomcat is executed with
dedicated user credentials.
Currently tomcat-user.xml and conf directory is owned by tomcat user
but it
makes some noise in our packa
Dear Mike,
Since I have not found a documented way of refreshing the
ServerSocketFactory (in order to reload the ssl trust store)
I would like to be able to perform a Tomcat Restart "from within" i.e.
restart Tomcat using java code inside the servlet.
Restarting the connector would also do the j
Dear Thinh,
I use apache-tomcat-5.5.17 and sometimes when I call ./shutdown.sh,
the java process which runs Tomcat still alive.
Because this java process is still alive, the next call ./startup.sh
does not work. Thus, I have to kill this Java process first.
Could you please give me a hint
Dear Leon,
i'm performing a jmap -histo:live on a tomcat which froze because of
full (8GB) old space gen, and my top 10 looks like:
num #instances #bytes class name
--
1: 19268009 2655683368 [C
2: 17410092 139280736
Dear Robert,
Have you considered googling for "StringUtils
indexOfIgnoreCaseRespectQuotes"?
E.g. it may be Connector/J bug #25047 fixed in v. 5.0.5
Check, what version of MySQL Connector/J you are using.
OK, problem solved.
For the record I did search on that, and looked into it originally.
Dear davefury,
The logs doesn't give me any information about the error.
The environment is Debian Etch with Apache2, mod_jk connector and
tomcat 5.
Hmmm, Debian... Are you using the sucky repackaged Tomcat from the
distro, or the normal one that you downloaded from tomcat.pache.org
man
thank u again. I have downloaded the binary version and placed it on
my
desktop and And ran it using sh startup.sh.
and then I access the http://localhost:8080/ site successfully. but
when i
try to access http://localhost:8080/mms_test. I get the same error as
before. However when I try to
Dear Chris,
We've been running into some issues lately with our Tomcat 6
instances where performance will slow to a crawl. Unfortunately, no
error messages are present in the logs and we really don't know why
this is happening. It does appear that the issue is happening when
we get "a l
Dear Carl,
I am trying to figure out the best way to configure a multi-server
setup
for Tomcat and MySQL. Someone gave me the a list of configuration
suggestions (see link below). My question is is configuration 3
(see link
below) a good way to go when scaling up from our current configu
Dear Sudip,
But recently there are couple of occasions where one or
more users are failing to forcefully logoff the session.(thelogs shows
clearly the pending sessions keeps on increasing and the value unbound
is never called for the particular user failing to forcefully logoff.
Well, we canno
Dear Adriano,
As I had having OutOfMemory exceptions (PermGen) when redeploying an
application, I started to verify things using Eclipse Memory Analyzer.
I've discovered some real leaks, for example caused by the Java
Disposer thread being instantiated using the Webapp classloader.
After
Dear Mark,
Just a quick question on how to see threads in use, I have been
using prstat
-L -p , however I suspect this is not the
correct way
to do it.
You can also attach jconsole of vsiualvm to check. That has the added
benefit of being able to see not only the actual number of threads
Dear Tony,
We have a Tomcat 5.5.20 installation running as a service on Windows
2003
Server standard x64 operating system using version 1.6.0_07 (x86)
jre.
The Tomcat service is running as a user which has all administrator
rrights
and is started automatically on server startup.
Are y
Dear Simon,
I have embedded the jspwiki project within my own webapp, to provide a
help engine. The jspwiki project provides java classes (in a jarfile)
plus some .jsp files and assorted resource-files (images, scripts,
etc).
Currently I put all the java classes as a jarfile in my classpath
Dear Chris,
I just wrote a small post about memory leaks
http://java-monitor.com/forum/showthread.php?t=150 In that post I
also
talk about the difference between maximum memory and committed
memory.
Note that in the memory usage graph you show, the leak is certainly
not
"easy to spot".
Dear user080701,
I am using the tomcat manager to monitor the health of the tomcat
server. I found that the session of JVM, it shown the following
information:
JVM
Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB
As David pointed out, this is probably measured against
a license server, you've wasted
your time. Sorry. :-)
Have you managed to fix your connection pool issues?
Kees Jan
--- On Sun, 12/7/08, Kees Jan Koster <[EMAIL PROTECTED]> wrote:
From: Kees Jan Koster <[EMAIL PROTECTED]>
Subject: Re: configure JNDI to avoid error "Last
a license server, you've wasted
your time. Sorry. :-)
Have you managed to fix your connection pool issues?
Kees Jan
--- On Sun, 12/7/08, Kees Jan Koster <[EMAIL PROTECTED]> wrote:
From: Kees Jan Koster <[EMAIL PROTECTED]>
Subject: Re: configure JNDI to avoid error "Last
Dear removeps-groups,
How to configure JNDI in order to avoid the error "Last packet sent
to the server was x ms ago."? I've seen two other errors which
seem to be from the same cause: "Communications link failure" and
"Connection.close90 has already been called".
This is what I've c
Dear Chuck,
Actually, in such situations you get 'java.io.IOException: Too many
open files' or 'java.net.SocketException: Too many open files'. Not
an
OutOfMemory error.
Only if it's related to an application-initiated action, such as
opening a stream. If FD exhaustion is detected during
Dear Chuck,
To add to Leon's list: running out of file descriptors.
Actually, in such situations you get 'java.io.IOException: Too many
open files' or 'java.net.SocketException: Too many open files'. Not an
OutOfMemory error.
--
Kees Jan
http://java-monitor.com/forum/
[EMAIL PROTECTED]
Dear John,
Sure would appreciate some feedback or ideas on this...
Have you looked at Apache's mod_rewrite at all? I sounds like that
module might help.
--
Kees Jan
http://java-monitor.com/forum/
[EMAIL PROTECTED]
06-51838192
The secret of success lies in the stability of the goal. -- Be
Dear Praveen,
And what about my question below?
Did anyone else notice this issue. Another minor caveat is, we built
Tomcat using JDK 1.5 but are running it on JDK 1.6. Could this be
causing any issue?
Hum. You built your own Tomcat? Is there a test environment that you
can test this applicat
Dear Leon,
http://images.google.de/images?q=tomcat%20architecture&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&um=1&sa=N&tab=wi
Thanks for the help. I had already entered the exact same query
earlier today.
depends on your desired detail grade.
Well, more than what
Dear All,
I am looking for a good architecture drawing of Tomcat. I found lots
of text descriptions of what Tomcat looks like internally, but I am
looking for a graphical representation. Preferably one that shows
internal components such as thread pools and connectors.
I found many generi
Dear Praveen,
Everyday we are noticing the tomcat not responding on a port. On
further inspection we noticed that the thread pool that is serving
this port has no threads. Right around the time tomcat goes into
this state, we noticed that there is a thread death, and get the
following sta
Dear Adam,
2 - use something like DBCP to enforce a validation query for the
connection
from the pool.
Does anyone have any feedback/advise on this issue? It appears to
be quite
common. I am running on Redhat Linux, Tomcat 5.5.26
Perhaps this discussion is useful to you?
http://java-m
Dear Toby,
Another thing I have found is that Tomcat slows down when a lot of
people are connected and requesting to the DB. My maxActive = '150'
for the database and maxThreads = '300'. The task manager doesn't show
high CPU usage and there is always atleast 2GB RAM free. Any ideas on
why this
Dear Jim,
I deployed a web application "foo.war" into tomcat 5.x . When I used
httpclient to send post request to "http://localhost:8080/foo";, I
always
get the http 302 redirect response . How can I prevent Tomcat to
reply
redirect response and directly adding the slash to my request
ur
Dear Leon,
Oh, don't be so dramatic. There is a whole world out there of smaller
companies that have one or two Tomcat servers in production,
running on the
cheapest shared server environment they could find. This product
targets
companies that have two or three developers, one of whom has b
Dear Leon,
well, downloaded, installed, started, klicked, ... deleted...
you should announce that your war is SENDING DATA to the central
server in LARGE letters :-)
which users are you targeting? No one i know (and i'm in the webapp
business for about 10 years) will ever going to use this stu
Dear Chris,
Ah, sorry for the confusion. I should have asked for limits that are
hard at run-time. Thread pool sizes may be editable, but they are
fixed
once Tomcat runs.
Gotcha. Hard runtime limits makes a whole lot more sense. Sorry for
not
jumping to that obvious conclusion. I wasn't
Dear Leon,
is there a demo available on the java-monitor.com? sofar i only find a
php forum :-)
The forum has the monitoring tool built-in. A bit weird at forst, but
it makes it really simple to post questions, as you can just post
graphs from the tool right on the forum. No need to make s
Dear Leon,
I think the question you wanna ask yourself first is,
do you want to monitor tomcat or do you want to monitor your
application?
I want to monitor Tomcat, not the application. I'm using the
information to improve the Tomcat monitoring on Java-monitor.com.
Currently you can see
Dear Chris,
I am setting up a monitoring system for Tomcat servers and I am
looking
for hard limits in Tomcat servers in general.
I found a few so far: file descriptors, memory pools (ok, these are
jdk
limits) and thread pools.
Are there any other hard limits that I can run into?
I woul
Dear Gaurav,
I have tomcat server with apache (mod_jk) and mysql running on my box.
Initially there were no issues with the server. But from past one
month, the
tomcat application hangs and websites also doesn't open. Though when
i run
nmap localhost, it shows me 8080 and ajp13 services run
Deear Michal,
When i checked the tomcat using jconsole i see that the object
RequestProcessor
accumulates to many objects which i guess may show the cause of this
problem.
Uhm. Could you explain what you mean here? I don't understand what you
are trying to say.
You see too many request pro
Dear Nate,
I am porting an application from Windows to Linux which makes heavy
use of
servlets. I have a fairly intensive background process (currently a
windows
service) that requires no user interaction. I plan to rewrite the
code in
Java and I am wondering if there is any notable perfor
Dear All,
I am setting up a monitoring system for Tomcat servers and I am
looking for hard limits in Tomcat servers in general.
I found a few so far: file descriptors, memory pools (ok, these are
jdk limits) and thread pools.
Are there any other hard limits that I can run into?
--
Kees J
Dear Raphael,
I've been working with performance measurements of web services and
I've
faced this problem. For each request to my system (running in a
tomcat 6) I
need to log these information:
Received Bytes (request content length)
Served Bytes (response content length)
Response Time (th
Dear Raphael,
I've been working with performance measurements of web services and
I've
faced this problem. For each request to my system (running in a
tomcat 6) I
need to log these information:
Received Bytes (request content length)
Served Bytes (response content length)
Response Time (th
Dear Alex,
The debian Tomcat package is notoriously hard to use. In your shoes I
would switch to a normal Tomcat server from apache.org.
In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK
and move my App folder shop_v1 to ROOT
After that and a restart of Tomcat... nothing
Dear Peter,
I guess it should be easy enough to distinguish between severe
errors and ordinary errors, but how do you distinguish between 500
errors application runtime errors? I specifically want to report
errors that occur at the container level and not at the application
level... I hop
Dear Dan,
Thanks for the info, I have verified that my existing Tomcat is
offline. My existing Apache Tcat 5.5.25 binds to the port without
incident, only the out of the box 6.0.16 is causing the problem,
with the identical message as yours.
I'm using netstat -an |grep 8005 on AIX, to on
Der Torsten,
I got it sorted out with ldd as suggested here on the list but it is
certainly good to know about truss - thank you!
I am curious what performance gain APR has for your application
server. Did you do any load tests? If so, could you please publisch
the results?
--
Kees Jan
Dear Dan,
Yes it works with apache-tomcat.5.5.25, the port comes up and
listens on Port 8005. I can stop and start at will, no problem.
The installation I have is 6.0.16, no mods to server.xml and this is
one that throws the error.
Strange. When I try a stock 6.0.16, freshly downloaded f
Dear Søren,
How do i change Tomcat 6's bind address?
http://java-monitor.com/forum/showthread.php?t=32
--
Kees Jan
[EMAIL PROTECTED]
06-51838192
Rule 1 for being in a hole: stop digging.
-
To start a new topic, e-mail: u
Dear Uprooter,
I'm looking for a server that has to hold many (web services) remote
clients
for controlling them.
I want to do things like sending power off command to a bunch of
machines
remotely.
Building a botnet? :-)
The clients are usually windows machines behind firewalls NAT or
Dear Martin,
http://www.jdocs.com/tomcat/6.0.14/org/apache/catalina/ServerFactory.html
ServerFactory.getServer() will return
org.apache.catalina.ServerFactory
Thanks for the information. I changed the mbean server code to make
use of all available mbean servers and now my code can always se
Dear All,
I've been doing a lot of webapp development on tomcat, but currently
my
process is all manual. I write the code in Eclipse, and then copy the
appropriate files over to tomcat. I'd like to automate and
standardize my
process.
So would y'all mind explaining how your dev environme
Dear Mark,
I got bitten by this recently. I am working on a LifecycleListener
(that
can be configured in server.xml) that fixes both ports that are used
by
jconsole. This makes it much easier to configure firewalls, tunnel
through
PuTTY etc.
If I get it finished in time, it will be in 6.0
Dear Subhrajyoti,
I am facing problem in running Jconsole remotely . In my
machine from where I am running Jconsole I have jdk1.6...I am trying
to
connect to TOmcat6.0.18 running on a windows 2003 server
machine(with JDK
1,5) ...I have a batch file with the following contents : Whe
Dear Tom,
I'd like to confirm that I am trying the right things in fixing a
memory
error and discover what else I can do to resolve my problem. I realise
this is a common problem as I have Googled, read the Tomcat memory FAQ
and searched the mailing lists. I have tried looking at catalina.out
Dear Craig,
I'm writing a servlet to allow large-file uploads (with ranges and
resume). One issue I noticed was that if the range is invalid (I do
the checks in doPut), and I return a 416, the client (curl in this
case) continues to upload the body (possibly gigabytes of data that
will be
Dear Gennady,
My web.xml descriptor missing reference to JDBC data source defined in
context.xml ( section), but web application runs just
fine
and pooled data source consumed by hibernate.
Same here. I read somewhere that the tutorials are wrong and the this
is the way it's supposed to
Dear All,
In your error page, the variable "exception" is set to the exception
(if any). You can get the error message and stack trace from the
exception like this:
Exception message: <%= (exception == null) ? "" :
exception.getMessage() %>
<%
String stStack = "";
if (exception != null) {
1 - 100 of 106 matches
Mail list logo