DO NOT REPLY [Bug 25092] New: - Bug with cookies=false

2003-11-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25092.
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=25092

Bug with cookies=false

   Summary: Bug with cookies=false
   Product: Tomcat 5
   Version: 5.0.15
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Webapps:Administration
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


If the cookies attribute of an admin context is set as false,
when the Commit Changes button is pushed,
it will be returned to a login screen.
Settings are not saved at this time.

-
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 mbeans-descriptors.xml StandardDefaultContext.java

2003-11-30 Thread remm
remm2003/11/30 06:33:29

  Modified:catalina/src/share/org/apache/catalina/core
mbeans-descriptors.xml StandardDefaultContext.java
  Log:
  - Add managerChecksFrequency in JMX.
  - Add it to default context.
  
  Revision  ChangesPath
  1.26  +8 -0  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/mbeans-descriptors.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mbeans-descriptors.xml29 Nov 2003 21:09:11 -  1.25
  +++ mbeans-descriptors.xml30 Nov 2003 14:33:29 -  1.26
  @@ -38,6 +38,10 @@
  description=Should we allow the ServletContext.getContext() method 
to access the context of other web applications in this server?
  type=boolean/
 
  +attribute name=managerChecksFrequency
  +   description=The frequency of the manager checks (expiration and 
passivation)
  +   type=int/
  +   
   attribute name=reloadable
  description=The reloadable flag for this web application
  type=boolean/
  @@ -211,6 +215,10 @@
  description=Associated manager.
  type=org.apache.catalina.Manager /
 
  +attribute name=managerChecksFrequency
  +   description=The frequency of the manager checks (expiration and 
passivation)
  +   type=int/
  +   
   attribute name=mappingObject
  description=The object used for mapping
  type=java.lang.Object/
  
  
  
  1.10  +28 -4 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardDefaultContext.java
  
  Index: StandardDefaultContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardDefaultContext.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- StandardDefaultContext.java   13 Nov 2003 21:03:14 -  1.9
  +++ StandardDefaultContext.java   30 Nov 2003 14:33:29 -  1.10
  @@ -305,6 +305,12 @@
   
   
   /**
  + * Frequency of manager checks.
  + */
  +protected int managerChecksFrequency = 6;
  +
  +
  +/**
* The string manager for this package.
*/
   protected static StringManager sm =
  @@ -401,6 +407,22 @@
   
   
   /**
  + * Set the manager checks frequency.
  + */
  +public void setManagerChecksFrequency(int managerChecksFrequency) {
  +this.managerChecksFrequency = managerChecksFrequency;
  +}
  +
  +
  +/**
  + * Get manager checks frquency.
  + */
  +public int getManagerChecksFrequency() {
  +return managerChecksFrequency;
  +}
  +
  +
  +/**
* Returns true if the internal naming support is used.
*/
   public boolean isUseNaming() {
  @@ -1527,6 +1549,8 @@
   ((StandardContext)context).setCacheMaxSize(getCacheMaxSize());
   ((StandardContext)context).setAllowLinking(isAllowLinking());
   ((StandardContext)context).setCaseSensitive(isCaseSensitive());
  +((StandardContext)context).setManagerChecksFrequency
  +(getManagerChecksFrequency());
   if (!contexts.containsKey(context)) {
   ((StandardContext) context).addLifecycleListener(this);
   }
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs/config context.xml defaultcontext.xml resources.xml

2003-11-30 Thread remm
remm2003/11/30 06:35:45

  Modified:webapps/docs/config context.xml defaultcontext.xml
resources.xml
  Log:
  - Documentation on the various flags which were added.
  - Add big warnings about the flags which are dangerous in Windows.
  
  Revision  ChangesPath
  1.6   +47 -0 jakarta-tomcat-catalina/webapps/docs/config/context.xml
  
  Index: context.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/context.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- context.xml   30 Jul 2003 18:37:51 -  1.5
  +++ context.xml   30 Nov 2003 14:35:45 -  1.6
  @@ -188,11 +188,58 @@
   
   attributes
   
  +  attribute name=allowLinking required=false
  +pIf the value of this flag is codetrue/code, symlinks will be
  +allowed inside the web application, pointing to resources outside the
  +web application base path. If not specified, the default value
  +of the flag is codefalse/code./p
  +pbNOTE: This flag MUST NOT be set to true on the Windows platform
  +(or any other OS which does not have a case sensitive filesystem),
  +as it will disable case sensitivity checks, allowing JSP source code
  +disclosure, among other security problems./b/p
  +  /attribute
  +
  +  attribute name=cacheMaxSize required=false
  +pMaximum size of the static resource cache in kilobytes. 
  +If not specified, the default value is code10240/code
  +(10 megabytes)./p
  +  /attribute
  +
  +  attribute name=cacheTTL required=false
  +pAmount of time in milliseconds between cache entries revalidation.
  +If not specified, the default value is code5000/code 
  +(5 seconds)./p
  +  /attribute
  +
  +  attribute name=cachingAllowed required=false
  +pIf the value of this flag is codetrue/code, the cache for static
  +resources will be used. If not specified, the default value
  +of the flag is codetrue/code./p
  +  /attribute
  +
  +  attribute name=caseSensitive required=false
  +pIf the value of this flag is codetrue/code, all case sensitivity
  +checks will be disabled. If not 
  +specified, the default value of the flag is codetrue/code./p
  +pbNOTE: This flag MUST NOT be set to false on the Windows platform
  +(or any other OS which does not have a case sensitive filesystem),
  +as it will disable case sensitivity checks, allowing JSP source code
  +disclosure, among other security problems./b/p
  +  /attribute
  +
 attribute name=debug required=false
   pThe level of debugging detail logged by this strongEngine/strong
   to the associated a href=logger.htmlLogger/a.  Higher numbers
   generate more detailed output.  If not specified, the default
   debugging detail level is zero (0)./p
  +  /attribute
  +
  +  attribute name=managerChecksFrequency required=false
  +pFrequency of the session expiration, and related manager operations.
  +Manager operations will be done once for the specified amount of
  +backgrondProcess calls (ie, the lower the amount, the most often the
  +checks will occur). The minimum value is 1, and the default value is 6.
  +/p
 /attribute
   
 attribute name=swallowOutput required=false
  
  
  
  1.6   +17 -2 jakarta-tomcat-catalina/webapps/docs/config/defaultcontext.xml
  
  Index: defaultcontext.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/defaultcontext.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- defaultcontext.xml15 Nov 2003 09:45:35 -  1.5
  +++ defaultcontext.xml30 Nov 2003 14:35:45 -  1.6
  @@ -96,6 +96,10 @@
   allowed inside the web application, pointing to resources outside the
   web application base path. If not specified, the default value
   of the flag is codefalse/code./p
  +pbNOTE: This flag MUST NOT be set to true on the Windows platform
  +(or any other OS which does not have a case sensitive filesystem),
  +as it will disable case sensitivity checks, allowing JSP source code
  +disclosure, among other security problems./b/p
 /attribute
   
 attribute name=cacheMaxSize required=false
  @@ -118,9 +122,20 @@
   
 attribute name=caseSensitive required=false
   pIf the value of this flag is codetrue/code, all case sensitivity
  -checks will be disabled. This should not be disabled on OSes which do
  -not have a case sensitive filesystem, such as Windows. If not 
  +checks will be disabled. 

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

2003-11-30 Thread remm
remm2003/11/30 06:55:27

  Modified:webapps/docs changelog.xml
  Log:
  - Changelog update for 5.0.16.
  
  Revision  ChangesPath
  1.30  +87 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- changelog.xml 25 Nov 2003 14:58:16 -  1.29
  +++ changelog.xml 30 Nov 2003 14:55:27 -  1.30
  @@ -13,6 +13,93 @@
   
   body
   
  +section name=Tomcat 5.0.16 (remm)
  +
  +  subsection name=Catalina
  +
  +changelog
  +
  +  fix
  +  Catch exception in WebappLoader when there is an empty jar file
  +  (amyroh)
  +  /fix
  +  fix
  +  bug25033/bug: Calculating the object name should occur as early 
  +  as possible, to fix a stop/start scenario based on different object 
  +  instances (remm)
  +  /fix
  +  fix
  +  Fix JMX object name generator when there are valves with 
  +  the same classname in the pipeline (remm)
  +  /fix
  +  fix
  +  bug25079/bug: CL.getResource will return JAR based URLs for .class
  +  files (remm)
  +  /fix
  +  update
  +  Make a lot of manager and session fields protected instead of private
  +  (remm)
  +  /update
  +  update
  +  Add many fields in JMX for StandardContext and StandardDefaultContext
  +  (remm)
  +  /update
  +  update
  +  Add managerChecksFrequency field to DefaultContext (remm)
  +  /update
  +
  +/changelog
  +
  +  /subsection
  +
  +  subsection name=Jasper
  +
  +changelog
  +
  +  update
  +  General cleanup of the per thread tag handlers (luehe)
  +  /update
  +  fix
  +  In XML syntax, recognize \$ escape sequence in template text (kinman)
  +  /fix
  +  fix
  +  Make sure that white spaces in template texts around 
  +  lt;![CDATA[...]]gt; are trimmed (kinman)
  +  /fix
  +
  +/changelog
  +
  +  /subsection
  +
  +  subsection name=Webapps
  +
  +changelog
  +
  +  docs
  +  Balancer webapp documentation (yoavs)
  +  /docs
  +  docs
  +  Add back in reference to using mod_jk for serving static content (glenn)
  +  /docs
  +  docs
  +  Document new flags for the DefaultContext, Context and Resources elements
  +  (remm)
  +  /docs
  +  fix
  +  bug25078/bug: Fix serverinfo Ant task (remm)
  +  /fix
  +  fix
  +  The line numbers for uncommenting cgi and ssi keeps on getting out
  +  of sync with web.xml: an attempt at rewording to not have them
  +  get out of sync (funkman)
  +  /fix
  +
  +/changelog
  +
  +  /subsection
  +
  +/section
  +
   section name=Tomcat 5.0.15 (remm)
   
 subsection name=General
  
  
  

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



Bug report for Tomcat 3 [2003/11/30]

2003-11-30 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  |
| |   |   |  |  |
| 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/|
| 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|error-code 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 |
| 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  |
| 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-06-20|IllegalStateException |
|10202|New|Maj|2002-06-25|Tomcat is not responding in time  |
|10357|Unc|Blk|2002-06-30|java.lang.IllegalArgumentException: Short Read|
|10406|New|Cri|2002-07-02|IllegalStateException |

Bug report for Tomcat 4 [2003/11/30]

2003-11-30 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   |
| 4091|Opn|Nor|2001-10-11|custom host with unpackWARs=true don't expand wa|
| 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|
| 5998|Opn|Maj|2002-01-24|Exception hiding when a JspExceptioin is thrown by|
| 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 h|
| 7689|New|Min|2002-04-02|Performance problem with Xerces parser|
| 7702|New|Enh|2002-04-03|[PATCH] Speed up Tomcat a tiny bit|
| 7723|New|Enh|2002-04-03|[patch] additional factory for org.apache.naming.f|
| 7831|New|Nor|2002-04-08|[PATCH] JNDIRealm does not work with CLIENT-CERT a|
| 7880|Ver|Cri|2002-04-09|If a TLV flags flags an error during the translati|
| 8026|New|Enh|2002-04-12|Exceptions in StandardHostDeployer.addChild are lo|
| 8079|New|Enh|2002-04-15|Tomcat cannot start if appBase directory is access|
| 8100|New|Maj|2002-04-15|Session Tracking and HttpURLConnection|
| 8200|New|Nor|2002-04-17|include (PageContext) does not throw IOException i|
| 

Bug report for Watchdog [2003/11/30]

2003-11-30 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|
|24649|New|Nor|2003-11-12|getRemoteHost fails when agent has uppercase chara|
+-+---+---+--+--+
| Total   14 bugs   |
+---+

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



[5.0.16] Build available

2003-11-30 Thread Remy Maucherat
A new build with a few tweaks over 5.0.15:
http://www.apache.org/dist/jakarta/tomcat-5/v5.0.16-alpha/
In particular, it fixes a regression while redeploying a webapp that I 
had introduced in 5.0.15 (doh).

Hopefully, this will be the stable build :)

Rémy



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


DO NOT REPLY [Bug 25095] New: - The code generated by jsp:plugin is not suitable for XHTML

2003-11-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25095.
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=25095

The code generated by jsp:plugin is not suitable for XHTML

   Summary: The code generated by jsp:plugin is not suitable for
XHTML
   Product: Tomcat 4
   Version: 4.1.29
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


when a JSP file contains the following fragment:

jsp:plugin type=applet codebase=./test code=TestApplet.class
jsp:fallback
pFailed/p
/jsp:fallback
/jsp:plugin

The content produced by it looks like this:

OBJECT classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 codebase=http:
//java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0
PARAM name=java_code value=TestApplet.class
PARAM name=java_codebase value=./test
PARAM name=type value=application/x-java-applet;
COMMENT
EMBED type=application/x-java-applet; pluginspage=http://java.sun.
com/products/plugin/ java_code=TestApplet.class java_codebase=./test

NOEMBED
/COMMENT

pFailed/p

/NOEMBED/EMBED
/OBJECT

This has been tested for MSIE Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.
0; NetCaptor 7.2.2) and Opera Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.
0) Opera 7.21  [en]. Usually the generated code works as intended, but for 
XHTML it is not acceptable for 2 reasons: the tag names must be lowercase and 
the tags must be properly nested (in this case COMMENT is partially overlapped 
with EMBED and NOEMBED). IE tolerates such content and processes it as 
expected, but Opera reports an XML parsing error (unless Content-Type returned 
by the server is text/html, when it is parsed as HTML rather than XML). 
Moreover, neither of embed, noembed comment tags is a valid XHTML tag.
I believe the JSP compiler should check the contentType attribute of the %
@page % directive and generate appropriate content for the given content type.

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