cvs commit: jakarta-tomcat-site/xdocs-faq classnotfound.xml
idarwin 2005/08/17 08:09:37 Modified:.README.txt docs/faq classnotfound.html xdocs-faq classnotfound.xml Log: Typos. Revision ChangesPath 1.3 +2 -2 jakarta-tomcat-site/README.txt Index: README.txt === RCS file: /home/cvs/jakarta-tomcat-site/README.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- README.txt3 Jan 2005 20:15:34 - 1.2 +++ README.txt17 Aug 2005 15:09:37 - 1.3 @@ -9,7 +9,7 @@ ***NOTE*** The Tomcat web site is based on .xml files which are transformed -into .html files using XLST and Ant. +into .html files using XSLT and Ant. In order to make modifications to the Tomcat web site, you need to first check out the jakarta-tomcat-site modules from CVS: 1.14 +12 -12jakarta-tomcat-site/docs/faq/classnotfound.html Index: classnotfound.html === RCS file: /home/cvs/jakarta-tomcat-site/docs/faq/classnotfound.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- classnotfound.html21 Jul 2005 21:33:47 - 1.13 +++ classnotfound.html17 Aug 2005 15:09:37 - 1.14 @@ -1,10 +1,10 @@ -htmlheadMETA http-equiv=Content-Type content=text/html; charset=iso-8859-1titleTomcat FAQ - Class Not Found Issues/titlemeta value=Tim Funk name=authormeta value=[EMAIL PROTECTED] name=emailstyle +htmlheadMETA http-equiv=Content-Type content=text/html; charset=iso-8859-1titleTomcat FAQ - Class Not Found Issues/titlemeta name=author value=Tim Funkmeta name=email value=[EMAIL PROTECTED]style dt { font-size : larger; font-weight : bold } dd {padding-bottom : 10px;} -/style/headbody vlink=#525D76 alink=#525D76 link=#525D76 text=#00 bgcolor=#fftable cellspacing=4 width=100% border=0!--PAGE HEADER--trtd colspan=2!--JAKARTA LOGO--a href=http://jakarta.apache.org/;img border=0 alt=The Jakarta Project align=left src=http://jakarta.apache.org//images/jakarta-logo.gif;/a!--PROJECT LOGO--a href=http://jakarta.apache.org/tomcat/;img border=0 alt= +/style/headbody bgcolor=#ff text=#00 link=#525D76 alink=#525D76 vlink=#525D76table border=0 width=100% cellspacing=4!--PAGE HEADER--trtd colspan=2!--JAKARTA LOGO--a href=http://jakarta.apache.org/;img src=http://jakarta.apache.org//images/jakarta-logo.gif; align=left alt=The Jakarta Project border=0/a!--PROJECT LOGO--a href=http://jakarta.apache.org/tomcat/;img src=../images/tomcat.gif align=right alt= Tomcat FAQ - align=right src=../images/tomcat.gif/a/td/tr!--HEADER SEPARATOR--trtd colspan=2hr size=1 noshade=/td/trtr!--LEFT SIDE NAVIGATION--td nowrap=true valign=top width=20%pstrongLinks/strong/pullia href=..Tomcat Home/a/lilia href=index.htmlFAQ Home/a/li/ulpstrongContents/strong/pullia href=bugs.htmlBugs/a/lilia href=classnotfound.htmlClass Not Found/a/lilia href=connectors.htmlConnectors/a/lilia href=database.htmlDatabase/a/lilia href=deployment.htmlDeployment/a/lilia href=development.htmlDevelopment/a/lilia href=fda-validation.htmlFDA Validation/a/lilia href=http://wiki.apache.org/jakarta-tomcat/HowTo;How do I/a/lilia href=unix.htmlLinux / Unix/a/lilia href=otherOperatingSystems.htmlOther Operating Systems/a/lilia href=logging.htmlLogging/a/lilia href=memory.htmlMemory/a/lilia href=meta.htmlMeta/a/lilia href=misc.htmlMiscellaneous/a/lilia href=performance.htmlMonitoring / Performance/a/lilia href=http://wiki.apache.org/jakarta-tomcat/UsefulLinks;Other Resources/a/lilia href=security.htmlSecurity/a/lilia href=version.htmlWhich Version/a/lilia href=tomcatuser.htmlTomcat User List/a/lilia href=http://wiki.apache.org/jakarta-tomcat/;Wiki/a/lilia href=windows.htmlWindows/a/li/ul/td!--RIGHT SIDE MAIN BODY--td align=left valign=top width=80%table cellspacing=4 width=100% border=0trtd nowrap=true valign=top align=lefth1Tomcat FAQ/h1h2Class Not Found Issues/h2/tdtd nowrap=true valign=top align=rightsmalla href=printer/classnotfound.htmlimg alt=Printer Friendly Version border=0 src=../images/printer.gifbrprint-friendlybrversion -/a/small/td/tr/tabletable cellpadding=2 cellspacing=0 border=0trtd bgcolor=#525D76font face=arial,helvetica.sanserif color=#ffa name=PrefacestrongPreface/strong/a/font/td/trtrtdblockquote + border=0/a/td/tr!--HEADER SEPARATOR--trtd colspan=2hr noshade= size=1/td/trtr!--LEFT SIDE NAVIGATION--td width=20% valign=top nowrap=truepstrongLinks/strong/pullia href=..Tomcat Home/a/lilia href=index.htmlFAQ Home/a/li/ulpstrongContents/strong/pullia href=bugs.htmlBugs/a/lilia href=classnotfound.htmlClass Not Found/a/lilia href=connectors.htmlConnectors/a/lilia href=database.htmlDatabase/a/lilia href=deployment.htmlDeployment
cvs commit: jakarta-tomcat-catalina/tester/src/tester/org/apache/tester Jndi02.java
idarwin 2004/08/31 07:41:22 Modified:tester/src/tester/org/apache/tester Jndi02.java Log: More enum-keyword conflict resolution Revision ChangesPath 1.3 +4 -4 jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/Jndi02.java Index: Jndi02.java === RCS file: /home/cvs/jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/Jndi02.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Jndi02.java 27 Feb 2004 14:58:57 - 1.2 +++ Jndi02.java 31 Aug 2004 14:41:22 - 1.3 @@ -310,10 +310,10 @@ int counts[] = new int[names.length]; for (int i = 0; i names.length; i++) counts[i] = 0; -NamingEnumeration enum = +NamingEnumeration namingEnum = initContext.listBindings(java:comp/env); -while (enum.hasMore()) { -Binding binding = (Binding) enum.next(); +while (namingEnum.hasMore()) { +Binding binding = (Binding) namingEnum.next(); String name = binding.getName(); boolean found = false; for (int i = 0; i names.length; i++) { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs building.xml
idarwin 2004/08/27 14:56:50 Modified:webapps/docs building.xml Log: Add some notes on building the code under Eclipse. Based on several emails from Costin - thanks! Revision ChangesPath 1.3 +68 -0 jakarta-tomcat-catalina/webapps/docs/building.xml Index: building.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/building.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- building.xml 21 Sep 2003 15:36:53 - 1.2 +++ building.xml 27 Aug 2004 21:56:49 - 1.3 @@ -141,5 +141,73 @@ /section +section name=Building with Eclipse + +p +bImportant:/b +This is not a supported means of building Tomcat; this information is +provided without warranty :-). +The only supported means of building Tomcat is with the ant build +described above. +However, some developers like to work on Java code with a Java IDE, +and the following steps have been used by some developers. + +p +Note that you bmust/b complete all the above steps to fetch +the repositories and build some JAR files the first time. +After you have completed the above steps, you can set up a +series of Eclipse 3 projects. +bNote/b that this will not let you build everything under Eclipse; +the build process requires use of Ant for the many stages that aren't +simple Java compilations. +However, it will allow you to view and edit the Java code, +get warnings, reformat code, perform refactorings, run Tomcat +under the IDE, and so on. +/p + +p +Use File-gt;New Project to create a new Java project +for each of the binaries repository (e.g., /usr/share/java), +tomcat-connectors, tomcat-catalina, jasper, servletapi. +Unless you thought ahead to make the ${tomcat.source} directory be under +your Workspace folder, tell Eclipse the external location. +The obvious dependencies will be needed; the repository project +needs to export all its jars, and be referred to by the other projects. +Eclipse will find all source trees and jars, and +hopefully compile without problems +You will need to add ${ant-home}/lib/ant.jar as an External Jar +under Project Properties for some of these projects (notably those that fail +to compile for want of BuildException). +/p + +p +To run Tomcat without a special IDE plug-in, you can simply use Run-gt;Run... +enter org.apache.catalina.startup.Catalina as the main class, +start as program arguments, and +-Dcatalina.home=... (with the name of your build directory) +as VM arguments. +/p + +p +Note also that due to the way the Tomcat source is assembled +from several CVS projects, you may not be able to use the Eclipse +CVS client to update (nor to commit, if you are a committer). +Use the external CVS client of your choice, then use the +Eclipse PackageExplorer or Navigator Refresh context menu item +to tell Eclipse that you've updated the files. +/p + +/section + +section name=Building with other IDEs +p +The same caveats apply as for Eclipse, above. +/p + +p +The same general idea should work in most IDEs; it has been reported +to work in Idea, for example. +p + /body /document - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs setup.xml
idarwin 2004/08/26 09:25:35 Modified:webapps/docs setup.xml Log: Spelling and minor wording corrections Revision ChangesPath 1.9 +6 -6 jakarta-tomcat-catalina/webapps/docs/setup.xml Index: setup.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/setup.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- setup.xml 10 Aug 2004 09:33:33 - 1.8 +++ setup.xml 26 Aug 2004 16:25:34 - 1.9 @@ -33,8 +33,8 @@ installed as a Windows NT/2k/XP service no matter what setting is selected. Using the checkbox on the component page sets the service as auto -startup, so that Tomcat is automatically startup when Windows -starts. For optimal security, the service should be affected a +startup, so that Tomcat is automatically started when Windows +starts. For optimal security, the service should be run as a separate user, with reduced permissions (see the Windows Services administration tool and its documentation)./li listrongJava location/strong: The installer will use the registry @@ -59,8 +59,8 @@ /p pThe installer will create shortcuts allowing starting and configuring - Tomcat. It is important to note that Tomcat administration web - application can only be used when Tomcat is started./p + Tomcat. It is important to note that the Tomcat administration web + application can only be used when Tomcat is running./p /section @@ -108,8 +108,8 @@ /source pjsvc has other useful parameters, such as code-user/code which - causes to switch to another user after the daemon initialization is - complete. This allows, for example, running Tomcat as a non priviledged + causes it to switch to another user after the daemon initialization is + complete. This allows, for example, running Tomcat as a non privileged user while still being able to use privileged ports. codejsvc --help/code will return the full jsvc usage information. In particular, the code-debug/code option is useful - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs deployer-howto.xml
idarwin 2004/08/26 09:34:06 Modified:webapps/docs deployer-howto.xml Log: Spelling and minor wording corrections Revision ChangesPath 1.6 +2 -2 jakarta-tomcat-catalina/webapps/docs/deployer-howto.xml Index: deployer-howto.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/deployer-howto.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- deployer-howto.xml30 Jul 2003 18:37:06 - 1.5 +++ deployer-howto.xml26 Aug 2004 16:34:06 - 1.6 @@ -29,7 +29,7 @@ section name=Introduction -pThe deployer, which as its name imply, allows deploying and undeploying web +pThe deployer, as its name implies, allows deploying and undeploying web applications to the Tomcat server, either statically (the application is setup before the server is started), or dynamically (in conjunction with the Tomcat Manager web application or manipulating already deployed applications). @@ -51,7 +51,7 @@ /p pContext descriptors allow defining all aspects and configuration parameters -of a Context, such as namign resources and session manager configuration. +of a Context, such as naming resources and session manager configuration. It should be noted that the docBase specified in the Context element can refer to either the .WAR or the directory which will be created when the .WAR is expanded or the .WAR itself./p - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs balancer-howto.xml
idarwin 2004/02/12 08:49:02 Modified:webapps/docs balancer-howto.xml Log: Minor typos in documentation. Revision ChangesPath 1.4 +2 -2 jakarta-tomcat-catalina/webapps/docs/balancer-howto.xml Index: balancer-howto.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/balancer-howto.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- balancer-howto.xml5 Feb 2004 16:05:31 - 1.3 +++ balancer-howto.xml12 Feb 2004 16:49:02 - 1.4 @@ -130,7 +130,7 @@ way to direct traffic among multiple servers. /p p -Although balancer ships with tomcat, it is not tomcat-specific and runs +Although balancer ships with Tomcat, it is not Tomcat-specific and runs on other containers without any modification. The balancer webapp requires a Servlet Specification 2.3 or later container if you wish to use a filter to redirect traffic. If you wish to redirect traffic @@ -177,7 +177,7 @@ setter method setXXX for property xxx), as they are instantiated by Jakarta Commons Digester. Feel free to inquire on the tomcat-user mailing list regarding -the availability of rules of the inclusion of your rules +the availability of rules or the inclusion of your rules in the distribution. /p - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs cgi-howto.xml
idarwin 2004/02/12 08:51:36 Modified:webapps/docs cgi-howto.xml Log: Add a bit of explanatory text. Revision ChangesPath 1.3 +7 -3 jakarta-tomcat-catalina/webapps/docs/cgi-howto.xml Index: cgi-howto.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/cgi-howto.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cgi-howto.xml 15 Jan 2003 03:40:43 - 1.2 +++ cgi-howto.xml 12 Feb 2004 16:51:36 - 1.3 @@ -20,9 +20,13 @@ referred to as CGI programs or CGI scripts. /p -pWithin Tomcat CGI support can be added when using Tomcat as your -HTTP server and you require CGI support. Typically this is done -during development when you don't want to run a web server like Apache./p +pWithin Tomcat, CGI support can be added when you are using Tomcat as your +HTTP server and require CGI support. Typically this is done +during development when you don't want to run a web server like +Apache httpd. +Tomcat's CGI support is largely compatible with Apache httpd's, +but there are some limitations (e.g., only one cgi-bin directory). +/p pCGI support is implemented using the servlet class codeorg.apache.catalina.servlets.CGIServlet/code. Traditionally, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/jasper/doc jspc.html
idarwin 2003/10/01 12:44:16 Modified:jasper/doc jspc.html Log: Minor typo corrections Revision ChangesPath 1.5 +11 -11jakarta-tomcat-4.0/jasper/doc/jspc.html Index: jspc.html === RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/doc/jspc.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- jspc.html 19 Sep 2000 19:35:18 - 1.4 +++ jspc.html 1 Oct 2003 19:44:15 - 1.5 @@ -8,19 +8,19 @@ H2OVERVIEW /H2 -Even thought the primary focus of JSP is as a container run environment, +Even though the primary focus of JSP is as a container run environment, sometimes it is useful to create a pure servlet out of the JSP page. -JspC encapsulates the core JSP to servlet translation into a program +JspC encapsulates the core JSP-to-servlet translation into a program that has no dependencies on a containing servlet engine and allows you to translate JSP pages into an equivalent Java servlet. -H2GENERAL USE /H2 +H2GENERAL USE/H2 The most basic use of JspC is to compile a JSP page in place with the -jsp page(s) as the arguments. This will compile the page with the -resulting java files placed in the directory JspC was called from. The +JSP page(s) as the arguments. This will compile the page with the +resulting Java files placed in the directory JspC was called from. The package will be determined from the directories that the JSP page lives -in. This will be relative to the web-app it live in (if it exists or is +in. This will be relative to the web-app it lives in (if it exists or is specified) or the default package. The class name will be the name of the JSP page without the extension. @@ -32,11 +32,11 @@ pages compiled by that invocation. Web-Apps specified for translation will not be affected by either of these options./P -PThe directory that the resulting java files will go into is specified by +PThe directory that the resulting Java files will go into is specified by the TT-d lt;dirgt;/TT and tt-dd lt;dirgt;/tt options. Both of these specify a directory that files will be written into. When -using tt-d/tt the java files will be placed in package appropriate -sub directories while with tt-dd/tt all of the java files will be +using tt-d/tt the Java files will be placed in package appropriate +sub directories while with tt-dd/tt all of the Java files will be placed literally into the specified directory (without any subdirectory structure)./P @@ -74,7 +74,7 @@ Ptt-uriroot lt;dirgt;/tt specifies the root of the web application. This is where all absolute uris will be resolved from. If it is not specified then the first JSP page will be used to derive -it. To derive it each parent directory of the first JSP page is +it. To derive it, each parent directory of the first JSP page is searched for a ttWEB-INF/tt directory, and the directory closest to the JSP page that has one will be used. If none can be found then the directory JspC was called from will be used. This only affects pages - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]