Re: [VOTE] minimal JSR 154 only distribution
Jon Scott Stevens wrote: on 2002/12/7 4:25 PM, Pier Fumagalli [EMAIL PROTECTED] wrote: Jon, I'm very sorry mate, you're 4 months too late :-( I lost my fight about this very same topic back then... Pier Maybe to late for your opinion, but honestly, I haven't been that impressed with Jetty. I saw very little if any speed increase with Jetty and Scarab and I actually consider Jetty's distribution to be packed with more crud than Tomcat's...but maybe I'm just biased by Tomcat. At this point, I don't think that with JSR 154 and JSR 152 being separate, there is much that anyone here can say negative about distributing JSR 154 only engine. Clearly there is a demand. Clearly it is a good thing to have options. Well, I'm the one who did the (cleaner) separation between the two JSRs, if you remember. Removing JSPs is just a matter of removing the jasper JARs + the jsp-api JAR + the servlet mapping in conf/web.xml. When I wrote a separate distribution is not needed, I mean that removing JSP support from a TC 5-dev distribution is easy enough and is not worth the risk of confusing users bt having more download options. Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/catalina/src/temp - New directory
glenn 2002/12/08 05:38:35 jakarta-tomcat-catalina/catalina/src/temp - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs/config context.xml defaultcontext.xml server.xml service.xml
glenn 2002/12/08 05:42:11 Modified:catalina build.xml catalina/src/conf web.xml catalina/src/share/org/apache/catalina DefaultContext.java catalina/src/share/org/apache/catalina/core StandardContext.java StandardDefaultContext.java StandardWrapper.java catalina/src/share/org/apache/catalina/mbeans mbeans-descriptors.xml catalina/src/share/org/apache/catalina/realm LocalStrings.properties catalina/src/share/org/apache/catalina/servlets HTMLManagerServlet.java LocalStrings.properties ManagerServlet.java catalina/src/share/org/apache/catalina/session JDBCStore.java webapps/ROOT/WEB-INF web.xml webapps/admin/WEB-INF/classes/org/apache/webapp/admin/context AddContextAction.java ContextForm.java EditContextAction.java SaveContextAction.java webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext AddDefaultContextAction.java DefaultContextForm.java EditDefaultContextAction.java SaveDefaultContextAction.java webapps/docs index.xml manager-howto.xml webapps/docs/WEB-INF web.xml webapps/docs/config context.xml defaultcontext.xml server.xml service.xml Added: catalina/src/temp README.txt Log: Port bug fixes and minor changes I made to Tomcat 4 to Tomcat 5 where appropriate. Revision ChangesPath 1.34 +4 -0 jakarta-tomcat-catalina/catalina/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/build.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- build.xml 5 Dec 2002 15:41:37 - 1.33 +++ build.xml 8 Dec 2002 13:42:09 - 1.34 @@ -555,6 +555,10 @@ /fileset /copy +!-- JVM Temporary Directory README -- +copy todir=${catalina.build}/temp + file=src/temp/README.txt/ + !-- Catalina Server Libraries -- copy todir=${catalina.build}/server/lib file=${commons-beanutils.jar}/ 1.8 +25 -17jakarta-tomcat-catalina/catalina/src/conf/web.xml Index: web.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/web.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- web.xml 16 Nov 2002 04:20:57 - 1.7 +++ web.xml 8 Dec 2002 13:42:09 - 1.8 @@ -89,21 +89,34 @@ !-- following initialization parameters (default values are in square-- !-- brackets): -- !-- -- + !-- checkInterval If development is false and relaoding is true, -- + !-- background compiles are enabled. checkInterval -- + !-- is the time in seconds between checks to see -- + !-- if a JSP page needs to be recompiled. [300]-- + !-- -- + !-- compilerWhich compiler Ant should use to compile JSP -- + !-- pages. See the Ant documenation for more -- + !-- information. [javac] -- + !-- -- !-- classdebuginfo Should the class file be compiled with -- - !-- debugging information? [false]-- + !-- debugging information? [true] -- !-- -- !-- classpath What class path should I use while compiling -- !-- generated servlets? [Created dynamically -- !-- based on the current web application] -- !-- -- + !-- development Is Jasper used in development mode (will check -- + !-- for JSP modification on every access)? [true] -- + !-- -- + !-- enablePooling Determines whether tag handler pooling is -- + !-- enabled [true]-- + !--
cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet JspServletWrapper.java
glenn 2002/12/08 05:42:53 Modified:jasper2/src/share/org/apache/jasper EmbededServletOptions.java JspCompilationContext.java jasper2/src/share/org/apache/jasper/compiler Compiler.java JspRuntimeContext.java jasper2/src/share/org/apache/jasper/servlet JspServletWrapper.java Log: Port bug fixes and minor changes I made to Tomcat 4 to Tomcat 5 where appropriate. Revision ChangesPath 1.15 +8 -5 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbededServletOptions.java Index: EmbededServletOptions.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbededServletOptions.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- EmbededServletOptions.java4 Dec 2002 00:48:42 - 1.14 +++ EmbededServletOptions.java8 Dec 2002 13:42:52 - 1.15 @@ -184,7 +184,7 @@ * Java platform encoding to generate the JSP * page servlet. */ -private String javaEncoding; +private String javaEncoding = UTF8; public String getProperty(String name ) { return settings.getProperty( name ); @@ -476,7 +476,10 @@ this.compiler = config.getInitParameter(compiler); -this.javaEncoding = config.getInitParameter(javaEncoding); +String javaEncoding = config.getInitParameter(javaEncoding); +if (javaEncoding != null) { +this.javaEncoding = javaEncoding; +} // Setup the global Tag Libraries location cache for this // web-application. 1.27 +3 -11 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java Index: JspCompilationContext.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- JspCompilationContext.java5 Dec 2002 02:27:35 - 1.26 +++ JspCompilationContext.java8 Dec 2002 13:42:52 - 1.27 @@ -579,9 +579,6 @@ throws JasperException, FileNotFoundException { try { -if (servletClass == null !options.getDevelopment()) { -compile(); -} jspLoader = new JasperLoader (outUrls, getServletPackageName() + . + getServletClassName(), @@ -597,14 +594,9 @@ getServletClassName(); } servletClass = jspLoader.loadClass(name); -} catch (FileNotFoundException ex) { -jspCompiler.removeGeneratedFiles(); -throw ex; } catch (ClassNotFoundException cex) { throw new JasperException( Constants.getString(jsp.error.unable.load),cex); -} catch (JasperException ex) { -throw ex; } catch (Exception ex) { throw new JasperException (Constants.getString(jsp.error.unable.compile), ex); 1.41 +36 -44 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java Index: Compiler.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- Compiler.java 5 Dec 2002 23:56:39 - 1.40 +++ Compiler.java 8 Dec 2002 13:42:53 - 1.41 @@ -120,6 +120,7 @@ private ErrorDispatcher errDispatcher; private PageInfo pageInfo; private JspServletWrapper jsw; +private JasperAntLogger logger; private TagFileProcessor tfp; protected Project project=null; @@ -148,20 +149,19 @@ // Initializing project project = new Project(); // XXX We should use a specialized logger to redirect to jasperlog -//DefaultLogger bl=new JasperAntLogger(); -DefaultLogger bl=new DefaultLogger(); -bl.setOutputPrintStream(System.err); -bl.setErrorPrintStream(System.err); +logger = new JasperAntLogger(); +logger.setOutputPrintStream(System.out); +logger.setErrorPrintStream(System.err); if( Constants.jasperLog.getVerbosityLevel() = Logger.DEBUG ) { -bl.setMessageOutputLevel( Project.MSG_VERBOSE ); +logger.setMessageOutputLevel( Project.MSG_VERBOSE ); } else { -
Tomcat 4 JNDI named JDBC DataSource Realm commit
FYI, I committed the JNDI named JDBC DataSource Realm to Tocmat 4 along with updated realm docs. But the commit message emails failed due to a temporary disk full problem on icarus. Glenn -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[Tomcat 5] Patches and bug fixes from Tomcat 4 ported
I went through all my commits to Tomcat 4 since work on Tomcat 5 started. I have ported all the patches, bug fixes, etc. to Tomcat 5 where appropriate. Glenn -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina gump.xml
bobh2002/12/08 09:01:44 Modified:.gump.xml Log: - let all experience joy of nag Revision ChangesPath 1.10 +1 -1 jakarta-tomcat-catalina/gump.xml Index: gump.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/gump.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- gump.xml 11 Sep 2002 03:37:47 - 1.9 +++ gump.xml 8 Dec 2002 17:01:44 - 1.10 @@ -91,7 +91,7 @@ jar name=common/lib/naming-common.jar/ jar name=common/lib/naming-resources.jar/ -nag to=[EMAIL PROTECTED] +nag to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] / /project -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-5 gump.xml
bobh2002/12/08 09:05:06 Modified:.gump.xml Log: - open nag up to all Revision ChangesPath 1.12 +1 -1 jakarta-tomcat-5/gump.xml Index: gump.xml === RCS file: /home/cvs/jakarta-tomcat-5/gump.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- gump.xml 4 Oct 2002 22:11:20 - 1.11 +++ gump.xml 8 Dec 2002 17:05:05 - 1.12 @@ -96,7 +96,7 @@ description dir=jasper/docs/apiJasper API/description /javadoc -nag to=[EMAIL PROTECTED] +nag to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] / /project -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
install apache web server and tomcat
Hello, I need to set up a system (under MS Windows 2000) using JSP and Servlet Programming, of course, I never done that before, and have no idea how to do it. Here is the list I just finished: 1. installed Apache Web Server(1.3.27); 2. installed Jakarta Tomcat 4.0.6; 3. mod_jk (stored in the Apache Web Server Modules directory) Now the question is that how to connect between apache server and tomcat using mod_jk? A friend told me that Jakarta Tomcat included apache web server, so I don't need to install apache web server. I'm confused. Please help me with detail procedures if you have time. Thank you very much. Ping 12/8/02 at 12:40pm __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jakarta-servletapi-5 patch - add display name and description toexamples
Attached is a patch for jakarta-servletapi-5 which addes display name and descriptions to their web.xml files. This is so that the HTML manager app has a name to display for these webapps. I would have committed these changes but I don't have karma. Regards, Glenn Index: jsr152/examples/WEB-INF/web.xml === RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/WEB-INF/web.xml,v retrieving revision 1.5 diff -u -r1.5 web.xml --- jsr152/examples/WEB-INF/web.xml 29 Oct 2002 17:42:57 - 1.5 +++ jsr152/examples/WEB-INF/web.xml 8 Dec 2002 13:44:35 - @@ -5,6 +5,11 @@ xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd version=2.4 +display-nameJSP 2.0 Examples/display-name +description + JSP 2.0 Examples. +/description + !-- Define servlet-mapped and path-mapped example filters -- filter filter-nameServlet Mapped Filter/filter-name Index: jsr154/examples/WEB-INF/web.xml === RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/web.xml,v retrieving revision 1.3 diff -u -r1.3 web.xml --- jsr154/examples/WEB-INF/web.xml 29 Oct 2002 17:42:57 - 1.3 +++ jsr154/examples/WEB-INF/web.xml 8 Dec 2002 13:44:35 - @@ -6,6 +6,11 @@ web-app +display-nameServlet 2.4 Examples/display-name +description + Servlet 2.4 Examples. +/description + !-- Define servlet-mapped and path-mapped example filters -- filter filter-nameServlet Mapped Filter/filter-name -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [PATCH] build.properties.sample for tomcat 4.x
What if it's going to be applied, it's need to be fixed like: # tomcat.common.lib=${tomcat}/common/lib # tomcat.server.lib=${tomcat}/server/lib # tomcat.bin=${tomcat}/bin Sorry about misspelling... Sung-Gu - Original Message - Subject: [PATCH] build.properties.sample for tomcat 4.x Hi, Let us have an easy installion especially for the first time... So I tried an idea that installs jars easier from binary distribution version. (In case you're not involved in devloping, it's useful...) Also it's reflected the tree hiearchy of the cvs repostitory, I think it's more general.Hope it's helpful... Sung-Gu P.S.: I'm not subscribed on the mailling-list currently... Just let you know... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 3888] - WebappClassLoader: Lifecycle error : CL stopped
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3888. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3888 WebappClassLoader: Lifecycle error : CL stopped --- Additional Comments From [EMAIL PROTECTED] 2002-12-08 22:02 --- I can confirm that this still occurs with 4.1.12 and Scarab. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] minimal JSR 154 only distribution
Jon Scott Stevens wrote: Create a separate minimal JSR 154 only distribution of Tomcat 4.x: +1 [] 0 [] -1 [X] -jon (1) Jasper is very a very small jar file. (2) The Admin Tool should go with the minimal distribution of Tomcat. We decided to include JMX in Tomcat distribution...what's the point having JMX and not the Admin Tool? Maybe JSP is not required by all Tomcat users, but I'm sure a lot of them like to have the Admin Tool . -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] minimal JSR 154 only distribution
- Original Message - From: Jeanfrancois Arcand [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Sunday, December 08, 2002 7:59 PM Subject: Re: [VOTE] minimal JSR 154 only distribution Jon Scott Stevens wrote: Create a separate minimal JSR 154 only distribution of Tomcat 4.x: +1 [] 0 [] -1 [X] -jon (1) Jasper is very a very small jar file. (2) The Admin Tool should go with the minimal distribution of Tomcat. We decided to include JMX in Tomcat distribution...what's the point having JMX and not the Admin Tool? Maybe JSP is not required by all Tomcat users, but I'm sure a lot of them like to have the Admin Tool . Well, now Costin can change his vote and kill this (based on the current vote count). IMHO the admin web-app is a pretty toy, but needs much more work to be usable in a production environment. Since both Remy and Jeanfrancois are very concerned with the ability to include the admin web-app, I'm looking forward to their contributions to improving it :). -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] minimal JSR 154 only distribution
on 2002/12/8 7:59 PM, Jeanfrancois Arcand [EMAIL PROTECTED] wrote: (1) Jasper is very a very small jar file. That isn't the question. (2) The Admin Tool should go with the minimal distribution of Tomcat. We decided to include JMX in Tomcat distribution...what's the point having JMX and not the Admin Tool? Maybe JSP is not required by all Tomcat users, but I'm sure a lot of them like to have the Admin Tool . I have never used the Admin Tool. Ever. I don't even know how to use it or what it does. I don't need it and I don't want it. Since I was talking about a JSR 154 ONLY implementation of a Servlet Container (see subject line of this message) and there is absolutely no requirement in JSR 154 to provide the Admin Tool, I don't see how your argument is valid for what I'm proposing. =) -jon -- StudioZ.tv /\ Bar/Nightclub/Entertainment 314 11th Street @ Folsom /\ San Francisco http://studioz.tv/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] minimal JSR 154 only distribution
- Original Message - From: Jon Scott Stevens [EMAIL PROTECTED] To: tomcat-dev [EMAIL PROTECTED] Sent: Sunday, December 08, 2002 10:45 PM Subject: Re: [VOTE] minimal JSR 154 only distribution on 2002/12/8 7:59 PM, Jeanfrancois Arcand [EMAIL PROTECTED] wrote: (1) Jasper is very a very small jar file. That isn't the question. (2) The Admin Tool should go with the minimal distribution of Tomcat. We decided to include JMX in Tomcat distribution...what's the point having JMX and not the Admin Tool? Maybe JSP is not required by all Tomcat users, but I'm sure a lot of them like to have the Admin Tool . I have never used the Admin Tool. Ever. I don't even know how to use it or what it does. I don't need it and I don't want it. Since I was talking about a JSR 154 ONLY implementation of a Servlet Container (see subject line of this message) and there is absolutely no requirement in JSR 154 to provide the Admin Tool, I don't see how your argument is valid for what I'm proposing. +1 =) -jon -- StudioZ.tv /\ Bar/Nightclub/Entertainment 314 11th Street @ Folsom /\ San Francisco http://studioz.tv/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] minimal JSR 154 only distribution
Jon Scott Stevens wrote: requirement in JSR 154 to provide the Admin Tool, I don't see how your argument is valid for what I'm proposing. A majority vote doesn't require arguments or validity of arguments. I like the idea or I don't like the idea is all that's needed. Valid arguments are required for a veto. I don't think it would be good for tomcat community if it will pass with 3 +1 votes, 2 -1 votes and one -0. I hope that more tomcat committers will send at least a +0 or -0, and even better +1 or -1. There is no need to get into too much debate - just yes and no would help. Costin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] minimal JSR 154 only distribution
on 2002/12/8 11:32 PM, Costin Manolache [EMAIL PROTECTED] wrote: I hope that more tomcat committers will send at least a +0 or -0, and even better +1 or -1. There is no need to get into too much debate - just yes and no would help. I agree. Especially since what Jeanfrancois was debating as his -1 reason had nothing to do with what the vote was about. =) -jon -- StudioZ.tv /\ Bar/Nightclub/Entertainment 314 11th Street @ Folsom /\ San Francisco http://studioz.tv/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
heap usage is high- tomcat- optimizeit profiler - help!!!
Hello , I am a newbie using borland Optimizeit to profile web server running on tomcat server.I have few doubts about the observations i have made in profiling my software application. Optimizeit Profiler 5.0 Web Application -- Server - Redhat Linux 7.3 App.Server - tomcat 3.2.3-1 Web Server - Apache 1.3.23-14 Connector - Apj13 I ran Tomcat on Optimizeit Generic Audit System 5.0(Linux version) and observed the profiling by attaching it to the desktop windows version of Optimizeit Profiler 5.0(windows version). I am profiling to debug some memory leak in my application. After testing few test cases, 1.Optimizeit Profiler shows steady memory usage.Not much increase after test cases. Linux m/c shows gradual increase in the memory usage of the java process(tomcat). 2.Optimizeit shows only a heap usage of 8000K and the heap size of some 1K Linux m/c shows a memory usage of 7K. Though optimizeit profiler shows no memory leak(except initial big allocations) in all the possible test cases,tomcat heap keeps piling up when I run the test continously. Could somebody explain the above behavior of optimizeit and tomcat.How should I understand the difference in the numerical values between the optimizeit one and the linux one. -Alexius Luke -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]