bugzilla | 1 Apr 01:05
Picon
Favicon

DO NOT REPLY [Bug 44721] New: jsp expression not returning proper value for null pointer

https://issues.apache.org/bugzilla/show_bug.cgi?id=44721

           Summary: jsp expression   not returning proper value  for null
                    pointer
           Product: Tomcat 6
           Version: 6.0.13
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: bruce.carson <at> nc4.us

I have a jsp  that has following code:
....
<% 
String CTOrigUrl = request.getPrameter("CT_ORIG_URL");
if(CTOrigUrl == null) 
   CTOrigUrl = request.getParameter("ct_orig_url");

...
%>
...
<input type="hidden" name="orig_url" value="<%=CTOrigURL%>">

This results in the value   orig_url=null    being sent  instead of 
   value=    empty string.

(Continue reading)

bugzilla | 1 Apr 12:23
Picon
Favicon

DO NOT REPLY [Bug 44724] New: CGIServlet: undesirable encoding conversion of CGI output

https://issues.apache.org/bugzilla/show_bug.cgi?id=44724

           Summary: CGIServlet: undesirable encoding conversion of CGI
                    output
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Integration
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: zinal <at> primetver.ru

Created an attachment (id=21750)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21750)
CGI script which outputs Russian text in UTF-8

Tomcat CGIServlet which is distributed with Tomcat performs undesirable
conversion of CGI script output encoding.

This conversion is performed indirectly by the servlet (which passes data
through a memory stream) and depends on character encoding environment
variables (LANG/LC_ALL/...), at least on UNIX-like systems.

Steps to reproduce:

1. Install Tomcat 
2. Create a CGI script which outputs non-ascii7 data.
(Continue reading)

Apache Wiki | 1 Apr 13:23
Picon
Favicon

[Tomcat Wiki] Update of "joaosavioli" by TimFunk

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The following page has been changed by TimFunk:
http://wiki.apache.org/tomcat/joaosavioli

The comment on the change is:
no personal wiki pages please

------------------------------------------------------------------------------
+ deleted
- [http://www.studioserver.com.br/index_arquivos/logo.gif]
- [http://www.studioserver.com.br Hospedagem de Sites STUDIOSERVER]
- provides webhosting with support to JSP/Servlets by using Tomcat.
bugzilla | 1 Apr 13:22
Picon
Favicon

DO NOT REPLY [Bug 44725] New: Tomcat delete context.xml and web. xml if re-naming Folders in CONF

https://issues.apache.org/bugzilla/show_bug.cgi?id=44725

           Summary: Tomcat delete context.xml and web.xml if re-naming
                    Folders in CONF
           Product: Tomcat 6
           Version: 6.0.16
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: alexanderdiedler <at> gmx.de
                CC: alexanderdiedler <at> gmx.de

Hello,
Very critical things happens in Tomcat.
If anybody rename a Appliaction Website Folder (e.g./conf/www.testsite.de ->
/conf/www.testsite2.com) in [tomcat_home]/conf and try again to open the Site
on a Browser (you see a blank site without Errormessages), Tomcat delete
automatically the web.xml and context.xml.
I found this in Version 6.0.14 and 6.0.16

Greetings
Alexander Diedler

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
(Continue reading)

bugzilla | 1 Apr 17:10
Picon
Favicon

DO NOT REPLY [Bug 42693] JSP-Generation error with recursive tagfile structure

https://issues.apache.org/bugzilla/show_bug.cgi?id=42693

jfclere <jfclere <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Peter Rossbach | 1 Apr 18:20
Picon
Favicon
Gravatar

Re: svn commit: r643181 - /tomcat/trunk/webapps/docs/config/ajp.xml

HI Mark,

as you set request.secret="xxx" you don't use request.useSecret="true".
With useSecret you generate a random requiredSecret,

Look at o.a.coyote.jk.common.HandlerRequest

LL 123
   public void setSecret( String s ) {
         requiredSecret=s;
     }

     public void setUseSecret( boolean b ) {
         if(b) {
             requiredSecret=Double.toString(Math.random());
         }
     }

Is request.shutdownEnabled is also true you can find
the file  conf/ajp13.id with your AJP setup (s. generateAJp13Id()).

Regards
Peter

Am 01.04.2008 um 00:19 schrieb markt <at> apache.org:
> Author: markt
> Date: Mon Mar 31 15:19:20 2008
> New Revision: 643181
>
> URL: http://svn.apache.org/viewvc?rev=643181&view=rev
(Continue reading)

bugzilla | 1 Apr 18:56
Picon
Favicon

DO NOT REPLY [Bug 44728] New: add MarkMail to the list of mailing list archives

https://issues.apache.org/bugzilla/show_bug.cgi?id=44728

           Summary: add MarkMail to the list of mailing list archives
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: niallp <at> apache.org

Created an attachment (id=21753)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21753)
Add MarkMail to the mailing lists pages

Would be good to add MarkMail to the list of mailing list archives.

http://markmail.org/list/org.apache.tomcat.dev/
http://markmail.org/list/org.apache.tomcat.user/

Sorry, this isn't a Tomcat 6 issue - but I couldn't find one for the site

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
(Continue reading)

markt | 1 Apr 20:23
Picon
Favicon
Gravatar

svn commit: r643491 - /tomcat/trunk/webapps/docs/config/ajp.xml

Author: markt
Date: Tue Apr  1 11:23:08 2008
New Revision: 643491

URL: http://svn.apache.org/viewvc?rev=643491&view=rev
Log:
Undo last commit - need to rework wording.

Modified:
    tomcat/trunk/webapps/docs/config/ajp.xml

Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=643491&r1=643490&r2=643491&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Tue Apr  1 11:23:08 2008
@@ -274,18 +274,6 @@
       to a particular port number on a particular IP address.</p>
     </attribute>

-    <attribute name="request.secret" required="false">
-      <p>Only requests from workers with this secret keyword will be accepted.
-      This attribute only has an effect if <code>request.useSecret</code> is
-      <code>true</code>.</p>
-    </attribute>
-
-    <attribute name="request.useSecret" required="false">
-      <p>If set to <code>true</code>, then only requests from workers with the
-      same secret keyword will be accepted. This is set to <code>false</code>
-      by default.</p>
(Continue reading)

markt | 1 Apr 20:33
Picon
Favicon
Gravatar

svn commit: r643497 - /tomcat/trunk/webapps/docs/config/ajp.xml

Author: markt
Date: Tue Apr  1 11:33:38 2008
New Revision: 643497

URL: http://svn.apache.org/viewvc?rev=643497&view=rev
Log:
Better fix for bug 44715. Document use of secret for AJP connector.

Modified:
    tomcat/trunk/webapps/docs/config/ajp.xml

Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=643497&r1=643496&r2=643497&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Tue Apr  1 11:33:38 2008
@@ -274,6 +274,25 @@
       to a particular port number on a particular IP address.</p>
     </attribute>

+    <attribute name="request.secret" required="false">
+      <p>Only requests from workers with this secret keyword will be accepted.
+      </p>
+    </attribute>
+
+    <attribute name="request.shutdownEnabled" required="false">
+      <p>If true and a secret has been configured, a correctly fomatted AJP
+      request (that includes the secret) will shutdown the Tomcat instance
+      associated with this connector. This is set to <code>false</code> by
+      default.</p>
(Continue reading)

Mark Thomas | 1 Apr 20:36
Picon
Favicon
Gravatar

Re: svn commit: r643181 - /tomcat/trunk/webapps/docs/config/ajp.xml

Peter Rossbach wrote:
> HI Mark,
> 
> as you set request.secret="xxx" you don't use request.useSecret="true".
> With useSecret you generate a random requiredSecret,
> 
> Look at o.a.coyote.jk.common.HandlerRequest

Cheers. Fixed.

Mark

Gmane