Re: Classpath for JSP
Try ensuring that no conflicts from duplicate libs in WEB-INF/lib sometimes libs are already provided by container and container will not be able to resolve which of the libs to use. -- From: Tobias Crefeld t...@cataneo.eu Sent: Monday, April 26, 2010 8:15 PM To: users@tomcat.apache.org Subject: Re: Classpath for JSP Am Mon, 26 Apr 2010 13:22:49 -0400 schrieb Reuven Koblick reu...@koblick.com: I verified that the class that was not found is indeed in /WEB-INF/classes. Also, classes in *.jar files in WEB-INF/lib are found. Does anyone have any thoughts or suggestions? Maybe wrong rights for directories or files in the classes-directory? Is the class at the correct place within the directory tree compared to the class-hierarchy? What does catalina.out report exactly? There is a nice management tool called Lambda-Probe that could give you some assistance under its menu applications/attributes. You get it as a war-file at http://www.lambdaprobe.org/ . Regards, Tobias. - 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
EE application server
Hi, I want to know is this possible to use apache tomcat application server for Enterprise Application(EAR)? I downloaded apache-tomcat-6.0.26 and O cannot use this in netbeans for EJB or EAR projects. Is there two version for web-server and EE applications server? If yes, how can I download EE application server? RGDS _ Navid Esfahani Member of BOD / IT Manager Sobhan Paya Pardaz Co. na...@sobhanpaya.com #60, shahanaghi Alley, Sheikh-Bahaee St, Molla-Sadra Ave. http://www.plaxo.com/click_to_call?src=jj_signatureTo=(%2B9821)++66970895 email=he...@sobhanpaya.com cid:image001.gif@01C80B40.5D9ECD80 Office: +98 21 88616447 Fax: +98 21 88616447 Cell: 912 3277 297
Re: EE application server
Navid, --- On Tue, 4/27/10 at 12:38 AM, Navid Esfahani na...@sobhanpaya.com wrote: I want to know is this possible to use apache tomcat application server for Enterprise Application(EAR)? No. Is there two version for web-server and EE applications server? No. how can I download EE application server? http://www.lmgtfy.com/?q=java+ee+servers - Bob
how to use
Hi, How to use openEJB and tomcat server for developing enterprise application in netbeans? RGDS __ Navid Esfahani Member of BOD / IT Manager Sobhan Paya Pardaz Co. na...@sobhanpaya.com #60, shahanaghi Alley, Sheikh-Bahaee St, Molla-Sadra Ave. http://www.plaxo.com/click_to_call?src=jj_signatureTo=(%2B9821)++66970895 email=he...@sobhanpaya.com cid:image001.gif@01C80B40.5D9ECD80 Office: +98 21 88616447 Fax: +98 21 88616447 Cell: 912 3277 297
SSL Problem with Tomcat 5.5.25 on Windows 2003 Server
Hi; I have a tomcat 5.5.25 installation on windows 2003 server. I tried to configure ssl on tomcat. When i write browser http://localhost:443 i can see the pages and applications. But when i write https://localhost i cant reach any page or applications. There is no error in the log files. Please help. -- Abdullah Teke = Tel: 0 555 337 21 89 MSN : abdullaht...@hotmail.com ICQ : 164500674 Web : www.abdullahteke.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat classpath fpr jar-within-jar
Op maandag, 26 april 2010 19:00 schreef Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 4/26/2010 8:53 AM, Ronald Klop wrote: That is not possible in Java (not only in Tomcat, but not possible in any java application). You must extract jar B from jar A and put both on the classpath. But it would be a nice feature and you can probably vote for an issue about it in the bug database of Sun/Oracle. Really? I would think that a custom ClassLoader would allow this behavior. To answer the OPs question: there's no way to do this without at least writing some of your own code (such as a ClassLoader). Yep. You are right. It is possible, just not out of the box.
Re: Mod_jk 1.2.26 + tomcat 6.0.26 + apache 2.2.12 not working on ubuntu 'karmic'
Hi, I'm a researcher not an administrator. ;) Thanks for the hint with the virtual hosts, chris. I never did anything with this technique (didn't even know apache is capable of such things) but now it works. Regards Klemens Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Klemens, On 4/23/2010 11:21 AM, Klemens Muthmann wrote: However now I need to make the tomcat applications available over port 80 so I tried to configure mod_jk but it does not work. [...] Currently the configuration looks like: - There is a symbolic link to jk.load file in /etc/apache2/mods-enabled with content: LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so Does that file exist? Probably, because you have errors coming from mod_jk below... - httpd.conf is loaded in apache2.conf (after jk.load) via: Include /etc/apache2/httpd.conf and has the following content: JkWorkersFile /etc/libapache2-mod-jk/workers.properties JkLogFile /var/log/apache2/mod_jk.log JkLogLevel debug JkMount /nexus/* ajp13_worker Where do the above lines fall in terms of VirtualHosts? Most Debian-like packages have a main VirtualHost defined somewhere like /etc/apache2/sites-enabled. mod_jk allows separate mounts for each virtual host, including the top-level one, and they don't inherit from each other by default. Try moving the JkMount like (specifically) from where it is now into your default VirtualHost definition. Here's the hint that you have no JkMounts defined for your virtual host: [Fri Apr 23 15:20:05.210 2010] [23365:3585353520] [debug] jk_translate::mod_jk.c (3038): missing uri map for 127.0.1.1:/nexus/ It's the missing uri map that tells the story. Your workers.properties file looks fine (though the workers.tomcat_hom, workers.java_home, and ps properties are no longer relevant and should be removed, and you aren't actually using that loadbalancer so unless you're just testing in non-lb mode, remove it). Hope that helps, - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvV02kACgkQ9CaO5/Lv0PDYGwCgj2mTQWirkmmUqCQwsP+ZJgUL FjAAnRvketJTpIebGHFR8k+h6tGglqyj =NBB0 -END PGP SIGNATURE- - 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: how to use
On 27/04/2010 09:11, Navid Esfahani wrote: Hi, How to use openEJB and tomcat server for developing enterprise application in netbeans? http://catb.org/~esr/faqs/smart-questions.html p *__* *Navid Esfahani* Member of BOD / IT Manager Sobhan Paya Pardaz Co. na...@sobhanpaya.com #60, shahanaghi Alley, Sheikh-Bahaee St, Molla-Sadra Ave.cid:image001.gif@01C80B40.5D9ECD80 http://www.plaxo.com/click_to_call?src=jj_signatureTo=(%2B9821)++66970895email=he...@sobhanpaya.com Office: +98 21 88616447 Fax: +98 21 88616447 Cell: 912 3277 297 __ Information from ESET Smart Security, version of virus signature database 5029 (20100414) __ The message was checked by ESET Smart Security. http://www.eset.com signature.asc Description: OpenPGP digital signature
help migrating
I am migrating from 6.0.20 on FreeBSD 8-RELEASE (i386) where everything works fine to 6.0.26 on Gentoo (unknown ditro version) Linux (kernel version 2.6.32.9) where everything works but some of my servlets can't load some of the classes they call. For example: java.lang.NoClassDefFoundError: backend/rci2/namespaces/def/InfiniteGlue$1 java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Class.java:2427) java.lang.Class.getMethod0(Class.java:2670) java.lang.Class.getMethod(Class.java:1603) java.lang.Class.getEnumConstantsShared(Class.java:2934) java.lang.Class.enumConstantDirectory(Class.java:2963) java.lang.Enum.valueOf(Enum.java:191) backend.rci2.NamespaceWalker.parseChildNamespace(NamespaceWalker.java:187) There has been no change in the servlet code base and/or the instance install dir (I am using virtual hosting)... to be clear again all static content works and servlets partially work (tomcat can find them but somehow the classpath or soemthing is screwy) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: help migrating
On 27/04/2010 09:08, Aryeh M. Friedman wrote: I am migrating from 6.0.20 on FreeBSD 8-RELEASE (i386) where everything works fine to 6.0.26 on Gentoo (unknown ditro version) Linux (kernel version 2.6.32.9) where everything works but some of my servlets can't load some of the classes they call. For example: java.lang.NoClassDefFoundError: backend/rci2/namespaces/def/InfiniteGlue$1 java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Class.java:2427) java.lang.Class.getMethod0(Class.java:2670) java.lang.Class.getMethod(Class.java:1603) java.lang.Class.getEnumConstantsShared(Class.java:2934) java.lang.Class.enumConstantDirectory(Class.java:2963) java.lang.Enum.valueOf(Enum.java:191) backend.rci2.NamespaceWalker.parseChildNamespace(NamespaceWalker.java:187) There has been no change in the servlet code base and/or the instance install dir (I am using virtual hosting)... to be clear again all static content works and servlets partially work (tomcat can find them but somehow the classpath or soemthing is screwy) Compare the directory listings for: /path/to/tomcat/lib for each installation and check that they match, ie have the same jar files. Then compare the lib dir in the deployed app in each server: /path/to/tomcat/webapps/myapp/WEB-INF/lib If that doesn't produce any joy, you might need to compare the WEB-INF/classes directories too. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org signature.asc Description: OpenPGP digital signature
Re: help migrating
Compare the directory listings for: /path/to/tomcat/lib for each installation and check that they match, ie have the same jar files. Then compare the lib dir in the deployed app in each server: /path/to/tomcat/webapps/myapp/WEB-INF/lib If that doesn't produce any joy, you might need to compare the WEB-INF/classes directories too. Except for using WEB-INF/classes and not lib I checked and they are the same (comarped by diff'ing the output of find . even the xxx.xxx$[some number].class are the same)... I do not define an AppBase but a DocBase only in server.xml does that matter... also on machine I am migrating from /home is symlinked to /usr/home but it is a real dir (not a symlink) on the machine I am migrating to... also I am using JDK 1.6u3 on the one I am moving to and 1.6u17 on the one I am moving to) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: help migrating
On 27/04/2010 09:38, Aryeh M. Friedman wrote: Compare the directory listings for: /path/to/tomcat/lib for each installation and check that they match, ie have the same jar files. Then compare the lib dir in the deployed app in each server: /path/to/tomcat/webapps/myapp/WEB-INF/lib If that doesn't produce any joy, you might need to compare the WEB-INF/classes directories too. Except for using WEB-INF/classes and not lib I checked and they are the same (comarped by diff'ing the output of find . even the xxx.xxx$[some number].class are the same)... I do not define an AppBase but a DocBase only in server.xml does that matter... Post your server.xml. (all comments passwords removed) p also on machine I am migrating from /home is symlinked to /usr/home but it is a real dir (not a symlink) on the machine I am migrating to... also I am using JDK 1.6u3 on the one I am moving to and 1.6u17 on the one I am moving to) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org signature.asc Description: OpenPGP digital signature
Re: help migrating
I found the problem... there was a missing quote in the compile script for the project - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: how to use
Google is your friend: http://openejb.apache.org/tomcat.html A bit dated: http://javanotebook.com/2007/09/28/openejb_3_and_tomcat_6.html Lots of tutorials once you get it installed: http://openejb.apache.org/ejb3-tutorial.html --- On Tue, 4/27/10, Navid Esfahani na...@sobhanpaya.com wrote: From: Navid Esfahani na...@sobhanpaya.com Subject: how to use To: users@tomcat.apache.org Date: Tuesday, April 27, 2010, 1:11 AM Hi, How to use openEJB and tomcat server for developing enterprise application in netbeans? RGDS - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to configure ProxyPassReverse for SSL redirect
Is someone out there, who can explain me, what the problem is? Does the ProxyPassReverse only removes the ContextPath if the protocol (http/https) in the response is the same than in the request? Is it possible to configure the Proxy to ignore the protocol information? Thank you for any hint - I am stuck with this problem. Best regards, Timo 2010/4/22 Timo Meinen timomei...@googlemail.com: Hi Hassan, yes, there are two VirtualHost entries. One for port 80 and one for port 443 with SSL engine enabled. Both have the same proxy configuration. Timo 2010/4/22 Hassan Schroeder hassan.schroe...@gmail.com: On Thu, Apr 22, 2010 at 3:25 AM, Timo Meinen timomei...@googlemail.com wrote: our configuration is a Apache 2.2 web server, acting as a reverse proxy for Tomcat 6. This is the configuration: ServerName it.localhost.de ProxyPass / ajp://127.0.0.1:8009/spike/ ProxyPassReverse / ajp://127.0.0.1:8009/spike/ ProxyPassReverseCookiePath /spike / That's *one* configuration -- do you have this for both the standard port 80 and SSL port 443? In a default 2.2.x install there are separate extra/httpd-vhosts.conf and extra/httpd-ssl.conf files. -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Glück Auf Timo -- Glück Auf Timo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: EE application server
Use JBoss or Glassfish for full-blown JavaEE apps. Here you can find the list of all JavaEE 5.0 certified application servers: http://java.sun.com/javaee/overview/compatibility-javaee5.jsp On Tue, Apr 27, 2010 at 5:38 PM, Navid Esfahani na...@sobhanpaya.comwrote: Hi, I want to know is this possible to use apache tomcat application server for Enterprise Application(EAR)? I downloaded apache-tomcat-6.0.26 and O cannot use this in netbeans for EJB or EAR projects. Is there two version for web-server and EE applications server? If yes, how can I download EE application server? RGDS *_* *Navid Esfahani* Member of BOD / IT Manager Sobhan Paya Pardaz Co. na...@sobhanpaya.com #60, shahanaghi Alley, Sheikh-Bahaee St, Molla-Sadra Ave.[image: cid:image001.gif@01C80B40.5D9ECD80]http://www.plaxo.com/click_to_call?src=jj_signatureTo=(%2B9821)++66970895email=he...@sobhanpaya.com Office: +98 21 88616447 Fax: +98 21 88616447 Cell: 912 3277 297 __ Information from ESET Smart Security, version of virus signature database 5029 (20100414) __ The message was checked by ESET Smart Security. http://www.eset.com
Problem with starting tomcat5
Hello *, may be you already answered to my problem but I did not find any response why the problem occurs. On the UnixWare I have installed apache 1.3 together with tomcat 5.5.29 and jre 1.4.2. Package apache-tomcat-5.5.29-compat.tar.gz has been already installed as well. in the /var/apache/tomcat/logs/catalina.out is following: WARNING: Default charset ISO-10646-Minimum-European-Subset not supported, using ISO-8859-1 instead Created MBeanServer with ID: 1386000:1283ec3ca51:-8000:server:1 Apr 27, 2010 12:15:59 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/java2-1.4.2/jre/lib/i386/client:/opt/java2-1.4.2/jre/lib/i386:/opt/java2-1.4.2/jre/../lib/i386:/usr/lib Apr 27, 2010 12:16:07 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 27, 2010 12:16:08 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 25964 ms Apr 27, 2010 12:16:10 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 27, 2010 12:16:11 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.29 Apr 27, 2010 12:16:11 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Apr 27, 2010 12:16:19 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/opt/repgen/servlet/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class java.io.FileNotFoundException: /opt/apache/tomcat/work/Catalina/localhost/RepGen/tldCache.ser (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:131) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:320) at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:729) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4184) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Apr 27, 2010 12:16:30 PM org.apache.jasper.EmbeddedServletOptions init SEVERE: The scratchDir you specified: /opt/apache/tomcat/work/Catalina/localhost/RepGen is unusable. java.io.FileNotFoundException: /opt/apache/tomcat/work/Catalina/localhost/PM-Reports/tldCache.ser (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:131) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:320) at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:729) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4184) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at
Re: Problem with starting tomcat5
2010/4/27 Petr Hracek phrac...@gmail.com: WARNING: Default charset ISO-10646-Minimum-European-Subset not supported, using ISO-8859-1 instead Do not know what prints the above. Apr 27, 2010 12:15:59 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/java2-1.4.2/jre/lib/i386/client:/opt/java2-1.4.2/jre/lib/i386:/opt/java2-1.4.2/jre/../lib/i386:/usr/lib The above can be ignored. Apr 27, 2010 12:16:19 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/opt/repgen/servlet/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Remove servlet.jar from your web application. It should not be there. java.io.FileNotFoundException: /opt/apache/tomcat/work/Catalina/localhost/RepGen/tldCache.ser (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:131) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:320) It tries to write tldCache.ser file and cannot. Check your permissions. BTW, this message is printed to stderr. A patch to print this message to the log file is already proposed for 5.5 (BZ 48179), but is not applied yet. Apr 27, 2010 12:16:30 PM org.apache.jasper.EmbeddedServletOptions init SEVERE: The scratchDir you specified: /opt/apache/tomcat/work/Catalina/localhost/RepGen is unusable. Again, the directory is not writeable. Content of the directory /opt/apache/tomcat/conf/Catalina/localhost is: /var/apache/tomcat# l /opt/apache/tomcat/conf/Catalina/localhost/ total 6 -rw-r--r-- 1 root sys 105 Apr 27 11:12 PM-Reports.xml -rw-r--r-- 1 root sys 117 Apr 27 11:12 PM.xml -rw-r--r-- 1 root sys 105 Apr 27 11:12 RepGen.xml /var/apache/tomcat# Could you please let me know where I did a problem? 1. Do not run Tomcat as root. 2. If you have ever run Tomcat as root, - remove all subdirectories and files from logs, temp and work subdirectories of $CATALINA_BASE - make sure, that the above directories as well as $CATALINA_BASE/conf/Catalina/, $CATALINA_BASE/webapps and the files in them are writeable. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with starting tomcat5
First of all, - where should be placed servlet.jar file from my application if not in /opt/repgen/ servlet/WEB-INF/lib/ When I run the tomcat under user apache then output is following: /# tail -f /var/apache/tomcat/logs/catalina.out WARNING: Default charset ISO-10646-Minimum-European-Subset not supported, using ISO-8859-1 instead Created MBeanServer with ID: 1386000:1283f0632fa:-8000:server:1 Apr 27, 2010 1:28:37 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/java2-1.4.2/jre/lib/i386/client:/opt/java2-1.4.2/jre/lib/i386:/opt/java2-1.4.2/jre/../lib/i386:/usr/lib Apr 27, 2010 1:28:48 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 27, 2010 1:28:49 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 33400 ms Apr 27, 2010 1:28:55 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 27, 2010 1:28:55 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.29 Apr 27, 2010 1:28:56 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Apr 27, 2010 1:29:04 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/opt/repgen/servlet/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Apr 27, 2010 1:29:20 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Apr 27, 2010 1:29:23 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Apr 27, 2010 1:29:24 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=10/660 config=null Apr 27, 2010 1:29:25 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Apr 27, 2010 1:29:26 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 36790 ms -- Best Regards / S pozdravem Petr Hracek 2010/4/27 Konstantin Kolinko knst.koli...@gmail.com 2010/4/27 Petr Hracek phrac...@gmail.com: WARNING: Default charset ISO-10646-Minimum-European-Subset not supported, using ISO-8859-1 instead Do not know what prints the above. Apr 27, 2010 12:15:59 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/java2-1.4.2/jre/lib/i386/client:/opt/java2-1.4.2/jre/lib/i386:/opt/java2-1.4.2/jre/../lib/i386:/usr/lib The above can be ignored. Apr 27, 2010 12:16:19 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/opt/repgen/servlet/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Remove servlet.jar from your web application. It should not be there. java.io.FileNotFoundException: /opt/apache/tomcat/work/Catalina/localhost/RepGen/tldCache.ser (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:131) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:320) It tries to write tldCache.ser file and cannot. Check your permissions. BTW, this message is printed to stderr. A patch to print this message to the log file is already proposed for 5.5 (BZ 48179), but is not applied yet. Apr 27, 2010 12:16:30 PM org.apache.jasper.EmbeddedServletOptions init SEVERE: The scratchDir you specified: /opt/apache/tomcat/work/Catalina/localhost/RepGen is unusable. Again, the directory is not writeable. Content of the directory /opt/apache/tomcat/conf/Catalina/localhost is: /var/apache/tomcat# l /opt/apache/tomcat/conf/Catalina/localhost/ total 6 -rw-r--r--1 root sys 105 Apr 27 11:12 PM-Reports.xml -rw-r--r--1 root sys 117 Apr 27 11:12 PM.xml -rw-r--r--1 root sys 105 Apr 27 11:12 RepGen.xml /var/apache/tomcat# Could you please let me know where I did a problem? 1. Do not run Tomcat as root. 2. If you have ever run Tomcat as root, - remove all subdirectories and files from logs, temp and work subdirectories of $CATALINA_BASE - make sure, that the above directories as well as $CATALINA_BASE/conf/Catalina/, $CATALINA_BASE/webapps and the files in them are writeable. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with starting tomcat5
On 27/04/2010 12:29, Petr Hracek wrote: First of all, - where should be placed servlet.jar file from my application if not in /opt/repgen/ servlet/WEB-INF/lib/ Nowhere. Tomcat provides these classes, it's illegal to place them in a WEB-INF/lib. p When I run the tomcat under user apache then output is following: /# tail -f /var/apache/tomcat/logs/catalina.out WARNING: Default charset ISO-10646-Minimum-European-Subset not supported, using ISO-8859-1 instead Created MBeanServer with ID: 1386000:1283f0632fa:-8000:server:1 Apr 27, 2010 1:28:37 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/java2-1.4.2/jre/lib/i386/client:/opt/java2-1.4.2/jre/lib/i386:/opt/java2-1.4.2/jre/../lib/i386:/usr/lib Apr 27, 2010 1:28:48 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 27, 2010 1:28:49 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 33400 ms Apr 27, 2010 1:28:55 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 27, 2010 1:28:55 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.29 Apr 27, 2010 1:28:56 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Apr 27, 2010 1:29:04 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/opt/repgen/servlet/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Apr 27, 2010 1:29:20 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Apr 27, 2010 1:29:23 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Apr 27, 2010 1:29:24 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=10/660 config=null Apr 27, 2010 1:29:25 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Apr 27, 2010 1:29:26 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 36790 ms signature.asc Description: OpenPGP digital signature
Re: Problem with starting tomcat5
Petr Hracek wrote: Hello *, may be you already answered to my problem but I did not find any response why the problem occurs. On the UnixWare I have installed apache 1.3 together with tomcat 5.5.29 and jre 1.4.2. Package apache-tomcat-5.5.29-compat.tar.gz has been already installed as well. Maybe nothing to do with your problems, but if you are freshly installing this, maybe you should consider recent versions of these software ? - the currently-developed Apache version is 2.2.x 1.3 is only maintained for security, as far as I know. - the current version of Tomcat is 6.0. (24) ? - the current version of Java is 1.6 (rev 20). Java 1.4 is not even supported anymore. If you do not start with reasonably recent versions, you will find less and less people able or willing to help you on mailing lists. I am not saying that this is the case in this instance, but the problems you are having may be due to some bug that has been corrected a long time ago, and not many people will have the desire to go search for old bugs. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
JAR files still locked after Context.stop()
Greetings I have written an autoupdate web application client whose job it is to update a main Tomcat application. When updating the application, it performs the following operations on the main web application: ((Lifecycle) context).stop(); update existing jar files delete unwanted jar files ((Lifecycle) context).start(); The problem is that the JAR files in the main web application remain locked, even though its context is stopped successfully. I have tried to add a System.gc() directly after stopping the context, but this does not help. Furthermore, I changed the \conf\context.xml to set antiJARLocking and antiResourceLocking to true, but again, the JAR files remain locked. My autoupdate client is unable to delete the JAR files in question. Any idea on how I can either force the Tomcat classloader to unload the JAR, or force Tomcat to release the lock on the JAR files after the context is stopped? I am using the latest version of Tomcat (v6) Thanks in advance for your suggestions Jamie Context antiJARLocking=true antiResourceLocking=true !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource !-- Uncomment this to disable session persistence across Tomcat restarts -- !-- uncommented below -- Manager pathname= / !-- Uncomment this to enable Comet connection tacking (provides events on session expiration as well as webapp lifecycle) -- !-- Valve className=org.apache.catalina.valves.CometConnectionManagerValve / -- /Context - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: JAR files still locked after Context.stop()
2010/4/27 Jamie ja...@stimulussoft.com: I am using the latest version of Tomcat (v6) There are about 20 different releases of Tomcat v6. Which one do you use (x.y.z), or are you building it yourself? What are your operation system and Java vendor and versions? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server
From: Abdullah Teke [mailto:abdullaht...@gmail.com] Subject: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server When i write browser http://localhost:443 i can see the pages and applications. Which you shouldn't be able to - this is indicative of your server.xml being broken. But when i write https://localhost i cant reach any page or applications. Post your server.xml (preferably without all the comments, and obfuscate any passwords). - 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.
Re: JAR files still locked after Context.stop()
Hi Konstantin Here you go: OS: Windows 7 (version 6.1.7600) Tomcat: 6.0.20 JRE: 1.6.0_18-b07 Thanks for your guidance Jamie INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 On 2010/04/27 03:26 PM, Konstantin Kolinko wrote: 2010/4/27 Jamieja...@stimulussoft.com: I am using the latest version of Tomcat (v6) There are about 20 different releases of Tomcat v6. Which one do you use (x.y.z), or are you building it yourself? What are your operation system and Java vendor and versions? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Stimulus Software - MailArchiva Email Discovery, Archiving And Compliance USA Tel: +1-713-343-8824 ext 100 UK Tel: +44-20-80991035 ext 100 FAX: +1-(877)-350-2328 Email: ja...@stimulussoft.com mailto:ja...@stimulussoft.com Web: www.mailarchiva.com http://www.mailarchiva.com Click here http://stimulussoft.eu/lists/?p=subscribe to receive MailArchiva product announcements.
Re: JAR files still locked after Context.stop()
2010/4/27 Jamie ja...@stimulussoft.com: Hi Konstantin Here you go: OS: Windows 7 (version 6.1.7600) Tomcat: 6.0.20 JRE: 1.6.0_18-b07 Thanks for your guidance The latest v6 is 6.0.26. Try it. For 6.0.20 and earlier you would need additional configuration options to prevent jar locking on Windows. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server
On Tue, Apr 27, 2010 at 4:33 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Abdullah Teke [mailto:abdullaht...@gmail.com] Subject: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server When i write browser http://localhost:443 i can see the pages and applications. Which you shouldn't be able to - this is indicative of your server.xml being broken. But when i write https://localhost i cant reach any page or applications. Post your server.xml (preferably without all the comments, and obfuscate any passwords). - 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. This is my server.xml. I have an mirror tomcat server installation that working perfect which have the same configuration and enviroment. But this server didnt work as i said before. -- Abdullah Teke = Tel: 0 555 337 21 89 MSN : abdullaht...@hotmail.com ICQ : 164500674 Web : www.abdullahteke.com ?xml version=1.0? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a shutdown command on the indicated port. Note: A Server is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- Server port=8005 shutdown=SHUTDOWN !-- Comment these entries out to disable JMX MBeans support used for the administration web application -- Listener className=org.apache.catalina.core.AprLifecycleListener / Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources !-- A Service is a collection of one or more Connectors that share a single Container (and therefore the web applications visible within that Container). Normally, that Container is an Engine, but this is not required. Note: A Service is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- !-- Define the Tomcat Stand-Alone Service -- Service name=Catalina !-- A Connector represents an endpoint by which requests are received and responses are returned. Each Connector passes requests on to the associated Container (normally an Engine) for processing. By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector entry. SSL support requires the following steps (see the SSL Config HOWTO in the Tomcat 5 documentation bundle for more detailed instructions): * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of changeit for both the certificate and the keystore itself.
Re: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server
On 27/04/2010 14:57, Abdullah Teke wrote: On Tue, Apr 27, 2010 at 4:33 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Abdullah Teke [mailto:abdullaht...@gmail.com] Subject: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server When i write browser http://localhost:443 i can see the pages and applications. Which you shouldn't be able to - this is indicative of your server.xml being broken. But when i write https://localhost i cant reach any page or applications. Post your server.xml (preferably without all the comments, and obfuscate any passwords). - 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. This is my server.xml. I have an mirror tomcat server installation that working perfect which have the same configuration and enviroment. But this server didnt work as i said before. The list often strips attachments, it's better to post the contents of the file, inline. (Makes it easier to suggest edits, too). p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org signature.asc Description: OpenPGP digital signature
Re: JAR files still locked after Context.stop()
Hi Konstantin Thanks. I'll give that a try. Can you confirm whether the options you were referring to are antiJARLocking=true antiResourceLocking=true. Is it still necessary to specify these options in 6.0.26? On 2010/04/27 03:45 PM, Konstantin Kolinko wrote: 2010/4/27 Jamieja...@stimulussoft.com: Hi Konstantin Here you go: OS: Windows 7 (version 6.1.7600) Tomcat: 6.0.20 JRE: 1.6.0_18-b07 Thanks for your guidance The latest v6 is 6.0.26. Try it. For 6.0.20 and earlier you would need additional configuration options to prevent jar locking on Windows. Best regards, Konstantin Kolinko - 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 Problem with Tomcat 5.5.25 on Windows 2003 Server
On Tue, Apr 27, 2010 at 5:03 PM, Pid p...@pidster.com wrote: On 27/04/2010 14:57, Abdullah Teke wrote: On Tue, Apr 27, 2010 at 4:33 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Abdullah Teke [mailto:abdullaht...@gmail.com] Subject: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server When i write browser http://localhost:443 i can see the pages and applications. Which you shouldn't be able to - this is indicative of your server.xml being broken. But when i write https://localhost i cant reach any page or applications. Post your server.xml (preferably without all the comments, and obfuscate any passwords). - 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. This is my server.xml. I have an mirror tomcat server installation that working perfect which have the same configuration and enviroment. But this server didnt work as i said before. The list often strips attachments, it's better to post the contents of the file, inline. (Makes it easier to suggest edits, too). p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org ok then. ?xml version=1.0? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a shutdown command on the indicated port. Note: A Server is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- Server port=8005 shutdown=SHUTDOWN !-- Comment these entries out to disable JMX MBeans support used for the administration web application -- Listener className=org.apache.catalina.core.AprLifecycleListener / Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources !-- A Service is a collection of one or more Connectors that share a single Container (and therefore the web applications visible within that Container). Normally, that Container is an Engine, but this is not required. Note: A Service is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- !-- Define the Tomcat Stand-Alone Service -- Service name=Catalina !-- A Connector represents an endpoint by which requests are received and responses are returned. Each Connector passes requests on to the associated Container (normally an Engine) for processing. By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector entry. SSL support requires the following steps (see the SSL Config HOWTO in the Tomcat 5 documentation bundle for more detailed instructions): * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or later, and put the JAR
Re: JAR files still locked after Context.stop()
2010/4/27 Jamie ja...@stimulussoft.com: Hi Konstantin Thanks. I'll give that a try. Can you confirm whether the options you were referring to are antiJARLocking=true antiResourceLocking=true. Is it still necessary to specify these options in 6.0.26? Yes, those options. In 6.0.26 you will have JreMemoryLeakPreventionListener in default server.xml, which should be enough to prevent jar locking. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat Job Opportunities at SpringSource
I am very interested in speaking to you about a Java EE/Tomcat opportunity with SpringSource/VMware. This is an Senior level position and we are looking for someone that has great communication skills along with the technical skills. This position will be working with Tomcat and S2's tc Server. You will be providing consulting and training services (includes design, development, architecture, configuration, installation, troubleshooting and training work) to new and existing clients of SpringSource. This position will allow you to work from your home office when not at client sites. The travel requirement is approximately 2-3 weeks a month travel. If interested please email me at cber...@vmware.commailto:cber...@vmware.com or call me at the numbers below. Respectfully, Colby Berger Recruiting Consultant cber...@vmware.com Office: 407-522-5088 cell: 407-538-6771
Re: JAR files still locked after Context.stop()
Konstantin I just tried 6.0.26 and no joy. JARs remain locked by Windows. In the auto update application I call context.stop() immediatel and System.gc() but alas all JAR files are locked. Any other ideas? Jamie On 2010/04/27 04:17 PM, Konstantin Kolinko wrote: 2010/4/27 Jamieja...@stimulussoft.com: Hi Konstantin Thanks. I'll give that a try. Can you confirm whether the options you were referring to are antiJARLocking=true antiResourceLocking=true. Is it still necessary to specify these options in 6.0.26? Yes, those options. In 6.0.26 you will have JreMemoryLeakPreventionListener in default server.xml, which should be enough to prevent jar locking. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Stimulus Software - MailArchiva Email Discovery, Archiving And Compliance USA Tel: +1-713-343-8824 ext 100 UK Tel: +44-20-80991035 ext 100 FAX: +1-(877)-350-2328 Email: ja...@stimulussoft.com mailto:ja...@stimulussoft.com Web: www.mailarchiva.com http://www.mailarchiva.com Click here http://stimulussoft.eu/lists/?p=subscribe to receive MailArchiva product announcements.
deleted page not immediately invalidated
hello We have a website which has it's content on a filesystem. all pages are jsp, with caching off. when we change a jsp, it get's recompiled at once when refreshing the page, so the new content is displayed. This is correct. now, when we delete a page from the filesystem and we do a refresh, it displays the page, when we do another refresh we get a page not found. I would expect a page not found after the first refresh! What could be causing this behaviour? regards Milko Emmerig Please consider the environment before printing this email. De informatie verzonden met dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Indien u als niet-geadresseerde dit bericht ontvangt, wordt u verzocht direct de afzender hierover te informeren en het bericht te vernietigen. Gebruik van informatie door onbevoegden, openbaarmaking of vermenigvuldiging is verboden en kan leiden tot aansprakelijkheid. De afzender is niet aansprakelijk in geval van onjuiste overbrenging van het e-mailbericht en/of bij ontijdige ontvangst daarvan. The information transmitted is confidential and intended only for the person or entity to whom or which it is addressed. If you are not the intended recipient of this communication, please inform us immediately and destroy this communication. Unauthorised use, disclosure or copying of information is strictly prohibited and may entail liability. The sender accepts no liability for improper transmission of this communication nor for any delay in its receipt.
Re: JAR files still locked after Context.stop()
2010/4/27 Jamie ja...@stimulussoft.com: Konstantin I just tried 6.0.26 and no joy. JARs remain locked by Windows. In the auto update application I call context.stop() immediatel and System.gc() but alas all JAR files are locked. Any other ideas? Jamie On 2010/04/27 04:17 PM, Konstantin Kolinko wrote: 2010/4/27 Jamieja...@stimulussoft.com: Hi Konstantin Thanks. I'll give that a try. Can you confirm whether the options you were referring to are antiJARLocking=true antiResourceLocking=true. Is it still necessary to specify these options in 6.0.26? Yes, those options. In 6.0.26 you will have JreMemoryLeakPreventionListener in default server.xml, which should be enough to prevent jar locking. Do you have the above mentioned class in your server.xml? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to configure ProxyPassReverse for SSL redirect
Here are some debug information to this problem. The message is logged just after the 302 redirect to the https. The Context-Path of the application is /spike: [Tue Apr 27 16:54:39 2010] [debug] mod_proxy_ajp.c(239): proxy: APR_BUCKET_IS_EOS [Tue Apr 27 16:54:39 2010] [debug] mod_proxy_ajp.c(244): proxy: data to read (max 8186 at 4) [Tue Apr 27 16:54:39 2010] [debug] mod_proxy_ajp.c(259): proxy: got 0 bytes of data [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(652): ajp_read_header: ajp_ilink_received 04 [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(662): ajp_parse_type: got 04 [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(491): ajp_unmarshal_response: status = 302 [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(502): ajp_unmarshal_response: Number of headers is = 2 [Tue Apr 27 16:54:39 2010] [debug] proxy_util.c(1071): ppr: real: ajp://127.0.0.1:9091/spike/ [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(564): ajp_unmarshal_response: Header[0] [Location] = [https://it.localhost.de/spike/users/3] [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(564): ajp_unmarshal_response: Header[1] [Content-Length] = [0] [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(652): ajp_read_header: ajp_ilink_received 05 [Tue Apr 27 16:54:39 2010] [debug] ajp_header.c(662): ajp_parse_type: got 05 [Tue Apr 27 16:54:39 2010] [debug] mod_proxy_ajp.c(498): proxy: got response from 127.0.0.1:9091 (127.0.0.1) [Tue Apr 27 16:54:39 2010] [debug] proxy_util.c(2062): proxy: AJP: has released connection for (127.0.0.1) [Tue Apr 27 16:54:39 2010] [info] Initial (No.1) HTTPS request received for child 9 (server it.localhost.de:80) [Tue Apr 27 16:54:44 2010] [debug] mod_proxy_ajp.c(45): proxy: AJP: canonicalising URL //127.0.0.1:9091/spike/spike/users/3 [Tue Apr 27 16:54:44 2010] [debug] proxy_util.c(1488): [client 85.183.135.210] proxy: ajp: found worker ajp://127.0.0.1:9091/spike/ for ajp://127.0.0.1:9091/spike/spike/users/3, referer: http://it.localhost.de/ Problem is that the ajp_unmarshal_response: Header[0] [Location] = [https://it.localhost.de/spike/users/3]; doesn't remove the /spike in the response, so that the next request will lead to the doubled-context-path: ajp://127.0.0.1:9091/spike/spike/users/3. Thank you, Timo 2010/4/27 Timo Meinen timomei...@googlemail.com: Is someone out there, who can explain me, what the problem is? Does the ProxyPassReverse only removes the ContextPath if the protocol (http/https) in the response is the same than in the request? Is it possible to configure the Proxy to ignore the protocol information? Thank you for any hint - I am stuck with this problem. Best regards, Timo 2010/4/22 Timo Meinen timomei...@googlemail.com: Hi Hassan, yes, there are two VirtualHost entries. One for port 80 and one for port 443 with SSL engine enabled. Both have the same proxy configuration. Timo 2010/4/22 Hassan Schroeder hassan.schroe...@gmail.com: On Thu, Apr 22, 2010 at 3:25 AM, Timo Meinen timomei...@googlemail.com wrote: our configuration is a Apache 2.2 web server, acting as a reverse proxy for Tomcat 6. This is the configuration: ServerName it.localhost.de ProxyPass / ajp://127.0.0.1:8009/spike/ ProxyPassReverse / ajp://127.0.0.1:8009/spike/ ProxyPassReverseCookiePath /spike / That's *one* configuration -- do you have this for both the standard port 80 and SSL port 443? In a default 2.2.x install there are separate extra/httpd-vhosts.conf and extra/httpd-ssl.conf files. -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Glück Auf Timo -- Glück Auf Timo -- Glück Auf Timo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: deleted page not immediately invalidated
From: M.H.G. Emmerig [mailto:m.h.g.emme...@dnb.nl] Subject: deleted page not immediately invalidated now, when we delete a page from the filesystem and we do a refresh, it displays the page, when we do another refresh we get a page not found. I would expect a page not found after the first refresh! What could be causing this behaviour? Most likely the browser, or possibly some intermediate caching device. Use Wireshark or equivalent to determine the actual traffic between the client and server, and see what's really going on. - 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: JAR files still locked after Context.stop()
Konstantin As a matter of fact, yes, I do have Listener className=org.apache.catalina.core.JreMemoryLeakPreventionListener / in server.conf and it does not appear to helping. I still cannot delete any JAR file after called Context.stop(). I can see in the profiler that there are no running threads pertaining to the main web app. Jamie On 2010/04/27 04:57 PM, Konstantin Kolinko wrote: 2010/4/27 Jamieja...@stimulussoft.com: Konstantin I just tried 6.0.26 and no joy. JARs remain locked by Windows. In the auto update application I call context.stop() immediatel and System.gc() but alas all JAR files are locked. Any other ideas? Jamie On 2010/04/27 04:17 PM, Konstantin Kolinko wrote: 2010/4/27 Jamieja...@stimulussoft.com: Hi Konstantin Thanks. I'll give that a try. Can you confirm whether the options you were referring to are antiJARLocking=true antiResourceLocking=true. Is it still necessary to specify these options in 6.0.26? Yes, those options. In 6.0.26 you will have JreMemoryLeakPreventionListener in default server.xml, which should be enough to prevent jar locking. Do you have the above mentioned class in your server.xml? Best regards, Konstantin Kolinko - 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: deleted page not immediately invalidated
On 27/04/2010 15:45, M.H.G. Emmerig wrote: hello We have a website which has it's content on a filesystem. all pages are jsp, with caching off. when we change a jsp, it get's recompiled at once when refreshing the page, so the new content is displayed. This is correct. now, when we delete a page from the filesystem and we do a refresh, it displays the page, when we do another refresh we get a page not found. I would expect a page not found after the first refresh! What could be causing this behaviour? The generated class for the JSP may not be immediately deleted. You could verify this by monitoring the file system in the tomcat/work directory. p regards Milko Emmerig Please consider the environment before printing this email. De informatie verzonden met dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Indien u als niet-geadresseerde dit bericht ontvangt, wordt u verzocht direct de afzender hierover te informeren en het bericht te vernietigen. Gebruik van informatie door onbevoegden, openbaarmaking of vermenigvuldiging is verboden en kan leiden tot aansprakelijkheid. De afzender is niet aansprakelijk in geval van onjuiste overbrenging van het e-mailbericht en/of bij ontijdige ontvangst daarvan. The information transmitted is confidential and intended only for the person or entity to whom or which it is addressed. If you are not the intended recipient of this communication, please inform us immediately and destroy this communication. Unauthorised use, disclosure or copying of information is strictly prohibited and may entail liability. The sender accepts no liability for improper transmission of this communication nor for any delay in its receipt. signature.asc Description: OpenPGP digital signature
Re: deleted page not immediately invalidated
2010/4/27 M.H.G. Emmerig m.h.g.emme...@dnb.nl: What could be causing this behaviour? Some tomcat versions work like that. See bugzilla for more details. I have no clue on what Tomcat version you are using, etc. etc. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: deleted page not immediately invalidated
Ok. As I said, I am using the latest version. Thanks for attemping to help anyway. On 2010/04/27 05:24 PM, Konstantin Kolinko wrote: 2010/4/27 M.H.G. Emmerigm.h.g.emme...@dnb.nl: What could be causing this behaviour? Some tomcat versions work like that. See bugzilla for more details. I have no clue on what Tomcat version you are using, etc. etc. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: JAR files still locked after Context.stop()
From: Jamie [mailto:ja...@stimulussoft.com] Subject: Re: JAR files still locked after Context.stop() I can see in the profiler that there are no running threads pertaining to the main web app. What about classes related to the webapp? There's no guarantee that the Tomcat kludge for memory leaks has found all of the holes in the JRE or 3rd-party libraries. - 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: deleted page not immediately invalidated
From: Jamie [mailto:ja...@stimulussoft.com] Subject: Re: deleted page not immediately invalidated Ok. As I said, I am using the latest version. What version you're using has nothing to do with this thread, unless Jamie is an alias for M.H.G. Emmerig. - 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
slow upload
Hello, We are using tomcat 6.0.24 with the default configuration in Windows 7. We want to upload files(CSVs). When we try to upload any file, the number of bytes reads every time changes. In general, the process is fast because the time required is a few number of seconds. However, sometimes the same reads are very slow with the same files and the time required is upper than 30 minutes. The size of the uploaded files is 700Mb, but they are uploaded to localhost. Which could be the explanation of this random behaviour? Thank you in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: deleted page not immediately invalidated
Jamie is not an alias for me ;-) we are using version 6.0.16 on windows 2003 SP1 Met vriendelijke groet Milko Emmerig afd. BEIT-ICT-VOI-Middleware De Nederlandsche Bank tel: +31205242056 Konstantin Kolinko knst.koli...@gma To il.com Tomcat Users List users@tomcat.apache.org 27-04-2010 17:24 cc Subject Please respond to Re: deleted page not immediately Tomcat Users invalidated List us...@tomcat.apa che.org 2010/4/27 M.H.G. Emmerig m.h.g.emme...@dnb.nl: What could be causing this behaviour? Some tomcat versions work like that. See bugzilla for more details. I have no clue on what Tomcat version you are using, etc. etc. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org Please consider the environment before printing this email. De informatie verzonden met dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Indien u als niet-geadresseerde dit bericht ontvangt, wordt u verzocht direct de afzender hierover te informeren en het bericht te vernietigen. Gebruik van informatie door onbevoegden, openbaarmaking of vermenigvuldiging is verboden en kan leiden tot aansprakelijkheid. De afzender is niet aansprakelijk in geval van onjuiste overbrenging van het e-mailbericht en/of bij ontijdige ontvangst daarvan. The information transmitted is confidential and intended only for the person or entity to whom or which it is addressed. If you are not the intended recipient of this communication, please inform us immediately and destroy this communication. Unauthorised use, disclosure or copying of information is strictly prohibited and may entail liability. The sender accepts no liability for improper transmission of this communication nor for any delay in its receipt.
Re: slow upload
On 27/04/2010 16:38, Raquel Pau wrote: Hello, We are using tomcat 6.0.24 with the default configuration in Windows 7. We want to upload files(CSVs). When we try to upload any file, the number of bytes reads every time changes. In general, the process is fast because the time required is a few number of seconds. However, sometimes the same reads are very slow with the same files and the time required is upper than 30 minutes. The size of the uploaded files is 700Mb, but they are uploaded to localhost. Which could be the explanation of this random behaviour? Is the computer doing anything else at the time you experience slow uploads? Does it have any other functions that might cause lots of disk access? p Thank you in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org signature.asc Description: OpenPGP digital signature
RE: deleted page not immediately invalidated
From: M.H.G. Emmerig [mailto:m.h.g.emme...@dnb.nl] Subject: Re: deleted page not immediately invalidated Jamie is not an alias for me ;-) Didn't think so. we are using version 6.0.16 on windows 2003 SP1 Any chance of trying it on a Tomcat version that's less than two years old (6.0.26, preferably)? Have you taken any Wireshark traces to see what's really occurring on the wire? - 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: slow upload
From: Pid [mailto:p...@pidster.com] Subject: Re: slow upload Is the computer doing anything else at the time you experience slow uploads? Does it have any other functions that might cause lots of disk access? And tell us exactly how you're doing the upload - the WebDAV servlet, a custom webapp, something else? - 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: JAR files still locked after Context.stop()
Hi Chuck I've check them out in YourKit profiler thoroughly. All threads in the main web application are exiting cleanly. Is there is a way to call the WebAppClassloader to unload a particular JAR file? Jamie On 2010/04/27 05:31 PM, Caldarale, Charles R wrote: From: Jamie [mailto:ja...@stimulussoft.com] Subject: Re: JAR files still locked after Context.stop() I can see in the profiler that there are no running threads pertaining to the main web app. What about classes related to the webapp? There's no guarantee that the Tomcat kludge for memory leaks has found all of the holes in the JRE or 3rd-party libraries. - 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: JAR files still locked after Context.stop()
2010/4/27 Jamie ja...@stimulussoft.com: I've check them out in YourKit profiler thoroughly. All threads in the main web application are exiting cleanly. Is there is a way to call the WebAppClassloader to unload a particular JAR file? JAR file, as well as any opened file, is an OS resource. Just GC() is not enough. 1. You need to be sure that all streams obtained from it were properly closed during lifetime of your application. 2. Usually there is caching with JAR URLs in JRE, but JreMemoryLeakPreventionListener sets the default url caching option for that to false (see its sources for details). 3. There might be timeouts in the OS. So you may need to add some waiting. (Do not know why, whether it notifies some other applications e.g. a/v software, or that are file system timeouts, or OS caches). 4. You may try renaming the old jar file. That might work. 5. You may try undeploy + redeploy of the application. 6. The context that you are calling stop() and start() is the right object, i.e. it is an instance of StandarrdContext? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abdulla, On 4/27/2010 10:09 AM, Abdullah Teke wrote: On Tue, Apr 27, 2010 at 5:03 PM, Pid p...@pidster.com wrote: The list often strips attachments, it's better to post the contents of the file, inline. (Makes it easier to suggest edits, too). FWIW, it looks like the attachment came through the first time. Listener className=org.apache.catalina.core.AprLifecycleListener / Are you using APR for SSL? If so, the configuration for the Connector is different. !-- Define a SSL HTTP/1.1 Connector on port 8443 -- Connector port=443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true clientAuth=false sslProtocol=TLS keystoreFile=C:\keystore keystorePass= / The comment doesn't reflect the Connector definition, but that all looks good to me. Are you sure Tomcat is using this server.xml? We've heard reports that Eclipse, NetBeans, and other IDEs sometimes use a different server.xml than you expect it to. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvXI5QACgkQ9CaO5/Lv0PCTNQCgoKnwC598syZ27DRsuxfWbBra C38An0HIHjO2iakZEo2Pw+Uoh91/+QFC =3TdH -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: JAR files still locked after Context.stop()
From: Jamie [mailto:ja...@stimulussoft.com] Subject: Re: JAR files still locked after Context.stop() I've check them out in YourKit profiler thoroughly. All threads in the main web application are exiting cleanly. Not threads, classes. Use the heap profiler to see if any of your webapp's classes or instances thereof are hanging around, and if so, what the references are that are keeping them there. Is there is a way to call the WebAppClassloader to unload a particular JAR file? No. When all references to the classes and instances are gone, the classes will unload and the jar files will close. - 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 Problem with Tomcat 5.5.25 on Windows 2003 Server
From: Abdullah Teke [mailto:abdullaht...@gmail.com] Subject: Re: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server This is my server.xml. Connector port=8080 If you're using port 443 for HTTPS traffic, why are you using 8080 for HTTP? redirectPort=8443 This should be 443, not 8443. You're either not actually using this server.xml, or something else is listening on 443, or your browser is ignoring the port number (which some versions of IE are known to do). Do you have httpd or IIS in front of Tomcat? - 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.
Re: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server
On Tue, Apr 27, 2010 at 8:56 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Abdullah Teke [mailto:abdullaht...@gmail.com] Subject: Re: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server This is my server.xml. Connector port=8080 If you're using port 443 for HTTPS traffic, why are you using 8080 for HTTP? redirectPort=8443 This should be 443, not 8443. You're either not actually using this server.xml, or something else is listening on 443, or your browser is ignoring the port number (which some versions of IE are known to do). Do you have httpd or IIS in front of Tomcat? - 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. I think it uses this server.xml because after changed configuration and restart server, we can see the changes. It is wanted to use both http and https. -- Abdullah Teke = Tel: 0 555 337 21 89 MSN : abdullaht...@hotmail.com ICQ : 164500674 Web : www.abdullahteke.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: SSL Problem with Tomcat 5.5.25 on Windows 2003 Server
On Tue, Apr 27, 2010 at 8:49 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abdulla, On 4/27/2010 10:09 AM, Abdullah Teke wrote: On Tue, Apr 27, 2010 at 5:03 PM, Pid p...@pidster.com wrote: The list often strips attachments, it's better to post the contents of the file, inline. (Makes it easier to suggest edits, too). FWIW, it looks like the attachment came through the first time. Listener className=org.apache.catalina.core.AprLifecycleListener / Are you using APR for SSL? If so, the configuration for the Connector is different. !-- Define a SSL HTTP/1.1 Connector on port 8443 -- Connector port=443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true clientAuth=false sslProtocol=TLS keystoreFile=C:\keystore keystorePass= / The comment doesn't reflect the Connector definition, but that all looks good to me. Are you sure Tomcat is using this server.xml? We've heard reports that Eclipse, NetBeans, and other IDEs sometimes use a different server.xml than you expect it to. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvXI5QACgkQ9CaO5/Lv0PCTNQCgoKnwC598syZ27DRsuxfWbBra C38An0HIHjO2iakZEo2Pw+Uoh91/+QFC =3TdH -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org Yes i am sure server use this server.xml file. But i use the HP SM on this. If i use APR for SSL can you tell me how should i change configuration? Thanks. -- Abdullah Teke = Tel: 0 555 337 21 89 MSN : abdullaht...@hotmail.com ICQ : 164500674 Web : www.abdullahteke.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: JAR files still locked after Context.stop()
Hi Charles / Konstantin Thanks for all your help. I figure out that it is only the Javamail mail.jar file that is locked. For some reason, Windows wont let go of it, but all other appear to be fine. Regards, Jamie On 2010/04/27 07:50 PM, Caldarale, Charles R wrote: From: Jamie [mailto:ja...@stimulussoft.com] Subject: Re: JAR files still locked after Context.stop() I've check them out in YourKit profiler thoroughly. All threads in the main web application are exiting cleanly. Not threads, classes. Use the heap profiler to see if any of your webapp's classes or instances thereof are hanging around, and if so, what the references are that are keeping them there. Is there is a way to call the WebAppClassloader to unload a particular JAR file? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: JAR files still locked after Context.stop()
From: Jamie [mailto:ja...@stimulussoft.com] Subject: Re: JAR files still locked after Context.stop() I figure out that it is only the Javamail mail.jar file that is locked. For some reason, Windows wont let go of it, but all other appear to be fine. You could always put that jar in Tomcat's lib directory rather than the webapp. Can you find out who is holding references to any classes from the jar? (My guess is that it's yet another JRE registration that the leak finder hasn't yet been coded to handle.) - 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
one path working, one not
I have one path working, and the other not working Http Status 404 - /csea/Login.m type Status report message /csea/Login.m description The requested resource (/csea/Login.m) is not available. They are both defined on the same tomcat 5.5.28 server server.xml Context path=/csea docBase=csea reloadable=true ResourceLink name=liarRealmglobal=liarRealm/ ResourceLink name=tdhca.liar.useDomain global=tdhca.liar.useDomain/ ResourceLink name=tdhca.liar.hashSalt global=tdhca.liar.hashSalt/ ResourceLink name=cmts-url global=cmts-url/ ResourceLink name=cdb-url global=cdb-url/ ResourceLink name=pm-url global=pm-url/ ResourceLink name=jdbc/cdbglobal=jdbc/cmts/ Environment name=serverName type=java.lang.String value=cmts/ ResourceLink name=envName global=envName/ ResourceLink name=cseaPropertiesFile global=cseaPropertiesFile/ /Context Context path=/alligator docBase=alligator reloadable=true ResourceLink name=liarRealm global=liarRealm/ ResourceLink name=tdhca.liar.useDomain global=tdhca.liar.useDomain/ ResourceLink name=tdhca.liar.hashSalt global=tdhca.liar.hashSalt/ ResourceLink name=cmts-url global=cmts-url/ ResourceLink name=mf-url global=mf-url/ ResourceLink name=cdb-url global=cdb-url/ ResourceLink name=csea-url global=csea-url/ ResourceLink name=jdbc/cdb global=jdbc/cmts/ Environment name=serverName type=java.lang.String value=contract/ ResourceLink name=envName global=envName/ ResourceLink name=contractPropertiesFile global=contractPropertiesFile/ /Context alligator work great, csea does not. I cannot see any differences. What am I missing? Thanks for your help. Angela