Tomcat upgradation from 6.0.29 to 6.0.30
Hi, I am using tomcat 6.0.29 in my windows 2008 server. I need to upgrade to 6.0.30. How can i upgrade the latest version in my live environment without affecting any data and configuration --regards rujin
Re: Security question about Multiple instances of Tomcat running as non-admin users on a single box
On 21 January 2011 19:29, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Guy - Why switch to Windows when you can still get OSX Server for Mac Pros or Minis? Why run Windows at all when you can switch to Linux and have all the command line goodness you were used to in Xserver? ;) That out of the way, Tomcat works basically the same on Windows as on Mac, except where running as a service is concerned. Yes, Tomcat will respect Windows permission settings, etc., just like any other Windows app. It should run under a non-admin account. You might have some issues allowing non-admins to start/stop the service however - if that is in your requirements. When all else fails, get you a Windows box and set Tomcat up as you'd like on it and see what problems occur when you try to use it the way you do now. It's called a pilot program. Jeff -Original Message- From: Guy Pontecorvo [mailto:guy.ponteco...@pearson.com] Sent: Friday, January 21, 2011 11:56 AM To: users@tomcat.apache.org Subject: Security question about Multiple instances of Tomcat running as non-admin users on a single box We currently run multiple instances of tomcat Version 6.0.20, each in its own non-admin user account under Mac OSX 10.5. This has been a great way to host multiple web applications (student information systems) on a single box. Each app is secure in its own user account space and can't read or write outside of its user directory. An administrator can manage them as a whole using sudo. Because Xserve is being discontinued we are considering the possibility of migrating our environment to Windows 2008 R2 We can create the users, run windows services using the credentials as a local user, name the service whatever we'd like, and stop, start it by that name via scripts. The biggest gotchas I can think of is can we get tomcat to run as a non-admin user and will tomcat respect ntfs file system permissions that should be setup for separate logs, temp files, etc.? We have too many instances to consider running each hosted app in its own vm. Thanks in advance for any advice or experience you can share. Guy Pontecorvo Engineering Manager School Systems 10911 White Rock Road Rancho Cordova, CA 95630 O: (916) 288-1804 M: (530) 701-8842 E: guy.ponteco...@pearson.com Pearson Always Learning Learn more at http://www.pearson.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org __ Confidentiality Notice: This Transmission (including any attachments) may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this transmission in error, please immediately reply to the sender or telephone (512) 343-9100 and delete this transmission from your system. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Best Regards, Brett Delle Grazie - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Exception running precompiled JSP
2011/1/22 Christopher Schultz ch...@christopherschultz.net: c:forEach var=num items={1,2,3,4} The above will produce four strings, {1, 2, 3 and 4}. There is c:forTokens to explicitly iterate over a string. When I invoke the JSP from my web browser, I get the runtime error whose full stack trace is at the end of this post. Basically, the error is this: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent I checked, and that class can be found in CATALINA_BASE/lib/jasper.jar. There are no instructions in http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html that suggest that jasper.jar needs to be copied into the webapp's WEB-INF/lib directory, and that seems dangerous anyway. You are right, you should not copy it to webapp. I have not tried to reproduce/debug your case, but it looks like a bug to me. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Exception running precompiled JSP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/21/2011 5:35 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Exception running precompiled JSP Basically, the error is this: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent I checked, and that class can be found in CATALINA_BASE/lib/jasper.jar. Just verifying: are you running with an unaltered conf/catalina.properties? Yup: everything is out of the box except for Connector configuration and the webapp itself. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk069XMACgkQ9CaO5/Lv0PASJACdG5aNl+XaXiImbjqksWdGbiSe c50An1K8vN2xa+Igk5ScDO2fzwQYZfCb =ZghS -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Exception running precompiled JSP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 1/22/2011 9:23 AM, Konstantin Kolinko wrote: 2011/1/22 Christopher Schultz ch...@christopherschultz.net: c:forEach var=num items={1,2,3,4} The above will produce four strings, {1, 2, 3 and 4}. There is c:forTokens to explicitly iterate over a string. I didn't really care what it did... I did notice that I get four iterations through the loop, but that my c:out wasn't producing the numbers... all I get is a literal ${num}. I'll file a bug and attach my webapp. You are right, you should not copy it to webapp. Thanks for the confirmation. I have not tried to reproduce/debug your case, but it looks like a bug to me. Should be trivially reproducible given my webapp. I'll post back with a BZ ref. Thanks, - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk069fQACgkQ9CaO5/Lv0PCDEgCggyYIIiF1CN9+2jx6ugaYYhNV GQ4An0TXUrtaCc35ejubDHgdgyJsUpGu =j/LY -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat upgradation from 6.0.29 to 6.0.30
2011/1/22 rujin raj rujin...@gmail.com: I am using tomcat 6.0.29 in my windows 2008 server. I need to upgrade to 6.0.30. How can i upgrade the latest version in my live environment without affecting any data and configuration I usually use the zip distribution and 1) copy the necessary files and standard webapps, 2) clean the /work folder. That said, your mileage may vary. If you are hesitant it might be more convenient to uninstall previous version and install new one and reapply your changes. See archives of this list, this question was asked many times. Note: If you are using Nio connector, please wait for 6.0.31 (will be soon). There is a regression in 6.0.30 that can lead to out-of-memory errors. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Security question about Multiple instances of Tomcat running as non-admin users on a single box
Guy Pontecorvo schrieb am 21.01.2011 um 09:56 (-0800): We currently run multiple instances of tomcat Version 6.0.20, each in its own non-admin user account under Mac OSX 10.5. This has been a great way to host multiple web applications (student information systems) on a single box. Each app is secure in its own user account space and can't read or write outside of its user directory. But at the end of your message you write: We have too many instances to consider running each hosted app in its own vm. Well, why would you want to do that anyway? To increase application isolation? So do you have, say, three Tomcats, each in its own JVM, running under a user account of your choice, and each hosting, say, five apps? The biggest gotchas I can think of is can we get tomcat to run as a non-admin user and will tomcat respect ntfs file system permissions that should be setup for separate logs, temp files, etc.? Of course you can run Tomcat as non-admin. NTFS permissions is not something Tomcat may choose to respect or ignore, but something that is forced upon Tomcat by the OS. -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
writing logs on a separate server while the project as jar file
Hi, I am deploying my Java application on tibco server and this server has its own log configuration. When I try to write log on this server I have to write separate line of code into each java class I am having. So can anybody tell me what exactly is the best way to write logs to a different server log file, when your application will only goes in as a jar file over there. My team is not deploying it onthat server we are just providing the JAR file having logger statements. Thanks and Regards, Prashant Rajput| prashant.rajput.consult...@nielsen.com Off: +91 712 224 5867 Ext 380, +1 301 560 2591 Ext 380,Mob:+91 9561508836
Re: IPR issues
On 1/21/11 11:54 AM, apache tomcat wrote: Hi Mark thanks for your prompt answer. More in detail I'd like to know if there is any patent infringement tied to the product. Are you asking if the Apache Software Foundation's Tomcat application server is shipped with code which is known to infringe on patents? p BR Date: Fri, 21 Jan 2011 11:07:29 + From: ma...@apache.org To: users@tomcat.apache.org Subject: Re: IPR issues On 21/01/2011 10:52, apache tomcat wrote: Hi all, I'd like to know if there is any IPR issue tied to Tomcat 7.x You need to state your question more clearly. Tomcat 7 is distributed under the Apache License version 2 [1]. The NOTICE file for Tomcat 7 is included with every release. The latest version of that file is available from svn [2]. Mark [1] http://www.apache.org/licenses/LICENSE-2.0 [2] http://svn.apache.org/repos/asf/tomcat/trunk/NOTICE - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: Security question about Multiple instances of Tomcat running as non-admin users on a single box
On 1/21/11 5:56 PM, Guy Pontecorvo wrote: Because Xserve is being discontinued we are considering the possibility of migrating our environment to Windows 2008 R2 The JDK tools have a few more small functions on *nix than Windows - small but rather useful. This IMHO, is one key reason to stick with the same ancestry you have now. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
RE: writing logs on a separate server while the project as jar file
From: Prashant Rajput [mailto:praj...@infocepts.com] Subject: writing logs on a separate server while the project as jar file I am deploying my Java application on tibco server and this server has its own log configuration. When I try to write log on this server I have to write separate line of code into each java class I am having. So can anybody tell me what exactly is the best way to write logs to a different server log file, when your application will only goes in as a jar file over there. My team is not deploying it onthat server we are just providing the JAR file having logger statements. First off, if you're only supplying a .jar file, you're not delivering a complete webapp, but rather just some (perhaps all) of the classes of the webapp. A webapp consists of more than just classes; consult the servlet spec for the additional spec-defined items such as WEB-INF/web.xml. Also, a complete webapp contains a WEB-INF/classes directory, where items such as logging configuration files may be placed. Second, I hope you're using an actual logging facility (such as log4j), not just blindly dumping things to System.out or System.err. All proper logging facilities provide for some means of configuring the level of the detail and the output location; whoever is creating the full webapp (of which your .jar is just a portion) has the responsibility of setting up the logging configuration appropriate for the installation. If you have been lazy and used System.out or System.err for logging, the person configuring the complete webapp can set swallowOutput=true in the Context element for the webapp. - 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