Why won't Tomcat 5 shutdown properly?
Hi, Just tried switching to Tomcat 5 and am having a little problem. Why will Tomcat 5 start fine, but not shutdown properly? Has this happened to anybody, does anybody have a clue as to why it would behave this way? error displayed in console [of startup.bat] when shutdown.bat is clicked: [ERROR] Catalina - -Catalina.stop LifecycleException: Cannot find message associated with key coyoteConnector.protocolHandlerPauseFailedLifecycleException: Cannot find message associated with key coyoteConnector.protocolHandlerPauseFailed at org.apache.coyote.tomcat5.CoyoteConnector.pause(CoyoteConnector.java:1462) at org.apache.catalina.core.StandardService.stop(StandardService.java:560) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2379) at org.apache.catalina.startup.Catalina.stop(Catalina.java:643) at org.apache.catalina.startup.Catalina.start(Catalina.java:618) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) Stats are: Tomcat 5. Windows XP. JRE 1.3 (JAVA_HOME pointing to a jre not jdk, but not using JSPs) Thanks. Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why won't Tomcat 5 shutdown properly?
I did that as well, but still did not work. Thanks anyway. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 10:42 AM To: Tomcat Users List Subject: RE: Why won't Tomcat 5 shutdown properly? Hi, Try it with a JDK. Other than that I don't know ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Frank Diakovasilis [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 10:40 AM To: 'Tomcat Users List' Subject: Why won't Tomcat 5 shutdown properly? Hi, Just tried switching to Tomcat 5 and am having a little problem. Why will Tomcat 5 start fine, but not shutdown properly? Has this happened to anybody, does anybody have a clue as to why it would behave this way? error displayed in console [of startup.bat] when shutdown.bat is clicked: [ERROR] Catalina - -Catalina.stop LifecycleException: Cannot find message associated with key coyoteConnector.protocolHandlerPauseFailedLifecycleException: Cannot find message associated with key coyoteConnector.protocolHandlerPauseFailed at org.apache.coyote.tomcat5.CoyoteConnector.pause(CoyoteConnector.java:14 62) at org.apache.catalina.core.StandardService.stop(StandardService.java:560) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2379) at org.apache.catalina.startup.Catalina.stop(Catalina.java:643) at org.apache.catalina.startup.Catalina.start(Catalina.java:618) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) Stats are: Tomcat 5. Windows XP. JRE 1.3 (JAVA_HOME pointing to a jre not jdk, but not using JSPs) Thanks. Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why won't Tomcat 5 shutdown properly?
sounds good to me, I appreciate the help. Thanks -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 10:46 AM To: Tomcat Users List Subject: RE: Why won't Tomcat 5 shutdown properly? From: Frank Diakovasilis [mailto:[EMAIL PROTECTED] Subject: Why won't Tomcat 5 shutdown properly? Just tried switching to Tomcat 5 and am having a little problem. Why will Tomcat 5 start fine, but not shutdown properly? Same problem I reported last week. Some new log messages were not included in the appropriate properties files sometime between 5.0.16 and 5.0.19 (they are supposed to be in 5.0.20). When running with JDK 1.3, the built-in logging mechanism throws an exception, killing the main thread. Under JDK 1.4, Sun logging is used, and this just prints an error message and continues. If you can move up to 1.4, the problem will disappear. - Chuck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ISAPI Filter not communicating with Extension.
I am having an issue with the isapi redirect (versions 1.1 1.2) with Tomcat 4.x on windows 2003. The filter seems to fail in redirecting to the extension. When working properly the logs show that the filter transfers the data to the extension fine. When not working properly the logs show the filter trying to transfer control, but what happens is the the filter gets re-accessed this time trying to parse the redirect's uri (/Redirect/isapi_redirect.dll). Below is a log of the failed attempt. Is this due to the nature of these ISAPIs using Thread Local Storage (TLS)? This anomaly occurs on one version of 2003 but not another. NOTE: the aliasing/permissions are correct and the extension is registered as a web service on IIS6. [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /servlet/servletName [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp13 [jk_isapi_plugin.c (439)]: HttpFilterProc [/servlet/servletName] is a servlet url - should redirect to ajp13 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/servlet/servletName] is points to the web-inf directory [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /Redirect/isapi_redirect.dll [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [jk_isapi_plugin.c (452)]: HttpFilterProc [/Redirect/isapi_redirect.dll] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Redirect/isapi_redirect.dll] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 552 [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done
RE: request parameter
are you using the isapi filter? post and get parameters or just get? -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 11:50 AM To: [EMAIL PROTECTED] Subject: request parameter Have somebody ever had problem with request parameters ? I am using Tomcat 4.1.29 com JK2. Sometimes my request parameters are disappearing. Did somebody already have this problem ? _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Norton Internet security conflict
I am having trouble receiving posted data from a browser that has Norton Internet Security. The browser has no problem posting the data to an asp page, but will not to a servlet. Has anybody else come across this? There is a setting in Norton that rectifies it, but short have having people change their settings, any ideas???
XP and session persistence
I have run a web application on NT and it works fine, when installed (with tomcat 4.0) on XP, it does not work properly. The problem seems to be session persistence. Under XP, when creating a session, tomcat does not attempt to put a cookie (JSESSIONID) to the browser. Has anybody come across this?
Is there a common lib between webapps, but not instances?
I have multiple instance of Tomcat set up with multiple webapps in each. I would like a jar file to be shared across the webapps, but not across the instances. Is there a directory in place for that, or does anyone know how to get around this? TomcatHome\common\ is shared across instances so is not good.
RE: Is there a common lib between webapps, but not instances?
That probably would be ideal, but I am using soap as a web app and it shares files with the other webapp, so I am stuck with the headache, but thanks anyway. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:21 AM To: Tomcat Users List Subject: RE: Is there a common lib between webapps, but not instances? Howdy, You would probably save yourself some headaches and frustration if you just package everything a webapp needs with the webapp. Don't use common libraries at all... Yoav Shapira Millennium ChemInformatics -Original Message- From: Frank Diakovasilis [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:21 AM To: Tomcat Users List Subject: Is there a common lib between webapps, but not instances? I have multiple instance of Tomcat set up with multiple webapps in each. I would like a jar file to be shared across the webapps, but not across the instances. Is there a directory in place for that, or does anyone know how to get around this? TomcatHome\common\ is shared across instances so is not good. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
shared jars amongst web apps.
Does anybody know of a location where I can put a jar file that is shared among the web apps of a tomcat instance, but not thought out all instances. i.e. putting a jar in common/ would share that file throughout all instances of tomcat, which I do not want. Short of explicitly including the location in class path, is there a way to do this? Thanks
Session Invalidate Listener???
Does anybody know of a way of being notified before tomcat invalidates a session, i.e. fire off an event (InvalidateSessionEvent) prior to getting invalidated?
Multiple instances of Tomcat
I have come across this topic many times in this mailing list, but never paid attention since I never needed to but I now need to run multiple instances of Tomcat on a single server (IIS). The only docs I came across say to set a CATALINA_BASE variable, and that is all they say. What steps need to be taken to use multiple instances of Tomcat? What directories need to be duplicated, and what files need to be changed? also I am using the isapi redirect, what has to be done there? I'd appreciate any help, Thanks. -Frank
RE: Multiple instances of Tomcat
Thank you Ralph, this should get me started. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 10:31 AM To: Tomcat Users List Subject: AW: Multiple instances of Tomcat Although the following is for unix and tomcat standalone, this should give you the right direction. We have a structure like this: /www/online/site /log dirctory for the log file /conf web.xml server.xml and other files that contain the site specific setup for tomcat (tailored versions of the files that are provided by tomcat) make shure that the combination of IP and port are unique for each instance of tomcat. ... /work Directory where tomcat stores the genared files and classes /webapps Directories for the contexts /bin start.sh Script that calls the tomcat that we want to use for this site with the environment for this site: JAVA_HOME=/usr/local/java/jdk/sun1.3.1 CATALINA_HOME=/usr/local/java/tomcat-4.0.3 CATALINA_BASE=/www/online/site export JAVA_HOME CATALINA_HOME CATALINA_BASE ${CATALINA_HOME}/bin/startup.sh /usr/local/java/jdk/ibm1.3 /usr/local/java/jdk/sun1.3 /usr/local/java/jdk/sun1.3.1 /usr/local/java/jdk/sun1.4 /usr/local/java/tomcat-4.0.3 /usr/local/java/tomcat-4.0.4 This way we can have different versions of tomcat at the same time, all sites that use the same tomcat version use the same 'executable' but different processes and individual configuration. If we want to use an other version of tomcat we just have to change CATALINA_HOME in start.sh (unless the config files are incompatible between these versions) Have a look at RUNNING.txt in the tomcat distribution: (4) Advanced Configuration - Multiple Tomcat 4 Instances ... Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de -Ursprüngliche Nachricht- Von: Frank Diakovasilis [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 2. August 2002 16:26 An: '[EMAIL PROTECTED]' Betreff: Multiple instances of Tomcat I have come across this topic many times in this mailing list, but never paid attention since I never needed to but I now need to run multiple instances of Tomcat on a single server (IIS). The only docs I came across say to set a CATALINA_BASE variable, and that is all they say. What steps need to be taken to use multiple instances of Tomcat? What directories need to be duplicated, and what files need to be changed? also I am using the isapi redirect, what has to be done there? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Multiple instances of Tomcat
thanks -Original Message- From: David Mossakowski [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 1:45 PM To: Tomcat Users List Subject: Re: Multiple instances of Tomcat You need to go through the server.xml file and for whatever connectors that use ports that you have uncommente the following fashion: item original port tomcat 1tomcat 2 -- server 8005 11005 12005 ajp 8009 11009 12009 http 8080 11080 12080 the ubeans site recommends commenting http standalone out but I wanted to keep it for testing so I changed that too d. Frank Diakovasilis wrote: I have come across this topic many times in this mailing list, but never paid attention since I never needed to but I now need to run multiple instances of Tomcat on a single server (IIS). The only docs I came across say to set a CATALINA_BASE variable, and that is all they say. What steps need to be taken to use multiple instances of Tomcat? What directories need to be duplicated, and what files need to be changed? also I am using the isapi redirect, what has to be done there? I'd appreciate any help, Thanks. -Frank -- David Mossakowski [EMAIL PROTECTED] Instinet Corporation 212.310.7275 ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Client session problems when MSIE is run within Outlook
You can force the session id by appending the session id between the servlet and the parameters. e.g dynamically generate the url http://www.company.com/servlet/servletname;jsessionid=1234567890?paramet1=1 where the 1234567890 is added via the get session.getId() method. -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 12:33 PM To: tomcat-user Subject: Client session problems when MSIE is run within Outlook I don't have MS Outlook myself, so I can't do any testing on this. But I have a customer who has been running a browser session from within Outlook. Some of my pages have javascript links that open a new browser window to view a page. When she accesses one of these popups from within Outlook, the newly popped-up window fails to supply the correct session cookie and a new session is created for that window. Needless to say, this really screws up the application. Is it possible to *force* the encoding of the session ID in the page which contains the link that generates the popup even if cookies are used for the session ID? Right now, I'm using response.encodeURL(), but that does nothing when cookies are used. I would rather not use an encoded session ID for all links, just ones that open new windows. Jeff -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
test
test
RE: Excessive high usage of memory by Tomcat on NT
out of curiosity, are you running tomcat as a service? -Original Message- From: Manish Bhatnagar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 12:18 AM To: Tomcat Subject: Excessive high usage of memory by Tomcat on NT Hello all: We are facing the problem of excessive memory usage by our servlets (that call JNI functions). The memory usage seems to touch 50+ MB in 2000 Server but it drops down to 30 MB soon. But, this does not happen in NT. The memory keeps on increasing and there is a point in time when Tomcat occupies *all* the available memory. We are taking care of *garbage collecting* the objects frequently(by calling Runtime.gc()). Is there any other way by which we can have some kind of control over the usage of memory? Do we have to install a patch for NT (if something like this is available)? NT Server: -- PIII 500 MHz, 256MB RAM, 40GB HDD 2000 Server: PIII 700 MHz, 128MB RAM, 20GB HDD Tomcat: --- Version 3.2.1 JDK: Sun's JDK 1.3 Any suggestions, pointers are appreciated. Thanks Manish -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Uninstalling Tomcat as a service
I just came accross that and what it was in my case is that I didn't stop the service before trying to uninstall, this may or may not be your problem. -Original Message- From: Mario Felarca [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 1:13 PM To: [EMAIL PROTECTED] Subject: Uninstalling Tomcat as a service Hello, I am using JavaService to run Tomcat 3.2.3 as a service on a Win2k machine. Sometimes, when I do an uninstall of the service, Tomcat does not fully uninstall. From the service control manager, it is listed as Disabled, and you cannot do anything with it because Windows will come back with an error saying This service is marked for deletion. It requires a reboot to fix. Has anyone seen this problem? It does not happen every time, but happens often enough to be a hindrance. Any information or pointers would be appreciated. Thanks in advance, Mario- _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
java.lang.outofmemory exception
I wrote an application that, run within Tomcat(4.0) and really beaten on, throws an outofmemory exception. The thing is, I don't think It is my app, and when viewing task manager, I see that there is plenty of memory available. Has anybody come across this, is there a setting in Tomcat (or jvm for that matter) that will let me allocate more of the available memory to the app?
Tomcat 4.0 as a service
I'm sure this question has been asked and answered numerous times, but How would I install Tomcat 4.0 as a service. I tried using 3.xx's jk_nt_service.exe and included a modified wrapper.properties file to no avail, the jvm.stderr reads: java.lang.NoClassDefFoundError: org/apache/tomcat/startup/Tomcat Exception in thread main java.lang.NoClassDefFoundError: org/apache/tomcat/startup/Tomcat Exception in thread main Somebody must have come across this, Thank you.
RE: Need help with SQLException
My best guess, given the info, is that you are trying to read a memo field from an access db using rs.getString(), which jdbc has problems with. -Original Message- From: Mike Kelley [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 27, 2001 10:24 AM To: [EMAIL PROTECTED] Subject: Need help with SQLException Here's the error java.sql.SQLException: [PREPDESC] *FIRST in *N type *MEM not found Anyone? Ideas? Where is the manual? Thanks In Advance Mike -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
java source security
I have a general Java question regarding safe-guarding java source code against decompilation. What's the best approach to do this?
java.lang.IllegalMonitorStateException
Hi, I'm havind a problem running my app within Tomcat(with redirect.dll). With like four users punding away ion the app, I get hung, and an java.lang.IllegalMonitorStateException is thrown, without any more detail, has any one else come accross this? It only seems to be a problem when going through the redirect as opposed to port 8080.