Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources messages.properties

2003-09-14 Thread Eric Carmichael
This change leads to incorrect SMAPs of TemplateText nodes with 3 or fewer
characters, because the "if (textSize <= 3)" logic isn't mirrored in
SmapUtil.java.

Moving the "if (textSize <= 3)" block into the "if
(ctxt.getOptions().genStringAsCharArray())" block seems to be a quick way to
fix the problem for genStrAsCharArray=false (which, if
genStrAsCharArray=true is still experimental, is the only case that really
matters), but I haven't followed this thread closely enough to feel
confident committing that change.

Eric


- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 2:46 PM
Subject: cvs commit:
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources
messages.properties


> kinman  2003/09/09 14:46:22
>
>   Modified:jasper2/src/share/org/apache/jasper
> EmbeddedServletOptions.java JspC.java Options.java
>jasper2/src/share/org/apache/jasper/compiler Generator.java
>jasper2/src/share/org/apache/jasper/resources
> messages.properties
>   Log:
>   - Add an compilation option to generate writing char arrays instead of
Strings
> for template texts.
>
> OK, I'm committing the code experimentally.  Please try it out and see
> if it improves performance.  To turn it on, set the initParam
> genStrAsCharArray to true.
>
>   Revision  ChangesPath
>   1.6   +28 -3
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbeddedServletOpt
ions.java
>
>   Index: EmbeddedServletOptions.java
>   ===
>   RCS file:
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Embedded
ServletOptions.java,v
>   retrieving revision 1.5
>   retrieving revision 1.6
>   diff -u -r1.5 -r1.6
>   --- EmbeddedServletOptions.java 6 Aug 2003 20:04:05 - 1.5
>   +++ EmbeddedServletOptions.java 9 Sep 2003 21:46:22 - 1.6
>   @@ -157,6 +157,11 @@
>private boolean isSmapDumped = false;
>
>/**
>   + * Are Text strings to be generated as char arrays?
>   + */
>   +private boolean genStringAsCharArray = false;
>   +
>   +/**
> * I want to see my generated servlets. Which directory are they
> * in?
> */
>   @@ -290,6 +295,13 @@
>}
>
>/**
>   + * Are Text strings to be generated as char arrays?
>   + */
>   +public boolean genStringAsCharArray() {
>   +return this.genStringAsCharArray;
>   +}
>   +
>   +/**
> * Class ID for use in the plugin tag when the browser is IE.
> */
>public String getIeClassId() {
>   @@ -513,6 +525,19 @@
>} else {
>if (log.isWarnEnabled()) {
>
log.warn(Localizer.getMessage("jsp.warning.dumpSmap"));
>   +}
>   +}
>   +}
>   +
>   +String genCharArray =
config.getInitParameter("genStrAsCharArray");
>   +if (genCharArray != null) {
>   +if (genCharArray.equalsIgnoreCase("true")) {
>   +genStringAsCharArray = true;
>   +} else if (genCharArray.equalsIgnoreCase("false")) {
>   +genStringAsCharArray = false;
>   +} else {
>   +if (log.isWarnEnabled()) {
>   +
log.warn(Localizer.getMessage("jsp.warning.genchararray"));
>}
>}
>}
>
>
>
>   1.60  +10 -3
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
>
>   Index: JspC.java
>   ===
>   RCS file:
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.jav
a,v
>   retrieving revision 1.59
>   retrieving revision 1.60
>   diff -u -r1.59 -r1.60
>   --- JspC.java 2 Sep 2003 21:40:00 - 1.59
>   +++ JspC.java 9 Sep 2003 21:46:22 - 1.60
>   @@ -408,6 +408,13 @@
>return false;
>}
>
>   +/**
>   + * Are Text strings to be generated as char arrays?
>   + */
>   +public boolean genStringAsCharArray() {
>   +return false;
>   +}
>   +
>public String getIeClassId() {
>return ieClassId;
>}
>
>
>
>   1.18  +8 -3
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.java
>
>   Index: Options.java
>   ===
>   RCS file:
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.
java,v
>   retrieving revision 1.17
>   retrieving revision 1.18
>   diff -u -r1.17 -r1.18
>   --- Options.java 2 Sep 2003 21:40:00 - 1.17
>   +++ Options.java 9 Sep 2003 21:46:22 - 1.18
>   @@ -191,4 +191,9 @@
> * Obtain a Tag Plugin Manager
> */
>public TagPluginManager getTagPluginManager();
>   +
>   +/**
>   + * Are Text strings to be generated as char arrays?
>   + */
>   +public boolean genStrin

DO NOT REPLY [Bug 23169] New: - JSP servlet fails on error "java.lang.StackOverflowError"

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=23169

JSP servlet fails on error "java.lang.StackOverflowError"

   Summary: JSP servlet fails on error
"java.lang.StackOverflowError"
   Product: Tomcat 4
   Version: 4.1.24
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Hello,
I have recently installed Tomcat on Mandrake 9.1 with Jetspeed/Turbine provide 
the portal framework. Its running on JVM 1.4.2_01. This has been running on 
Windows XP with no problems whatsoever. However, the service initialization 
fails on Mandrake with a java.lang.StackOverflowError error. The log is as 
follows :

2003-09-12 16:29:27 HostConfig[localhost]: Deploying web application directory 
SWIFTTDemo
2003-09-12 16:29:27 StandardHost[localhost]: Installing web application at 
context path /SWIFTTDemo from URL file:/var/tomcat4/webapps/SWIFTTDemo
2003-09-12 16:29:27 WebappLoader[/SWIFTTDemo]: Deploying class repositories to 
work directory /var/tomcat4/work/Standalone/localhost/SWIFTTDemo
2003-09-12 16:29:27 WebappLoader[/SWIFTTDemo]: Deploy class files /WEB-
INF/classes to /var/tomcat4/webapps/SWIFTTDemo/WEB-INF/classes
2003-09-12 16:29:27 WebappLoader[/SWIFTTDemo]: Deploy JAR /WEB-INF/lib/jess.jar 
to /var/tomcat4/webapps/SWIFTTDemo/WEB-INF/lib/jess.jar
2003-09-12 16:29:27 StandardManager[/SWIFTTDemo]: Seeding random number 
generator class java.security.SecureRandom
2003-09-12 16:29:27 StandardManager[/SWIFTTDemo]: Seeding of random number 
generator has been completed
2003-09-12 16:29:27 StandardWrapper[/SWIFTTDemo:default]: Loading container 
servlet default
2003-09-12 16:29:27 default: init
2003-09-12 16:29:27 StandardWrapper[/SWIFTTDemo:invoker]: Loading container 
servlet invoker
2003-09-12 16:29:27 invoker: init
2003-09-12 16:29:27 jsp: init
2003-09-12 16:29:27 StandardContext[/SWIFTTDemo]: Servlet /SWIFTTDemo threw load
() exception
javax.servlet.ServletException: Servlet.init() for servlet TomcatUtil threw 
exception
at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source)
at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown 
Source)
at org.apache.catalina.core.StandardContext.start(Unknown Source)
at org.apache.catalina.core.ContainerBase.addChildInternal(Unknown 
Source)
at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
at org.apache.catalina.core.StandardHostDeployer.install(Unknown Source)
at org.apache.catalina.core.StandardHost.install(Unknown Source)
at org.apache.catalina.startup.HostConfig.deployDirectories(Unknown 
Source)
at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
at org.apache.catalina.startup.HostConfig.start(Unknown Source)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown 
Source)
at org.apache.catalina.core.ContainerBase.start(Unknown Source)
at org.apache.catalina.core.StandardHost.start(Unknown Source)
at org.apache.catalina.core.ContainerBase.start(Unknown Source)
at org.apache.catalina.core.StandardEngine.start(Unknown Source)
at org.apache.catalina.core.StandardService.start(Unknown Source)
at org.apache.catalina.core.StandardServer.start(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
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.catalina.startup.Bootstrap.main(Unknown Source)
- Root Cause -
java.lang.StackOverflowError

Please help !

- regards
Navin

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



DO NOT REPLY [Bug 23168] New: - Authentication in tomcat 4.1.27

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=23168

Authentication in tomcat 4.1.27

   Summary: Authentication in tomcat 4.1.27
   Product: Tomcat 4
   Version: 4.1.27
  Platform: All
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I have a question.
  I am trying to implement error pages for my site,so I 
  specify the particular exception in the web.xml file thus: 
  
   java.lang.Exception
   /jsp/error500.jsp
  

  or

  
   java.lang.Throwable
   /jsp/error500.jsp
  

  They worked well at tomcat4.1.12. but they couldn't work at tomcat4.1.24,
  tomcat4.1.27 and tomcat5.0.8 beta .
   
  can u help me ? thanks !

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



cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/io FileUtil.java

2003-09-14 Thread billbarker
billbarker2003/09/14 14:28:32

  Modified:src/share/org/apache/tomcat/util/io FileUtil.java
  Log:
  Restore the test that I mistakenly removed on the last commit.
  
  Revision  ChangesPath
  1.11  +8 -5  jakarta-tomcat/src/share/org/apache/tomcat/util/io/FileUtil.java
  
  Index: FileUtil.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/io/FileUtil.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- FileUtil.java 14 Sep 2003 04:17:47 -  1.10
  +++ FileUtil.java 14 Sep 2003 21:28:32 -  1.11
  @@ -210,8 +210,11 @@
if (File.separatorChar  == '\\') {
// On Windows check ignore case
if (!realPath.equals(canPath)){
  - if(caseSf || !realPath.equalsIgnoreCase(canPath))
  - return null;
  + int ls = realPath.lastIndexOf('\\');
  +if(ls > 0 && !realPath.substring(0,ls).equals(canPath)) {
  + if(caseSf || !realPath.equalsIgnoreCase(canPath))
  + return null;
  + }
}
}
   
  
  
  

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



DO NOT REPLY [Bug 23162] - [PATCH] German Message Resources for Manager webapp

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=23162

[PATCH] German Message Resources for Manager webapp





--- Additional Comments From [EMAIL PROTECTED]  2003-09-14 17:17 ---
Created an attachment (id=8208)
German message resources for Manager webapp

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



DO NOT REPLY [Bug 23162] New: - [PATCH] German Message Resources for Manager webapp

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=23162

[PATCH] German Message Resources for Manager webapp

   Summary: [PATCH] German Message Resources for Manager webapp
   Product: Tomcat 5
   Version: Nightly Build
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Webapps:Manager
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Patch below adds german messages to (HTML-)Manager webapp. 

webapps\manager\WEB-INF\classes\org\apache\catalina\manager -> 
LocalStrings_de.properties

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



cvs commit: jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/compressionFilters CompressionResponseStream.java

2003-09-14 Thread remm
remm2003/09/14 09:48:38

  Modified:jsr152/examples/WEB-INF/classes/compressionFilters
CompressionResponseStream.java
   jsr154/examples/WEB-INF/classes/compressionFilters
CompressionResponseStream.java
  Log:
  - Port missing compression filter patch.
  
  Revision  ChangesPath
  1.2   +5 -5  
jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
  
  Index: CompressionResponseStream.java
  ===
  RCS file: 
/home/cvs/jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CompressionResponseStream.java27 Aug 2002 13:16:55 -  1.1
  +++ CompressionResponseStream.java14 Sep 2003 16:48:38 -  1.2
  @@ -343,8 +343,8 @@
   if (debug > 1) {
   System.out.println("new GZIPOutputStream");
   }
  -gzipstream = new GZIPOutputStream(output);
   response.addHeader("Content-Encoding", "gzip");
  +gzipstream = new GZIPOutputStream(output);
   }
   gzipstream.write(b, off, len);
   
  
  
  
  1.2   +5 -5  
jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
  
  Index: CompressionResponseStream.java
  ===
  RCS file: 
/home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CompressionResponseStream.java27 Aug 2002 13:19:49 -  1.1
  +++ CompressionResponseStream.java14 Sep 2003 16:48:38 -  1.2
  @@ -343,8 +343,8 @@
   if (debug > 1) {
   System.out.println("new GZIPOutputStream");
   }
  -gzipstream = new GZIPOutputStream(output);
   response.addHeader("Content-Encoding", "gzip");
  +gzipstream = new GZIPOutputStream(output);
   }
   gzipstream.write(b, off, len);
   
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2003-09-14 Thread remm
remm2003/09/14 09:31:56

  Modified:webapps/docs changelog.xml
  Log:
  - Changelog update.
  
  Revision  ChangesPath
  1.21  +129 -0jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- changelog.xml 8 Sep 2003 14:31:13 -   1.20
  +++ changelog.xml 14 Sep 2003 16:31:56 -  1.21
  @@ -13,6 +13,135 @@
   
   
   
  +
  +
  +  
  +
  +
  +
  +  
  +  Refactor persistent manager periodic processing (jfarcand)
  +  
  +  
  +  Allow extending StandardPipeline (jfarcand)
  +  
  +  
  +  Refactor manager initialization, move it into ContextConfig, and remove
  +  Cluster.setDistributable (remm)
  +  
  +  
  +  Added in support for sending out access time pings to the cluster, and
  +  for session.invalidate to go out to the other nodes in the cluster
  +  (fhanik)
  +  
  +  
  +  Remove the artificial limit of 3 for classpath creation (remm)
  +  
  +  
  +  In SecurityUtil, always associate a Subject; if not created, then create
  +  a default one (jfarcand)
  +  
  +  
  +  Fix security policy after move of commons-logging (remm)
  +  
  +  
  +  Don't do a real flush at the end of request processing (remm)
  +  
  +  
  +  Remove useless flush in the ErrorReportValve (remm)
  +  
  +  
  +  Throw ThreadDeath for invalid classloader accesses (remm)
  +  
  +   
  +  23131: Fix wrong classloader binding when reloading the web
  +  application after class modifications (remm)
  +  
  +  
  +  Remove overriding the mapped servlet path with the jsp-file in the 
  +  request dispatcher (remm)
  +  
  +  
  +  Add a delegate flag on the context to allow easy configuration of the 
  +  delegation policy, which is easier to use with JMX embedding (remm)
  +  
  +
  +
  +
  +  
  +
  +  
  +
  +
  +
  +  
  +  Add support for specifying the TrustStore algorithm, with default to
  +  the keystore algorithm (billbarker)
  +  
  +  
  +  Refactor thread pool logic to avoid deadlocks when no processor is 
  +  available (billbarker)
  +  
  +  
  +  Filter out all control chars from the response header, as mandated by
  +  the HTTP specification (remm)
  +  
  +  
  +  21763: Make certain that we don't return a bad Socket
  +  (billbarker)
  +  
  +  
  +  Refactor byte chunk buffering so that the written data fits inside the 
  +  limit; the number of byte copies is similar to what it was before (remm)
  +  
  +  
  +  Add a buffer at the socket layer, configured using the socketBuffer
  +  attribute; add handling for explicit client flushes (remm)
  +  
  +
  +
  +
  +  
  +
  +  
  +
  +
  +
  +  
  +  Add an compilation option to generate writing char arrays instead 
  +  of Strings for template texts (kinman)
  +  
  +  
  +  Fix jsp-config problem (jfarcand)
  +  
  +  
  +  Use out.print(expr) instead of out.write(String.valueOf(expr)) 
  +  for outputting expressions in template texts (kinman)
  +  
  +
  +
  +
  +  
  +
  +  
  +
  +
  +
  +  
  +  Update classloader documentation to reflect the actual classloading order
  +  (luehe)
  +  
  +  
  +  21933: Add header possibly ignored if buffer is too large,
  +  submitted by Chris Kessel (funkman)
  +  
  +
  +
  +
  +  
  +
  +
  +
   
   
 
  
  
  

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



Bug report for Watchdog [2003/09/14]

2003-09-14 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug|
|  279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug|
|  469|Unc|Nor|2001-01-17|in example-taglib.tld "urn" should be "uri" BugRat|
|  470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B|
| 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths|
|10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher|
|11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()|
|11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav|
|11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie|
|11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro|
|11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.|
|14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec|
|15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv|
+-+---+---+--+--+
| Total   13 bugs   |
+---+

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



Bug report for Tomcat 4 [2003/09/14]

2003-09-14 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  218|Unc|Nor|2000-11-02|IIS & in-process tomcat BugRat Report#333 |
| 3098|Opn|Maj|2001-08-11|RequestDispatcher on relative (to request path)   |
| 3614|Opn|Nor|2001-09-14|bug in manager webapp |
| 3755|Opn|Nor|2001-09-20|freezes at shutdown   |
| 3888|Opn|Blk|2001-09-30|WebappClassLoader: Lifecycle error : CL stopped   |
| 4138|Opn|Nor|2001-10-12|Processor threads have inconsistent ClassLoader st|
| 4350|Ass|Nor|2001-10-22|SSLAuthenticator did not associate SSO session|
| 4352|Ass|Nor|2001-10-22|JDBCRealm does not work with CLIENT-CERT auth-meth|
| 5329|New|Nor|2001-12-08|NT Service exits startup before Tomcat is finished|
| 5598|Opn|Maj|2001-12-27|(JSP Problem) RequestDispatcher doesn't include HT|
| 5704|Ass|Maj|2002-01-05|CgiServlet corrupting images? |
| 5715|Opn|Nor|2002-01-07|response.setContentType() in Filter.doFilter not c|
| 5759|Opn|Maj|2002-01-09|CGI servlet mapping by extension *.cgi does not wo|
| 5762|Opn|Maj|2002-01-09|CGI servlet misses to include port number in HTTP_|
| 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob|
| 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi|
| 5858|New|Enh|2002-01-15|Add tomcat dir to java.library.path   |
| 5952|Opn|Nor|2002-01-22|Refence to $JAVACMD  in tomcat.conf incorrect in R|
| 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio|
| 6218|Opn|Nor|2002-02-04|Relative links broken for servlets|
| 6229|New|Enh|2002-02-04|Need way to specify where to write catalina.out   |
| 6399|New|Nor|2002-02-12|unknown protocol: https   |
| 6408|New|Enh|2002-02-12|Starting tomcat from a cygwin bash shell using 'st|
| 6582|New|Min|2002-02-20|Sample code does not match behavior   |
| 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI|
| 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam|
| 6649|New|Nor|2002-02-25|jakarta-servletapi-4 build using java 1.4 javadoc |
| 6659|New|Nor|2002-02-25|HttpUtils.getRequestURL gives incorrect URL with w|
| 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty|
| 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store   |
| 7080|New|Maj|2002-03-13|Interbase JDBCRealm - Bug # 5564 - Have a safe fix|
| 7190|New|Nor|2002-03-18|GenericServlet spurious log's in init(), destroy()|
| 7207|New|Nor|2002-03-18|Redeployment Problem under Tomcat 4.0.2   |
| 7360|New|Nor|2002-03-22|res-sharing-scope not supported   |
| 7366|New|Enh|2002-03-22|ISAPI Redirector Replacement  |
| 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output|
| 7506|New|Nor|2002-03-27|Reading InputStream returned in the following sena|
| 7571|New|Nor|2002-03-28|DataInputStream readLong() Problem|
| 7588|New|Nor|2002-03-28|Session cannot be established if there are multipl|
| 7676|New|Enh|2002-04-02|Allow name property to use match experssions in  task from catalina-ant fails |
|10372|New|Nor|2002-07-01|SingleSignOn toString() throws NullPointerExceptio|
|10373|New|Nor|2002-07-01|Wrong response status code for custom error page  |
|10385|Opn|Nor|2002-07-01|SSI-Servlet produces invalid character encoding in|
|10418|Opn|Min|2002-07-02|logic whether  URL needs to be encoded in HttpServ|
|10419|Opn|Min|2002-07-02|Session-ID grabbing from Request accepts invalid s|
|10452|New|Nor|2002-07-03|WAR fails to expand fully when 2+ Tomcat instances|
|10457|New|Enh|2002-07-03|Patch submission for DefaultServlet/WebdavServlet |
|10469|New|Nor|2002-07-04|URLs of resources from application archives contai|
|10526|New|Nor|2002-07-06|Authenticators do not always cache the Principal  |
|10531|New|Nor|2002-07-07|Allow clean build of Coyote from CVS  |
|10541|New|Nor|2002-07-08|Content-length head

Bug report for Tomcat 3 [2003/09/14]

2003-09-14 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  258|Unc|Nor|2000-11-27|response.SendRedirect() resets/destroys Cookies th|
| 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt|
| 2478|Opn|Cri|2001-07-06|Passing Session variables between JSP's and Servle|
| 4551|Opn|Nor|2001-10-31|Ctx( /tt01 ): IOException in: R( /tt01 + /com/abc/|
| 4893|Unc|Blk|2001-11-15|Tomcat dies with following error..|
| 4980|New|Min|2001-11-20|Startup message indicates incorrect log file  |
| 4994|New|Nor|2001-11-21|Tomcat needs a mechanism for clean and certain shu|
| 5064|New|Cri|2001-11-25|Socket write error when include files is more than|
| 5108|New|Maj|2001-11-26|Docs for Tomcat 3.2.x appear to be for Tomcat 3.3 |
| 5137|New|Nor|2001-11-27|Null pointer in class loader after attempting to r|
| 5160|Unc|Maj|2001-11-28|'IllegalStateException'   |
| 5331|New|Nor|2001-12-09|getPathInfo vs URL normalization  |
| 5510|New|Blk|2001-12-19|How to call ejb deployed in JBoss from Tomcat serv|
| 5756|New|Nor|2002-01-08|jspc.bat exits with wrong ERRORLEVEL  |
| 5797|New|Nor|2002-01-10|UnCatched ? StringIndexOutOfBoundsException: Strin|
| 6027|New|Maj|2002-01-25|Tomcat  Automatically shuts down as service   |
| 6168|New|Blk|2002-02-01|IllegalStateException |
| 6451|New|Cri|2002-02-14|Stackoverflow |
| 6478|New|Enh|2002-02-14|Default Tomcat Encoding   |
| 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c|
| 6648|New|Nor|2002-02-25|jakarta-servletapi build with java 1.4 javadoc err|
| 6702|New|Cri|2002-02-27|win 2k services not working   |
| 6796|New|Cri|2002-03-01|Tomcat dies periodically  |
| 6989|New|Maj|2002-03-08|Unable to read tld file during parallel JSP compil|
| 7008|Opn|Maj|2002-03-10|facade.HttpServletRequestFacade.getParameter(HttpS|
| 7013|New|Cri|2002-03-10|Entering a servlet path with non-ISO8859-1 charact|
| 7227|New|Nor|2002-03-19| directive don't work |
| 7236|New|Blk|2002-03-19|Permission denied to do thread.stop   |
| 7626|New|Nor|2002-03-29|classloader not working properly  |
| 7652|New|Cri|2002-04-01|Tomcat stalls periodically|
| 7762|New|Enh|2002-04-05|stdout logfile handling   |
| 7785|New|Blk|2002-04-06|tomcat bug in context reloading   |
| 7789|New|Maj|2002-04-06|JSP Cookie Read/Write Fails With DNS Names|
| 7863|New|Maj|2002-04-09|I have a problem when running Tomcat with IIS |
| 8154|New|Nor|2002-04-16|logrotate script in RPM rotates non-existing file |
| 8155|New|Nor|2002-04-16|Tomcat from RPM doesn't do logrotate  |
| 8187|New|Cri|2002-04-17|Errors when Tomcat used with MS Access database   |
| 8239|New|Cri|2002-04-18|Resource temporary unavailable|
| 8263|New|Cri|2002-04-18|url-pattern easy to circumvent|
| 8634|New|Nor|2002-04-30|no way to specify different modules.xml file  |
| 8992|New|Blk|2002-05-10|IE6/XP: Limitation of POST Area within HTTP reques|
| 9086|New|Enh|2002-05-14|NPE org.apache.tomcat.core.ServerSession.setAttrib|
| 9250|New|Maj|2002-05-20|outOfMemoryError  |
| 9362|New|Nor|2002-05-23|compiilation of JSP that includes a non-existant f|
| 9367|New|Maj|2002-05-23|HttpSessionBindingEvent not thrown for HttpSession|
| 9390|New|Nor|2002-05-24|jasper compilation error in tomcat|
| 9480|New|Nor|2002-05-29|Data connection pooling   |
| 9607|New|Maj|2002-06-04|precompile JSP|
| 9737|New|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p|
|1|New|Cri|2002-06-19|IOException Broken Pipe when authenticating JDBCRe|
|10039|New|Nor|2002-06-20|TimeStamp will not work correctly.|
|10047|New|Cri|2002

cvs commit: jakarta-tomcat-catalina/webapps/docs/config coyote.xml

2003-09-14 Thread remm
remm2003/09/14 06:15:48

  Modified:webapps/docs/config coyote.xml
  Log:
  - Document the new socketBuffer attribute.
  
  Revision  ChangesPath
  1.8   +6 -0  jakarta-tomcat-catalina/webapps/docs/config/coyote.xml
  
  Index: coyote.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/coyote.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- coyote.xml4 Aug 2003 05:13:36 -   1.7
  +++ coyote.xml14 Sep 2003 13:15:48 -  1.8
  @@ -217,6 +217,12 @@
 information.
   
   
  +
  +  The size (in bytes) of the buffer to be provided for socket
  +  output buffering. -1 can be specified to disable the use of a buffer.  
  +  By default, a buffers of 9000 bytes will be used.
  +
  +
   
 If set to true, the TCP_NO_DELAY option will be
 set on the server socket, which improves performance under most
  
  
  

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



DO NOT REPLY [Bug 21999] - might be wrong example in server.xml

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=21999

might be wrong  example in server.xml

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2003-09-14 12:46 ---


*** This bug has been marked as a duplicate of 15479 ***

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



DO NOT REPLY [Bug 15479] - doc typo in server.xml

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=15479

doc typo in server.xml

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2003-09-14 12:46 ---
*** Bug 21999 has been marked as a duplicate of this bug. ***

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java

2003-09-14 Thread remm
remm2003/09/14 05:19:42

  Modified:catalina/src/share/org/apache/catalina/core
StandardContext.java
  Log:
  - Remove bad import.
  
  Revision  ChangesPath
  1.93  +1 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- StandardContext.java  13 Sep 2003 17:12:45 -  1.92
  +++ StandardContext.java  14 Sep 2003 12:19:42 -  1.93
  @@ -129,7 +129,6 @@
   import org.apache.catalina.mbeans.MBeanUtils;
   import org.apache.catalina.session.PersistentManagerBase;
   import org.apache.catalina.session.StandardManager;
  -import org.apache.catalina.session.StoreBase;
   import org.apache.catalina.startup.ContextConfig;
   import org.apache.catalina.startup.TldConfig;
   import org.apache.catalina.util.CharsetMapper;
  
  
  

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



Re: mod_jk 1.2.5 test release source distribution

2003-09-14 Thread Glenn Nielsen
Thanks Kurt!

It would be nice to see more reports for other OS/web servers before
the final release is done.
Glenn

Kurt Miller wrote:
From: "Glenn Nielsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 07, 2003 12:26 AM
Subject: mod_jk 1.2.5 test release source distribution


I have generated a test release source distribution for mod_jk 1.2.5,
you can find it at:

http://jakarta.apache.org/~glenn/jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

Please build and test on as many OS/web servers as possible.

I have already tested on Solaris7/8 Sparc.

If there are no problems with this source release I will call for a
release vote Friday 9/12 and release Monday 9/15 if the vote passes.
Regards,

Glenn


I have tested the test release on OpenBSD i386 and sparc64. No problems have
been found.
Regards,
-Kurt
-
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]


[PROPOSAL] Use javac as an load-from-context-classloadr compiler (was: Classloader when Tomcat is embedded + save)

2003-09-14 Thread Anton Tagunov
Hello Matthias and All!

>> Of course, it's good to remember that this code exists only because of
>> the lack of a good in memory compiler. This could change.

mecc> Class org.eclipse.jdt.internal.compiler.Compiler in combination with
mecc> org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler
mecc> provide a load-from-context-classloader compiler, independent of the
mecc> filesystem. The latter can be easily turned into an ant CompilerAdapter.

mecc> I've once briefly browsed the javac source, that one couldn't even easily
mecc> be adapted.

What if we:

Create a special classloader. Teach this classloader not to
delegate loading of java.io to its parent classloader.

Load java.io except for 
  File, FileInputStream, FileOutputStream
directly from rt.jar.

Load our own implementations of
  File, FileInputStream, FileOutputStream
to create own own "virtual" fs.

Load tools.jar with this classloader too.

This way we may fool javac and use it as an
in-process load-from-context-classloader compiler.

We may use for instance a ThreadLocal variable
to short-circuit our in-house reiplementations
of File* to the classloader and a sink accepting
compiled classes.

The only question I have: does sun licsense allow
us to legimately do this?

Anton


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



DO NOT REPLY [Bug 9917] - Exception from admin webapp

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=9917

Exception from admin webapp





--- Additional Comments From [EMAIL PROTECTED]  2003-09-14 07:26 ---
Created an attachment (id=8203)
server.xml

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



DO NOT REPLY [Bug 9917] - Exception from admin webapp

2003-09-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=9917

Exception from admin webapp

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |



--- Additional Comments From [EMAIL PROTECTED]  2003-09-14 07:25 ---
My env is Win2k, j2sdk 1.4.1_02, Tomcat 4.1.27

How come I get the exact same exception with this Server.xml ?

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