Darek Czarkowski wrote:
Martin Cavanagh wrote:
Caldarale, Charles R wrote:
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of the
deployed application for System.exit call?
Her
> From: foo shyn [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat hangs, what to do to diagnose the problem?
>
> just wonder is the JMX package bundled together with
> Tomcat 4.1 as well? or it's only available to Tomcat
> 5.0 onwards?
JMX (and therefore JConsole) is dependent on the JRE level,
Please do not hi-jack threads.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Sorry if i'd hijacked this thread, just wonder is the JMX package
bundled together with Tomcat 4.1 as well? or it's only available to
Tomcat 5.0 onwards?
Thanx
FooShyn
Caldarale, Charles R wrote:
From: Wm.A.Stafford [mailto:[EMAIL PROTECTED]
Subject: Tomcat hangs, what to do to diagnose
Niklas Frank wrote:
> Hi Chuck, hi All,
>
>> Are you sure the timestamp on the WEB-INF/web.xml file of the updated
>> webapp really changes?
> Yes, positive. To check I made changes to the file. If I do the same for a
> web-app in $CATALINA_HOME/webapps the app gets automatically reloaded.
This w
Please don't hi-jack threads.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Please don't hi-jack threads.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bruno Vilardo wrote:
> INFO: XML validation disabled
Tomcat message. Tells you context.xml files and tld files will not be
validated.
> - Unable to find required classes )javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
Struts message. Tells
import java.io.Serializable;
public class Accomplice {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Data d=new Data();
System.out.println(d.getS(4));
System.out.println(Data.count);
System.out.println(d.getS(3));
System.
Chuck,
Thankyou very much. This pointed me in the correct direction. I
didn't notice the 8009 connector. I am running tomcat standalone, and I have
no need for an 8009 connector. When I commented it out, my issue is
resolved.
Regards,
Andrew
-Original Message-
From: Caldarale,
got it,
you could turn on debugging for DBCP and JNDI, by adding
org.apache.naming.level=FINE
org.apache.tomcat.dbcp.level=FINE
to the bottom of your TC_HOME/conf/logging.properties
that might give you a clue, somehow your entered JNDI names don't match
with what Tomcat think it has bound the
I'm sorry, I must have confused you. After we dowloaded ojdbc14.jar from
Oracle we just
renamed it to ojdbc.jar. I believe this is for use with JDK 1.4 and above.
I think the
classes12.jar is for JDK 1.2 and 1.3. For the record we're using the latest
version of Java 5.
I opened up ojdbc14.ja
Hi,
I'm new to these technologies and hope one of you pros can point me in
the correct location. We are using a product written in Java that
integrates into our website. This product obviously needs to run under
a J2EE compliant application server so we choose Apache Tomcat 5.5 with
Java 1.5. H
Hello All Tomcat Gurus!! :-)
Windows XP SP2
Tomcat 5.5.25
Java JDK - 1.5.0_06
JRE - 1.5.0_06
We have a Web-application, Actually it is our ERP system that has a web
based interface that uses Tomcat and Java.
Every time I startup Tomcat using c:\tomcat\bin\startup.sh file I get the
following messa
yeah, but you are not using ojdbc, you are using oracle's driver
oracle.jdbc.driver.OracleDriver
for this, you need to have classes12.jar
Filip
aku1234 wrote:
I double checked everything. There is an ojdbc.jar file in TC_HOME/lib
and nowhere else.
I'm not sure that it even knows what d
I double checked everything. There is an ojdbc.jar file in TC_HOME/lib
and nowhere else.
I'm not sure that it even knows what driver it's trying to load.
The top part of the stacktrace was:
Cannot create JDBC driver of class '' for connect URL 'null'
Augustin
aku1234 wrote:
> Yes. Anythin
On 9/27/07, Wm.A.Stafford <[EMAIL PROTECTED]> wrote:
> Our Tomcat 4.1.30 instance seems to hang about once a week. i.e. the
> application is unresponsive and it can not be restarted from the
> management console. Tomcat must be restarted to restore functionality.
> There is nothing in the logs to
aku1234 wrote:
> Yes. Anything else I should look at?
As Filip pointed out, without a driver you'll go nowhere. This would
appear to be the immediate issue to deal with.
What driver jar did you put in the lib dir?
Is there another copy in your WEB-INF/lib? You must remove that one if
there is.
Yes. Anything else I should look at?
Filip Hanik - Dev Lists wrote:
>
> ok, that's a good start. take a look at this
>
> Caused by: java.sql.SQLException: No suitable driver
>
> did you put the .jar file for the JDBC driver in TC_HOME/lib?
>
> Filip
>
> aku1234 wrote:
>> I did some investi
ok, that's a good start. take a look at this
Caused by: java.sql.SQLException: No suitable driver
did you put the .jar file for the JDBC driver in TC_HOME/lib?
Filip
aku1234 wrote:
I did some investigation and found a commons-dbcp and commons-pool
in my lib directory. I removed those, so now
do "kill -3 "
that generates stack trace for each thread (aka thread dump) into
std.out, you might want to do it twice so that you can compare them dump
Filip
Wm.A.Stafford wrote:
Our Tomcat 4.1.30 instance seems to hang about once a week. i.e. the
application is unresponsive and it can not
> From: Wm.A.Stafford [mailto:[EMAIL PROTECTED]
> Subject: Tomcat hangs, what to do to diagnose the problem?
>
> Can anyone suggest diagnostics to tell what is going on?
Try the usual:
1) enable JMX monitoring (-Dcom.sun.management.jmxremote) and look at
the JVM with JConsole, especially at t
I did some investigation and found a commons-dbcp and commons-pool
in my lib directory. I removed those, so now it's using
org.apache.tomcat.dbcp.dbcp.BasicDataSource, but I get a similar error.
I'm not sure what's wrong. I did notice that Tomcat 6 uses tomcat-dbcp
instead of commons-dbcp. I'm
Our Tomcat 4.1.30 instance seems to hang about once a week. i.e. the
application is unresponsive and it can not be restarted from the
management console. Tomcat must be restarted to restore functionality.
There is nothing in the logs to indicate explicitly what is going on.
The only logging t
Hi All,
I have been using Tomcat (Embedded in JBoss) for
several years now and back in june 2006 started a
message thread where I switched from jre 1.5 to 1.6
and start to do some performance tuning and
arch/design/implementation tuning.
As of today I am in the 4 millisecond range for most
of my
Martin Cavanagh wrote:
Caldarale, Charles R wrote:
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of the
deployed application for System.exit call?
Heres trouble...the
bit confused on what you are trying to achieve
Filip
Andrew Hole wrote:
Thanks.
Exists some layer to replicate database sessions? If my application is
connected to an instance that crasches, every sessions dies. I would
like to obtain response from the other database instance when this
happens
Thanks.
Exists some layer to replicate database sessions? If my application is
connected to an instance that crasches, every sessions dies. I would
like to obtain response from the other database instance when this
happens.
Thanks
On 9/27/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> t
Hi Chuck, hi All,
> Are you sure the timestamp on the WEB-INF/web.xml file of the updated
> webapp really changes?
Yes, positive. To check I made changes to the file. If I do the same for a
web-app in $CATALINA_HOME/webapps the app gets automatically reloaded.
in catalina.out this leads to:
Sep 2
then, the tcpListenPort must be unique for each instance, since you
cannot share the port
Filip
Andrew Hole wrote:
I only have one machine to test Session Replication. Every tomcat
instances are in same machine.
On 9/27/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
From: Filip Hanik
I only have one machine to test Session Replication. Every tomcat
instances are in same machine.
On 9/27/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
> > Subject: Re: Session Replication
> >
> > yeah, but if you bind to 127.0.0.1 h
> From: Niklas Frank [mailto:[EMAIL PROTECTED]
> Subject: Automatic Reload for Web Applications in User Directories
>
> My context.xml file looks like this:
> WEB-INF/web.xml
Are you sure the timestamp on the WEB-INF/web.xml file of the updated
webapp really changes?
> I tried adding a Defa
Dear all,
I have been trying for quite a while to enable webapplications in user
directories (accessible via ~username) to be automatically reloaded. I am
not sure if it is even possible. Maybe someone of you knows an answer. Any
help is very much appreciated.
Here is my setup:
I am using Tomcat
> From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
> Subject: Re: Session Replication
>
> yeah, but if you bind to 127.0.0.1 how do you expect
> clustering to work between nodes? :)
Well, you could run all the Tomcat instances on the same box. What's
that saying about eggs and baskets?
hibernate is using the org.apache.commons.dbcp pool, so you need to
configure that one, or tell hibernate to use tomcat's pool
the clue here is, that tomcat's connection pool (while the same as
commons.dbcp) has the package renamed to org.apache.tomcat.dbcp.
this is a hibernate problem, your
Hi all,
I have a web application that is installed on a virtual host that has a
number of subdomains defined with elements in server.xml. We
would like cookie sessions persist to across these subdomains, and I
understand that this is not standard as defined in the servlet
specification. Ther
yeah, but if you bind to 127.0.0.1 how do you expect clustering to work
between nodes? :)
Filip
Andrew Hole wrote:
Hello everyone!
For using Tomcat session clustering I need to put the following
component in all nodes?
Andrew Hole wrote:
> Hello everyone!
>
> For using Tomcat session clustering I need to put the following
> component in all nodes?
Yes, obviously. Any node without a cluster definition won't know that
it's supposed to be in a cluster without it...
I don't suppose you've read the docs on cluster
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
As I understand it one instance of the servlet per webapp is accessed
from all threads in a reentrant manner. This is why you normally can't
use any class instance variables in a servlet.
Hi again,
In my catalina.out I see the following INFO on a server startup:
INFO: An older version 1.1.3 of the Apache Tomcat Native library is
installed, while Tomcat recommends version greater than 1.1.4
I installed libapr1 and libapr1-dev using apt on Debain etch 64-bit
version, and am up-
Hi
In another thread I was advised to change my virtual host config, which
has moved this problem on a little bit. I now have a manger context for
each virtual host, rather than just on localhost, and these manager apps
seem to report the session count; its only the localhost manager that
doe
> From: Franck Borel [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat crash @ midnight - but why?
>
> What do you mean by paging?
http://en.wikipedia.org/wiki/Virtual_memory
http://computer.howstuffworks.com/virtual-memory.htm
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWI
Thanks to all for your responses and advice, from this I have now
addressed the problem by using an alternative configuration. For the
record heres what I did:
- I ended up creating a completely different folder for my webapps. I
created subdirectories for each virtual host, rather than having
Hello everyone!
For using Tomcat session clustering I need to put the following
component in all nodes?
--
Charles,
one problem could be insufficient RAM you assigned to Tomcat.
How much RAM have you set to your Tomcat?
Don't confuse physical RAM with the virtual memory sizing of the Java
heap. Having insufficient RAM on the system will only result in
excessive paging, not process termination.
Wh
http://www.nabble.com/Load-Balancing-Tomcat-5.0.X%2C-hardware-or-software--tf4354748.html#a12408836
Check this post
Johann
--
View this message in context:
http://www.nabble.com/Load-balancer-%28apache-or-hardware%29-tf4515421.html#a12921397
Sent from the Tomcat - User mailing list archive at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
> As I understand it one instance of the servlet per webapp is accessed
> from all threads in a reentrant manner. This is why you normally can't
> use any class instance variables in a servlet.
While this is the most straig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pavan,
Pavan Singaraju wrote:
> I have a basic question about servlets in Tomcat 5.0.18. In theory, when
> there are simultaneous requests come for a servlet, it will either queue the
> requests and serve one by one or create multiple threads of t
> From: Franck Borel [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat crash @ midnight - but why?
>
> one problem could be insufficient RAM you assigned to Tomcat.
> How much RAM have you set to your Tomcat?
Don't confuse physical RAM with the virtual memory sizing of the Java
heap. Having insuf
Pavan Singaraju a écrit :
I understand that Tomcat has a SingleThreadModel interface that allows
only one thread access/One request at a time model. But help me solve the
previous problem
--
Pavan S. Kumar
Don't use SingleThreadModel anyway. From J2EE 1.4 docs:
Deprecated. As of Java Ser
Sorry, you can disregard this message. It was my design that was
causing the problem, and all is good now.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Because tomcat is running as a service, permissions may be an issue for
creating/writing to the directory in question, most likely this is why
the task fails... unless the Timer task is a critical process don't use
System.exit(0), just check the if the task runs or not and if not log
the error/
Pavan Singaraju wrote:
Hi,
I have a basic question about servlets in Tomcat 5.0.18. In theory, when
there are simultaneous requests come for a servlet, it will either queue the
requests and serve one by one or create multiple threads of the servlet and
serve the request.
My question is, wh
Hi All,
I have had a side conversation with "Bertrand.donnet" and a
big thanks goes out to him/her. He found a solution and wonderful
instructions on how to set up the JK_mod with Tomcat 5, IIS6.0, and the
native runtime library. The email sent to me is pasted below; with
his/her con
> From: Pavan Singaraju [mailto:[EMAIL PROTECTED]
> In theory, when
> there are simultaneous requests come for a servlet, it will
> either queue the
> requests and serve one by one or create multiple threads of
> the servlet and serve the request.
> My question is, what / how tomcat handles this
Hi,
I have a basic question about servlets in Tomcat 5.0.18. In theory, when
there are simultaneous requests come for a servlet, it will either queue the
requests and serve one by one or create multiple threads of the servlet and
serve the request.
My question is, what / how tomcat handles
Yup that's what I thought was happening. When all threads are busy,
tomcat can't accept any more requests. To an extent tomcat still
accepts some request and waits for a thread to free up but eventually
it'll reject the requests with a 50x error.
Either the tomcat service is legitimately
> From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
> Now before I execute the System.exit I do a dump.
Are you sure shutting down the entire Tomcat instance is the appropriate
thing to do if you can't create the log directory? As opposed to, say,
logging the problem and returning an appropriate s
> From: Andrew Miehs [mailto:[EMAIL PROTECTED]
> Oh - and you may want to have a serious talk with the cleaning lady,
> not that she unplugs the server for the vacuum cleaner.. ^^
Don't joke, it happened repeatedly to a box I used to manage in a
hospital. Even after we taped over the plug, writi
Thanks for getting back Tott.
I did see that how-to link . it states that we have to use those fields
only when we have a keystore format other than 'jks'.
1. I had my keystores files with a ".keystore" as extension. Hence I
modified the connector configuration to :: keystoreType="keystore" &
tru
Hi Christopher,
I'm not sure why you'd want to do this, since
servlets do not really distinguish between GET and POST parameters --
the API abstracts that complexity away from your code.
If I change the request from POST to GET the Servlet works. I have no
possibility to change the Servlet behi
Mark Thomas wrote:
Martin Cavanagh wrote:
Heres trouble...the System does call System.exit(), when it
can't create the directory... - so I understand why my application would
stop- but why would tomcat shutdown?
And there is the problem. System.exit() will kill the JVM (unless
Are you using Log4j in your application?
It has the option to do daily (midnight) rotates on log files...
Oh - and you may want to have a serious talk with the cleaning lady,
not that she unplugs the server for the vacuum cleaner.. ^^
Cheers
Andrew
On 26/09/2007, at 6:11 PM, Christopher Schul
Martin Cavanagh wrote:
> Caldarale, Charles R wrote:
>>> From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
>>> Subject: Re: Tomcat crash @ midnight - but why?
>>>
>>> Now, this would be funny, can you search the source code of the
>>> deployed application for System.exit call?
>>
> Heres trouble.
Martin Cavanagh wrote:
> Heres trouble...the System does call System.exit(), when it
> can't create the directory... - so I understand why my application would
> stop- but why would tomcat shutdown?
And there is the problem. System.exit() will kill the JVM (unless you
are running under a s
Caldarale, Charles R wrote:
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of
the deployed application for System.exit call?
Heres trouble...the System does call System.
Hi Martin,
one problem could be insufficient RAM you assigned to Tomcat.
How much RAM have you set to your Tomcat? You can set a minimum of RAM while you
set a file called setenv.bat in C:\{CATALINA_HOME}\bin\ for example like this:
JAVA_OPTS="-server -Xms256M -Xmx512M -XX:MaxPermSize=128M"
A
67 matches
Mail list logo