From dev-return-118054-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Mon Jul 11 20:01:31 2011 Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54187433E for ; Mon, 11 Jul 2011 20:01:31 +0000 (UTC) Received: (qmail 19345 invoked by uid 500); 11 Jul 2011 20:01:30 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 19274 invoked by uid 500); 11 Jul 2011 20:01:29 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 19265 invoked by uid 99); 11 Jul 2011 20:01:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 20:01:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 20:01:26 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 3179D985; Mon, 11 Jul 2011 20:01:05 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Mon, 11 Jul 2011 20:01:05 -0000 Message-ID: <20110711200105.17279.68507@eos.apache.org> Subject: =?utf-8?q?=5BTomcat_Wiki=5D_Update_of_=22FAQ/Miscellaneous=22_by_Konstant?= =?utf-8?q?inKolinko?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for ch= ange notification. The "FAQ/Miscellaneous" page has been changed by KonstantinKolinko: http://wiki.apache.org/tomcat/FAQ/Miscellaneous?action=3Ddiff&rev1=3D25&rev= 2=3D26 Comment: Replace http://marc.theaimsgroup.com/ with http://marc.info/ = If so, here are some solutions: = - * [[http://marc.theaimsgroup.com/?l=3Dtomcat-user&m=3D104949554010352&w= =3D2|Environment variable issue]] + * [[http://marc.info/?l=3Dtomcat-user&m=3D104949554010352&w=3D2|Environm= ent variable issue]] * [[http://issues.apache.org/bugzilla/show_bug.cgi?id=3D16688|Environmen= t issue]] or [[http://issues.apache.org/bugzilla/show_bug.cgi?id=3D20527|An= t issue]] - * Others have had success by added JAVA_HOME/bin to their PATH. [[http:/= /marc.theaimsgroup.com/?l=3Dtomcat-user&m=3D105525594928279&w=3D2|1]] ... [= [http://marc.theaimsgroup.com/?l=3Dtomcat-user&m=3D105526353505541&w=3D2|2]= ] and make sure you are using the full JDK and not the JRE. + * Others have had success by added JAVA_HOME/bin to their PATH. [[http:/= /marc.info/?l=3Dtomcat-user&m=3D105525594928279&w=3D2|1]] ... [[http://marc= .info/?l=3Dtomcat-user&m=3D105526353505541&w=3D2|2]] and make sure you are = using the full JDK and not the JRE. = In the case of the Environment issues, it is typical that on Windows, the= startup scripts work fine and the service does not. The service uses regis= try values to look for java and other "stuff". To save yourself some troubl= e, see if the [[http://web.bvu.edu/staff/david/tcservcfg/|NT Service Config= Utility]] is helpful. = @@ -69, +69 @@ = Using /servlet/ to map servlets is evil, absolutely evil. Even more evil = than [[http://www.eviloverlord.com/lists/overlord.html|this]] . That being = said, here are some threads that may answer this: = - * [[http://marc.theaimsgroup.com/?l=3Dtomcat-user&m=3D103417249925541&w= =3D2|(SECURITY) Apache Tomcat 4.x JSP source disclosure]] vulnerability + * [[http://marc.info/?l=3Dtomcat-user&m=3D103417249925541&w=3D2|(SECURIT= Y) Apache Tomcat 4.x JSP source disclosure]] vulnerability - * [[http://marc.theaimsgroup.com/?t=3D103945337100003&r=3D1&w=3D2|Cannot= Run Servlets, only JSP's, Part II]] + * [[http://marc.info/?t=3D103945337100003&r=3D1&w=3D2|Cannot Run Servlet= s, only JSP's, Part II]] - * [[http://marc.theaimsgroup.com/?t=3D104326854100001&r=3D1&w=3D2|Tomcat= configuration problem: JSPs work, servlets don]] + * [[http://marc.info/?t=3D104326854100001&r=3D1&w=3D2|Tomcat configurati= on problem: JSPs work, servlets don]] = = <
> @@ -131, +131 @@ = <>'''Should I use the LE version?''' = - No. It was an experiment, it failed. (YMMV) The original purpose of LE "l= ight" edition of Tomcat 4.0, 4.1 was because jdk1.4 provides a LOT of stand= ard functionality that Tomcat uses that was not in jdk1.3. So to save some = space two distributions were made to save some bandwidth. Since then, it ha= s been an exercise in confusion. (Flame me if you disagree) [[http://marc.t= heaimsgroup.com/?l=3Dtomcat-user&m=3D105341005928071&w=3D2|More info]] + No. It was an experiment, it failed. (YMMV) The original purpose of LE "l= ight" edition of Tomcat 4.0, 4.1 was because jdk1.4 provides a LOT of stand= ard functionality that Tomcat uses that was not in jdk1.3. So to save some = space two distributions were made to save some bandwidth. Since then, it ha= s been an exercise in confusion. (Flame me if you disagree) [[http://marc.i= nfo/?l=3Dtomcat-user&m=3D105341005928071&w=3D2|More info]] = = <
> @@ -145, +145 @@ = <>'''Is there a DTD for server.xml?''' = - No! Nor can one accurately exist. [[http://marc.theaimsgroup.com/?l=3Dtom= cat-user&m=3D104205666221372&w=3D2|Here's why]] + No! Nor can one accurately exist. [[http://marc.info/?l=3Dtomcat-user&m= =3D104205666221372&w=3D2|Here's why]] = = <
> = <>'''How do I change the welcome file? ( I want to show inde= x.jsp instead of index.html)''' = - This is done in web.xml by changing welcome-files-list. [[http://marc.the= aimsgroup.com/?l=3Dtomcat-user&m=3D104566785828794&w=3D2|More detail]]. + This is done in web.xml by changing welcome-files-list. [[http://marc.inf= o/?l=3Dtomcat-user&m=3D104566785828794&w=3D2|More detail]]. = = <
> @@ -190, +190 @@ = <>'''How do I use symbolic links with jars?''' = - You'll need to tweak with server.xml and [[http://marc.theaimsgroup.com/?= l=3Dtomcat-user&m=3D105159411609623&w=3D2|do this]]. (Don't worry - its rea= lly easy!) Update: you should be worried -- this feature has its drawbacks. + You'll need to tweak with server.xml and [[http://marc.info/?l=3Dtomcat-u= ser&m=3D105159411609623&w=3D2|do this]]. (Don't worry - its really easy!) U= pdate: you should be worried -- this feature has its drawbacks. = = <
> @@ -253, +253 @@ <>'''How do I make a scheduled event on Tomcat?''' = Tomcat does not support this directly. Its not part of the Servlet or JSP= Specification. - If you do need this functionality see [[http://marc.theaimsgroup.com/?t= =3D106192918700004&r=3D1&w=3D2|this thread]] or [[http://marc.theaimsgroup.= com/?l=3Dtomcat-user&m=3D106157051231075&w=3D2|this link]]. + If you do need this functionality see [[http://marc.info/?t=3D10619291870= 0004&r=3D1&w=3D2|this thread]] or [[http://marc.info/?l=3Dtomcat-user&m=3D1= 06157051231075&w=3D2|this link]]. = = <
> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org