java.lang.ClassNotFoundException error 404
Hi all, I just subscribed to this list as i am testing developing web services, i hope i can find some useful tips. I have installed Tomcat6 on my Win XP SP3 box and i have followed a tutorial to create a first Tomcat project. I use a plugin in Eclipse called Sysdeo supposed to ease the creation of the Tomcat container. I have a simple .java (see below) file and a web.xml file in my project. I have made a war file and deployed it via the manager interface. I can start it but i get an error 404 when i browse to it. The .java file relies on external libraries (essentially the java SDK for vmware ESX). I have two problems: 1. When i try to access the manager website using the URL http://amsterdam-sm09:8080/manager/ i get a 404 error whereas if i browse to http://amsterdam-sm09:8080/manager/html the page displays correctly. 2. If i try to browse my project i get a 404 error using this URL http://amsterdam-sm09:8080/viplugin_test/TestServlet Here is the Web.xml file for the tutorial project: ?*xml* version=1.0 encoding=ISO-8859-1? Web-*app* *xmlns*=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/Web-app_2_5.xsd; version=2.5 display-nameVI Client *Plugin* Demo *App*/display-name description VI Client *Plugin* Demo *App* with *Tomcat* and VI Java API/description] * servlet * servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class * /servlet * servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /Web-*app* The catalina log file shows that error (my app is called VI-PLUGIN-ILO): Jul 16, 2009 9:37:25 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\Scripts;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\apache\axis\bin;C:\Program Files\Java\jdk1.6.0_14;C:\Program Files\Java\jdk1.6.0_14\bin Jul 16, 2009 9:37:26 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jul 16, 2009 9:37:26 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 9431 ms Jul 16, 2009 9:37:27 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jul 16, 2009 9:37:27 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 Jul 16, 2009 9:37:28 AM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205) at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1358) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644) at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:789) at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:732) at
Howto - DB based Persistent sessions with no timeout?
Hi all, I've been using Tomcat since the beginning. I know how to use the org.apache.catalina.session.PersistentManager to make sessions persistent between tomcat restarts (which works fine) - but what I'm very keen to know is: - How do I set-up persistence so that users NEVER timeout from their point of view (i.e. if the user goes off for 30 minutes / 2 hours / etc and then returns to their browser then their session would be loaded back from the DB)? thanks very much for any information! Derek -- Derek C In Ireland - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat JRE Redistribute License
Christopher Schultz wrote: Feris, On 7/15/2009 9:39 AM, Feris wrote: This left me with other two dependence apps : Tomcat JRE 6. Is it ok to embed them as part of my distribution? While some folks on the list may know the answer for the JRE, you should really read the Java Runtime Environment license to determine that for yourself. The same could be said for Tomcat: just read the license and you'll have your answer. Since it's pretty clear you're too lazy to locate them yourself, here's a link for you: http://www.apache.org/licenses/LICENSE-2.0.html You might be specifically interested in the section called Redistribution. It's not a tough read. For your information, it is an open sourced project. This is not relevant to the Apache License. You can re-package Apache httpd + Apache Tomcat and charge a jillian dollars for it if you want. You just need to tell your customers that they can get a free copy :) The license requirements in section 4 don't require that. They do require, amongst other things, that you acknowledge that your product is based on Apache Software. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Socket bind failed: [22] Invalid argument - Fedora 11
Ole Ersoy wrote: Mark, I looked at the startup log a little closer and there's this line: Jul 15, 2009 2:24:09 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.14. I noticed below that you said I should be using 1.1.6. So maybe this is the problem. At first I thought I was using a much more recent version of APR, since I have the following installed: apr-1.3.5-1.fc11.i586 [...@ole noarch]$ rpm -q apr-devel apr-devel-1.3.5-1.fc11.i586 [...@ole noarch]$ rpm -q apr-util apr-util-1.3.7-1.fc11.i586 So I'm trying to figure out why Tomcat says it's using 1.1.14? Any ideas? Those are the APR packages, not the Tomcat Native(APR based) connector. No idea what the native connector would be called if you get the package via rpm. I always build Tomcat/httpd stuff from source on linux. Take a look at the changelog http://tomcat.apache.org/native-doc/miscellaneous/changelog.html The ipv6 issue was fixed in 1.1.15 Upgrading to the latest Tomcat Native (1.1.16) should fix this. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Exception in the Tomcat
Ella Gerstner wrote: 2009/7/15 Ella Gerstner egerst...@gmail.com Hi!! i developed a web aplication and in the log of the server show me this exception, and i don´t know what is the problem, somebody know what i have to do?? Usually, the first step is to look at the relevant line of the source code. You haven't told us which version, so I am going to assume that you are using 6.0.20. The code does change so it is important that when asking a question on this list as a minimum you tell us: - Tomcat version - JDK/JRE version - OS So, Tomcat being open source we can browse the source here: http://svn.apache.org/viewvc/tomcat/ We want Tomcat 6: http://svn.apache.org/viewvc/tomcat/tc6.0.x/ And we'll look at trunk (where 6.0.x is being developed) http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/ All the code is under /java and since this is Java, the structure matches the package names so we want: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jk/server/JkMain.java?view=log Click on annotate for HEAD so we get the latest code with line numbers: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jk/server/JkMain.java?view=annotate Jul 10, 2009 9:57:56 AM org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed java.lang.NullPointerException at org.apache.jk.server.JkMain.pause(JkMain.java:679) So we want to look around line 679: 678 : public void pause() throws Exception { 679 : markt 685712// wEnv sometime null at shutdown - bug45591 680 : if (wEnv != null) { 681 : for( int i=0; iwEnv.getHandlerCount(); i++ ) { 682 : if( wEnv.getHandler(i) != null ) { 683 : wEnv.getHandler(i).pause(); 684 : } The comment on line 679 looks rather relevant. Check the bug report to be sure: https://issues.apache.org/bugzilla/ Enter the bug number (45591): https://issues.apache.org/bugzilla/show_bug.cgi?id=45591 Read the bug report and it tells you that this is fixed in 6.0.19 onwards and 5.5.27 onwards. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Deploying ROOT application errors.
Wesley Acheson wrote: In that it includes root.war and it undeploying it. yes. Jar locking I don't know about. How do I prevent that? Jar locking very unlikely to be a Tomcat bug. So, one or both of: - fix the bug in your application - work around the bug in a third party library you are using Which JARs are left? Mark On Thu, Jul 16, 2009 at 1:08 AM, Pid p...@pidster.com wrote: On 15/7/09 23:58, Wesley Acheson wrote: Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have seen a related issue on tomcat 5.5 here In that it appears to involve ROOT.war? https://issues.apache.org/bugzilla/show_bug.cgi?id=36990 Sounds like you have a jar locking issue. p On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: Usual questions: 1. Your exact Tomcat version. 2. Your OS and configuration. If I try to deploy ROOT.war via the manager It just deletes the contents of the ROOT expanded directory minus the web-inf and meta-inf folders. Maybe the following will help you: http://wiki.apache.org/tomcat/FAQ/Windows - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
Thomas Vite wrote: Hi all, I just subscribed to this list as i am testing developing web services, i hope i can find some useful tips. I have installed Tomcat6 on my Win XP SP3 box and i have followed a tutorial to create a first Tomcat project. I use a plugin in Eclipse called Sysdeo supposed to ease the creation of the Tomcat container. I have a simple .java (see below) file and a web.xml file in my project. I have made a war file and deployed it via the manager interface. I can start it but i get an error 404 when i browse to it. The .java file relies on external libraries (essentially the java SDK for vmware ESX). I have two problems: 1. When i try to access the manager website using the URL http://amsterdam-sm09:8080/manager/ i get a 404 error whereas if i browse to http://amsterdam-sm09:8080/manager/html the page displays correctly. As expected. What makes you think this should be any different? 2. If i try to browse my project i get a 404 error using this URL http://amsterdam-sm09:8080/viplugin_test/TestServlet SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader snip/ Jul 16, 2009 9:37:28 AM org.apache.catalina.startup.ContextConfig processContextConfig SEVERE: Parse error in context.xml for /VI-PLUGIN-ILO java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader at snip/ Any help greatly appreciated, thanks! And the content of META-INF/context.xml for your application is? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Howto - DB based Persistent sessions with no timeout?
Derek C wrote: Hi all, I've been using Tomcat since the beginning. I know how to use the org.apache.catalina.session.PersistentManager to make sessions persistent between tomcat restarts (which works fine) - but what I'm very keen to know is: - How do I set-up persistence so that users NEVER timeout from their point of view (i.e. if the user goes off for 30 minutes / 2 hours / etc and then returns to their browser then their session would be loaded back from the DB)? thanks very much for any information! As per the servlet spec, session timeout of 0 means infinite timeout. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Howto - DB based Persistent sessions with no timeout?
On Thu, July 16, 2009 10:06 am, Mark Thomas wrote: As per the servlet spec, session timeout of 0 means infinite timeout. Hi Mark, If this option is enabled will AapcheTomcat swap session data to database and out of memory automatically? (i.e. will memory usage be ok with a session timeout of 0?) thanks very much for this info Derek -- Derek C In Ireland - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
2. If i try to browse my project i get a 404 error using this URL http://amsterdam-sm09:8080/viplugin_test/TestServlet SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader snip/ Jul 16, 2009 9:37:28 AM org.apache.catalina.startup.ContextConfig processContextConfig SEVERE: Parse error in context.xml for /VI-PLUGIN-ILO java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader at snip/ Any help greatly appreciated, thanks! And the content of META-INF/context.xml for your application is? There is no META-INF folder, here is the tree view of the project: VI-PLUGIN-ILO ├───bin ├───src ├───WEB-INF │ ├───classes │ ├───lib │ └───src └───work
Re: Howto - DB based Persistent sessions with no timeout?
Derek C wrote: On Thu, July 16, 2009 10:06 am, Mark Thomas wrote: As per the servlet spec, session timeout of 0 means infinite timeout. Hi Mark, If this option is enabled will AapcheTomcat swap session data to database and out of memory automatically? (i.e. will memory usage be ok with a session timeout of 0?) Of the top of my head - probably. This is *open* source... Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
There is xml file under \Tomcat 6.0\conf\Catalina\localhost for my project: Context path=/VI-PLUGIN-ILO reloadable=true docBase=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO workDir=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO\work Loader className=org.apache.catalina.loader.DevLoader reloadable=truedebug =1 useSystemClassLoaderAsParent=false / /Context
Re: Howto - DB based Persistent sessions with no timeout?
On Thu, July 16, 2009 10:22 am, Mark Thomas wrote: Of the top of my head - probably. This is *open* source... :) thanks very much - I'll try it and see! Derek -- Derek C In Ireland - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
jk_ajp_common: Tomcat already send headers error in mod_jk logs
Hi all, we are using apache httpd (2.2.3 on Scientific Linux), mod_jk (1.2.28), tomcat 6.0.20 with apr based native library (1.1.16). Everything works like a charm, but every now and then errors are logged in the mod_jk.log. This error results in a plain text version of the page being served to the client or a proxy error page being show (502?). Does anybody know how to solve this, or into what direction I should look to find the solution? Many thanks, Hidde. Sniplet of the mod_jk.log: [Thu Jul 16 10:55:52 2009] [17150:479040864] [info] ws_write::mod_jk.c (472): Write without start, starting with defaults [Thu Jul 16 10:55:52 2009] [17161:479040864] [error] ajp_get_reply::jk_ajp_common.c (2031): (worker1) Tomcat already send headers [Thu Jul 16 10:55:52 2009] [17161:479040864] [error] ajp_service::jk_ajp_common.c (2440): (worker1) sending request to tomcat failed (unrecoverable), (attempt=1) [Thu Jul 16 10:55:52 2009] [17161:479040864] [info] jk_handler::mod_jk.c (2615): Service error=0 for worker=worker1 [Thu Jul 16 11:01:56 2009] [17163:479040864] [error] ajp_get_reply::jk_ajp_common.c (2031): (worker1) Tomcat already send headers [Thu Jul 16 11:01:56 2009] [17163:479040864] [error] ajp_service::jk_ajp_common.c (2440): (worker1) sending request to tomcat failed (unrecoverable), (attempt=1) [Thu Jul 16 11:01:56 2009] [17163:479040864] [info] jk_handler::mod_jk.c (2615): Service error=0 for worker=worker1 -- Hidde Boonstra Us Media B.V. Stadhouderskade 115 1073 AX Amsterdam t: 020 428 68 68 f: 020 470 69 05 www.usmedia.nl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
oracle JDBC sessions not closing while tomcat shutdown
Hi Apache Tomcat is working as a middleware between JAVA and ORACLE Databse. The problem is that when I am starting the tomcat, each time it opens 3 JDBC sessions on database level and using those sessions at application level. But when shutting down the tomcat, it is not closing/releasing those JDBC sessions from database level. And thus so many not in use JDBC sessions exists after restarting tomcat many times. Please let me know how those sessions will close while shutting down the tomcat or after each restart of tomcat instead of killing them manually from database level. Operating System --- HP-UX 11.23 Default web server with OS --- Apache-tomcat 5.5 Default Java--- JAVA 1.5 Database--- Oracle 10.2.0.3.0 Regards Santosh ** This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail(administra...@birlasoft.com) immediately and permanently delete this message and any attachments. Thank you. **
Re: java.lang.ClassNotFoundException error 404
Thomas Vite wrote: There is xml file under \Tomcat 6.0\conf\Catalina\localhost for my project: Context path=/VI-PLUGIN-ILO reloadable=true docBase=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO workDir=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO\work path should not be specified here Loader className=org.apache.catalina.loader.DevLoader reloadable=truedebug =1 useSystemClassLoaderAsParent=false / Then you need to provide the DevLoader class (or remove that element) as that is not a Tomcat provided classloader. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: oracle JDBC sessions not closing while tomcat shutdown
santosh.si...@birlasoft.com wrote: Apache Tomcat is working as a middleware between JAVA and ORACLE Databse. The problem is that when I am starting the tomcat, each time it opens 3 JDBC sessions on database level and using those sessions at application level. But when shutting down the tomcat, it is not closing/releasing those JDBC sessions from database level. And thus so many not in use JDBC sessions exists after restarting tomcat many times. How can you have JDBC sessions active after Tomcat shutdown? JVM exits, so every JDBC connection disappears... -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: oracle JDBC sessions not closing while tomcat shutdown
Hi We are getting same JDBC Sessions at oracle database which has been created/pooled while tomcat started. I would also like to update you that java.exe is not terminating for the same tomcat. However , we have performed proper shutdown of tomcat using shutdown.sh file. Regards Santosh -Original Message- From: Mikolaj Rydzewski [mailto:m...@ceti.pl] Sent: Thursday, July 16, 2009 3:19 PM To: Tomcat Users List Subject: Re: oracle JDBC sessions not closing while tomcat shutdown santosh.si...@birlasoft.com wrote: Apache Tomcat is working as a middleware between JAVA and ORACLE Databse. The problem is that when I am starting the tomcat, each time it opens 3 JDBC sessions on database level and using those sessions at application level. But when shutting down the tomcat, it is not closing/releasing those JDBC sessions from database level. And thus so many not in use JDBC sessions exists after restarting tomcat many times. How can you have JDBC sessions active after Tomcat shutdown? JVM exits, so every JDBC connection disappears... -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org ** This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail(administra...@birlasoft.com) immediately and permanently delete this message and any attachments. Thank you. ** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: oracle JDBC sessions not closing while tomcat shutdown
santosh.si...@birlasoft.com wrote: We are getting same JDBC Sessions at oracle database which has been created/pooled while tomcat started. I would also like to update you that java.exe is not terminating for the same tomcat. However , we have performed proper shutdown of tomcat using shutdown.sh file. So Tomcat is still 'almost' alive. Probably there're some background threads still running. Thus, JDBC connections are still open. -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
SSL ciphers supported by Tomcat version 5.0
Hi, 1. Which all SSL ciphers are supported by Tomcat, is it the ciphers supported by Sun JSSE? I came across the following list: SSL_RSA_WITH_RC4_128_MD5 SSL_RSA_WITH_RC4_128_SHA TLS_RSA_WITH_AES_128_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_DHE_DSS_WITH_AES_128_CBC_SHA SSL_RSA_WITH_3DES_EDE_CBC_SHA SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA SSL_RSA_WITH_DES_CBC_SHA SSL_DHE_RSA_WITH_DES_CBC_SHA SSL_DHE_DSS_WITH_DES_CBC_SHA SSL_RSA_EXPORT_WITH_RC4_40_MD5 SSL_RSA_EXPORT_WITH_DES40_CBC_SHA SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA 2. Are the highlighted ones will only come in picture when using TLS protocol? Thanks Rajat
RE: oracle JDBC sessions not closing while tomcat shutdown
Hi How can I verify that and while shutting down or restarting tomcat, how it will close. Regards Santosh -Original Message- From: Mikolaj Rydzewski [mailto:m...@ceti.pl] Sent: Thursday, July 16, 2009 3:53 PM To: Tomcat Users List Subject: Re: oracle JDBC sessions not closing while tomcat shutdown santosh.si...@birlasoft.com wrote: We are getting same JDBC Sessions at oracle database which has been created/pooled while tomcat started. I would also like to update you that java.exe is not terminating for the same tomcat. However , we have performed proper shutdown of tomcat using shutdown.sh file. So Tomcat is still 'almost' alive. Probably there're some background threads still running. Thus, JDBC connections are still open. -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org ** This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail(administra...@birlasoft.com) immediately and permanently delete this message and any attachments. Thank you. ** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: SSL ciphers supported by Tomcat version 5.0
Rajat Gupta05 wrote: Hi, 1. Which all SSL ciphers are supported by Tomcat, is it the ciphers supported by Sun JSSE? Yes. 2. Are the highlighted ones will only come in picture when using TLS protocol? Highlighting doesn't work too well when people use plain text to view their e-mail. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: oracle JDBC sessions not closing while tomcat shutdown
santosh.si...@birlasoft.com wrote: Hi How can I verify that and while shutting down or restarting tomcat, how it will close. Do a thread dump when is doesn't shutdown and see what is still running. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: SSL ciphers supported by Tomcat version 5.0
Hi, TLS_RSA_WITH_AES_128_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_DHE_DSS_WITH_AES_128_CBC_SHA Are the above ciphers only one's applicable when using TLS protocol? Actually I need to use only the FIPS complaint ciphers. Thanks Rajat -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: July 16, 2009 4:01 PM To: Tomcat Users List Subject: Re: SSL ciphers supported by Tomcat version 5.0 Rajat Gupta05 wrote: Hi, 1. Which all SSL ciphers are supported by Tomcat, is it the ciphers supported by Sun JSSE? Yes. 2. Are the highlighted ones will only come in picture when using TLS protocol? Highlighting doesn't work too well when people use plain text to view their e-mail. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: SSL ciphers supported by Tomcat version 5.0
Rajat Gupta05 wrote: Hi, TLS_RSA_WITH_AES_128_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_DHE_DSS_WITH_AES_128_CBC_SHA Are the above ciphers only one's applicable when using TLS protocol? Actually I need to use only the FIPS complaint ciphers. JSSE isn't FIPS compliant. Mark Thanks Rajat -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: July 16, 2009 4:01 PM To: Tomcat Users List Subject: Re: SSL ciphers supported by Tomcat version 5.0 Rajat Gupta05 wrote: Hi, 1. Which all SSL ciphers are supported by Tomcat, is it the ciphers supported by Sun JSSE? Yes. 2. Are the highlighted ones will only come in picture when using TLS protocol? Highlighting doesn't work too well when people use plain text to view their e-mail. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: oracle JDBC sessions not closing while tomcat shutdown
santosh.si...@birlasoft.com wrote: Hi Can you give me a small java program to verify about thread dump. No. This is the point where you have to do a little research on your own. Mark Santosh -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, July 16, 2009 4:01 PM To: Tomcat Users List Subject: Re: oracle JDBC sessions not closing while tomcat shutdown santosh.si...@birlasoft.com wrote: Hi How can I verify that and while shutting down or restarting tomcat, how it will close. Do a thread dump when is doesn't shutdown and see what is still running. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org ** This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail(administra...@birlasoft.com) immediately and permanently delete this message and any attachments. Thank you. ** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
tomcate5.exe so active that hard disk never stops spinning
In my company we use Tomcat 5.5.20 to support a Business Objects Application for management reporting. The Windows 2003 server it is installed on has performance issues which have been narrowed down to excessive disk activity. This is causing low disk idle time and lots of queuing - often causing the Business Objects application to timeout The tool filemon.exe is showing that most of the disk activity is related to querying of directory structures by the Tomcate5.exe process. It is querying pretty much all the time with 20 or 30 reads per second. My question is that is this normal for a Tomcat installation or is this a configuration setting that could be adjusted to cause less frequent activity and would this be recommended ? I have searched the FAQ but could find nothing on this subject. Thanks in advance of a reply and Best Regards Richard Gazey ** Midland Heart Limited, is a charitable housing association, registered under the Industrial Provident Societies Act 1965. No. 30069R. The registered office address is 20 Bath Row, Birmingham, B15 1LZ This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. **
Re: java.lang.ClassNotFoundException error 404
2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: There is xml file under \Tomcat 6.0\conf\Catalina\localhost for my project: Context path=/VI-PLUGIN-ILO reloadable=true docBase=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO workDir=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO\work path should not be specified here Actually it has been created automatically when i deployed my app through the manager interface (Deploy -- WAR file to deploy). Anyway, i have undeployed the app. and just moved the war file under %CATALINA_HOME%\webapps\MYPLUGIN My problem came from the plugin i sue (sysdeo) which needed that DevLoader library. I have unchecked the devloader option int he plugin, rebuild my war and now it looks much better. At least i dont get the 404 error! Loader className=org.apache.catalina.loader.DevLoader reloadable=truedebug =1 useSystemClassLoaderAsParent=false / Then you need to provide the DevLoader class (or remove that element) as that is not a Tomcat provided classloader. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
Thomas Vite wrote: 2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: There is xml file under \Tomcat 6.0\conf\Catalina\localhost for my project: Context path=/VI-PLUGIN-ILO reloadable=true docBase=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO workDir=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO\work path should not be specified here Actually it has been created automatically when i deployed my app through the manager interface (Deploy -- WAR file to deploy). Anyway, i have undeployed the app. and just moved the war file under %CATALINA_HOME%\webapps\MYPLUGIN Actually no. The context.xml in your WAR's META-INF/context.xml file contains an invalid path element. My problem came from the plugin i sue (sysdeo) which needed that DevLoader library. I have unchecked the devloader option int he plugin, rebuild my war and now it looks much better. At least i dont get the 404 error! Sounds right. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: SSL ciphers supported by Tomcat version 5.0
Now my next question is how to use the FIPS complaint ciphers with Tomcat. Please see I am looking for FIPS complaint which may not be FIPS approved. Please help me in list down the ciphers which will be applicable in TLS protocol. Thanks Rajat -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: July 16, 2009 4:22 PM To: Tomcat Users List Subject: Re: SSL ciphers supported by Tomcat version 5.0 Rajat Gupta05 wrote: Hi, TLS_RSA_WITH_AES_128_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_DHE_DSS_WITH_AES_128_CBC_SHA Are the above ciphers only one's applicable when using TLS protocol? Actually I need to use only the FIPS complaint ciphers. JSSE isn't FIPS compliant. Mark Thanks Rajat -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: July 16, 2009 4:01 PM To: Tomcat Users List Subject: Re: SSL ciphers supported by Tomcat version 5.0 Rajat Gupta05 wrote: Hi, 1. Which all SSL ciphers are supported by Tomcat, is it the ciphers supported by Sun JSSE? Yes. 2. Are the highlighted ones will only come in picture when using TLS protocol? Highlighting doesn't work too well when people use plain text to view their e-mail. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: oracle JDBC sessions not closing while tomcat shutdown
Hi When I have tried to run the any java program independent of tomcat then the opened session is releasing from oracle database. But the same java program is run via/through tomcat then opened JDBC sessions at oracle database level is not releasing. Is there any parameter to modify or to add in tomcat file(s). So, that this issue will resolve. Regards Santosh -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, July 16, 2009 4:25 PM To: Tomcat Users List Subject: Re: oracle JDBC sessions not closing while tomcat shutdown santosh.si...@birlasoft.com wrote: Hi Can you give me a small java program to verify about thread dump. No. This is the point where you have to do a little research on your own. Mark Santosh -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, July 16, 2009 4:01 PM To: Tomcat Users List Subject: Re: oracle JDBC sessions not closing while tomcat shutdown santosh.si...@birlasoft.com wrote: Hi How can I verify that and while shutting down or restarting tomcat, how it will close. Do a thread dump when is doesn't shutdown and see what is still running. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org ** This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail(administra...@birlasoft.com) immediately and permanently delete this message and any attachments. Thank you. ** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org ** This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail(administra...@birlasoft.com) immediately and permanently delete this message and any attachments. Thank you. ** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Connector an SOAPSession
Hello tomcat users, i have a question about loadbalancing of webservice running in SOAPSession mode. I'm using Apache 2.2.11, mod_jk 1.2.28, Tomcat 6.0.20 and Axis2 1.4.1. I would like to use multiple tomcats running Axis2. Each tomcat/axis has the same webservices deployed. The webservices are running in SOAPSession mode. The connector should direct requests for one SOAPSession always to the same worker like the connector does for http sessions. Is this a matter of configuration or is it impossible to loadbalance SOAPSessions? Thanks in advance! Mit freundlichen Grüßen - Yours sincerely Alexander Schulz Senior Consultant Utilities Steria Mummert Consulting AG Gradestrasse 36 12347 Berlin Tel.: +49 (0)30-206188-7274 Fax: +49 (0) 30-206188-3274 Mobil: +49 (0) 160-7418482 mailto:alexander.sch...@steria-mummert.de http://www.steria-mummert.de Vorsitzender des Aufsichtsrates: Jacques Bentz Vorstand: Oliver Nazet (Vors.), Dr. Fritz Moser, Momme S. Petersen Gesellschaftssitz: Hamburg - HR B 61 116 Amtsgericht Hamburg - USt-ID-Nr.: DE118671351 __ Diese Nachricht kann vertrauliche Informationen enthalten und ist allein für den Adressaten bestimmt. Wenn Sie nicht der rechtmäßige Empfänger sind, ist der Zugriff, die Weiterleitung, das Kopieren, die Veröffentlichung oder anderweitige Verwendung des Inhalts untersagt. In diesem Fall bitten wir Sie den Absender unverzüglich zu in-formieren und diese E-Mail sowie sämtliche Kopien dieser Email zu löschen. Der Inhalt von E-Mails innerhalb des Netzwerks kann überprüft werden, um die Übereinstimmung mit den geltenden Firmenrichtlinien und Vorgehens-weisen zu gewährleisten. E-Mails können auf dem Transportweg von Dritten verändert werden, so dass deren Vollständigkeit und Echtheit nicht garantiert werden kann. This Email communication may contain confidential information and is intended only for the recipient. If you are not the intended recipient you are not allowed to read, copy, distribute, publicize or use the content of this Email in any way. Please notify the sender and delete the Email and any copies of it. The content of Emails within our network may be monitored to ensure compliance with company policies and procedures. Emails can be alterated by third parties in transit. Therefore any Email is susceptible to alteration and its integrity cannot be assured. Steria Mummert Consulting AG Vorsitzender des Aufsichtsrates: Jürgen Sponnagel - Vorstand: Oliver Nazet (Vors.), Dr. Fritz Moser Gesellschaftssitz: Hamburg - HR B 61 116 Amtsgericht Hamburg - USt-ID-Nr.: DE118671351 This Email communication may contain confidential information and is intended only for the recipient. If you are not the intended recipient you are not allowed to read, copy, distribute, publicize or use the content of this Email in any way. Please notify the sender and delete the Email and any copies of it. The content of Emails within our network may be monitored to ensure compliance with company policies and procedures. Emails can be alterated by third parties in transit. Therefore any Email is susceptible to alteration and its integrity cannot be assured.
Re: oracle JDBC sessions not closing while tomcat shutdown
santosh.si...@birlasoft.com wrote: When I have tried to run the any java program independent of tomcat then the opened session is releasing from oracle database. But the same java program is run via/through tomcat then opened JDBC sessions at oracle database level is not releasing. Is there any parameter to modify or to add in tomcat file(s). So, that this issue will resolve. There's an issue with one of your webapps deployed on Tomcat. They are not shutting down properly. You need to do a thread dump on Tomcat's JVM after such shutdown to find out which threads are still running. -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: oracle JDBC sessions not closing while tomcat shutdown
possibly Oracle connection not being released as a result of Oracle misconfiguration ? http://www.coderanch.com/t/89928/JBoss/Jboss-connection-pool-not-releasing possibly idle-timeout set to high? max-idle-timeout2/max-idle-timeout ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 16 Jul 2009 11:49:14 +0200 From: m...@ceti.pl To: users@tomcat.apache.org Subject: Re: oracle JDBC sessions not closing while tomcat shutdown santosh.si...@birlasoft.com wrote: Apache Tomcat is working as a middleware between JAVA and ORACLE Databse. The problem is that when I am starting the tomcat, each time it opens 3 JDBC sessions on database level and using those sessions at application level. But when shutting down the tomcat, it is not closing/releasing those JDBC sessions from database level. And thus so many not in use JDBC sessions exists after restarting tomcat many times. How can you have JDBC sessions active after Tomcat shutdown? JVM exits, so every JDBC connection disappears... -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org _ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
Re: java.lang.ClassNotFoundException error 404
Yeah but after restarting Tomcat i still receive that infamous: HTTP Status 404 - /ViClientWebApp/TestServlet -- *type* Status report *message* */ViClientWebApp/TestServlet* *description* *The requested resource (/ViClientWebApp/TestServlet) is not available.* I have renamed the project ViClientWebApp which now look like this: C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT 6.0\WEBAPPS\VICLIENTWEBAPP ├───bin ├───src └───WEB-INF ├───classes ├───lib └───src I dont get it...Does that error mean i have an issue with the Tomcat server or could it be a problem with the application itself? I dont see anymore errors in the logs. Thank you. 2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: 2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: There is xml file under \Tomcat 6.0\conf\Catalina\localhost for my project: Context path=/VI-PLUGIN-ILO reloadable=true docBase=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO workDir=C:\Documents and Settings\ti\Desktop\EclipseWorkspace\VI-PLUGIN-ILO\work path should not be specified here Actually it has been created automatically when i deployed my app through the manager interface (Deploy -- WAR file to deploy). Anyway, i have undeployed the app. and just moved the war file under %CATALINA_HOME%\webapps\MYPLUGIN Actually no. The context.xml in your WAR's META-INF/context.xml file contains an invalid path element. My problem came from the plugin i sue (sysdeo) which needed that DevLoader library. I have unchecked the devloader option int he plugin, rebuild my war and now it looks much better. At least i dont get the 404 error! Sounds right. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: SSL ciphers supported by Tomcat version 5.0
Repost -Original Message- From: Rajat Gupta05 [mailto:rajat_gupt...@infosys.com] Sent: July 16, 2009 4:45 PM To: Tomcat Users List Subject: RE: SSL ciphers supported by Tomcat version 5.0 Now my next question is how to use the FIPS complaint ciphers with Tomcat. Please see I am looking for FIPS complaint which may not be FIPS approved. Please help me in list down the ciphers which will be applicable in TLS protocol. Thanks Rajat -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: July 16, 2009 4:22 PM To: Tomcat Users List Subject: Re: SSL ciphers supported by Tomcat version 5.0 Rajat Gupta05 wrote: Hi, TLS_RSA_WITH_AES_128_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_DHE_DSS_WITH_AES_128_CBC_SHA Are the above ciphers only one's applicable when using TLS protocol? Actually I need to use only the FIPS complaint ciphers. JSSE isn't FIPS compliant. Mark Thanks Rajat -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: July 16, 2009 4:01 PM To: Tomcat Users List Subject: Re: SSL ciphers supported by Tomcat version 5.0 Rajat Gupta05 wrote: Hi, 1. Which all SSL ciphers are supported by Tomcat, is it the ciphers supported by Sun JSSE? Yes. 2. Are the highlighted ones will only come in picture when using TLS protocol? Highlighting doesn't work too well when people use plain text to view their e-mail. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
Thomas Vite wrote: Yeah but after restarting Tomcat i still receive that infamous: HTTP Status 404 - /ViClientWebApp/TestServlet -- *type* Status report *message* */ViClientWebApp/TestServlet* *description* *The requested resource (/ViClientWebApp/TestServlet) is not available.* I have renamed the project ViClientWebApp which now look like this: C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT 6.0\WEBAPPS\VICLIENTWEBAPP What is the real case of this directory? Tomcat is case sensitive even if Windows isn't. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
The real case is : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp 2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: Yeah but after restarting Tomcat i still receive that infamous: HTTP Status 404 - /ViClientWebApp/TestServlet -- *type* Status report *message* */ViClientWebApp/TestServlet* *description* *The requested resource (/ViClientWebApp/TestServlet) is not available.* I have renamed the project ViClientWebApp which now look like this: C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT 6.0\WEBAPPS\VICLIENTWEBAPP What is the real case of this directory? Tomcat is case sensitive even if Windows isn't. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
The only thing i can think of that wouldnt be setup properly is the Web.xml file in WEB-INF (for what i understand it is supposed to make the app available at http://localhost:8080/ViClientWebApp/TestServlet : ?xml version=1.0 encoding=ISO-8859-1? Web-app xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 display-nameVI Client Plugin Demo App/display-name description VI Client Plugin Demo App with Tomcat and VI Java API/description servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /Web-app 2009/7/16 Thomas Vite activedirl...@gmail.com The real case is : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp 2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: Yeah but after restarting Tomcat i still receive that infamous: HTTP Status 404 - /ViClientWebApp/TestServlet -- *type* Status report *message* */ViClientWebApp/TestServlet* *description* *The requested resource (/ViClientWebApp/TestServlet) is not available.* I have renamed the project ViClientWebApp which now look like this: C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT 6.0\WEBAPPS\VICLIENTWEBAPP What is the real case of this directory? Tomcat is case sensitive even if Windows isn't. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
On 16/7/09 13:43, Thomas Vite wrote: The real case is : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp Is your TestServlet properly located in a package? p 2009/7/16 Mark Thomasma...@apache.org Thomas Vite wrote: Yeah but after restarting Tomcat i still receive that infamous: HTTP Status 404 - /ViClientWebApp/TestServlet -- *type* Status report *message* */ViClientWebApp/TestServlet* *description* *The requested resource (/ViClientWebApp/TestServlet) is not available.* I have renamed the project ViClientWebApp which now look like this: C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT 6.0\WEBAPPS\VICLIENTWEBAPP What is the real case of this directory? Tomcat is case sensitive even if Windows isn't. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
Pid wrote: On 16/7/09 13:43, Thomas Vite wrote: The real case is : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp Is your TestServlet properly located in a package? Is WEB-INF/web.xml using the right case? Mark p 2009/7/16 Mark Thomasma...@apache.org Thomas Vite wrote: Yeah but after restarting Tomcat i still receive that infamous: HTTP Status 404 - /ViClientWebApp/TestServlet -- *type* Status report *message* */ViClientWebApp/TestServlet* *description* *The requested resource (/ViClientWebApp/TestServlet) is not available.* I have renamed the project ViClientWebApp which now look like this: C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT 6.0\WEBAPPS\VICLIENTWEBAPP What is the real case of this directory? Tomcat is case sensitive even if Windows isn't. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Photo gallery webapp for Tomcat
I'm looking for a free or low-cost photo gallery package suitable for hosting on tomcat, for use on my personal web site (which is on my home computer). Something along the lines of coppermine (http://coppermine-gallery.net), but that doesn't require a separate http server like Apache or IIS. Right now I'm running only TC, and I'd like to keep it that way if possible. Any suggestions/links/pointers? I could write one myself, but I'd rather not reinvent this particular wheel if I don't have to. Tks! D - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: java.lang.ClassNotFoundException error 404
From: Pid [mailto:p...@pidster.com] Subject: Re: java.lang.ClassNotFoundException error 404 Is your TestServlet properly located in a package? Servlets do not have to be in a package (although they should be); it's JSPs that must be in a package, according to the spec. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: SSL ciphers supported by Tomcat version 5.0
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: SSL ciphers supported by Tomcat version 5.0 JSSE isn't FIPS compliant. JRE 6 is not FIPS compliant out of the box, but it can be made so: http://java.sun.com/javase/6/docs/technotes/guides/security/enhancements.html http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/FIPS.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
In addition to the questions posed by Pid and Mark, where is your compiled java servlet (.class file) in the ViClientWebApp folder? Also what do the logs show for the moments your webapp is deployed and request your servlet? --David Thomas Vite wrote: The only thing i can think of that wouldnt be setup properly is the Web.xml file in WEB-INF (for what i understand it is supposed to make the app available at http://localhost:8080/ViClientWebApp/TestServlet : ?xml version=1.0 encoding=ISO-8859-1? Web-app xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 display-nameVI Client Plugin Demo App/display-name description VI Client Plugin Demo App with Tomcat and VI Java API/description servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /Web-app 2009/7/16 Thomas Vite activedirl...@gmail.com The real case is : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp 2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: Yeah but after restarting Tomcat i still receive that infamous: HTTP Status 404 - /ViClientWebApp/TestServlet -- *type* Status report *message* */ViClientWebApp/TestServlet* *description* *The requested resource (/ViClientWebApp/TestServlet) is not available.* I have renamed the project ViClientWebApp which now look like this: C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT 6.0\WEBAPPS\VICLIENTWEBAPP What is the real case of this directory? Tomcat is case sensitive even if Windows isn't. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat JRE Redistribute License
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/16/2009 4:42 AM, Mark Thomas wrote: Christopher Schultz wrote: You can re-package Apache httpd + Apache Tomcat and charge a jillian dollars for it if you want. You just need to tell your customers that they can get a free copy :) The license requirements in section 4 don't require that. They do require, amongst other things, that you acknowledge that your product is based on Apache Software. While you don't have to say flat-out by the way, you can get this for free elsewhere, you do have to do it. To be specific, you are required to supply a copy of the Apache License itself along with any redistributed software. The license itself states: Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. Free, free, and free. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEUEARECAAYFAkpfJrgACgkQ9CaO5/Lv0PCeBgCXeaHWgLtwYnOVZvPB7pZxsH1T jwCgw9Fnwo6tES4jQ/eDrvlHUbWsXe0= =RL29 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: tomcate5.exe so active that hard disk never stops spinning
From: Richard B. Gazey [mailto:richard.ga...@midlandheart.org.uk] Subject: tomcate5.exe so active that hard disk never stops spinning It is querying pretty much all the time with 20 or 30 reads per second. My question is that is this normal for a Tomcat installation or is this a configuration setting that could be adjusted to cause less frequent activity and would this be recommended ? It's normal for Tomcat in a development environment; you apparently haven't configured it for production. Your disk activity is likely due to still having autoDeploy turned on in your Host elements; look there and for WatchedResource elements inside any Context, and for monitoring of JSP changes configurable in conf/web.xml. Take a look at this, or hire Mark or Filip to do it for you: http://www.springsource.com/webinar/performance-tuning-apache-tomcat-production - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: SSL ciphers supported by Tomcat version 5.0
Caldarale, Charles R wrote: From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: SSL ciphers supported by Tomcat version 5.0 JSSE isn't FIPS compliant. JRE 6 is not FIPS compliant out of the box, but it can be made so: http://java.sun.com/javase/6/docs/technotes/guides/security/enhancements.html http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/FIPS.html I was aware if a couple of commercial options but hadn't found that one. Thanks for the pointer. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
On 16/7/09 13:59, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: java.lang.ClassNotFoundException error 404 Is your TestServlet properly located in a package? Servlets do not have to be in a package (although they should be); it's JSPs that must be in a package, according to the spec. Aha. Guess it's down to where the .class file is actually located in this case then. p - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: SSL ciphers supported by Tomcat version 5.0
From: Rajat Gupta05 [mailto:rajat_gupt...@infosys.com] Subject: RE: SSL ciphers supported by Tomcat version 5.0 Please see I am looking for FIPS complaint which may not be FIPS approved. See my previous post about JRE/JDK 6 security enhancements. Also note that Tomcat 5.0 is no longer supported; you should upgrade. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
The TestServlet.class file is under C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF\classes The Web.xml file is under: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF The Web.mxl file has a capital W...About your question Mark -- Is WEB-INF/web.xml using the right case? Do you mean the mapping for TestServlet? If so yes, see my Web.xml This is my Web.xml file: ?xml version=1.0 encoding=ISO-8859-1? Web-app xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 display-nameVI Client Plugin Demo App/display-name description VI Client Plugin Demo App with Tomcat and VI Java API/description servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /Web-app The catalina log: Jul 16, 2009 3:28:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.16. Jul 16, 2009 3:28:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. Jul 16, 2009 3:28:58 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:28:58 PM org.apache.coyote.ajp.AjpAprProtocol init INFO: Initializing Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:28:58 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 716 ms Jul 16, 2009 3:28:58 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jul 16, 2009 3:28:58 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 Jul 16, 2009 3:28:58 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ViClientWebApp.war Jul 16, 2009 3:28:58 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:28:58 PM org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:28:58 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 888 ms Jul 16, 2009 3:29:09 PM org.apache.coyote.http11.Http11AprProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:09 PM org.apache.coyote.ajp.AjpAprProtocol pause INFO: Pausing Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:10 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jul 16, 2009 3:29:10 PM org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:10 PM org.apache.coyote.ajp.AjpAprProtocol destroy INFO: Stopping Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.16. Jul 16, 2009 3:29:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. Jul 16, 2009 3:29:32 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:32 PM org.apache.coyote.ajp.AjpAprProtocol init INFO: Initializing Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:32 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 449 ms Jul 16, 2009 3:29:32 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jul 16, 2009 3:29:32 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 Jul 16, 2009 3:29:32 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ViClientWebApp.war Jul 16, 2009 3:29:32 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:32 PM org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:32 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 344 ms Jul 16, 2009 3:29:47 PM org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [/ViClientWebApp] Jul 16, 2009 3:29:53 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ViClientWebApp.war The manager log (i have undeployed my webApp and redeployed it to test): Jul 16, 2009 3:29:43 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost' Jul 16, 2009 3:29:43 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: init: Global resources are available Jul 16, 2009 3:29:43 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list:
Re: java.lang.ClassNotFoundException error 404
Thomas Vite wrote: The TestServlet.class file is under C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF\classes The Web.xml file is under: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF The Web.mxl file has a capital W... That is the first error - it should be web.xml About your question Mark -- Is WEB-INF/web.xml using the right case? No. Web-app Should be web-app I think that is all. Get web.xml named correctly and Tomact will start parsing it. Any errors should then get reported. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: java.lang.ClassNotFoundException error 404
Thumbs up Mark! It is now working as it should. Thanks for your time. 2009/7/16 Mark Thomas ma...@apache.org Thomas Vite wrote: The TestServlet.class file is under C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF\classes The Web.xml file is under: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF The Web.mxl file has a capital W... That is the first error - it should be web.xml About your question Mark -- Is WEB-INF/web.xml using the right case? No. Web-app Should be web-app I think that is all. Get web.xml named correctly and Tomact will start parsing it. Any errors should then get reported. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
MalformedObjectNameException: Unterminated key property part
hi I have a problem(MalformedObjectNameException: Unterminated key property part) when I start my tomcat instance,i don't know what it is about, and in which config file can cause the problem? here is the server.xml Server inet=x port= shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector port=9010 maxThreads=10 minSpareThreads=5 maxSpareThreads=5 enableLookups=false acceptCount=10 debug=0 connectionTimeout=2 disableUploadTimeout=true / Connector port=10010 enableLookups=false minProcessors=5 maxProcessors=100 acceptCount=10 debug=0 protocol=AJP/1.3 / Engine name=Standalone defaultHost=poc-bi.gie-sesamvitale.net debug=0 Realm className=org.apache.catalina.realm.MemoryRealm pathname=/MIDDLE/SESAM-Vitale/ poc-bi.gie-sesamvitale.net/tomcat1/conf/tomcat-users.xml/ Host name= debug=0 appBase=/MIDDLE/SESAM-Vitale/ poc-bi.gie-sesamvitale.net unpackWARs=true autoDeploy=false xmlValidation=false xmlNamespaceAware=false Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=access. suffix=.log pattern=%t %r %q %b %D resolveHosts=false/ Context path=/service docBase=/MIDDLE/SESAM-Vitale/poc-bi.gie-sesamvitale.net/docs crossContext=false reloadable=false workDir=logs/tomcat_work debug=0 Resources allowLinking=true / /Context /Host /Engine /Service /Server GRAVE: Host registering failed! javax.management.MalformedObjectNameException: Unterminated key property part at javax.management.ObjectName.construct(ObjectName.java:465) at javax.management.ObjectName.init(ObjectName.java:1304) at org.apache.catalina.core.StandardHost.init(StandardHost.java:782) at org.apache.catalina.core.StandardHost.start(StandardHost.java:669) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:745) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 16 juil. 2009 15:38:04 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 16 juil. 2009 15:38:04 org.apache.catalina.loader.WebappLoader init GRAVE: Error registering loader javax.management.MalformedObjectNameException: Unterminated key property part at javax.management.ObjectName.construct(ObjectName.java:465) at javax.management.ObjectName.init(ObjectName.java:1304) at org.apache.catalina.loader.WebappLoader.init(WebappLoader.java:571) at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:605) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4079) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:745) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 16 juil. 2009 15:38:04 org.apache.catalina.loader.WebappLoader start GRAVE: LifecycleException javax.management.MalformedObjectNameException: Unterminated key property part at javax.management.ObjectName.construct(ObjectName.java:465) at javax.management.ObjectName.init(ObjectName.java:1304) at
Re: MalformedObjectNameException: Unterminated key property part
1. What, exactly, Tomcat version is it? Do not forget to mention it when asking the questions here. 2. This is wrong: Host name= There should be a name. E.g. localhost, but any name will do. It cannot be empty: It is used to name the host-specific configuration and working directories, as well as when registering the component in JMX. Thus the exception that you are seeing. 3. Service name=Tomcat-Standalone Engine name=Standalone Service and Engine name should better be equal. There were some bugs (in some TC releases) if they are not. This name (the Engine name, IIRC) also is used to name configuration and working directories. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
useHttpOnly - how to?
Hi, I´ve set useHttpOnly=true in /opt/jboss/server/myserver/deploy/jboss-web.deployer/context.xml. Context cookies=true crossContext=true useHttpOnly=true /Context But the cookie continues to respond to javascript commands. Any ideas appreciated. Thanks, Andre X-Powered-By: Servlet 2.4; JBoss-4.2.0.GA_CP02 (build: SVNTag=JBPAPP_4_2_0_GA_CP02 date=200801291544)/Tomcat-5.5 -- View this message in context: http://www.nabble.com/useHttpOnly---how-to--tp24518467p24518467.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Socket bind failed: [22] Invalid argument - Fedora 11
Mark, (And everyone) Thanks a gazillion for helping to clarify this. I was building the APR connector with the wrong version number (1.1.14). I must have had old apr connector files laying around from when I was building earlier tomcat versions. The log is clean now. Thanks again, - Ole - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: useHttpOnly - how to?
X-Powered-By: Servlet 2.4; JBoss-4.2.0.GA_CP02 (build: SVNTag=JBPAPP_4_2_0_GA_CP02 date=200801291544)/Tomcat-5.5 There is a build date in the above header. useHttpOnly is a recent feature. It was not implemented back in January 2008. Also, that JBoss version is using Tomcat 5.5. For 5.5 branch it will be in Tomcat 5.5.28 (not yet released). For 6.0 it is available since 6.0.20 release. (or 6.0.19, but that version was not released) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Any Help on this would be really appreciated...
INFO: Server startup in 1825 ms 16 juil. 2009 17:07:00 org.apache.catalina.connector.CoyoteAdapter service GRAVE: Une exception ou une erreur s'est produite dans le conteneur durant le tr aitement de la requ´┐¢te java.lang.ExceptionInInitializerError at org.apache.catalina.valves.Test.invoke(Test.java:59) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619) Caused by: java.util.MissingResourceException: Can't find bundle for base name c onnection, locale fr_FR at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle .java:1521) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260) at java.util.ResourceBundle.getBundle(ResourceBundle.java:715) at fr.inria.monitoring.bep.BEP4Sumit.init(BEP4Sumit.java:27) at fr.inria.monitoring.bep.BEP4Sumit.clinit(BEP4Sumit.java:21) ... 7 more 16 juil. 2009 17:07:07 org.apache.catalina.connector.CoyoteAdapter service GRAVE: Une exception ou une erreur s'est produite dans le conteneur durant le tr aitement de la requ´┐¢te java.lang.NoClassDefFoundError: Could not initialize class fr.inria.monitoring.b ep.BEP4Sumit at org.apache.catalina.valves.Test.invoke(Test.java:59) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619) Test.java is the Custom Valve. @ line no 59: BEP4Sumit.getInstance().eventArrived(rest_event); In the class BEP4Sumit these things are def. private static final BEP4Sumit theInstance = new BEP4Sumit(); public static IEventProcessor getInstance() { return theInstance; } I searched a bit and found out that the error is with Static intialization...True ?? Can anybody explain a bit more ??
running servlets as fileowner
hi mailinglist, is there a way to run servlets as the fileowner of the servlet - like suphp on lamp environments. thank you for your help
RE: running servlets as fileowner
-Original Message- From: Jan-Florian Hilgenberg Sent: Thursday, July 16, 2009 12:10 Subject: running servlets as fileowner hi mailinglist, is there a way to run servlets as the fileowner of the servlet - like suphp on lamp environments. thank you for your help The first issue you are going to run into is that Java does not support setting the uid/gid, and you would have to modify the jvm to support uid/gid per thread. Now apache/php works differently: apache launches a child process (php) each process can have different uid/gid. To do this you would have to do a RMI type thing, have a master service running as root, accepting connections, then launching subordinate processes as the desired uid/gid to execute the code (of course this is all happening in a different JVM) -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Any Help on this would be really appreciated...
Caused by: java.util.MissingResourceException: Can't find bundle for base name c onnection, locale fr_FR java.lang.NoClassDefFoundError: Could not initialize class fr.inria.monitoring.b ep.BEP4Sumit I understand, that it cannot find BEP4Sumit class file that your valve is using. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Photo gallery webapp for Tomcat
2009/7/16 David kerber dcker...@verizon.net: I'm looking for a free or low-cost photo gallery package suitable for hosting on tomcat, for use on my personal web site (which is on my home computer). Something along the lines of coppermine (http://coppermine-gallery.net), but that doesn't require a separate http server like Apache or IIS. Right now I'm running only TC, and I'd like to keep it that way if possible. Any suggestions/links/pointers? I could write one myself, but I'd rather not reinvent this particular wheel if I don't have to. Google has some links: http://www.google.com/search?q=java+photo+gallery Have not tried any of them. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Photo gallery webapp for Tomcat
Konstantin Kolinko wrote: 2009/7/16 David kerber dcker...@verizon.net: I'm looking for a free or low-cost photo gallery package suitable for hosting on tomcat, for use on my personal web site (which is on my home computer). Something along the lines of coppermine (http://coppermine-gallery.net), but that doesn't require a separate http server like Apache or IIS. Right now I'm running only TC, and I'd like to keep it that way if possible. Any suggestions/links/pointers? I could write one myself, but I'd rather not reinvent this particular wheel if I don't have to. Google has some links: http://www.google.com/search?q=java+photo+gallery Have not tried any of them. I should have mentioned that I tried that exact search, but was looking for somebody who might have tried some of them. Sorry for the incomplete information, and thanks for responding. D - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: useHttpOnly - how to?
Thanks for your reply. It appears on http://tomcat.apache.org/tomcat-6.0-doc/config/context.html; but not in http://tomcat.apache.org/tomcat-5.5-doc/config/context.html;. Andre Konstantin Kolinko wrote: X-Powered-By: Servlet 2.4; JBoss-4.2.0.GA_CP02 (build: SVNTag=JBPAPP_4_2_0_GA_CP02 date=200801291544)/Tomcat-5.5 There is a build date in the above header. useHttpOnly is a recent feature. It was not implemented back in January 2008. Also, that JBoss version is using Tomcat 5.5. For 5.5 branch it will be in Tomcat 5.5.28 (not yet released). For 6.0 it is available since 6.0.20 release. (or 6.0.19, but that version was not released) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/useHttpOnly---how-to--tp24518467p24521714.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: useHttpOnly - how to?
2009/7/16 acastanheira2001 acastanheira2...@yahoo.com.br: Thanks for your reply. It appears on http://tomcat.apache.org/tomcat-6.0-doc/config/context.html; but not in http://tomcat.apache.org/tomcat-5.5-doc/config/context.html;. If you are confused, those files are updated when a release is done, not when someone updates them. Konstantin Kolinko wrote: X-Powered-By: Servlet 2.4; JBoss-4.2.0.GA_CP02 (build: SVNTag=JBPAPP_4_2_0_GA_CP02 date=200801291544)/Tomcat-5.5 There is a build date in the above header. useHttpOnly is a recent feature. It was not implemented back in January 2008. Also, that JBoss version is using Tomcat 5.5. For 5.5 branch it will be in Tomcat 5.5.28 (not yet released). For 6.0 it is available since 6.0.20 release. (or 6.0.19, but that version was not released) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Deploying ROOT application errors.
Theres only two jars and their not used. jar -tf ROOT.war META-INF/ META-INF/MANIFEST.MF WEB-INF/ WEB-INF/classes/ WEB-INF/classes/com/ WEB-INF/classes/com/icarus/ WEB-INF/lib/ index.jsp WEB-INF/classes/com/icarus/Test.java WEB-INF/lib/jstl-1.2.jar WEB-INF/lib/mysql-connector-java-5.1.6.jar WEB-INF/web.xml META-INF/maven/ META-INF/maven/com.icarus/ META-INF/maven/com.icarus/ROOT/ META-INF/maven/com.icarus/ROOT/pom.xml META-INF/maven/com.icarus/ROOT/pom.properties As you can see there is only one jsp and one class and two external jars. The jsp only contains the following (no dynamic content): html body h2Hello World!/h2 /body /html The web.xml only contains. !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameArchetype Created Web Application/display-name servlet servlet-nameTest/servlet-name display-nameTest/display-name description/description servlet-class com.icarus.Test/servlet-class /servlet servlet-mapping servlet-nameTest/servlet-name url-pattern/test/url-pattern /servlet-mapping /web-app The test servlet just does a System.out.println(GOT); when the get method is called. Thats it thats the entire contents of the war file. Tomcat is on its standard configuration except I've uncommented the Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common resolveHosts=true/ . Its the only deployed war to the tomcat instance appart from the default webapps. If I deploy ROOT.war then undeploy it all is good. The application is gone. If I deploy Root.war stop tomcat, start tomcat and try to undeploy it. I get the following message. *Message:* OK - Undeployed application at context path / however the ROOT folder still exists in my webapps directory. The contents of the folder are WEB-INF/lib/mysql-connector-java-5.1.6.jar trying to redeploy the war file gives the following message. *Message:* OK However the webapp isn't deployed correctly it still only contains WEB-INF/lib/mysql-connector-java-5.1.6.jar This is still true when I turned on antijar locking in context.xml Regards, Wesley Acheson On Thu, Jul 16, 2009 at 11:01 AM, Mark Thomas ma...@apache.org wrote: Wesley Acheson wrote: In that it includes root.war and it undeploying it. yes. Jar locking I don't know about. How do I prevent that? Jar locking very unlikely to be a Tomcat bug. So, one or both of: - fix the bug in your application - work around the bug in a third party library you are using Which JARs are left? Mark On Thu, Jul 16, 2009 at 1:08 AM, Pid p...@pidster.com wrote: On 15/7/09 23:58, Wesley Acheson wrote: Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have seen a related issue on tomcat 5.5 here In that it appears to involve ROOT.war? https://issues.apache.org/bugzilla/show_bug.cgi?id=36990 Sounds like you have a jar locking issue. p On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: Usual questions: 1. Your exact Tomcat version. 2. Your OS and configuration. If I try to deploy ROOT.war via the manager It just deletes the contents of the ROOT expanded directory minus the web-inf and meta-inf folders. Maybe the following will help you: http://wiki.apache.org/tomcat/FAQ/Windows - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Deploying ROOT application errors.
Wesley Acheson wrote: Theres only two jars and their not used. The flippant reply would be Well delete them then and the problem will go away WEB-INF/lib/mysql-connector-java-5.1.6.jar As soon as I saw that, I suspected it would be the one causing grief and... However the webapp isn't deployed correctly it still only contains WEB-INF/lib/mysql-connector-java-5.1.6.jar The problem is that if you put a jdbc driver jar in the lib directory, it gets registered with DriverManager automatically. Try de-registering it with a context listener (which you'll need to do anyway to avoid a permgen leak on reload). As an aside, Tomcat tries (and fails) to fix this for you automatically. That should be fixed in the next 6.0.x release. If you still see the problem when the driver is de-registered, I can take a look with a profiler. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Clustering help
Not having much luck getting a simple cluster to work. Using nginx as a front end/load balancer against two tomcat instances on the same machine (for now). SuSE Linux 11.1. I see this message in the startup log, making me think the tomcat instances are not talking: INFO: Manager [localhost#/Struts1]: skipping state transfer. No members active in cluster group. I have a simple test page in the web app that shows the session ID and the instance of tomcat that it is hitting (by server port number) and the session id changes whenever ngnix directs the request to a different instance. as far as I can tell, multicast is enabled on eth0: eth0 Link encap:Ethernet HWaddr 00:1D:09:C4:C2:9A inet addr:192.168.3.5 Bcast:192.168.3.255 Mask:255.255.255.0 inet6 addr: fe80::21d:9ff:fec4:c29a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 I've added a route for the mulitcast address to eth0: Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 228.0.0.4 0.0.0.0 255.255.255.255 UH0 00 eth0 192.168.3.0 0.0.0.0 255.255.255.0 U 1 00 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 00 lo 0.0.0.0 192.168.3.254 0.0.0.0 UG0 00 eth0 localhost is mapped to the eth0 interface: ping localhost PING mlcx300 (192.168.3.5) 56(84) bytes of data. 64 bytes from mlcx300 (192.168.3.5): icmp_seq=1 ttl=64 time=0.046 ms I've tried the simple config: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster/ as well as the detailed config below. Any pointers or ideas are welcome. Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=6 Manager className=org.apache.catalina.ha.session.DeltaManager name=MMClusterManatger expireSessionsOnShutdown=false notifyListenersOnReplication=true/ Channel className=org.apache.catalina.tribes.group.GroupChannel Membership className=org.apache.catalina.tribes.membership.McastService address=228.0.0.4 port=45564 frequency=500 dropTime=3000/ Receiver className=org.apache.catalina.tribes.transport.nio.NioReceiver address=auto port=5000 autoBind=100 selectorTimeout=100 minThreads=2 maxThreads=6/ Sender className=org.apache.catalina.tribes.transport.ReplicationTransmitter Transport className=org.apache.catalina.tribes.transport.nio.PooledParallelSender poolSize=25/ /Sender Interceptor className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/ Interceptor className=org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor/ Interceptor className=org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor/ /Channel Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter=.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.css;.*\.txt; statistics=true / Deployer className=org.apache.catalina.ha.deploy.FarmWarDeployer tempDir=/tmp/war-temp/ deployDir=/tmp/war-deploy/ watchDir=/tmp/war-listen/ watchEnabled=false/ ClusterListener className=org.apache.catalina.ha.session.ClusterSessionListener/ /Cluster Here are the cluster related messages from the startup of instance 2: INFO: Cluster is about to start Jul 16, 2009 6:03:26 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:/192.168.3.5:4001 Jul 16, 2009 6:03:26 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to 500 Jul 16, 2009 6:03:26 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:4 Jul 16, 2009 6:03:27 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:4 Jul 16, 2009 6:03:27 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:8 Jul 16, 2009 6:03:28 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:8 Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager start INFO: Register manager /Struts1 to cluster element Engine with name Catalina Jul 16, 2009 6:03:29 PM org.apache.catalina.ha.session.DeltaManager
Retrieving all active sessions
I need to write a Servlet or some kind of java program (which may be deployed as part of a webapp on the same container) that can get me the count of all active sessions on that tomcat Also if possible, active sessions per context path I was trying to google on this ... could find this post but this is for Tomcat 4 .. most of the classes used here seems to have been removed in Tomcat 5.5 (which I am using) Suggestions people Thanks Sanchit -- View this message in context: http://www.nabble.com/Retrieving-all-active-sessions-tp24528873p24528873.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Retrieving all active sessions
From: sanchit.sriv [mailto:sanchit.srivast...@morganstanley.com] Subject: Retrieving all active sessions I need to write a Servlet or some kind of java program (which may be deployed as part of a webapp on the same container) that can get me the count of all active sessions on that tomcat Also if possible, active sessions per context path Rather than mucking around with the internals of Tomcat, implement an HttpSessionListener for each webapp of interest; see the servlet spec for details about event listeners. You could also write a Tomcat-specific valve at the Engine, Host, or Context level, but that ties you to a specific version of Tomcat. The session information is also available via JMX. If you want a webapp that already does it, look at Lambda Probe: http://lambdaprobe.org - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org