When I run in NON SSL (port 8080, stuff is written to the log files). When I
run under SSL (8443) nothing is written to the same log files.
Konstantin Kolinko wrote:
2010/7/2 kareem_s_m kareemud...@gmail.com:
Also
nothing is written to the log flies.
Nothing at all? The logs are
Hi guys.
I have a servlet that uses connection pool with the use of MySQL driver.
When I start or reload Tomcat the application works fine, then if I
redeploy my application it cannot get a connection from a DataSource object.
The following exception is thrown:
java.lang.IllegalStateException:
On 06/07/2010 08:05, Yevgen Krapiva wrote:
Hi guys.
I have a servlet that uses connection pool with the use of MySQL driver.
When I start or reload Tomcat the application works fine, then if I
redeploy my application it cannot get a connection from a DataSource object.
The following
Hello everyone,
I am using Tomcat 5.5.28 in Windows systems. Because there are lots of codes
like System.out.println( some info here) in the apps, after a few days
the file stdout_*.log in the /logs folder becomes so large that we
cannot open it. Due to some reasons, I cannot modify the codes,
郑翼羽 wrote:
Hello everyone,
I am using Tomcat 5.5.28 in Windows systems. Because there are lots of codes
like System.out.println( some info here) in the apps, after a few days
the file stdout_*.log in the /logs folder becomes so large that we
cannot open it. Due to some reasons, I cannot modify
Thanks Andre!
But when tomcat5 starts, it will generate a file like stdout_mmdd.log,
but when it runs for a couple of days, there will be only one file, and all
the infos are appended to that file. What I want is that tomcat can
automatic generate multiple files such as one file one day so
I am using Tomcat 5.5.15 with JDK 1.5.0 update 7 on RedHat Enterprise.
I tested my web application by refreshing a page many times, the Tomcat
server crashed and thrown exception below:
Jul 6, 2010 11:21:38 AM org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint [SSL:
郑翼羽 wrote:
Thanks Andre!
But when tomcat5 starts, it will generate a file like stdout_mmdd.log,
but when it runs for a couple of days, there will be only one file, and all
the infos are appended to that file. What I want is that tomcat can
automatic generate multiple files such as one file
On 06/07/2010 09:48, Goo Sam Kong wrote:
I am using Tomcat 5.5.15 with JDK 1.5.0 update 7 on RedHat Enterprise.
I tested my web application by refreshing a page many times, the Tomcat
server crashed and thrown exception below:
How many times?
Was your test automated?
What did you expect
Hi Pid,
Around 50 times, I press the refresh button on browser manually. I do not
want to see Tomcat crash.
I did the same test on Tomcat 5.5.16 with JDK 1.5.0 update 7 on Windows XP,
Tomcat is running fine without any issue.
On 6 July 2010 17:11, Pid p...@pidster.com wrote:
On 06/07/2010
2010/7/6 kareem_s_m kareemud...@gmail.com:
When I run in NON SSL (port 8080, stuff is written to the log files). When I
run under SSL (8443) nothing is written to the same log files.
In the configuration fragment that you provided you are running with
all 8080, 8443, 8009 at the same time.
2010/7/6 Konstantin Kolinko knst.koli...@gmail.com:
2010/7/6 kareem_s_m kareemud...@gmail.com:
When I run in NON SSL (port 8080, stuff is written to the log files). When I
run under SSL (8443) nothing is written to the same log files.
In the configuration fragment that you provided you are
I've tried today the latest driver available - 5.1.13.
I've places the driver to %CATALINA_HOME%/lib.
I also tried to move it to WEB-INF\lib, but it is appeared that Tomcat (I'm
using 6.0.26) doesn't see
it when trying to create connection from a DataSource. He says
ClassNotFoundException.
I
2010/7/6 Yevgen Krapiva ykrap...@gmail.com:
Hi guys.
I have a servlet that uses connection pool with the use of MySQL driver.
When I start or reload Tomcat the application works fine, then if I
redeploy my application it cannot get a connection from a DataSource object.
Do not use eviction
Thanks, I'll do that.
What about minEvictableIdleTimeMillis ? Just delete it ?
2010/7/6 Konstantin Kolinko knst.koli...@gmail.com
2010/7/6 Yevgen Krapiva ykrap...@gmail.com:
Hi guys.
I have a servlet that uses connection pool with the use of MySQL driver.
When I start or reload Tomcat
2010/7/6 Yevgen Krapiva ykrap...@gmail.com:
Thanks, I'll do that.
What about minEvictableIdleTimeMillis ? Just delete it ?
You can delete it. It is the timeBetweenEvictionRunsMillis attribute
that controls whether the Evictor will be enabled. The other
attributes make no difference.
On 06/07/2010 11:34, Yevgen Krapiva wrote:
I've tried today the latest driver available - 5.1.13.
I've places the driver to %CATALINA_HOME%/lib.
I also tried to move it to WEB-INF\lib, but it is appeared that Tomcat
(I'm using 6.0.26) doesn't see
it when trying to create connection from a
From: Goo Sam Kong [mailto:skgo...@gmail.com]
Subject: Re: Tomcat crashed after servicing too many HTTPS connection
I did the same test on Tomcat 5.5.16 with JDK 1.5.0
update 7 on Windows XP
Why are you mucking around with versions of Tomcat that are over four years
old? Many, many
What's wrong with providing instructions to the customer on how to
install the plugin with a particular web app?
-Original Message-
From: Goren Il [mailto:gore...@hotmail.com]
Sent: Monday, July 05, 2010 2:44 AM
To: users@tomcat.apache.org
Subject: How to call an external class from a
From: 郑翼羽 [mailto:ground...@gmail.com]
Subject: Re: How to split the default stdout log?
But when tomcat5 starts, it will generate a file like
stdout_mmdd.log, but when it runs for a couple of
days, there will be only one file
Not sure there's going to be any ready way for Tomcat to
Thanks.
The bad news is all the output codes are in a single webapp, and have no
hope to use log4j instead of the current system.out codes.
Just I hope to find a way that can make tomcat generate a stdout.log file
eveyday, or at any interval.
On Tue, Jul 6, 2010 at 8:51 PM, Caldarale, Charles
Hi,
When I serve up, say, a PDF file, how do I control the favicon?
Here's my code:
response.reset();
response.setContentType(IOUtilities.gMIMEType(fn));
response.setHeader(Content-disposition, inline; filename= +
file.getName());
OutputStream outStream =
From: 郑翼羽 [mailto:ground...@gmail.com]
Subject: Re: How to split the default stdout log?
The bad news is all the output codes are in a single
webapp, and have no hope to use log4j instead of the
current system.out codes.
Read what I posted - use swallowOutput to capture the writes to
On 6 July 2010 15:10, Dola Woolfe dolac...@yahoo.com wrote:
When I serve up, say, a PDF file, how do I control the favicon?
What is the behaviour you would like/expect from the user agent in this
case?
- Peter
From: Dola Woolfe [mailto:dolac...@yahoo.com]
Subject: favicon when serving non-html
When I serve up, say, a PDF file, how do I control the favicon?
Any request for a favicon is separate from the main page; you shouldn't have to
do anything. Use an HTTP monitor (eg, Firebug) to see how
郑翼羽 wrote:
Thanks.
The bad news is all the output codes are in a single webapp, and have no
hope to use log4j instead of the current system.out codes.
Just I hope to find a way that can make tomcat generate a stdout.log file
eveyday, or at any interval.
Hi again.
I tried what I suggested
There are 2 issues (not in order of priority):
1. The steps are not straight forward, and may cause the system to stop working (the
customer should change the WAR suffix to zip, open it, add the files and
rename it back)
2. When we provide a new version, we will replace the WAR and all the
This is really a two part question.
The first question has to do with the error in the log file and the second
question has to do with making connections to other app servers in Tomcat.
Part 1:
I have a webapp (http://planning.maricopa.gov/apnxy) running under Tomcat
6.0.26 that makes a
From: Goren Il [mailto:gore...@hotmail.com]
Subject: Re: How to call an external class from a webapp (i.e. -
implement a plugin)
Aren't there other webapps that have plugin capabilities?
The philosophy of the servlet spec is to have self-contained webapps, so
plugins aren't really catered
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: WebappClassLoader clearReferencesThreads
I looked at the source for WebappClassLoader:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/
org/apache/catalina/loader/
and I see that Tomcat is trying to
On 30/06/2010 16:23, Ranjix R wrote:
Hi guys, sorry for the bother. I do have a question related to how a certain
feature was implemented in Tomcat (6.0, probably
all of them), that's why I address the question to the dev-list and the
user-list.
Cross-posting to both lists is poor
On 06/07/2010 15:10, Dola Woolfe wrote:
Hi,
When I serve up, say, a PDF file, how do I control the favicon?
Here's my code:
response.reset();
response.setContentType(IOUtilities.gMIMEType(fn));
response.setHeader(Content-disposition, inline; filename= +
file.getName());
Hi,
I have a problem that i don't understand and i hope you can help me with.
I migrate from Tomcat 6.0.20 to Tomcat 6.0.26 and suddenly i get an
exception like this:
05-Jul-2010 16:22:50 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis,
On 7/5/2010 3:35 AM, dennis ch wrote:
modelJNI.java
===
public final static native void initModel();
native code
=
#include HEC.h
#include vector
#include string
[snip]
void initModel() {
You can't use JNI like
Thanks for the responses.
When I serve up a pdf file with the code below, it shows it in an embedded
acrobat, as desired. However, the icon in the browser (in the tab) is the
Tomcat logo.
I'd like to change it to something else.
- Original Message
From: Pid p...@pidster.com
To:
The usual way to specify the favicon is by putting it at the root of
the web site, e.g. http://www.example.com/favicon.ico. On the server,
this file is usually found in [Tomcat dir]/webapps/ROOT/favicon.ico -
change that file to whatever icon you want.
There are some other ways to specify the
From: Dola Woolfe [mailto:dolac...@yahoo.com]
Subject: Re: favicon when serving non-html
When I serve up a pdf file with the code below, it shows it in an
embedded acrobat, as desired. However, the icon in the browser (in the
tab) is the Tomcat logo.
Again, take a look at the HTTP requests
On 06/07/2010 18:20, Roxana wrote:
Hi,
I have a problem that i don't understand and i hope you can help me with.
I migrate from Tomcat 6.0.20 to Tomcat 6.0.26 and suddenly i get an
exception like this:
05-Jul-2010 16:22:50 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE:
Server.xml is well formed as I can render it in IE. Also, the cert path is
right.
Konstantin Kolinko wrote:
2010/7/6 kareem_s_m kareemud...@gmail.com:
When I run in NON SSL (port 8080, stuff is written to the log files).
When I
run under SSL (8443) nothing is written to the same log
My Environment:
Using CATALINA_BASE: D:\tomcat5528
Using CATALINA_HOME: D:\tomcat5528
Using CATALINA_TMPDIR: D:\tomcat5528\temp
Using JRE_HOME:D:\java\jdk1.5.0_12
Using CLASSPATH: D:\tomcat5528\bin\bootstrap.jar
Server version: Apache Tomcat/5.5.28
Server built: Jul 24
40 matches
Mail list logo