Dear Sir:
I always meet the following stop service problems on Tomcat 5.5.16
(Solaris 10), would you please tell me how to resolve it?
Mar 30, 2006 11:12:24 PM org.apache.coyote.http11.Http11BaseProtocol
pause
INFO: Pausing Coyote HTTP/1.1 on http-80
Mar 30, 2006 11:12:24 PM
Forest Zou wrote:
I always meet the following stop service problems on Tomcat 5.5.16
(Solaris 10), would you please tell me how to resolve it?
Mind to tell us what the actual problem *is*?
Regards
mks
-
To unsubscribe,
Dear,
Tomcat will stop randomly with the following logs.
init properFile
Mar 30, 2006 11:51:10 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
Mar 30, 2006 11:51:10 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on
Forest Zou wrote:
Tomcat will stop randomly with the following logs.
init properFile
Mar 30, 2006 11:51:10 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
Mar 30, 2006 11:51:10 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing
David,
You make a strong and valuable point. One should always try to see if
one's own feet work before expecting the helpful hoards to march on
his behalf.
None the less, perhaps the name of apache-tomcat-5.5.XX-compat could
include a blunt hint as to what it really is such as:
Dear,
There is no more information before that, Tomcat will stop service randomly,
maybe several hours, maybe several minutes.
Forest Zou
Aicent, INC.
http://www.aicent.com
E-mail:[EMAIL PROTECTED]
+86-10-96096210-2410
+86-10-83913176 (fax)
-Original Message-
From: Markus Schönhaber
Forest Zou wrote:
There is no more information before that, Tomcat will stop service
randomly, maybe several hours, maybe several minutes.
Ah, so the problem is Tomcat shutting down unexpectedly without any error
messages but performing a clean shutdown procedure?
I've never seen something
Dear,
The tomcat is not stopped completely, but I can not telnet the port 80.
Sure, nobody shutdown it or telnet 8005.
I use JDK 1.5.0_01 on Solaris 10, and Tomcat's version is 5.5.16.
I use bash to startup it by running startup.sh
Forest Zou
Aicent, INC.
http://www.aicent.com
E-mail:[EMAIL
On 3/30/06, Forest Zou [EMAIL PROTECTED] wrote:
Dear,
The tomcat is not stopped completely, but I can not telnet the port 80.
Sure, nobody shutdown it or telnet 8005.
I use JDK 1.5.0_01 on Solaris 10, and Tomcat's version is 5.5.16.
I use bash to startup it by running startup.sh
What do you
Hi,
Thanks I did vaguely come across that, but we're not using Struts :(
I'm guessing based on the lack of replies that I can't detect something
thats not covered by a security contraint.
Has anyone done anything like this? I guess I'll either do what I said
below, or bin the security consraint
When I try to startup tomcat directly, it told me : java.net.BindException:
Address already in use:80
But I can not access the website.
Forest Zou
Aicent, INC.
http://www.aicent.com
E-mail:[EMAIL PROTECTED]
+86-10-96096210-2410
+86-10-83913176 (fax)
-Original Message-
From: Leon
maybe someone else has better ideas, but i'd suggest you do following:
next time your tomcat crashes/stops, create a thread dump (kill
-quit) and check whether its really down or hanging or what.
Try to monitor the memory development inside the tomcat and your
webapps. You can print the
one more:
rename the shutdown.sh script.
On 3/30/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
maybe someone else has better ideas, but i'd suggest you do following:
next time your tomcat crashes/stops, create a thread dump (kill
-quit) and check whether its really down or hanging or what.
Thank you all, I will try it later
Forest Zou
Aicent, INC.
http://www.aicent.com
E-mail:[EMAIL PROTECTED]
+86-10-96096210-2410
+86-10-83913176 (fax)
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 6:19 PM
To: Tomcat Users List
Subject:
thankyou very much for taking the time to simulate that. I am going to
try your code and compare it to mine and see why mine was not showing up
there at all.
thanks,
dean
Filip Hanik - Dev Lists wrote:
ok, that was fairly easy, the error gets logged to the
I am still getting no log there.my localhost is empty! Other logs
get filled, I will trim all the fat off. Could it be that I am using
myfaces? BUT myfaces doesn't sit between servletContextListener and
tomcat, so I am really confused. Let me trim the fat(jsp files and
such). All I am
Okay, a zip file with one *.java file and one *.class file can be found
here...
https://pro40.abac.com/deanhiller/cgi-bin/moin.cgi/Downloads
You can unzip it and copy the folder to tomcat/webapps and watch no
Exception get logged. Just the Error listenerStart message gets
logged an no more
Found the solution. This is for all those posters who will run into
this tomcat bug(well, at least, I consider this a bug). Basically,
somehow, I had a log4j jar in my WEB-INF/lib folder. This would cause
logging to work in some places and not others. It would sometimes work
going to
Dean Hiller wrote:
Okay, a zip file with one *.java file and one *.class file can be found
here...
https://pro40.abac.com/deanhiller/cgi-bin/moin.cgi/Downloads
You can unzip it and copy the folder to tomcat/webapps and watch no
Exception get logged. Just the Error listenerStart message
Hi!
I've installed Tomcat 5.5.15 and now I'm wondering if it's ok to install
Tomcat 5.5.16 Administration Web Application into it. I've downloaded the
.zip for admin application from apache.org. I've copied all the required
files into folders, double checked admin.xml (it's not read-only, and
I'm planning on trying, but considering how much trouble I have just
getting my own apps to work properly, I don't know how much luck I'll
have working with other people's code ;-)
Parsons Technical Services wrote:
Write a patch and submit it.
- Original Message - From: David
Is there some reason you cannot plug in log4j?
1. It's already written
2. It already works
3. It has log rotation (either size-based, or interval based)
4. It has customizable appenders to output the information you want, in the
format you want
...
Tim
-Original Message-
From: David
Hello everybody,
Next month, we'll have 6 servers connected to a SAN. Those servers will
be in a web farm. And web documents will on a GFS file system.
I'd like to install Tomcat 5 and/or 5.5 on those servers and use its
cluster's possibilities (mod_jk for example).
Some webapps need
yes, but please look at the solution I found in previous post which
works WITHOUT stripping down everything. I think tomcat should fix this
by reporting something like this
log.log(Level.WARNING, Application Errors will not be logged because
webapp has log4j but no config file, new
I have tomcat 4.1.31 with the valve SSO activated. I want that the users
could have the only session simultaneously. I have read on the valve
SSO, but I cannot do it.
Has someone read like to do it? Where?
Thank you in advance.
Enzo.
Hi,
Sun's JDK contains am small Java-App called 'jconsole'.
You can run it remotely after configuring your tomcat like this:
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html (Enabling JMX Remote)
Consider reading the JDK-docs also.
Real memory usage can be understood much better with this
Dean Hiller wrote:
yes, but please look at the solution I found in previous post which
works WITHOUT stripping down everything.
I never doubted that there is a solution that doesn't require leaving almost
everything out. The fact that the stripped down version behaves as desired
simply proves
On 3/30/06, Markus Schönhaber [EMAIL PROTECTED] wrote:
The RuntimeException is to make it more noticeable in the logs. I mean
953 hits on googling is quite alot of people having trouble. Would be
nice to cut that number down with an easy log statement that tomcat
could add!!!
Well, if
Hello,
We are having some throuble working with reference objects in session, i
mean, every time i try to reload a context the session is not reloaded,
and all its contents are kept in memory reaching the full memory
capacity very fast.
I am sorry my english. I'll try to explain it better:
Can I use it for the Tomcat standard logs without changing my
applications? I want to rotate the stdout_, jakarta_service_, etc
logs. I've already got the logging working fine for my application's
own logs.
Dave
Tim Lucia wrote:
Is there some reason you cannot plug in log4j?
1. It's
set the session timeout in web.xml or kill the session manually
-Oorspronkelijk bericht-
Van: Victor Hugo Germano [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 30 maart 2006 15:35
Aan: users@tomcat.apache.org
Onderwerp: Managing sessions - Object destruction
Hello,
We are having some
I do. Read, understand, and embrace this:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
Tim
P.s. you don't say how logging is working for your web application, but if
you are using commons logging, you need to make sure that you keep separate
log4j jars and configs, or don't supply any
The problems is, when do i have to kill the session?? Even when the
browser is closed, the session continues at the memory...
I think the gc is not working as i expect...
ty anyway :)
MW Janssen escreveu:
set the session timeout in web.xml or kill the session manually
-Oorspronkelijk
Set the session timeout. When the timeout is reached (with no activity per
say 30 minutes) it will kill it. Easiest and simplest solution.
-Original Message-
From: Victor Hugo Germano [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 8:55 AM
To: Tomcat Users List
Subject: Re:
Yes, I've read that. Understanding it, however, is a different question ;-D
A good chunk of what it talks about is how it is different from previous
versions, but that doesn't tell me much since the first version of
Tomcat I ever used was 5.5.12, and there's not much info for a Tomcat
newbie
Edward,
Where can I get JDBC driver for Microsoft Access2000?
Try the HXTT driver. It works very well.
Stephen Caine
CommonGround Softworks, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Tim Lucia wrote:
I do. Read, understand, and embrace this:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
Tim
P.s. you don't say how logging is working for your web application, but if
you are using commons logging, you need to make sure that you keep separate
log4j jars and configs,
Hi,
I need to manually manage the lifecycle of a servlet within a jsp
file. I can't use jsp:include because I need to capture the output
as a string and then throw it into a templating engine.
HttpServletResponse managedResponse = new HttpServletResponse();
MyServlet servlet = new MyServlet();
From: Victor Hugo Germano [mailto:[EMAIL PROTECTED]
The problems is, when do i have to kill the session?? Even when the
browser is closed, the session continues at the memory...
Remember that HTTP is a stateless protocol. Tomcat does not (and
cannot) know that the browser has been closed.
it should be good for me...
ty for the explain peter...
:-)
Peter Crowther escreveu:
From: Victor Hugo Germano [mailto:[EMAIL PROTECTED]
The problems is, when do i have to kill the session?? Even when the
browser is closed, the session continues at the memory...
Remember that HTTP is
I don't know javascript hardly at all, but would it work to write a
little script and use an onClose event to trigger a logout request?
Victor Hugo Germano wrote:
it should be good for me...
ty for the explain peter...
:-)
Peter Crowther escreveu:
From: Victor Hugo Germano [mailto:[EMAIL
Yes, this could work. However, you can never get ALL sessions. Depending
how the client process was terminated, the onClose trigger may or may not be
received. With CLIENT/SERVER you will never be able to get all cases.
Therefore, setting a reasonable session timeout, you can guarantee that
From: David Kerber [mailto:[EMAIL PROTECTED]
I don't know javascript hardly at all, but would it work to write a
little script and use an onClose event to trigger a logout request?
Yes, unless the browser crashes, the user disconnects from the internet
before closing the browser, or the
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
I don't know javascript hardly at all, but would it work to write a
little script and use an onClose event to trigger a logout request?
Yes, unless the browser crashes, the user disconnects from the internet
before
Greetings Mike:
Thanks for your input. I was able to use the mod_rewrite module to swithc
between the different servlet contexts within the httpd.conf file. I don't
know if this will work when you are using mod_jk.
VirtualHost *:80
ServerName myhost.localhost
DocumentRoot
Hi,
I was deploying something that uses ServletRequestListener on Tomcat 5.5.15...
I noticed that when I accessed a regular JSP page (no forwards,
includes, just a straightforward .jsp page), the requestInitialized
and requestDestroyed was called twice:
requestInitialized
requestDestroyed
Remy Maucherat wrote:
On 3/30/06, Markus Schönhaber [EMAIL PROTECTED] wrote:
The RuntimeException is to make it more noticeable in the logs. I mean
953 hits on googling is quite alot of people having trouble. Would be
nice to cut that number down with an easy log statement that tomcat
I reported the following problem at bugzilla
(http://issues.apache.org/bugzilla/show_bug.cgi?id=39149)
Tomcat5.exe and Tomcat5w.exe are missing in the packages 5.5.16.zip and
5.5.16.tar.gz
Remy Maucherat told me, This is done on purpose, and labeled it as
resolved and won't fix.
Since 5.5.15
Thank you both for the replies
Yes David, custom management of authentication is indeed an option but a bit
painful if it can be avoided.
CAS on the other hand just looks like what we need, and it's open source,
and looks mature, we'll give it a go. Thanks again Aaron.
On 29/03/06, Steele,
talk to your operations team or sys admins, in conjunction you will come
up with a solution that works for you.
ie, you can deploy the webapp in a shared directory on the san, and have
all tomcats read it from there, its up to you
FM wrote:
Hello everybody,
Next month, we'll have 6 servers
Is there a way that I can provide custom configuration information to
my JAASRealm?
The situation is this: I'm using a JAASRealm to authenticate against a
legacy database (I can't use the JDBCRealm as the password encoding is
non-standard). As such, I'd like to be able to provide the JAASRealm
Hi.
I'm using 5.5.9 and have two contexts. One I'd like to use for production,
so I'd like to disable JSP checking by setting Tomcat's web.xml
development param for JspServlet to false. But the second context I'd
like to use the JSP checking because it's a customer staging area where I'd
like
Can you do this by running two Tomcat bases with one installation of Tomcat
home?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 2:05 PM
To: tomcat-user@jakarta.apache.org
Subject: development web.xml param set per context?
Hi.
I'm
Is it possible to turn off Catalina's Commons logging
(from org.apache.catalina.*) in Tomcat 5.0 without
changing the debug level in log4j?
Problem is I use log4j/commons for my application and
don't need to bother with the tomcat logs.
Unfortunately, Tomcat spits out a TON of DEBUG level
Hi,
I have a WAR which, among others, contains Hibernate and JSF libraries.
When I undeploy this application (using Tomcat manager), the app's
directory remains in webapps because app/WEB-INF/lib/jsf-impl.jar cannot
be deleted - i.e. it appears Tomcat continues to access that JAR.
Since
Hello Joe,
Joe Mun wrote:
Is it possible to turn off Catalina's Commons logging
(from org.apache.catalina.*) in Tomcat 5.0 without
changing the debug level in log4j?
Problem is I use log4j/commons for my application and
don't need to bother with the tomcat logs.
Unfortunately, Tomcat spits
Alpha Huang wrote:
Tomcat5.exe and Tomcat5w.exe are missing in the packages 5.5.16.zip and
5.5.16.tar.gz
It's always been that way, IIRC. The zip distributions are not only
for Windows - they are portable distributions that run fine on other
OSes as well.
Both the .zip and the .tar.gz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This exception:
java.io.IOException: null
net.php.servlet.send(Native Method)
net.php.servlet.service(servlet.java:207)
net.php.servlet.service(servlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
in my
I would like to know if there is a way to define security constraints
and user roles (as though I were using a Realm) in the web.xml, and
then programmatically Authenticate users via a pre-existing
authentication mechanism already written in the web application,
without using a Realm.
I am taking
I built and installed APR and the Tomcat JNI wrappers. How do I know whether or not Tomcat is using APR for it's
connections?
Bernie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Folks:
Have anyone run tomcat successfully on RHEL AS 4.0? If yes, what
version?
thanks,
-sunitha
Bernie Durfee wrote:
I built and installed APR and the Tomcat JNI wrappers. How do I know
whether or not Tomcat is using APR for it's connections?
My personal top 3 for You know, your Tomcat is using APR if...:
- The initialization messages messages in catalina.out contain the class name
of
Hi there,
I'm trying to startup.sh in Mac OS X 10.4.5 and get the following error.
Cannot find /usr/local/apache-tomcat-5.5.16/bin/catalina.sh
This file is needed to run this program
I've looked in the apache...5.5.16/bin directory and can see catalina.sh.
My startup file which actually
Thank you for your explaination, which is reasonable.
However, it could be resolved better if the developer or package maker
1. Drop a line in the release-notes.txt when they remove these two
non-portable .exe files from 5.5.16, because 5.5.15.zip has them.
2. Remove service.bat too, as you
Hello,
I am encountering IOException while getting input stream using
getInputStream() method on URLConnection class while sending data to
Tomcat. Error is pasted below.
XML Regular I/O Exception - while getting the input stream from
So I'm trying to set up Tomcat 5.5 with remote debugging because my new IDE
is a complete pain in my backside, but I noticed that my new Tomcat5.5
installation that have the old familiar batch files for launching the
server. all it has is 3 jar files, tomcat5.exe and tomcat5w.exe in the bin
You installed the .exe version. The .zip version (I believe) contains all
the batch files. Not that you need them. You can manipulate the VM startup
options via the service control (tomcat5w aka system tray monitor.) On the
Java tab, simply add (each on it's own line)
-Xdebug
Hi,
I am tring to intigrate Tomcat with Apache. So I followed the steps that
explained in the following website:
http://www.oreillynet.com/pub/au/145
I completed all the steps successfully. And now when I tried to start
tomcat and apaceh. Tomcat is working fine but Apache is
You won't find that way .
Because there are better available combination .
Debian sarge + Apache 1.3.X + tomcat 4.1 ..
That is a very good combination for a production environment , atleast that
i have used over and over and confident on that .
If your question means what version should be
Hi,
I am running RHEL ES 4.0, with tomcat 5.5 (actual deployment
server) and 5.0 on an experimental server for last 9 months
consistantly. I am using java 1.5 and it;s showing steady
performace.not much load testing done.
regards
vineesh
On 3/31/06, Kumar, Sunitha [EMAIL PROTECTED]
Hi friends,
If we are giving the apcahe configuration command as ./configure
--enable-ssl then which ssl packages does the system require.
ssl support
since I am facingan error saying no ssl modules
-
Jiyo cricket on
Thanks vinesh,
but didn't mention the load on it. I compared it
with my system
having min 600-800 hits a day with an average minimum per day per hour 4
concurrent users and an average per hour day average maximum 20 concurrent
user .
On 3/31/06, vineesh kumar [EMAIL
Hi,
I followed John Turner documentation for Connector Installation. But the
problem is I am able to acess it through localhost only. When I want to access
my web server from the remote system I am not able to do it.
that is the jsp files which I am accessing through localhost, I
Hey Roger,
I tried the same (-XX:MaxPermSize=256M) and guess what, no more
crashes, no more deadlocks. I would love to have had error messages
which at least point in the right direction instead of bean not
found, response already commited and broken pipe... Now I know
that an OutOfMemory
74 matches
Mail list logo