I'd probably try to set
|useSystemClassLoaderAsParent=false
|http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html
Filip
Pavel Janoušek wrote:
Hello,
I discovered some terrible situation yesterday...
When my server.xml consists of:
Hello guys,
I have a little problem with Tomcat. I have an application that can not
undeploy hitself, I always need to manually restart Tomcat.
There is no exception message neither any indications. On the log, I
just can read that lines
INFO: Jk running ID=0 time=0/16 config=null
Filip Hanik - Dev Lists mailto:[EMAIL PROTECTED] wrote:
I'd probably try to set
useSystemClassLoaderAsParent=false
http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html
Thanks, this resolve my problem.
Ing. Pavel Janoušek
technická podpora
E-mail: [EMAIL PROTECTED]
FoNet,
i'm trying jython jsp using tomcat, deploy until finished using tomcat
any reference to deploy jsp using IDE, except netbean ?(use tomcat realy)
and any reference to deploy jsp and servlet step by step in tomcat ?
thanks before
email : [EMAIL PROTECTED]
ym : radis_chat
From: Raghuveer [mailto:[EMAIL PROTECTED]
Subject: apache-tomcat-5.5.23\common\i18n
I found some jars in
apache-tomcat-5.5.23\common\i18n
Since I am using Polish for my application,does there will be
any file I need to place in this directory?
The jars in the i18n directory contain
Chris,
Thanks for the notes. It turned out the problem (data not retrieved from
the database) was not caused by the code, but by the tomcat server. I
invoked the same jsp file and there was one more problem that the JDBC
driver could not be found. I made sure the the jdbc jar file was in place
but you should heed what Chris said, regardless of whether this happened to
work or not, because you're asking for further problems down the road with that
configuration -- the try/catch block and everything else, too!
-Original Message-
From: Jason Ling [mailto:[EMAIL PROTECTED]
Sent:
Barry,
Thanks for your response. As you see in Chris' notes, it is safer to move
the declaration to local. So instead of
%! DataSource ds; %
%
try {
Context initCtx = new InitialContext();
I tried changing it to
%
DataSource ds = null;
try {
Context initCtx = new
Hi folks,
we want to log just the domain name a user comes from. As the required
DNS reverse lookup can take some time, we would like to do the lookup
and the logging in a separate thread. Is it a good idea to just start
a new thread for that from a servlets doPost() method?
Thanks in advance!
ok, very good!
-Original Message-
From: Jason Ling [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 9:47 AM
To: Tomcat Users List
Subject: Re: DataSource binding for JSP
Barry,
Thanks for your response. As you see in Chris' notes, it is safer to move
the declaration to
I think it is better to start one background worker thread and pass the log
requests to that thread with the help of a queue.
You can also consider to let the worker cache the DNS lookup results.
(Usually you will see requests from the same clients lots of times.)
- Matthias
-Original
Hello everyone,
I have been searching around but can not find an explanation of what each
log file is suppose to hold.
I see that Catalina.out holds STDERR and STDOUT, but what about
catalina.[date].log?
Thanks,
Chad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
Jason Ling wrote:
| the JDBC driver could not be found. I made sure the the jdbc jar
| file was in place and rebooted the computer, and the same jsp file
| worked.
I'm glad you have solved your problem (though rebooting should not have
been
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jan and Matthias,
Reich, Matthias wrote:
| I think it is better to start one background worker thread and pass
| the log requests to that thread with the help of a queue.
Definitely. Otherwise, you could have threads piling up on one another
if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
polock wrote:
| I just put a jar file in my webapps folder
That's not the place to put it.
| now I would like to write
| some java files with classes that are available within jar file that
will be
| also part of a web
Dear all,
I just put a jar file in my webapps folder and now I would like to write
some java files with classes that are available within jar file that will be
also part of a web applications.
Where should I place this new java files?
Shouldf they be compiled?
Thank you in advance
PS. Also I
Is it possible to programatically direct a servlet response somewhere other
than the remote ip address.
For instance, Is there a response.setRemoteAddr() or something similar.
My ultimate goal would be to, under certain conditions, direct the servlet
response to a null ip 0.0.0.0
Thanks
Dear members
i have windows xp, processor and mainboard of 64 bits
now
Code:
C:\Documents and Settings\Administratorjava -version
java version 1.5.0_12
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
dr_pompeii wrote:
Dear members
i have windows xp, processor and mainboard of 64 bits
now
Code:
C:\Documents and Settings\Administratorjava -version
java version 1.5.0_12
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build
Andrew Hole wrote:
I have both tomcat instances on the same machine, and tcpListenPort are
different on both server.xml: instance 1 setuped with 9016 and instance 2
with 9017.
When I stop one of tomcats, the other is notified properly with the
following message:
12-Feb-2008 11:19:57
Ok so I've caputured a large amount of data and I always see something like
POST ?data=blah... its never blank but its not going to a specific webpage
or anything, just to the host itself.
On Wed, Feb 13, 2008 at 5:50 PM, Len Popp [EMAIL PROTECTED] wrote:
Chuck is referring to the part of the
From: Steven [mailto:[EMAIL PROTECTED]
Subject: Re: Sporadic Errors in catalina log
Ok so I've caputured a large amount of data and I always see
something like
POST ?data=blah... its never blank but its not going to a
specific webpage or anything, just to the host itself.
That's not
Caldarale, Charles R wrote:
From: Steven [mailto:[EMAIL PROTECTED]
Subject: Re: Sporadic Errors in catalina log
Ok so I've caputured a large amount of data and I always see
something like
POST ?data=blah... its never blank but its not going to a
specific webpage or anything, just to the
So, I have an issue with tomcat's database connection pool. Namely,
my connections keep getting closed, instead of reused.
I figured that the easiest way to figure out what was going wrong was
to put this in my debugger, so I could follow the close() call which
should release the db connection
I've been reading the tomcat 5.5 doc and searching MARC but still have
questions about making this work. This seems to come up frequently but I have
not been able to puzzle out a solution. Has anyone actually gotten tomcat to
authenticate with Active Directory (AD)? I'm worried that the
Dan Armbrust wrote:
So, my real question, is why the heck would anyone do this? What
possible purpose could all of this obfuscation serve? All you have
done is make debugging and trouble shooting 10 times more difficult
than it needs to be.
If you insist on refactoring the code for dubious
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ksh,
[EMAIL PROTECTED] wrote:
| Is it possible to programatically direct a servlet response somewhere
| other than the remote ip address.
Not using the servlet container in any usual way. You could email the
response somewhere or something like
Hello,
I am working to upgrade my installation from tomcat 5 to tomcat 6. I am
using tomcat 6 via netbeans.
I want to view/enable logging for my jsp web app. However, I am
confused by what I have read so far in the instructions and FAQ. Via
Google I have found several people with tomcat
Peter Hawkins wrote:
Basically, I would like to enable logging for my JSP app. How do I do it?
Take a look at http://tomcat.apache.org/tomcat-6.0-doc/logging.html
You want the java.util.logging section. Replace the examples web app with
your own and then just use java.util.logging as per
thanks so much for your reply
i did a copy of the originals .exe(32 bits) into other folder C:\bck for
instance
and then replace by the new suggested by you in the bin folder for tomcat,
i saw that some fields are empty in the tomcat5w.exe
(already resolved, a simple copy of the missing values
From: dr_pompeii [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat cant start in windows xp 64bits
[2008-02-14 18:41:14] [986 prunsrv.c] [error] Failed creating java
C:\java\jre1.5.0_12\bin\client\jvm.dll
It's likely that you don't even have a client JVM installed on a 64-bit
platform (you
That error usually means that it can't find some Microsoft C runtime
libs. See http://issues.apache.org/bugzilla/show_bug.cgi?id=41538
--
Len
On Thu, Feb 14, 2008 at 6:52 PM, dr_pompeii [EMAIL PROTECTED] wrote:
thanks so much for your reply
i did a copy of the originals .exe(32 bits) into
Did it occur to you that no-one would go to all this trouble unless there
was a good reason for the re-factoring? Apparently not. If your tone had
been more reasonable I would have taken the time to explain the reasoning.
Since it wasn't - STFW.
It was a sarcastic rant, because I was
Hi Sébastien,
What is your Thread-1? It is not a daemon, if not terminated manually,
it will continue to run after main thread stop.
Regards,
Oleg
On Thu, Feb 14, 2008 at 5:02 PM, Sébastien Piller [EMAIL PROTECTED]
wrote:
Hello guys,
I have a little problem with Tomcat. I have an
god bless you Chuck
it works
C:\java\jre1.5.0_12\bin\server\jvm.dll
instead of
C:\java\jre1.5.0_12\bin\client\jvm.dll
but really wondered why appear C:\java\jre1.5.0_12\bin\client\jvm.dll,
i dont know and i didnt see yet if this value
appear in my other pc machine of 32 bits in the same
From: Oleg Lyashko [mailto:[EMAIL PROTECTED]
Subject: Re: Undeployment problem
What is your Thread-1?
From the stack trace, it looks like Thread-1 is the one waiting for the
shutdown command, but the shutdown script didn't seem to be able to
connect to it. Odd that it's called Thread-1 -
Hi,
Are there any web sites that show/compare the performance of a plain
install vs adding the native libraries for tomcat? How many of you guys
actually use the native libraries in production, ie is this common or
uncommon?
Best Regards,
Jacob
hi Jacob,
You have to use native to use non blocking sockets the Comet
architecture, which lets the number of active HTTP connections scale
up beyond what blocking sockets would allow. I use the native lib for
Comet ...
Maybe this is a start ...
I think what you're asking with setRemoteAddr() also doesn't make
sense from a protocol point of view ... what is a response without a
request?
On Thu, Feb 14, 2008 at 3:10 PM, Christopher Schultz
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ksh,
[EMAIL
From: brien colwell [mailto:[EMAIL PROTECTED]
Subject: Re: Performance of Native library
You have to use native to use non blocking sockets the Comet
architecture
Not true - the pure Java NIO connector in Tomcat 6 also does the above:
http://tomcat.apache.org/tomcat-6.0-doc/aio.html
-
Yes, sorry for the phrasing.
On Thu, Feb 14, 2008 at 5:26 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: brien colwell [mailto:[EMAIL PROTECTED]
Subject: Re: Performance of Native library
You have to use native to use non blocking sockets the Comet
architecture
Not true
Dan Armbrust [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Did it occur to you that no-one would go to all this trouble unless
there
was a good reason for the re-factoring? Apparently not. If your tone had
been more reasonable I would have taken the time to explain the
Jacob Rhoden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Are there any web sites that show/compare the performance of a plain
install vs adding the native libraries for tomcat? How many of you guys
actually use the native libraries in production, ie is this common or
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Subject: Re: Performance of Native library
Thanks for the insight (not just the snippet below).
If you serve a lot of large static files, then it is likely to
be faster on most OSs (due to being able to use sendfile).
How does
44 matches
Mail list logo