Thank you for your reply,
so basically, this shouldn't affect Tomcat adversley in anyway right?
I was considering having tomcat automcatically restart a minute later
after httpd every sunday morning, is there anything wrong with that idea?
Cheers
Sam
Bill Barker wrote:
Sam Seaver [EMAIL
, and then if
I close the window, the CLOSE_WAIT reappears
What is going on??
S
Sam Seaver wrote:
Dear all,
Im running
Httpd 2.0.48
Tomcat 4.1.24
Connect by JK2 (unfortunately, I have no record of the version number)
on RH9
This set-up has worked really well, up till recently, where I found
that after
Httpd by default, because of the logfile rotation that occurs every
Sunday morning at 4am, restarts at the same time.
If Tomcat is never re-started, what does this do to the jk2 connection
between the two?
S
-
To unsubscribe,
Dear all,
Im running
Httpd 2.0.48
Tomcat 4.1.24
Connect by JK2 (unfortunately, I have no record of the version number)
on RH9
This set-up has worked really well, up till recently, where I found that
after a couple of visits to the JSP pages compiled by my tomcat server
caused a couple of
Hey Yoav,
when you say 'sockets remain bound', do you mean the hexadecimal addresses?
how should I check these sockets?
Also, does anyone know a good CPU usage monitor for linux?
Cheers
S
Shapira, Yoav wrote:
Howdy,
So do you have any idea whats going on?
I don't have a good idea. It's
Well, Catalina did it again, suspended this weekend.
But following Yoav's recommendation I ran './catalina.sh stop' and then
did a 'kill -s SIGQUIT' on the JVM process and got this lovely long
thread dump in my catalina.out.
The only thread that makes any sense to me, because it refers to a
By address I assume you mean the hexademical numbers in the square
brackets on the first line of each?
15 is a daemon, I've posted a few lines from each:
Thread-35 daemon prio=1 tid=0x08454c30 nid=0x38f7 waiting on condition
[4f20a000..4f20c714]
at
So do you have any idea whats going on?
S
Shapira, Yoav wrote:
Howdy,
By address I assume you mean the hexademical numbers in the square
brackets on the first line of each?
Yes.
15 is a daemon, I've posted a few lines from each:
Hmm, they're all daemons. How strange...
Yoav
Just a note, though this only happened to me in Linux:
If the 'native Application Event Log' gets disrupted somehow, then it
caused the connector to 'hang' and thus stopped all calls for jsp
pages. In Linux what happened to me every sunday was that the
'logrotate' utiltiy would move my
It's all in the html, it doesnt really matter if its tomcat or not,
because even if you're using JSP, you're still reverting to
html to get the browser to display the applet (i dont trust jsp:plugin
btw, though the latest tomcat might support it better).
I simply use this:
object
Hey,
Catalina.sh shutdown connects to the shutdown port (8005 by default) and
tells the server to shut down. Tomcat shuts down all its parts, and
that includes destroying servlets, filters, listeners as mandated by the
servlet specification. But tomcat does not call, for example,
System.exit(),
My initial thought ( :-) forgive me its some time since I have coded
servlets) was that Tomcat will create a new servlet instance that is
totally independed of the other, for each request.
Tomcat will not create a new instance of a servlet for every request to
that servlet. Tomcat will
Shapira, Yoav wrote:
Howdy,
So basically, I iknow this is off-topic for a tomcat-users page, but if
I wanted to track down all the threads that are opened within the JVM
at
any one time, and the nature of the threads (ie Daemon etc.) and where
they come from etc. can I do this?
Howdy,
My first problem is the definition of the JVM, i cant find it as a
process in its own right, I can only find the process for catalina,
sending a SIGQUIT to:
/usr/local/j2sdk_nb/j2sdk1.4.2/bin/java
-Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath
I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9.
It seems every now and then, tomat just simply hangs. When I try to
shutdown the Catalina process via catalina.sh, it doesnt remove the
process?! So I have to 'kill -15' it, then start up catalina again.
I get very little
the original process is still runnning.
Has this happened to anyone else?
Thanks
Sam Seaver
Original Message
Subject:Catalina suspends for no reason?!?
Date: Wed, 04 Feb 2004 10:38:16 -0600
From: Sam Seaver [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL
jars in my web applications WEB-INF/lib/ directory,
then I have to make sure their use is discontinued, seperately from
catalina.sh??
Lastly, it seems as if making sure all threads are started as daemons is
the best way to go but I dont know how to do that?
thanks
Sam Seaver
Shapira, Yoav wrote
Ya, you have to create a DecimalFormat, and then set it with 2 decimal
places, and then create a string, with the double as the parameter, where
the string will be the 'parsed' double.
S
- Original Message -
From: Josh G [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
OK, in my normal html file, which I use to run my applet, I have version
1.4 of the JRE coded in, and the java plug-in works well, and the applet is
fine.
OBJECT
classid = clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
codebase =
ok i've got this, which is more of a jstl thing, but might be TC related...
c:if test=$applicationScope.labnews==null}
blabnews doesn't exist/bbr /
/c:if
thing is, i do NOT declare the variable labnews ANYWHERE else in my jsp
page, and yet, the test always passes false, in other words,
I'm sure i've misunderstood beans, but if I write a standalone java
application that does the same thing, i dont get the error...
the pointer that is null is the pointer to the List called moYe, which is
filled in the beans constructor. Also, if I try to access the LabNews
object, that also
Directories of the servlet 2.3 spec). The temporary io
dir
tomcat uses is echoed by the startup script.
You could add a path property to your bean set by a hidden input field on
your form or set the path explicitly via a scriptlet.
-Original Message-
From: Sam Seaver [mailto:[EMAIL
OK I have a package created by JAXB called sam.xml within my WEB-INF/classes
folder, this is an uncompressed package, thus it's the directories
'sam/xml/*.class'
in my jsp page within the same web application, I call:
%@page import javax.xml.bind.*,sam.xml.* %
it finds the javax stuff
information about how you try to get sam.xml file?
Are you using something like:
yourClass.class.getResource(sam.xml)
or getResourceAsStream ?
-- Jeanfrancois
Sam Seaver wrote:
OK I have a package created by JAXB called sam.xml within my
WEB-INF/classes folder, this is an uncompressed
YOUR_WEBAPP_NAME
is sam, i think)
Take a look at this doc
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
-Original Message-
From: Sam Seaver [mailto:[EMAIL PROTECTED]]
Sent: 10 October 2002 21:32
To: [EMAIL PROTECTED]
Subject: RE: Error with multipartParser
i'm using
I had this problem with galeon and simple html files, it should be in the
settings somewhere in your browser, that you can force it to actually reload
the page rather than look in the cache, even though I was pressing the
RELOAD button. once i made the change, RELOAD really RELOADed...
Sam
maybe even a samba fix...
- Original Message -
From: Padhu Vinirs [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 8:59 AM
Subject: Re: reloading of jsp page...
I think I founf out what the problem is. My jsp page is on Linux. I have
this
Can you give the full exception stacktrace?? That might help us figure it
out. try e.printStackTrace() instead of creating the printwrite and
printing
to standard error. Send the tomcat log files too.
Rajiv
-Original Message-
From: Sam Seaver [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
:03:24 -0500
Can you give the full exception stacktrace?? That might help us figure it
out. try e.printStackTrace() instead of creating the printwrite and
printing
to standard error. Send the tomcat log files too.
Rajiv
-Original Message-
From: Sam Seaver [mailto:[EMAIL PROTECTED
using??? I am using Tomcat 3.2
. There might be an incompatibility problem.
Rajiv
-Original Message-
From: Sam Seaver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 2:11 PM
To: [EMAIL PROTECTED]
Subject: RE: Error with multipartParser
OK, here's the JSP page I'm using, note
I cannot work this out as I get no more in my error messages despite trying
to use the usual ways of debugging the bean. Basically I'm using a bean
that extends HttpServlet and uses Hunter's MultipartParser, and the error
ALWAYS occurs when I try to create an instance of the parser...
Error:
with multipartParser
Date: Wed, 9 Oct 2002 17:14:03 -0400
MultipartParser mpParser = new MultipartParser(req,
10*1024*1024);
try to use a smaller number and see what happens, like 1024bytes, instead
of
10Megs.
-Original Message-
From: Sam Seaver [mailto:[EMAIL PROTECTED]]
Sent
Im using TomCat 4.1.12 (Standalone) on redhat linux 7.2 (kernel 2.4.7-10):
jsp:
form action=jguru.jsp enctype=MULTIPART/FORMDATA method=post
input type=file name=fileName value=/home/seaver/txts/letter.txt /
jsp:useBean id=xmlHandler class=com.jguru.SimpleBean
jsp:setProperty
im using tomcat 4.1.12 on RHLinux 7.2,
the JSP page works fine, as I've done it with several other parameters etc.
but when it came to using the com.oreilly.servlet package in the bean for
the file upload, i get this error message in my log file(below), the bean's
function doUpload is here:
34 matches
Mail list logo