Re: Some JK2 ideas v.3

2004-07-16 Thread jean-frederic clere
Remy Maucherat wrote:
My turn :)
Sorry, I won't help code it (well, maybe a little for the Java part); so 
I don't know if I have a say in any decision, but I though I should 
participate as well.

- it should be simpler than JK 1 or 2
- it should have a name which doesn't confuse folks :)
- Apache 2.x specific using APR (with the goal being the inclusion in 
the Apache distribution as a default module: no more compilation 
problems, etc);
In httpd-2.0 repos?
for other servers, I think we should keep the current JK
- it should try to optimize keepalive if possible for performance
- it should support quality of service (messages to notify that a webapp 
is being serviced on one node, etc)
- (nice to have) it should be possible to configure the cluster dynamically
- there should be a clear documentation for which connector to use (I'm 
not talking about specific needs, but general case: one server - 
standalone HTTP/1.1, cluster - mod_newthing)
- the configuration should be in Apache's config file, rather than some 
complex properties file
- it should have good defaults (I like good defaults :) )
- it should work well with other modules (I guess if somehow it is 
accepted into the Apache codebase, it will be required)
- I think the protocol should be an extension of AJP/1.3
- No JNI in this module IMO: I think it would be better to have another 
separate module dedicated to JNI (and trying to use, for example, the in 
memory protocol handler or similar techniques) if there's interest, 
rather than add complexity to this module, which has very different needs

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 30135] - Chunked Transfer Encoding should ignore Content Length

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30135.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30135

Chunked Transfer Encoding should ignore Content Length





--- Additional Comments From [EMAIL PROTECTED]  2004-07-16 07:55 ---
I'd like you to explain to me how you manage to use both.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30115] - Sessions are Not expiring even when I restart the Tomcat

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30115.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30115

Sessions are Not expiring even when I restart the Tomcat





--- Additional Comments From [EMAIL PROTECTED]  2004-07-16 08:06 ---
Sir,
Thank u very much for your reply. But even when I added manager element with 
saveonRestart=false in server.xml according to the specification in the site, 
it is not getting disabled. When I restart the tomcat from the console, in the 
console 'INFO: XML validation disabled' message is displayed. I think whatever 
changes I make to the server.xml file are not getting reflected. 

Can u please send me a sample server.xml file with manager element 
configuring session persistence disabled. I would appreciate ur reply.

thanks and regards,

Narendra Kumar Koka

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30139] New: - heavy load - ConcurrentModificationException

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30139.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30139

heavy load - ConcurrentModificationException

   Summary: heavy load - ConcurrentModificationException
   Product: Tomcat 4
   Version: 4.1.30
  Platform: HP
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Connector:Coyote HTTP/1.1
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Hello

Tomcat 4.1.30
Under heavy load, we seem to be getting this error every once in a while: 
=
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:
444)
at java.util.AbstractList$Itr.remove(AbstractList.java:429)
at java.util.AbstractCollection.remove(AbstractCollection.java:251)
at org.apache.coyote.RequestGroupInfo.
removeRequestProcessor(RequestGroupInfo.java:17)
at org.apache.coyote.RequestInfo.setGlobalProcessor(RequestInfo.java:96)
at org.apache.coyote.http11.Http11Protocol$MXPoolListener.
threadEnd(Http11Protocol.java:630)
at org.apache.tomcat.util.threads.ThreadPool.removeThread(ThreadPool.
java:281)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.
run(ThreadPool.java:731)
at java.lang.Thread.run(Thread.java:536)
=


server.xml
=
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   address=tcssc01
   port=8080 minProcessors=20 maxProcessors=300
   enableLookups=true redirectPort=8443
   acceptCount=300 debug=0 connectionTimeout=2
   useURIValidationHack=false disableUploadTimeout=true /
=

Thanks,
Yuto Ikeno

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30140] New: - pageContext implicit variable not available to tagfile tag

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30140.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30140

pageContext implicit variable not available to tagfile tag

   Summary: pageContext implicit variable not available to tagfile
tag
   Product: Tomcat 5
   Version: 5.0.25
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The implicit variable pageContext is not available to a tag implemented as a
tagfile.  Looking at the code generated for the tagfile, it appears the variable
is called jspContext instead.

Here's the first part of the generated doTag() which sets up the implicit
variables for the tag:  

  public void doTag() throws JspException, java.io.IOException {
PageContext _jspx_page_context = (PageContext)jspContext;
  ^^
HttpServletRequest request = (HttpServletRequest)
_jspx_page_context.getRequest();
HttpServletResponse response = (HttpServletResponse)
_jspx_page_context.getResponse();
HttpSession session = _jspx_page_context.getSession();
ServletContext application = _jspx_page_context.getServletContext();
ServletConfig config = _jspx_page_context.getServletConfig();
JspWriter out = jspContext.getOut();
_jspInit(config);

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[GUMP@brutus]: jakarta-tomcat/jakarta-tomcat success

2004-07-16 Thread Stefan Bodewig
To whom it may satisfy...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact folk at [EMAIL PROTECTED]

Project jakarta-tomcat *no longer* has an issue.
Project State : 'Success'

Full details are available at:

http://brutus.apache.org/gump/public/jakarta-tomcat/jakarta-tomcat/index.html

That said, some snippets follow:


The following annotations were provided:
 -DEBUG- Jar [tomcat-util.jar] identifier set to jar basename: [tomcat-util]
 -DEBUG- Jar [tomcat_core.jar] identifier set to jar basename: [tomcat_core]
 -DEBUG- Jar [tomcat_modules.jar] identifier set to jar basename: [tomcat_modules]
 -DEBUG- Jar [facade22.jar] identifier set to jar basename: [facade22]
 -DEBUG- Jar [core_util.jar] identifier set to jar basename: [core_util]
 -DEBUG- Jar [jasper.jar] identifier set to jar basename: [jasper]
 -DEBUG- Jar [container_util.jar] identifier set to jar basename: [container_util]
 -DEBUG- Jar [tomcat.jar] identifier set to jar basename: [tomcat]
 -DEBUG- Dependency on commons-modeler exists, no need to add for property 
commons-modeler.jar.
 -DEBUG- Dependency on ant exists, no need to add for property ant.home.
 -DEBUG- Dependency on jsse exists, no need to add for property jsse.home.
 -DEBUG- Dependency on commons-logging exists, no need to add for property 
commons-logging.home.
 -DEBUG- Dependency on commons-modeler exists, no need to add for property 
commons-modeler.home.
 -INFO- Enable verbose output, due to 1 previous error(s).


The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat/jakarta-tomcat/gump_work/build_jakarta-tomcat_jakarta-tomcat.html
Work Name: build_jakarta-tomcat_jakarta-tomcat (Type: Build)
State: Success
Elapsed: 21 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar
 org.apache.tools.ant.Main -verbose 
-Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Djakarta-tomcat-connectors=/usr/local/gump/public/workspace/jakarta-tomcat-connectors 
-Djsse.home=/usr/local/gump/packages/jsse1.0.3 
-Djakarta-tomcat-jasper=/usr/local/gump/public/workspace/jakarta-tomcat-jasper 
-Djaxp.home=/usr/local/gump/packages/java_xml_pack-summer-02_01 
-Dcommons-modeler.home=/usr/local/gump/public/workspace/jakarta-commons/modeler 
-Dregexp.jar=/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-20040716.jar
 -Dant.home=/usr/local/gump/public/workspace/ant/dist 
-Dcommons-logging.home=/usr/local/gump/public/workspace/jakarta-commons/logging/dist 
-Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-20040716.jar
 main.lite 
[Working Directory: /usr/local/gump/public/workspace/jakarta-tomcat]
CLASSPATH : 
/usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/classes:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-20040716.jar:/usr/local/gump/public/workspace/jakarta-tomcat-connectors/util/build/lib/tomcat-util.jar:/usr/local/gump/packages/jsse1.0.3/lib/jcert.jar:/usr/local/gump/packages/jsse1.0.3/lib/jnet.jar:/usr/local/gump/packages/jsse1.0.3/lib/jsse.jar:/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar:/usr/local/gump/packages/jmx-1_2-ri/lib/jmxtools.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-20040716.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-chainsaw-20040716.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-lf5-20040716.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-20040716.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant.jar-
[javac] tadm/AntServletLogger.java added as tadm/AntServletLogger.class doesn't 
exist.
[javac] tadm/AntTEI.java added as tadm/AntTEI.class doesn't exist.
[javac] tadm/AntTag.java added as tadm/AntTag.class doesn't exist.
[javac] tadm/AntTarget.java added as tadm/AntTarget.class doesn't exist.
[javac] tadm

[GUMP@brutus]: jakarta-tomcat-connectors-coyote_10/jakarta-tomcat-coyote_10 success

2004-07-16 Thread Stefan Bodewig
To whom it may satisfy...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact folk at [EMAIL PROTECTED]

Project jakarta-tomcat-coyote_10 *no longer* has an issue.
Project State : 'Success'

Full details are available at:


http://brutus.apache.org/gump/public/jakarta-tomcat-connectors-coyote_10/jakarta-tomcat-coyote_10/index.html

That said, some snippets follow:


The following annotations were provided:
 -DEBUG- Sole jar [tomcat-coyote.jar] identifier set to project name
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar.
 -DEBUG- Dependency on tomcat-catalina exists, no need to add for property 
catalina.home.
 -INFO- Enable verbose output, due to 1 previous error(s).
 -INFO- No license on redistributable project with outputs.


The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors-coyote_10/jakarta-tomcat-coyote_10/gump_work/build_jakarta-tomcat-connectors-coyote_10_jakarta-tomcat-coyote_10.html
Work Name: build_jakarta-tomcat-connectors-coyote_10_jakarta-tomcat-coyote_10 (Type: 
Build)
State: Success
Elapsed: 4 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar
 org.apache.tools.ant.Main -verbose 
-Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcatalina.home=/usr/local/gump/public/workspace/jakarta-tomcat-4.0/build 
-Djmx.home=/usr/local/gump/packages/jmx-1_2-ri 
-Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-20040716.jar
 -Djmx.jar=/usr/local/gump/public/workspace/jmx/jmx/lib/jmxri.jar 
[Working Directory: 
/usr/local/gump/public/workspace/jakarta-tomcat-connectors-coyote_10/coyote]
CLASSPATH : 
/usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar:/usr/local/gump/packages/jmx-1_2-ri/lib/jmxtools.jar:/usr/local/gump/public/workspace/jakarta-tomcat-connectors-coyote_10/util/build/lib/tomcat-util.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jakarta-tomcat-4.0/build/server/lib/catalina.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/common/tomcat-util.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/common/tomcat_core.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/container/tomcat_modules.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/container/facade22.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/common/core_util.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/container/jasper.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/container/container_util.jar:/usr/local/gump/public/workspace/jakarta-tomcat/build/tomcat/lib/tomcat.jar:/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-20040716.jar-
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteInputStream.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteOutputStream.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyotePrincipal.class
  [jar] adding entry 
org/apache/coyote/tomcat4/CoyoteRequest$PrivilegedGetSession.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteRequest.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteRequestFacade.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteResponse.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteResponseFacade.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteServerSocketFactory.class
  [jar] adding entry org/apache/coyote/tomcat4/CoyoteWriter.class
  [jar] adding entry org/apache/coyote/tomcat4/LocalStrings.properties
  [jar] adding entry org/apache/coyote/tomcat4/LocalStrings_fr.properties
  [jar] adding entry org/apache/coyote/tomcat4/LocalStrings_ja.properties
  [jar] adding entry org/apache/coyote/tomcat4/OutputBuffer.class
  [jar] adding entry org/apache/coyote/tomcat5/LocalStrings.properties
  [jar] adding entry org/apache/coyote/tomcat5/LocalStrings_fr.properties
  [jar] adding entry org/apache/coyote/tomcat5

[GUMP@brutus]: jakarta-tomcat-catalina/jakarta-tomcat-catalina success

2004-07-16 Thread bobh
To whom it may satisfy...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact folk at [EMAIL PROTECTED]

Project jakarta-tomcat-catalina *no longer* has an issue.
Project State : 'Success'

Full details are available at:


http://brutus.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/index.html

That said, some snippets follow:


The following annotations were provided:
 -DEBUG- Jar [naming-resources.jar] identifier set to jar basename: [naming-resources]
 -DEBUG- Jar [servlets-default.jar] identifier set to jar basename: [servlets-default]
 -DEBUG- Jar [naming-common.jar] identifier set to jar basename: [naming-common]
 -DEBUG- Jar [catalina.jar] identifier set to jar basename: [catalina]
 -DEBUG- Jar [bootstrap.jar] identifier set to jar basename: [bootstrap]
 -DEBUG- Jar [servlets-common.jar] identifier set to jar basename: [servlets-common]
 -DEBUG- Jar [servlets-invoker.jar] identifier set to jar basename: [servlets-invoker]
 -ERROR- Unhandled Property: tomcat33.home on: gump.model.builder.Ant instance at 
0x41ab760c
 -DEBUG- Dependency on javamail exists, no need to add for property mail.jar.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.jar.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar.
 -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for 
property servlet-api.jar.
 -DEBUG- Dependency on jakarta-servletapi-5-jsp exists, no need to add for property 
jsp-api.jar.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property xml-apis.jar.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property xercesImpl.jar.
 -DEBUG- Dependency on jakarta-tomcat-util exists, no need to add for property 
tomcat-util.jar.
 -DEBUG- Dependency on commons-logging exists, no need to add for property 
commons-logging-api.jar.
 -DEBUG- Dependency on ant exists, no need to add for property ant.home.
 -DEBUG- Dependency on jsse exists, no need to add for property jsse.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmxtools.jar.
 -DEBUG- Dependency on jndi exists, no need to add for property jndi.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.jar.
 -DEBUG- Dependency on javamail exists, no need to add for property mail.home.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.home.
 -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for property 
tomcat-coyote.home.
 -INFO- Enable verbose output, due to 1 previous error(s).


The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/gump_work/build_jakarta-tomcat-catalina_jakarta-tomcat-catalina.html
Work Name: build_jakarta-tomcat-catalina_jakarta-tomcat-catalina (Type: Build)
State: Success
Elapsed: 21 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -verbose 
-Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dtomcat33.home=*Unset* 
-Djsp-api.jar=/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152/dist/lib/jsp-api.jar
 -Djmx.jar=/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar 
-Djmx.home=/usr/local/gump/packages/jmx-1_2-ri 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Djtc.home=/usr/local/gump/public/workspace/jakarta-tomcat-connectors 
-Dmail.home=/usr/local/gump/packages/javamail-1.3 
-Dant.home=/usr/local/gump/public/workspace/ant/dist 
-Dsite2.home=/usr/local/gump/public/workspace/jakarta-site2 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20040716.jar
 -Dcatalina.deploy=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build 
-Dxml-apis.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar 
-DxercesImpl.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 -Djsse.home=/usr/local/gump/packages/jsse1.0.3 
-Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar 
-Dcatalina.build=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build 
-Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-20040716.jar
 -Dmail.jar=/usr/local/gump/packages/javamail-1.3/mail.jar 
-Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons

[GUMP@brutus]: jakarta-tomcat-4.0/jakarta-tomcat-4.0 success

2004-07-16 Thread Stefan Bodewig
To whom it may satisfy...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact folk at [EMAIL PROTECTED]

Project jakarta-tomcat-4.0 *no longer* has an issue.
Project State : 'Success'

Full details are available at:


http://brutus.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/index.html

That said, some snippets follow:


The following annotations were provided:
 -DEBUG- Jar [naming-resources.jar] identifier set to jar basename: [naming-resources]
 -DEBUG- Jar [servlets-default.jar] identifier set to jar basename: [servlets-default]
 -DEBUG- Jar [naming-common.jar] identifier set to jar basename: [naming-common]
 -DEBUG- Jar [catalina.jar] identifier set to jar basename: [catalina]
 -DEBUG- Jar [bootstrap.jar] identifier set to jar basename: [bootstrap]
 -DEBUG- Jar [servlets-common.jar] identifier set to jar basename: [servlets-common]
 -DEBUG- Jar [servlets-invoker.jar] identifier set to jar basename: [servlets-invoker]
 -DEBUG- Dependency on javamail exists, no need to add for property mail.jar.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.jar.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar.
 -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property 
servlet.jar.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property xerces.jar.
 -DEBUG- Dependency on jakarta-tomcat-util exists, no need to add for property 
tomcat-util.jar.
 -DEBUG- Dependency on commons-logging exists, no need to add for property 
commons-logging-api.jar.
 -DEBUG- Dependency on ant exists, no need to add for property ant.home.
 -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property 
servlet.home.
 -DEBUG- Dependency on jsse exists, no need to add for property jsse.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmxtools.jar.
 -DEBUG- Dependency on jndi exists, no need to add for property jndi.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.jar.
 -DEBUG- Dependency on javamail exists, no need to add for property mail.home.
 -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for property 
tomcat-coyote.home.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.home.
 -INFO- Enable verbose output, due to 1 previous error(s).
 -INFO- No license on redistributable project with outputs.


The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/gump_work/build_jakarta-tomcat-4.0_jakarta-tomcat-4.0.html
Work Name: build_jakarta-tomcat-4.0_jakarta-tomcat-4.0 (Type: Build)
State: Success
Elapsed: 44 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -verbose 
-Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Djmx.jar=/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar 
-Djmx.home=/usr/local/gump/packages/jmx-1_2-ri 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dregexp.jar=/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-20040716.jar
 -Dmail.home=/usr/local/gump/packages/javamail-1.3 
-Dant.home=/usr/local/gump/public/workspace/ant/dist 
-Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar 
-Dsite2.home=/usr/local/gump/public/workspace/jakarta-site2 
-Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20040716.jar
 -Dldap.jar=/usr/local/gump/packages/ldap-1_2_4/lib/ldap.jar 
-Djsse.home=/usr/local/gump/packages/jsse1.0.3 
-Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar 
-Dmail.jar=/usr/local/gump/packages/javamail-1.3/mail.jar 
-Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar
 -Djndi.jar=/usr/local/gump/packages/jndi1_2_1/lib/jndi.jar 
-Djmxtools.jar=/usr/local/gump/packages/jmx-1_2-ri/lib/jmxtools.jar 
-Dactivation.home=/usr/local/gump/packages/jaf-1.0.1 
-Dregexp.home=/usr/local/gump/public/workspace/jakarta-regexp/build 
-Dcommons-beanutils.jar=/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar
 
-Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-20040716.jar
 -Djasper.home

[GUMP@brutus]: jakarta-tomcat-5/jakarta-tomcat-5 success

2004-07-16 Thread bobh
To whom it may satisfy...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact folk at [EMAIL PROTECTED]

Project jakarta-tomcat-5 *no longer* has an issue.
Project State : 'Success'

Full details are available at:

http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-5/index.html

That said, some snippets follow:


The following annotations were provided:
 -DEBUG- Jar [naming-resources.jar] identifier set to jar basename: [naming-resources]
 -DEBUG- Jar [servlets-default.jar] identifier set to jar basename: [servlets-default]
 -DEBUG- Jar [naming-common.jar] identifier set to jar basename: [naming-common]
 -DEBUG- Jar [catalina.jar] identifier set to jar basename: [catalina]
 -DEBUG- Jar [bootstrap.jar] identifier set to jar basename: [bootstrap]
 -DEBUG- Jar [servlets-common.jar] identifier set to jar basename: [servlets-common]
 -DEBUG- Jar [servlets-invoker.jar] identifier set to jar basename: [servlets-invoker]
 -ERROR- Unhandled Property: tomcat33.home on: gump.model.builder.Ant instance at 
0x41a6516c
 -DEBUG- Dependency on javamail exists, no need to add for property mail.jar.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.jar.
 -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for 
property servlet-api.jar.
 -DEBUG- Dependency on jakarta-servletapi-5-jsp exists, no need to add for property 
jsp-api.jar.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property xercesImpl.jar.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property xml-apis.jar.
 -DEBUG- Dependency on jakarta-tomcat-util exists, no need to add for property 
tomcat-util.jar.
 -DEBUG- Dependency on commons-el exists, no need to add for property commons-el.jar.
 -DEBUG- Dependency on commons-logging exists, no need to add for property 
commons-logging-api.jar.
 -DEBUG- Dependency on commons-modeler exists, no need to add for property 
commons-modeler.jar.
 -DEBUG- Dependency on ant exists, no need to add for property ant.home.
 -DEBUG- Dependency on jsse exists, no need to add for property jsse.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx-tools.jar.
 -DEBUG- Dependency on jndi exists, no need to add for property jndi.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.jar.
 -DEBUG- Dependency on javamail exists, no need to add for property mail.home.
 -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for property 
tomcat-coyote.home.
 -DEBUG- Dependency on jakarta-tomcat-jasper_tc5 exists, no need to add for property 
jasper.home.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.home.
 -DEBUG- Dependency on commons-modeler exists, no need to add for property 
commons-modeler.home.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.jsvc.tar.gz.
 -DEBUG- Dependency on jakarta-struts exists, no need to add for property struts.home.
 -INFO- Enable verbose output, due to 1 previous error(s).


The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-5/gump_work/build_jakarta-tomcat-5_jakarta-tomcat-5.html
Work Name: build_jakarta-tomcat-5_jakarta-tomcat-5 (Type: Build)
State: Success
Elapsed: 2 mins 23 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -verbose 
-Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dtomcat33.home=*Unset* 
-Djsp-api.jar=/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152/dist/lib/jsp-api.jar
 -Djmx.jar=/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar 
-Djmx.home=/usr/local/gump/packages/jmx-1_2-ri 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dregexp.jar=/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-20040716.jar
 -Dmail.home=/usr/local/gump/packages/javamail-1.3 
-Dant.home=/usr/local/gump/public/workspace/ant/dist 
-Dsite2.home=/usr/local/gump/public/workspace/jakarta-site2 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20040716.jar
 -Dxml-apis.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar 
-DxercesImpl.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar

DO NOT REPLY [Bug 30141] New: - GET posting fails on JISAutoDetect Character Encoding

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30141.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30141

GET posting fails on JISAutoDetect Character Encoding

   Summary: GET posting fails on JISAutoDetect Character Encoding
   Product: Tomcat 4
   Version: 4.1.27
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Servlet  JSP API
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I took a look at similar reports, and I think this is different enough to
warrant attention.

Running on tomcat 4.1.27, submitting df.jsp as a POST gives output, but as a GET
gives nothing.This is not the case for other character encoding types such
as SJIS, ISO-whatever, but only JISAutoDetect.

Please let me know what you think, thank you very much.


=dumbform.jsp==
%@ page
 contentType=text/html; charset=iso-2022-jp
 pageEncoding=iso-2022-jp
 import = 
java.io.*   ,
java.net.*  ,
java.lang.* ,
java.util.* ,
java.text.* ,
javax.servlet.* ,
javax.servlet.http.*,
javax.servlet.jsp.* 

 session=true

%
%
 request.setCharacterEncoding(JISAutoDetect);
%
HTML
BODY
%
   String kee = ;
   String valu = ;

Enumeration  = request.getParameterNames();
 while ( .hasMoreElements() ){
 kee = (String).nextElement();
 valu = request.getParameter(key);
%
 %=kee%  %=valu%BR
%
}

%
/BODY
/HTML

df.jsp
HTML
BODY

form name=hello method=post action=dumbform.jsp
input type=hidden value=35 name=1
input type=submit value=post
/form

form name=hello2 method=get action=dumbform.jsp
input type=hidden value=35 name=2
input type=submit value=get
/form

/BODY
/HTML

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [5.next] Progress

2004-07-16 Thread Endre Stølsvik
On Thu, 15 Jul 2004, Remy Maucherat wrote:

| Jess Holle wrote:
|  Just a note:
| 
|  Please allow the anti-locking stuff to be skipped on Windows as well.
|  [Some of us value performance over deployment convenience.]
|
| Yes, of course. In production, many people don't use hot deployment (it
| doesn't give good enough QoS right now, IMO).
|
|  - Possibly require JDK 1.5 (cleaner code, annotations, integrated JMX
|  and JMX
|  remote, etc)
| 
|  It would be good to get many of the changes listed above this last point
|  available in 5.0.x and usable with JDK 1.4.2 and then branch to 5.1 and
|  do 1.5-specific goodies.
|
| No for 5.0.x, as nearly everything in my list requires API breakage :(
| For now, I don't have any JDK 1.5 features in mind: this item is there
| just in case.

In my opinion, it is very bad to require the -latest- JDK there is for
such low-level software-stack-components as the Servlet Container is.
I mean, the 1.5 (5.0) isn't even released!
  There should at least be a couple of viable JDKs of a particular
version, before you intend to depend Tomcat on it (e.g. when IBM, SUN,
JRockit and a couple of others (!) have a J2SDK 5.0-version out, you might
consider it). Any depedencies on 1.5 should -most definately- be done
using introspection or configurable 1.5 classes that you can add if you
want.

IMHO, I think you should make Tomcat run perfectly, and actually develop
it, on 1.3.

Endre

PS: What an IDIOTIC versioning scheme Sun is using!! What on earth is the
idea with Java -2-, and then upping the minor-versioning to -5-??
Java 2 version 5.0.. WHAT???
  It actually pisses me off - can't we just say Java 5, then?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30144] New: - res.setContentType in SSIServlet.java line 167

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30144.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30144

res.setContentType in SSIServlet.java line 167

   Summary: res.setContentType in SSIServlet.java line 167
   Product: Tomcat 5
   Version: 5.0.25
  Platform: All
OS/Version: All
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Servlets:SSI
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In SSIServlet.java line 167, the code is 
res.setContentType(text/html;charset=UTF-8);
But in DefaultServlet.java, the content type is found from web.xml, the code is 
// Find content type.
String contentType =
getServletContext().getMimeType(resourceInfo.path);

I don't know if it's a problem.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30140] - pageContext implicit variable not available to tagfile tag

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30140.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30140

pageContext implicit variable not available to tagfile tag

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-07-16 10:47 ---
See Table JSP.8-5 of the JSP2.0 spec.

jspContext is the table of implicit objects, but pageContext is not.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29887] - Recursive Tag files modification check causes StackOverflowError

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29887.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29887

Recursive Tag files modification check causes StackOverflowError





--- Additional Comments From [EMAIL PROTECTED]  2004-07-16 11:36 ---
Oops, obviously forgot to upload the patch. Your fix makes absolute sense.
Thanks for yet another quick reaction!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat featured in JDJ Editor's choice

2004-07-16 Thread Shapira, Yoav

Hi,
Cool -- thanks for sharing ;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Sriram N [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 12:50 AM
To: Tomcat Developers List
Subject: Tomcat featured in JDJ Editor's choice

Hi all:

From: http://www.sys-con.com/story/?storyid=45506de=1

Tomcat 5.0
Tomcat is the servlet container that's used in the official Reference
Implementation for the Java Servlet and JavaServer Pages technologies.
The
Java
Servlet and JavaServer Pages specifications are developed by Sun under
the
Java
Community Process.
jakarta.apache.org/tomcat/

Tomcat needs no introduction and is the well-respected workhorse of
many
Java
application environments. The 5.0 release builds on that reputation
with
support for JavaServer Pages 2.0, the Java Servlet 2.4 API, and some
nice
performance improvements. If that wasn't reason enough to try the
download,
you
can now monitor your faster servlets using JMX.


-- Sriram



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30149] New: - IllegalArgumentException when using context-param in web.xml

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30149.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30149

IllegalArgumentException when using context-param in web.xml

   Summary: IllegalArgumentException when using context-param in
web.xml
   Product: Tomcat 5
   Version: Nightly Build
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


It appears any wars with context-param failed to
deploy.  When parsing web.xml, context-param elements are parsed and added
to map twice for some reason, and thus cause the second adding to throw
IllegalArgumentException.

I instrumented
apache/jakarta-tomcat-
catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
addParameter method

Here it shows context-param was added twice:

INFO: Installing web application at context path /jsp-examples from URL
file:/.../jakarta-tomcat-5/webapps/jsp-examples
### name=webmaster [EMAIL PROTECTED]
### map={}
### value=null
### to add ok
### name=webmaster [EMAIL PROTECTED]
### [EMAIL PROTECTED]
### [EMAIL PROTECTED]
### to throw

To repruduce it, just add to jsp-examples/web-inf/web.xml:

context-param
  param-namewebmaster/param-name
  param-value[EMAIL PROTECTED]/param-value
  description
The EMAIL address of the administrator to whom questions
and comments about this application should be addressed.
  /description
/context-param

Stack trace from catalina.log:
Jul 15, 2004 9:54:37 PM org.apache.tomcat.util.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
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.tomcat.util.IntrospectionUtils.callMethodN
(IntrospectionUtils.java:907)
at org.apache.tomcat.util.digester.CallMethodRule.end
(CallMethodRule.java:576)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
at org.apache.tomcat.util.digester.Digester.endElement
(Digester.java:1057)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.ContextConfig.applicationConfig
(ContextConfig.java:234)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:557)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:187)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4285)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:755)
at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install
(StandardHostDeployer.java:276)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployWARs
(HostConfig.java:584)
at org.apache.catalina.startup.HostConfig.deployApps
(HostConfig.java:398)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:997)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:298)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardHost.backgroundProcess
(StandardHost.java:800)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1511)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1520)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run
(ContainerBase.java:1500)
at 

DO NOT REPLY [Bug 30150] New: - INFO: XML Validation disabled is displayed on tomcat console

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30150.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30150

INFO: XML Validation disabled is displayed on tomcat console

   Summary: INFO: XML Validation disabled is displayed on tomcat
console
   Product: Tomcat 5
   Version: 5.0.25
  Platform: Other
OS/Version: Windows NT/2K
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


INFO: XML Validation disabled is displayed on tomcat console. So, whatever 
changes I make to server.xml are not getting reflected. Actually I want to 
disable the session persistence mechanism in Tomcat 5. Could anyone please tell 
me about why Iam getting the following message 'INFO: XML Validation disabled' 
on tomcat console and how can I enable it to use server.xml. 

Mainly tell me a wait out for disabling session persistence in tomcat 5. Iam in 
urgent requirement of it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat non-sticky load balancing

2004-07-16 Thread senthilnathan thiagarajan
 Hai,

We have an  use case where each web request will be served by any one
server from a cluster of tomcat servers (non-sticky load balancing).
Session replication is not done as we maintain nothing in the session.


The following are the steps involved in form-based-login in Tomcat 5.16

Client
Server

Request for an un autheticated resource a.jsp


  Req 1

Redirect to login -page

---

   
Request for j_security_check

--
 Req 2

Authentication passed

---

 
 Redirect to a.jsp (Getting reauthenticated  register the session
if Single Sign on enabled )
 
--
 Req 3



I think there is some state maintained by tomcat across these three
requests. Therefore these three request needs to be processed by the
same server for authentication to be successful.

Please let us know the following things

   1. Why is state maintained across the 3 requests. Can it be avoided.
   2. How can we achieve non sticky load balancing with tomcat without
doing session replication.



Regards
Senthil

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



StandardServer - await() shutdown

2004-07-16 Thread Lukas Bradley
I'm looking at the shutdown command wait code, and I'm a bit perplexed at
one piece.

 

Could someone explain to me how the following code from StandardServer,
starting from line 526 (v5.0.27), helps protect from a Dos attack?  Why not
simply limit the incoming stream to 1024, and be done with it?

 

There is some crazy random Star Trek code in here.   Please learn me.

 

Lukas

 

 

// Read a set of characters from the socket

StringBuffer command = new StringBuffer();

int expected = 1024; // Cut off to avoid DoS attack

while (expected  shutdown.length()) {

if (random == null)

random = new Random(System.currentTimeMillis());

expected += (random.nextInt() % 1024);

}

while (expected  0) {

int ch = -1;

try {

ch = stream.read();

} catch (IOException e) {

System.err.println(StandardServer.await: read:  + e);

e.printStackTrace();

ch = -1;

}

if (ch  32)  // Control character or EOF terminates loop

break;

command.append((char) ch);

expected--;

}



DO NOT REPLY [Bug 30150] - INFO: XML Validation disabled is displayed on tomcat console

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30150.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30150

INFO: XML Validation disabled is displayed on tomcat console

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: StandardServer - await() shutdown

2004-07-16 Thread jean-frederic clere
Lukas Bradley wrote:
I'm looking at the shutdown command wait code, and I'm a bit perplexed at
one piece.
 

Could someone explain to me how the following code from StandardServer,
starting from line 526 (v5.0.27), helps protect from a Dos attack?  Why not
simply limit the incoming stream to 1024, and be done with it?
 

There is some crazy random Star Trek code in here.   Please learn me.
Bah! TC listens on 127.0.0.1:(normaly: 8005). If someone is doing a DoS attack 
on localhost then he is logged in my machine. Use Server port=0 
shutdown=SHUTDOWN debug=0 in server.xml if you think your machine is unsafe.

 

Lukas
 

 

// Read a set of characters from the socket
StringBuffer command = new StringBuffer();
int expected = 1024; // Cut off to avoid DoS attack
while (expected  shutdown.length()) {
if (random == null)
random = new Random(System.currentTimeMillis());
expected += (random.nextInt() % 1024);
}
while (expected  0) {
int ch = -1;
try {
ch = stream.read();
} catch (IOException e) {
System.err.println(StandardServer.await: read:  + e);
e.printStackTrace();
ch = -1;
}
if (ch  32)  // Control character or EOF terminates loop
break;
command.append((char) ch);
expected--;
}


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 30135] - Chunked Transfer Encoding should ignore Content Length

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30135.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30135

Chunked Transfer Encoding should ignore Content Length





--- Additional Comments From [EMAIL PROTECTED]  2004-07-16 15:06 ---
The problem is that I am using a 3rd party library for my HTTP requests and it 
sends out a Content-Length header no matter what.  I manually set the Transfer-
Encoding to chunked, and assumed that everything should still work since the 
RFC states that Content-Length will be ignored.  

The EOF or Invalid Chunk should only be thrown if the underlying stream is 
really closed or the chunk format is invalid.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30150] - INFO: XML Validation disabled is displayed on tomcat console

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30150.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30150

INFO: XML Validation disabled is displayed on tomcat console





--- Additional Comments From [EMAIL PROTECTED]  2004-07-16 15:17 ---
server.xml is not validated (search tomcat-user@ ...). Validation
enabled/disabled is for tld and web.xml. Search for xmlValidation in server.xml
if you want to turn it on.

Next time please ask in [EMAIL PROTECTED] before filling bugs.

-- Jeanfrancois

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30152] New: - content length when length Integer.MAX_VALUE

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30152.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30152

content length when length  Integer.MAX_VALUE

   Summary: content length when length  Integer.MAX_VALUE
   Product: Tomcat 4
   Version: 4.1.30
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Trying to do a HTTP PUT request with content length of a bit above 2GB.

Expected result:

1) req.getContentLength() returns -1 (unknown)
2) req.getHeader(content-length) returns raw string as seen in the HTTP message
3) req.getInputStream() actually returns an input stream from which the actual
number of bytes advertised in the request header can be read.

Current result:

1b) req.getContentLength() returns negative value but not -1
2b) req.getHeader(content-length) returns raw string as seen in the HTTP
message (ok!)
3b) no bytes can be read from req.getInputStream()

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29258] - Tomcat 5.0.24+ jmx.jar may not be in CLASSPATH

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29258.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29258

Tomcat 5.0.24+ jmx.jar may not be in CLASSPATH

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |



--- Additional Comments From [EMAIL PROTECTED]  2004-07-16 16:22 ---
I just downloaded 5.0.27 binary and it still occurs:
[EMAIL PROTECTED]:~/jakarta-tomcat-5.0.27$ bin/catalina.sh run
Using CATALINA_BASE:   /home/sltam/jakarta-tomcat-5.0.27
Using CATALINA_HOME:   /home/sltam/jakarta-tomcat-5.0.27
Using CATALINA_TMPDIR: /home/sltam/jakarta-tomcat-5.0.27/temp
Using JAVA_HOME:   /usr/lib/kaffe
Due to new licensing guidelines mandated by the Apache Software
Foundation Board of Directors, a JMX implementation can no longer
be distributed with the Apache Tomcat binaries. As a result, you
must download a JMX 1.2 implementation (such as the Sun Reference
Implementation) and copy the JAR containing the API and
implementation of the JMX specification to:
${catalina.home}/bin/jmx.jar
[EMAIL PROTECTED]:~/jakarta-tomcat-5.0.27$

JDK: kaffe 1.1.5 branch
System: Debian Linux unstable i686

Adding this to catalina.sh solves:
CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/jmx.jar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Some JK2 ideas

2004-07-16 Thread Endre Stølsvik
On Thu, 15 Jul 2004, jean-frederic clere wrote:

| 
| 
|  2. workers2.properties - workers2.xml using apr_utils xml support.
|  Get rid of 'assumed' properties like figuring out the context from url.
|  Get rid of copying mappings from 'default' to virtual hosts.
|  Of course, it would require few extra 'boring' statements in the config for
|  each mapping.
|
| -0, that does not bring new features.


 ?


What? Understandability and Get-the-SHIT-up-and-God-damn-running-for-
others-than-people-that-have-master-degrees-in-jk-ibility aren't features
for you?

All the jk's I've been exposed for -sucks- when it comes to these aspects
- ANYTHING that makes it easier to use are VERY WELCOME feature.

Endre


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Some JK2 ideas

2004-07-16 Thread Endre Stølsvik
On Wed, 14 Jul 2004, Jess Holle wrote:

|
| Using a modular multi-XML-file approach does not pollute the
| result with any additional server-specific or Tomcat-specific
| baggage.  It just makes management and automated
| configuration/installation much more workable.
| 
| 
| In contrary, it makes it simpler, cause you have a common denominator, and
| that is 'well documented' config file, usable on any container.
| 
| 
| What I'm saying here is that I want modular per-web-app config-file
| support.  I don't care if any/all server-specific and Tomcat-specific
| stuff is removed from them -- actually that is laudable in the long term
| even if a bit painful in the short term.  I just don't want to be forced
| into shoving the whole configuration into a single file (or using XML
| entity reference hacks which are beyond ugly -- and require the main
| file to be modified to add extra entity references which is highly
| undesirable).

Couldn't agree more.

|
| JkUriSet can be used only on the Apache server.
| So, the question is, are we adapting the apache module to other servers, or
| we have a
| container independent module.
| 
| 
| I think you are missing my point:
|
| Go ahead and remove JkUriSet, just add equivalent functionality to
| do per-web-app configuration files.  Just do it in a
| server-independent, XML-based way this time around.

Most definately.

  But get them files understandable!!
(I, contrary to many others, apparently, like auto-stuff to a degree.
However, I most definately need to know -what- is assumed, possibly using
some what-are-assumed command, or log the assumptions to file on
startup)

Endre


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Some JK2 ideas

2004-07-16 Thread Remy Maucherat
Endre Stølsvik wrote:
On Thu, 15 Jul 2004, jean-frederic clere wrote:
| 
| 
|  2. workers2.properties - workers2.xml using apr_utils xml support.
|  Get rid of 'assumed' properties like figuring out the context from url.
|  Get rid of copying mappings from 'default' to virtual hosts.
|  Of course, it would require few extra 'boring' statements in the config for
|  each mapping.
|
| -0, that does not bring new features.
What? Understandability and Get-the-SHIT-up-and-God-damn-running-for-
others-than-people-that-have-master-degrees-in-jk-ibility aren't features
for you?
All the jk's I've been exposed for -sucks- when it comes to these aspects
- ANYTHING that makes it easier to use are VERY WELCOME feature.
Cool that you have useful stuff to contribute. I'll kick you out of this 
list, and recommend you don't come back.

Thanks,
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/naming NamingContextEnumeration.java NamingContextBindingsEnumeration.java NamingContext.java

2004-07-16 Thread remm
remm2004/07/16 10:09:50

  Modified:catalina/src/share/org/apache/naming/resources
WARDirContext.java FileDirContext.java
   catalina/src/share/org/apache/naming
NamingContextEnumeration.java
NamingContextBindingsEnumeration.java
NamingContext.java
  Log:
  - Update to Java 2 collections.
  - This will remove lots of syncs (I believe we shouldn't use dynamic updates to 
JNDI, and the object doesn't need to be
thread safe).
  
  Revision  ChangesPath
  1.6   +9 -9  
jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources/WARDirContext.java
  
  Index: WARDirContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources/WARDirContext.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WARDirContext.java13 Mar 2004 17:51:53 -  1.5
  +++ WARDirContext.java16 Jul 2004 17:09:50 -  1.6
  @@ -20,11 +20,11 @@
   import java.io.File;
   import java.io.IOException;
   import java.io.InputStream;
  +import java.util.ArrayList;
   import java.util.Arrays;
   import java.util.Date;
   import java.util.Enumeration;
   import java.util.Hashtable;
  -import java.util.Vector;
   import java.util.zip.ZipEntry;
   import java.util.zip.ZipException;
   import java.util.zip.ZipFile;
  @@ -277,12 +277,12 @@
   public NamingEnumeration list(Name name)
   throws NamingException {
   if (name.isEmpty())
  -return new NamingContextEnumeration(list(entries));
  +return new NamingContextEnumeration(list(entries).iterator());
   Entry entry = treeLookup(name);
   if (entry == null)
   throw new NamingException
   (sm.getString(resources.notFound, name));
  -return new NamingContextEnumeration(list(entry));
  +return new NamingContextEnumeration(list(entry).iterator());
   }
   
   
  @@ -321,12 +321,12 @@
   public NamingEnumeration listBindings(Name name)
   throws NamingException {
   if (name.isEmpty())
  -return new NamingContextBindingsEnumeration(list(entries));
  +return new NamingContextBindingsEnumeration(list(entries).iterator());
   Entry entry = treeLookup(name);
   if (entry == null)
   throw new NamingException
   (sm.getString(resources.notFound, name));
  -return new NamingContextBindingsEnumeration(list(entry));
  +return new NamingContextBindingsEnumeration(list(entry).iterator());
   }
   
   
  @@ -797,9 +797,9 @@
   /**
* List children as objects.
*/
  -protected Vector list(Entry entry) {
  +protected ArrayList list(Entry entry) {
   
  -Vector entries = new Vector();
  +ArrayList entries = new ArrayList();
   Entry[] children = entry.getChildren();
   Arrays.sort(children);
   NamingEntry namingEntry = null;
  @@ -814,7 +814,7 @@
   }
   namingEntry = new NamingEntry
   (children[i].getName(), object, NamingEntry.ENTRY);
  -entries.addElement(namingEntry);
  +entries.add(namingEntry);
   }
   
   return entries;
  
  
  
  1.6   +7 -11 
jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources/FileDirContext.java
  
  Index: FileDirContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources/FileDirContext.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FileDirContext.java   2 Jul 2004 16:25:31 -   1.5
  +++ FileDirContext.java   16 Jul 2004 17:09:50 -  1.6
  @@ -22,10 +22,10 @@
   import java.io.FileOutputStream;
   import java.io.IOException;
   import java.io.InputStream;
  +import java.util.ArrayList;
   import java.util.Arrays;
   import java.util.Date;
   import java.util.Hashtable;
  -import java.util.Vector;
   
   import javax.naming.NameAlreadyBoundException;
   import javax.naming.NamingEnumeration;
  @@ -305,9 +305,7 @@
   throw new NamingException
   (sm.getString(resources.notFound, name));
   
  -Vector entries = list(file);
  -
  -return new NamingContextEnumeration(entries);
  +return new NamingContextEnumeration(list(file).iterator());
   
   }
   
  @@ -334,9 +332,7 @@
   throw new NamingException
   (sm.getString(resources.notFound, name));
   
  -Vector entries = list(file);
  -
  -return new NamingContextBindingsEnumeration(entries);
  +return new 

Re: Some JK2 ideas

2004-07-16 Thread Remy Maucherat
Endre Stølsvik wrote:
 | Cool that you have useful stuff to contribute. I'll kick you out of 
this
 | list, and recommend you don't come back.

I should have added if you keep this attitude at the end.
 But isn't -kicking me off the list- rather harsh? I didn't flame 
anyone in
 particular, or something like that - I stated, slightly hotheaded, that
 I don't find jk too easy to understand at this point, and that anything
 that makes it easier is something I'd appreciate -very much-.

I don't know you, so I overreacted. You just can't be this aggressive 
(that was towards a long time contributor) without any tangible reason 
to justify it, and I couldn't see anything here.

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 30155] New: - Problem with viewing mail session

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30155.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30155

Problem with viewing mail session

   Summary: Problem with viewing mail session
   Product: Tomcat 5
   Version: 5.0.25
  Platform: PC
   URL: http://localhost:8080/admin/resources/listMailSessions.d
o?resourcetype=Contextpath=%2Fmyapphost=localhostdoma
in=Catalinaforward=MailSessions+List+Setup
OS/Version: Windows NT/2K
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Webapps:Administration
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


After compile and deploy the application (myapp) to tomcat, trying to view the
Mail Session set-up in Admin, Admin throws exception.  
It doesn't happen at very first time to set up the Mail Session, after modify
the setting, or modifying the server context file, it will keep throwing the
exception even undo  all changes in config file. 
This bug could be repeated after following the fix of  bug #29255.

Exception:
javax.servlet.ServletException: Exception retrieving attribute 'mail.smtp.host'

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
admin.resources.listMailSessions_jsp._jspService(listMailSessions_jsp.java:431)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Root Cause:

javax.servlet.jsp.JspException: Exception retrieving attribute 'mail.smtp.host'
org.apache.webapp.admin.AttributeTag.doEndTag(AttributeTag.java:170)

admin.resources.listMailSessions_jsp._jspx_meth_controls_attribute_1(listMailSessions_jsp.java:761)
admin.resources.listMailSessions_jsp._jspService(listMailSessions_jsp.java:391)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Some JK2 ideas

2004-07-16 Thread Andy Armstrong
Endre Stølsvik wrote:
All the jk's I've been exposed for -sucks- when it comes to these aspects
- ANYTHING that makes it easier to use are VERY WELCOME feature.
I have concrete examples of people giving up on Tomcat altogether for no 
other reason than the fact that they couldn't get JK configured. By 
comparison the rest of the task of configuring Tomcat is a walk in the 
park. Please let's not be so up ourselves that we forget that it's nice 
for people to actually be able to use the software.

--
Andy Armstrong
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 30159] New: - Incorrect spelling of word in .jspx example

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30159.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30159

Incorrect spelling of word in .jspx example

   Summary: Incorrect spelling of word in .jspx example
   Product: Tomcat 5
   Version: Unknown
  Platform: All
OS/Version: All
Status: NEW
  Severity: Minor
  Priority: Other
 Component: Webapps:Examples
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In the examples application, the word prove is spelled proove at path, in
the last line of generated code (where the current date/time is displayed):

/jsp-examples/jsp2/jspx/basic.jspx

Version: the current release, 5.0.27 - not shown in the Apache Bug Database
Version selection box.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Some JK2 ideas

2004-07-16 Thread Cavan Morris
Andy Armstrong wrote:
I have concrete examples of people giving up on Tomcat altogether for 
no other reason than the fact that they couldn't get JK configured. By 
comparison the rest of the task of configuring Tomcat is a walk in the 
park. Please let's not be so up ourselves that we forget that it's 
nice for people to actually be able to use the software.
As a lurker on this list I can give myself and everyone I've ever worked 
with as concrete examples of some people that have given up on 4.1+ 
tomcat because of JK configuration.

I can count at least 12 projects I have worked on, or am working on, 
that are still on Tomcat 4.0.6 with mod_webapp because we could never 
get JK to do what we wanted.  That is, mount this webapp at that URI in 
one line and be done with it.  All the other JK features are great but 
90% of the configurations are going to be like the one I just described 
and no one can figure out how to do it.

I love what you guys are doing.  I think you should strive to make the 
most common configuration as simple as mod_webapp and allow people to 
add complexity if their needs require it.

-Cavan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-servletapi-5/jsr152/examples/jsp2/jspx basic.jspx

2004-07-16 Thread kinman
kinman  2004/07/16 14:42:07

  Modified:jsr152/examples/jsp2/jspx basic.jspx
  Log:
  - Bugzilla 30159: typo in example.
  
  Revision  ChangesPath
  1.5   +1 -1  jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.jspx
  
  Index: basic.jspx
  ===
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.jspx,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- basic.jspx21 Nov 2003 22:06:02 -  1.4
  +++ basic.jspx16 Jul 2004 21:42:07 -  1.5
  @@ -23,7 +23,7 @@
   namespace declarations to make the output of this page a valid XHTML
   Basic document.
   p/
  -Just to proove this is live, here's some dynamic content:
  +Just to prove this is live, here's some dynamic content:
   jsp:useBean id=now class=java.util.Date /
   fmt:formatDate value=${now} pattern= d, , H:mm:ss/
 /body
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30159] - Incorrect spelling of word in .jspx example

2004-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30159.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30159

Incorrect spelling of word in .jspx example

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]