Re: TC5 Servlet unavailable error

2003-03-31 Thread Amy Roh
> Amy Roh wrote:
>
> > It seems like when context is stopped and restarted, servlet always
> > returns "unavailable".  You can generate an error by saving your changes
> > in admin by "commit".  Then any process after that returns admin servlet
> > unavailalbe.
> >
> > Mar 31, 2003 4:48:29 PM org.apache.catalina.core.StandardWrapperValve
> > invoke INFO: Servlet admin.login_jsp is currently unavailable
>
>
> I tought I fixed it. Are you doing stop/destroy/init/start or just
> stop/start ?

I'm not manually doing anything.  When I commit my changes in admin, I think
the admin context gets restarted and the application is set to unavailable
right away.  Therefore any consequent requests fail.

>
> The trick is to unregister and re-register the context, I think the
> mapper may hold references to the old wrappers.
>
> Costin
>
>
> -
> 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]



Re: TC5 Servlet unavailable error

2003-03-31 Thread Costin Manolache
Amy Roh wrote:

> It seems like when context is stopped and restarted, servlet always
> returns "unavailable".  You can generate an error by saving your changes
> in admin by "commit".  Then any process after that returns admin servlet
> unavailalbe.
> 
> Mar 31, 2003 4:48:29 PM org.apache.catalina.core.StandardWrapperValve
> invoke INFO: Servlet admin.login_jsp is currently unavailable


I tought I fixed it. Are you doing stop/destroy/init/start or just
stop/start ?

The trick is to unregister and re-register the context, I think the 
mapper may hold references to the old wrappers.

Costin


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



DO NOT REPLY [Bug 18545] New: - can not upload a file size greater than 2 G on tomcat4/linux

2003-03-31 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=18545

can not upload a file size greater than 2 G on tomcat4/linux

   Summary: can not upload a file size greater than 2 G on
tomcat4/linux
   Product: Tomcat 4
   Version: 4.1.8
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Servlet & JSP API
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I have tomcat 4.1.18 running on redhat linux 7.x and 8.0

I can not uplaod the file if the file size is greater than 2G.

It has no problem on windows platform.

I am using struts struts-upload program.

-Jerry

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



DO NOT REPLY [Bug 18544] New: - User looses roles if Full Name is added

2003-03-31 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=18544

User looses roles if Full Name is added

   Summary: User looses roles if Full Name is added
   Product: Tomcat 4
   Version: 4.1.0
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Webapps:Manager
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


If you use the manager webpage to add a full name to a user, the user will 
loose all roles configured in the userID XML file.

Click this page -> http://127.0.0.1:8080/admin/index.jsp
'User Definition' - 'Users'- Click on a User - Add a Full Name - 'Save'

Once you do this the edited user looses their roles.  I installed Tomcat for 
the first time then went scurrying around teh above page and gave admin a 
name.  Then I was locked out of Tomcat administration until I edited the users 
XML file and replaced the roles.

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



Tomcat catalina.sh and setclasspath.sh

2003-03-31 Thread Robert Upshall
Hi,

I was wondering who is responsible for catalina.sh and setclasspath.sh 
scripts.  I have made some very very small modifications that will allow 
the existing scripts to work with OS400.  The changes are os specific 
additions that should not affect the other OS's that use the scripts.

Who would I have to submit these changes to for review/approval?  This 
would make a nice addition to the list of supports OS's.

Robert



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


cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet JspServlet.java

2003-03-31 Thread luehe
luehe   2003/03/31 19:14:53

  Modified:jasper2/src/share/org/apache/jasper
JspCompilationContext.java
   jasper2/src/share/org/apache/jasper/compiler
JspDocumentParser.java TagLibraryInfoImpl.java
TldLocationsCache.java
   jasper2/src/share/org/apache/jasper/resources
messages.properties messages_es.properties
messages_fr.properties messages_ja.properties
   jasper2/src/share/org/apache/jasper/servlet JspServlet.java
  Log:
  - Fixed regression caused by fix to 15875 ("Automatic Recognition of
Tag Library TLDs")
  - Expose any errors occurring during initialization of TLD locations cache
  
  Revision  ChangesPath
  1.36  +10 -17
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java
  
  Index: JspCompilationContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- JspCompilationContext.java27 Feb 2003 22:51:38 -  1.35
  +++ JspCompilationContext.java1 Apr 2003 03:14:52 -   1.36
  @@ -517,18 +517,13 @@
   }
   
   /**
  - * Get the 'location' of the TLD associated with 
  - * a given taglib 'uri'.
  + * Gets the 'location' of the TLD associated with the given taglib 'uri'.
* 
  - * @return An array of two Strings. The first one is
  - * real path to the TLD. If the path to the TLD points
  - * to a jar file, then the second string is the
  - * name of the entry for the TLD in the jar file.
  - * Returns null if the uri is not associated to
  - * a tag library 'exposed' in the web application.
  - * A tag library is 'exposed' either explicitely in 
  - * web.xml or implicitely via the uri tag in the TLD 
  - * of a taglib deployed in a jar file (WEB-INF/lib).
  + * @return An array of two Strings: The first element denotes the real
  + * path to the TLD. If the path to the TLD points to a jar file, then the
  + * second element denotes the name of the TLD entry in the jar file.
  + * Returns null if the given uri is not associated with any tag library
  + * 'exposed' in the web application.
*/
   public String[] getTldLocation(String uri) throws JasperException {
   String[] location = 
  @@ -554,7 +549,6 @@
   removed++;
   }
   
  -
   public boolean isRemoved() {
   if (removed > 1 ) {
   return true;
  @@ -597,8 +591,7 @@
   if (isTagFile()) {
   name = tagInfo.getTagClassName();
   } else {
  -name = getServletPackageName() + "." +
  -getServletClassName();
  +name = getServletPackageName() + "." + getServletClassName();
   }
   servletClass = jspLoader.loadClass(name);
   } catch (ClassNotFoundException cex) {
  
  
  
  1.51  +4 -5  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspDocumentParser.java
  
  Index: JspDocumentParser.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspDocumentParser.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- JspDocumentParser.java31 Mar 2003 19:15:34 -  1.50
  +++ JspDocumentParser.java1 Apr 2003 03:14:52 -   1.51
  @@ -781,8 +781,7 @@
isPlainUri = true;
}
   
  - TldLocationsCache cache = ctxt.getOptions().getTldLocationsCache();
  - String[] location = cache.getLocation(uri);
  + String[] location = ctxt.getTldLocation(uri);
if (location != null || !isPlainUri) {
/*
 * If the uri value is a plain uri, a translation error must
  
  
  
  1.37  +7 -6  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java
  
  Index: TagLibraryInfoImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- TagLibraryInfoImpl.java   26 Mar 2003 20:40:15 -  1.36
  +++ TagLibraryInfoImpl.java   1 Apr 2003 03:14:52 -   1.37
  @@ -167,8 +167,8 @@
   boolean relativeURL = false;
   
if (location == null) {
  - // The URI points to the TLD itself or to a jar
  - // file where the TLD is located
  + // The URI points to the TLD itself or to a jar file 

TC5 Servlet unavailable error

2003-03-31 Thread Amy Roh
It seems like when context is stopped and restarted, servlet always 
returns "unavailable".  You can generate an error by saving your changes 
in admin by "commit".  Then any process after that returns admin servlet 
unavailalbe.

Mar 31, 2003 4:48:29 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet admin.login_jsp is currently unavailable
Amy

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


DO NOT REPLY [Bug 18540] New: - session invalidate() still doesn't work....

2003-03-31 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=18540

session invalidate() still doesn't work

   Summary: session invalidate() still doesn't work
   Product: Tomcat 3
   Version: 3.3.1 Final
  Platform: PC
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


During my logoff procedure in Struts, I do the following:

request.getSession().invalidate();

to kill the session.  When I press the back button on the browser, I can still 
act in my session as though I had never been logged out.  It doesn't dump me 
back to my login page as I would expect.  Also, my UserPrincipal is still not 
null. After calling the invalidate(), I do a request.getSession().getId() and 
find that a new session has been created.  Is there a work around for this?

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler ELFunctionMapper.java

2003-03-31 Thread kinman
kinman  2003/03/31 16:20:01

  Modified:jasper2/src/share/org/apache/jasper/compiler
ELFunctionMapper.java
  Log:
  - Fix couple of bugs in function mapping.
  
  Revision  ChangesPath
  1.8   +20 -10
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/ELFunctionMapper.java
  
  Index: ELFunctionMapper.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/ELFunctionMapper.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ELFunctionMapper.java 29 Mar 2003 01:58:50 -  1.7
  +++ ELFunctionMapper.java 1 Apr 2003 00:20:01 -   1.8
  @@ -104,27 +104,33 @@
   
public void visit(Node.ParamAction n) throws JasperException {
doMap(n.getValue());
  + visitBody(n);
}
   
public void visit(Node.IncludeAction n) throws JasperException {
doMap(n.getPage());
  + visitBody(n);
}
   
public void visit(Node.ForwardAction n) throws JasperException {
doMap(n.getPage());
  + visitBody(n);
}
   
   public void visit(Node.SetProperty n) throws JasperException {
doMap(n.getValue());
  + visitBody(n);
}
   
   public void visit(Node.UseBean n) throws JasperException {
doMap(n.getBeanName());
  + visitBody(n);
}
   
   public void visit(Node.PlugIn n) throws JasperException {
doMap(n.getHeight());
doMap(n.getWidth());
  + visitBody(n);
}
   
   public void visit(Node.JspElement n) throws JasperException {
  @@ -134,6 +140,7 @@
doMap(attrs[i]);
}
doMap(n.getNameAttribute());
  + visitBody(n);
}
   
   public void visit(Node.CustomTag n) throws JasperException {
  @@ -141,6 +148,7 @@
for (int i = 0; i < attrs.length; i++) {
doMap(attrs[i]);
}
  + visitBody(n);
}
   
   public void visit(Node.ELExpression n) throws JasperException {
  @@ -159,8 +167,13 @@
   
class Fvisitor extends ELNode.Visitor {
ArrayList funcs = new ArrayList();
  + HashMap keyMap = new HashMap();
public void visit(ELNode.Function n) throws JasperException {
  - funcs.add(n);
  + String key = n.getPrefix() + ":" + n.getName();
  + if (! keyMap.containsKey(key)) {
  + keyMap.put(key,"");
  + funcs.add(n);
  + }
}
}
   
  @@ -241,15 +254,12 @@
ELNode.Function f = (ELNode.Function)functions.get(i);
String temName = (String) gMap.get(f.getPrefix() + ':' +
f.getName() + ':' + f.getUri());
  - if (temName != null) {
  - if (mapName == null) {
  - mapName = temName;
  - }
  - else if (! temName.equals(mapName)) {
  - // If not all in the previous match, then no match.
  - return null;
  - }
  - } else if (mapName != null) {
  + if (temName == null) {
  + return null;
  + }
  + if (mapName == null) {
  + mapName = temName;
  + } else if (!temName.equals(mapName)) {
// If not all in the previous match, then no match.
return null;
}
  
  
  

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



DO NOT REPLY [Bug 18536] - Tomcat Regression: attributes not set correctly for forwarded servlet

2003-03-31 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=18536

Tomcat Regression: attributes not set correctly for forwarded servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 23:06 ---
This bug is invalid.

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



DO NOT REPLY [Bug 18536] - Tomcat Regression: attributes not set correctly for forwarded servlet

2003-03-31 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=18536

Tomcat Regression: attributes not set correctly for forwarded servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 23:06 ---
Re-open and close it as invalid instead of fixed.

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



DO NOT REPLY [Bug 18536] - Tomcat Regression: attributes not set correctly for forwarded servlet

2003-03-31 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=18536

Tomcat Regression: attributes not set correctly for forwarded servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 22:57 ---
The behaviour implemented is the correct one, both for forward (section 8.4.2)
and include (section 8.3.1).

-- Jeanfrancois

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Parser.java

2003-03-31 Thread luehe
luehe   2003/03/31 14:47:27

  Modified:jasper2/src/share/org/apache/jasper/compiler Parser.java
  Log:
  Changed TLV invocation so that in the case where a single URI is
  mapped to more than one prefix, the prefix of the *first* URI must be
  used for the TLV invocation
  
  Revision  ChangesPath
  1.72  +18 -15
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java
  
  Index: Parser.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- Parser.java   31 Mar 2003 19:15:34 -  1.71
  +++ Parser.java   31 Mar 2003 22:47:27 -  1.72
  @@ -448,23 +448,26 @@
String prefix = attrs.getValue("prefix");
if (prefix != null) {
if (uri != null) {
  - // Errors to be checked in Validator
  - String[] location = ctxt.getTldLocation(uri);
  - taglibs.put(uri,
  - new TagLibraryInfoImpl(ctxt, parserController,
  -prefix, uri, location,
  -err));
  + if (taglibs.get(uri) == null) {
  + String[] location = ctxt.getTldLocation(uri);
  + taglibs.put(uri,
  + new TagLibraryInfoImpl(ctxt, parserController,
  +prefix, uri, location,
  +err));
  + }
prefixMapper.put(prefix, uri);
} else {
String tagdir = attrs.getValue("tagdir");
if (tagdir != null) {
String urnTagdir = URN_JSPTAGDIR + tagdir;
  - taglibs.put(urnTagdir,
  - new ImplicitTagLibraryInfo(ctxt,
  -parserController,
  -prefix, 
  -tagdir,
  -err));
  + if (taglibs.get(urnTagdir) == null) {
  + taglibs.put(urnTagdir,
  + new ImplicitTagLibraryInfo(ctxt,
  +parserController,
  +prefix, 
  +tagdir,
  +err));
  + }
prefixMapper.put(prefix, urnTagdir);
}
}
  
  
  

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



DO NOT REPLY [Bug 18536] - Tomcat Regression: attributes not set correctly for forwarded servlet

2003-03-31 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=18536

Tomcat Regression: attributes not set correctly for forwarded servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|specialTomcat Regression:   |Tomcat Regression:
   |attributes not set correctly|attributes not set correctly
   |for forwarded servlet   |for forwarded servlet

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



DO NOT REPLY [Bug 18536] - specialTomcat Regression: attributes not set correctly for forwarded servlet

2003-03-31 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=18536

specialTomcat Regression: attributes not set correctly for forwarded servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|specialTomcat Regression:   |specialTomcat Regression:
   |attributes not set correctly|attributes not set correctly
   |for included/forwarded  |for forwarded servlet
   |servlet |



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 22:39 ---
Only fails with forward.  include operation works.

To reproduce using last attachment, try request:
GET /servlet_spec_requestdispatcher_web/TestServlet?testname=forwardAttributes 
or
GET /servlet_spec_requestdispatcher_web/TestServlet?testname=forwardAttributes1

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



DO NOT REPLY [Bug 18536] - specialTomcat Regression: attributes not set correctly for included/forwarded servlet

2003-03-31 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=18536

specialTomcat Regression: attributes not set correctly for included/forwarded servlet





--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 22:35 ---
Created an attachment (id=5578)
testcase /servlet_spec_requestdispatcher_web/TestServlet?testname=forwardAttributes

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



DO NOT REPLY [Bug 18536] New: - specialTomcat Regression: attributes not set correctly for included/forwarded servlet

2003-03-31 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=18536

specialTomcat Regression: attributes not set correctly for included/forwarded servlet

   Summary: specialTomcat Regression: attributes not set correctly
for included/forwarded servlet
   Product: Tomcat 5
   Version: 5.0.1
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


According to Servlet 2.4 spec, 

"SRV.8.3.1 Included Request Parameters

Except for servlets obtained by using the getNamedDispatcher method, a servlet
that has been invoked by another servlet using the include method of
RequestDispatcher has access to the path by which it was invoked.

The following request attributes must be set:
javax.servlet.include.request_uri
javax.servlet.include.context_path
javax.servlet.include.servlet_path
javax.servlet.include.path_info
javax.servlet.include.query_string

These attributes are accessible from the included servlet via the getAttribute
method on the request object and their values must be equal to the request URI,
context path, servlet path, path info, and query string of the included servlet,
respectively. If the request is subsequently included, these attributes are
replaced for that include.

If the included servlet was obtained by using the getNamedDispatcher method,
these attributes must not be set."

Right now those attributes's values do not reflect those of the included
servlet, but the calling (the include) servlet.

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



DO NOT REPLY [Bug 18417] - Header should not get set after ContentBuffer is filled up and promptly flushed to client

2003-03-31 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=18417

Header should not get set after ContentBuffer is filled up and promptly flushed to 
client

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 22:19 ---
Verified in today's cvs build. Thanks.

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



DO NOT REPLY [Bug 18535] - Jasper is not generating a translation error if jsp:text contains subelements.

2003-03-31 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=18535

Jasper is not generating a translation error if jsp:text contains subelements.

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|Jasper is no generating a   |Jasper is not generating a
   |translation error if|translation error if
   |jsp:text contains   |jsp:text contains
   |subelements.|subelements.

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



DO NOT REPLY [Bug 18535] New: - Jasper is no generating a translation error if jsp:text contains subelements.

2003-03-31 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=18535

Jasper is no generating a translation error if jsp:text contains subelements.

   Summary: Jasper is no generating a translation error if jsp:text
contains subelements.
   Product: Tomcat 5
   Version: Nightly Build
  Platform: All
OS/Version: All
Status: NEW
  Severity: Major
  Priority: Other
 Component: Jasper2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Given the following JSP Document:
--
http://java.sun.com/JSP/Page>




--

"Hello" is incorrectly returned to the client.

However, it should be noted that a JSP in standard syntax with a jsp:text
element having a child element of some type does behave as expected.

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



[PROPOSAL] CoyoteConnector add two attributes

2003-03-31 Thread Filip Hanik
The HTTP connector
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html

has two attributes, "proxyName" and "proxyPort", I would like to add these
two the Coyote connector, since on our system the mod_jk module replaces
ServerName from the actual HTTP request to the url of the Apache server.

A very simple fix with these two attributes, would make that problem go
away, and would make the world easier for proxy users that proxy in front of
Apache.

Filip


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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler TagFileProcessor.java

2003-03-31 Thread luehe
luehe   2003/03/31 13:44:05

  Modified:jasper2/src/share/org/apache/jasper/compiler
TagFileProcessor.java
  Log:
  Clarified comment
  
  Revision  ChangesPath
  1.48  +8 -5  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagFileProcessor.java
  
  Index: TagFileProcessor.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagFileProcessor.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- TagFileProcessor.java 28 Mar 2003 23:15:45 -  1.47
  +++ TagFileProcessor.java 31 Mar 2003 21:44:04 -  1.48
  @@ -252,9 +252,12 @@
   }
   
   if (nameFromAttribute != null) {
  -// An alias has been specified.  We use nameGiven to
  -// hold the value of alias, and nameFromAttribute to
  -// hold what its alias
  +/*
  +  * An alias has been specified. We use 'nameGiven' to hold the
  +  * value of the alias, and 'nameFromAttribute' to hold the 
  +  * name of the attribute whose value (at invocation-time)
  +  * denotes the name of the variable that is being aliased
  +  */
   nameGiven = alias;
   }
   
  
  
  

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspContextWrapper.java

2003-03-31 Thread luehe
luehe   2003/03/31 13:38:46

  Modified:jasper2/src/share/org/apache/jasper/runtime
JspContextWrapper.java
  Log:
  Clarified javadoc of findAlias
  
  Revision  ChangesPath
  1.19  +9 -7  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspContextWrapper.java
  
  Index: JspContextWrapper.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspContextWrapper.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- JspContextWrapper.java8 Mar 2003 00:58:09 -   1.18
  +++ JspContextWrapper.java31 Mar 2003 21:38:46 -  1.19
  @@ -481,10 +481,12 @@
   }
   
   /**
  - * Find the attribute that variable is alised to.
  - * @param varName a variable
  - * @return if varName is an alias, then the aliased variable
  - * otherwise varName
  + * Checks to see if the given variable name is used as an alias, and if so,
  + * returns the variable name for which it is used as an alias.
  + *
  + * @param varName The variable name to check
  + * @return The variable name for which varName is used as an alias, or
  + * varName if it is not being used as an alias
*/
   private String findAlias(String varName) {
   
  
  
  

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Generator.java Node.java

2003-03-31 Thread luehe
luehe   2003/03/31 13:14:05

  Modified:jasper2/src/share/org/apache/jasper/compiler Generator.java
Node.java
  Log:
  Fixed wrong signature of setJspContext for SimpleTag handlers that are not supported 
by tag files
  
  Revision  ChangesPath
  1.179 +11 -8 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.178
  retrieving revision 1.179
  diff -u -r1.178 -r1.179
  --- Generator.java31 Mar 2003 17:54:30 -  1.178
  +++ Generator.java31 Mar 2003 21:14:04 -  1.179
  @@ -2436,8 +2436,8 @@
   
String nameFrom = tagVars[i].getNameFromAttribute();
if (nameFrom != null) {
  - String aliaseName = n.getAttributeValue(nameFrom);
  - if (aliaseName == null) continue;
  + String aliasedName = n.getAttributeValue(nameFrom);
  + if (aliasedName == null) continue;
   
if ( ! aliasSeen ) {
out.printin("java.util.HashMap ");
  @@ -2450,7 +2450,7 @@
out.print(".put(");
out.print(quote(tagVars[i].getNameGiven()));
out.print(", ");
  - out.print(quote(aliaseName));
  + out.print(quote(aliasedName));
out.println(");");
}
}
  @@ -2466,7 +2466,10 @@
// Set context
if (simpleTag) {
// Generate alias map 
  - String aliasMapVar= generateAliasMap(n, tagHandlerVar);
  + String aliasMapVar = null;
  + if (n.isTagFile()) {
  + aliasMapVar = generateAliasMap(n, tagHandlerVar);
  + }
out.printin(tagHandlerVar);
if (aliasMapVar == null) {
out.println(".setJspContext(pageContext);");
  @@ -3135,7 +3138,7 @@
boolean atBeginSeen = false;
boolean atEndSeen = false;
   
  - // Determine if there is any aliases
  + // Determine if there are any aliases
boolean aliasSeen = false;
TagVariableInfo[] tagVars = tagInfo.getTagVariableInfos();
for (int i=0; i

DO NOT REPLY [Bug 18236] - An xmlns declaration that doesn't denote a tag library causes translation error

2003-03-31 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=18236

An xmlns declaration that doesn't denote a tag library causes translation error

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
Summary|An xmlns declaration that   |An xmlns declaration that
   |doesn't denote a tag library|doesn't denote a tag library
   |causes translation error|causes translation error

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler JspDocumentParser.java PageInfo.java Parser.java TldLocationsCache.java Validator.java

2003-03-31 Thread luehe
luehe   2003/03/31 11:15:34

  Modified:jasper2/src/share/org/apache/jasper/compiler
JspDocumentParser.java PageInfo.java Parser.java
TldLocationsCache.java Validator.java
  Log:
  Fixed 18236 ("An xmlns declaration that doesn't denote a tag library
  causes translation error")
  
  Revision  ChangesPath
  1.50  +15 -8 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspDocumentParser.java
  
  Index: JspDocumentParser.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspDocumentParser.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- JspDocumentParser.java28 Mar 2003 02:13:02 -  1.49
  +++ JspDocumentParser.java31 Mar 2003 19:15:34 -  1.50
  @@ -104,7 +104,7 @@
   // Document locator
   private Locator locator;
   
  -private Hashtable taglibs;
  +private HashMap taglibs;
   
   // Flag indicating whether we are inside DTD declarations
   private boolean inDTD;
  @@ -773,16 +773,23 @@
tagdir, err);
} else {
// uri references TLD file
  + boolean isPlainUri = false;
if (uri.startsWith(URN_JSPTLD)) {
// uri is of the form "urn:jsptld:path"
uri = uri.substring(URN_JSPTLD.length());
  + } else {
  + isPlainUri = true;
}
   
TldLocationsCache cache = ctxt.getOptions().getTldLocationsCache();
  - result = cache.getTagLibraryInfo(uri);
  - if (result == null) {
  - // get the location
  - String[] location = ctxt.getTldLocation(uri);
  + String[] location = cache.getLocation(uri);
  + if (location != null || !isPlainUri) {
  + /*
  +  * If the uri value is a plain uri, a translation error must
  +  * not be generated if the uri is not found in the taglib map.
  +  * Instead, any actions in the namespace defined by the uri
  +  * value must be treated as uninterpreted.
  +  */
result = new TagLibraryInfoImpl(ctxt, parserController, prefix,
uri, location, err);
}
  
  
  
  1.28  +7 -7  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java
  
  Index: PageInfo.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- PageInfo.java 25 Mar 2003 00:57:46 -  1.27
  +++ PageInfo.java 31 Mar 2003 19:15:34 -  1.28
  @@ -76,7 +76,7 @@
   private Vector dependants;
   
   private BeanRepository beanRepository;
  -private Hashtable tagLibraries;
  +private HashMap taglibsMap;
   private Hashtable prefixMapper;
   
   private String language = "java";
  @@ -113,7 +113,7 @@
   
   PageInfo(BeanRepository beanRepository) {
this.beanRepository = beanRepository;
  - this.tagLibraries = new Hashtable();
  + this.taglibsMap = new HashMap();
this.prefixMapper = new Hashtable();
this.imports = new Vector();
   this.dependants = new Vector();
  @@ -163,8 +163,8 @@
return beanRepository;
   }
   
  -public Hashtable getTagLibraries() {
  - return tagLibraries;
  +public HashMap getTagLibraries() {
  + return taglibsMap;
   }
   
   /*
  
  
  
  1.71  +5 -4  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java
  
  Index: Parser.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- Parser.java   28 Mar 2003 02:13:02 -  1.70
  +++ Parser.java   31 Mar 2003 19:15:34 -  1.71
  @@ -63,6 +63,7 @@
   import java.io.FileNotFoundException;
   import java.io.CharArrayWriter;
   import java.util.Hashtable;
  +import java.util.HashMap;
   import java.util.List;
   import java.util.Iterator;
   import java.util.jar.JarFile;
  @@ -94,7 +95,7 @@
   private JspReader reader;
   private String currentFile;
   private Mark start;
  -private Hashtable taglibs;
  +private HashMap taglibs;
   private Hashtable prefixMapper;
   private ErrorDispatcher err;
   private int scriptlessCount;
  
  
  
  1.15  +18 -29
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TldLocationsCache.java
  
  Index: TldLocationsCache.java
  ==

DO NOT REPLY [Bug 18532] New: - Status 500

2003-03-31 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=18532

Status 500

   Summary: Status 500
   Product: Tomcat 4
   Version: 4.1.24
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I installed tomcat 4.1.24 on my windows 2000 machine.  I set environment 
variables for the JAVA_HOME, CLASSPATH, and CATALINA.I rebooted the 
machine.  I pointed to the bin directory of tomcat.  I executed the startup 
command for the server and put in the address http://localhost:8080 into IE 
5.0.  The error I received was Status 500.  There was no error log generated on 
the screen.  How can I get the defaut screen after installing Tomcat?

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspRuntimeLibrary.java PageContextImpl.java

2003-03-31 Thread kinman
kinman  2003/03/31 09:54:31

  Modified:jasper2/src/share/org/apache/jasper/compiler Generator.java
JspUtil.java Validator.java
   jasper2/src/share/org/apache/jasper/runtime
JspRuntimeLibrary.java PageContextImpl.java
  Log:
  - Changes to use the new API for EL.  Will need patch to jakarta-commons-sandbox/el.
  
  Revision  ChangesPath
  1.178 +21 -27
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.177
  retrieving revision 1.178
  diff -u -r1.177 -r1.178
  --- Generator.java28 Mar 2003 23:15:45 -  1.177
  +++ Generator.java31 Mar 2003 17:54:30 -  1.178
  @@ -699,12 +699,10 @@
 * @param encode true if to be URL encoded
* @param expectedType the expected type for an EL evaluation
*(ignored for attributes that aren't EL expressions)
  - * @param defaultPrefix the default prefix for any EL functions
 */
   private String attributeValue(Node.JspAttribute attr,
 boolean encode,
  -  Class expectedType,
  -  String defaultPrefix ) 
  +  Class expectedType)
   {
String v = attr.getValue();
if (!attr.isNamedAttribute() && (v == null))
  @@ -714,7 +712,7 @@
if (attr.isELInterpreterInput()) {
boolean replaceESC = v.indexOf(Constants.ESC) > 0;
v = JspUtil.interpreterCall(this.isTagFile,
  - v, expectedType, defaultPrefix,
  + v, expectedType,
attr.getEL().getMapName(), false );
// XXX ESC replacement hack
if (replaceESC) {
  @@ -758,8 +756,7 @@
out.print(" + \"");
out.print(URLEncoder.encode(n.getTextAttribute("name")));
out.print("=\" + ");
  - out.print(attributeValue(n.getValue(), true, String.class,
  -"null" ));
  + out.print(attributeValue(n.getValue(), true, String.class));
   
// The separator is '&' after the second use
separator = "\"&\"";
  @@ -798,7 +795,7 @@
   "out.write("
+ JspUtil.interpreterCall(this.isTagFile,
   "${" + new String(n.getText()) + "}", String.class,
  - null, n.getEL().getMapName(), false )
  + n.getEL().getMapName(), false )
   + ");");
   } else {
   out.printil("out.write(" +
  @@ -828,7 +825,7 @@
   page.getNamedAttributeNode() );
   }
   else {
  -pageParam = attributeValue(page, false, String.class, "null");
  +pageParam = attributeValue(page, false, String.class);
   }
   
   // If any of the params have their values specified by
  @@ -919,7 +916,7 @@
   page.getNamedAttributeNode() );
   }
   else {
  -pageParam = attributeValue(page, false, String.class, "null");
  +pageParam = attributeValue(page, false, String.class);
   }
   
   // If any of the params have their values specified by
  @@ -999,7 +996,7 @@

out.printil("org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(" + 
"pageContext.findAttribute(\""  + name + "\"), \""
+ property + "\","); 
  - out.print(attributeValue(value, false, null, "null"));
  + out.print(attributeValue(value, false, null));
out.println(");");
   } else if (value.isELInterpreterInput()) {
   // We've got to resolve the very call to the interpreter
  @@ -1039,7 +1036,7 @@

out.printin("org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(" +
"pageContext.findAttribute(\"" + name + "\"), \""
+ property + "\", ");
  - out.print(attributeValue(value, false, null, "null"));
  + out.print(attributeValue(value, false, null));
out.println(", null, null, false);");
}
   
  @@ -1126,7 +1123,7 @@
   }
   else {
   className = attributeValue(beanName, false,
  -String.class, "null");
  +

cvs commit: jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext BodyTag.java IterationTag.java SimpleTagSupport.java Tag.java TagInfo.java VariableInfo.java

2003-03-31 Thread kinman
kinman  2003/03/31 09:52:27

  Modified:jsr152/examples/WEB-INF/classes/jsp2/examples/simpletag
RepeatSimpleTag.java
   jsr152/src/share/javax/servlet/jsp JspWriter.java
   jsr152/src/share/javax/servlet/jsp/el
ExpressionEvaluator.java
   jsr152/src/share/javax/servlet/jsp/tagext BodyTag.java
IterationTag.java SimpleTagSupport.java Tag.java
TagInfo.java VariableInfo.java
  Log:
  - Patch by Mark Roth
  
  Here are the latest round of JSP 2.0 API updates.  Some changes will
  need to be made to jakarta-commons-sandbox/el before applying this patch.
  
  I also made a couple of changes to the JSP 2.0 examples in accordance
  with these changes.
  
  jsr152/src/share/dtd/jsp_2_0.xsd:
  jsr154/src/share/dtd/jsp_2_0.xsd:
   - Expanded on description for taglibType complex type.
  
  jsr152/src/share/javax/servlet/jsp/tagext/SimpleTagSupport.java:
   - Change getJspBody() to be protected
   - Change getJspContext() to be protected
   - Change the jspBody field to be private
   - Change the jspContext field to be private.
  
  jsr152/src/share/javax/servlet/jsp/el/ExpressionEvaluator.java:
   - Changed so that Strings of the form "abc${1+1}def${1+1}ghi" cannot
 be parsed or evaluated.  Only one expression can be parsed
 evaluated at a time, and no static text can appear.
  
  jsr152/src/share/javax/servlet/jsp/JspWriter.java:
   - Changed javadocs for print() methods to indicate that the
 resulting text is written to the writer, and not converted to
 the platform's default character encoding first, which would
 make no sense.
  
  jsr152/src/share/javax/servlet/jsp/tagext/TagInfo.java
   - getTagName() - Clarified that name is always returned (cannot
 be null)
  
  jsr152/src/share/javax/servlet/jsp/tagext/Tag.java
   - Accessibility fix.  Added img alt tag.
  
  jsr152/src/share/javax/servlet/jsp/tagext/BodyTag.java
   - Accessibility fix.  Added img alt tag.
  
  jsr152/src/share/javax/servlet/jsp/tagext/IterationTag.java
   - Accessibility fix.  Added img alt tag.
  
  jsr152/src/share/javax/servlet/jsp/tagext/VariableInfo.java
   - Accessibility fix.  Added img alt tag and table summary tag.
  
  jsr152/src/share/javax/servlet/jsp/el/ExpressionEvaluator.java
   - evaluate() - Removed defaultPrefix param and allow FunctionMapper
 to mutate after call.
   - parseExpression() - Removed defaultPrefix param and allow
 FunctionMapper to mutate after call.
  
  Revision  ChangesPath
  1.3   +1 -1  
jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
  
  Index: RepeatSimpleTag.java
  ===
  RCS file: 
/home/cvs/jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RepeatSimpleTag.java  28 Oct 2002 17:45:43 -  1.2
  +++ RepeatSimpleTag.java  31 Mar 2003 17:52:26 -  1.3
  @@ -19,7 +19,7 @@
   
   public void doTag() throws JspException, IOException {
   for (int i=0; i[EMAIL PROTECTED]
  - * java.lang.String#valueOf(boolean)} is translated into bytes
  - * according to the platform's default character encoding, and these bytes
  - * are written in exactly the manner of the [EMAIL PROTECTED]
  - * #write(int)} method.
  + * java.lang.String#valueOf(boolean)} is written to the
  + * JspWriter's buffer or, if no buffer is used, directly to the 
  + * underlying writer.
*
* @param  b   The boolean to be printed
* @throws  java.io.IOException If an error occured while writing
  @@ -177,10 +176,9 @@
   abstract public void print(boolean b) throws IOException;
   
   /**
  - * Print a character.  The character is translated into one or more bytes
  - * according to the platform's default character encoding, and these bytes
  - * are written in exactly the manner of the [EMAIL PROTECTED]
  - * #write(int)} method.
  + * Print a character.  The character is written to the
  + * JspWriter's buffer or, if no buffer is used, directly to the
  + * underlying writer.
*
* @param  c   The char to be printed
* @throws  java.io.IOException If an error occured while writing
  @@ -190,10 +188,9 @@
   
   /**
* Print an integer.  The string produced by [EMAIL PROTECTED]
  - * java.lang.String#valueOf(int)} is translated into bytes according
  - * to the platform's default character encoding, and these bytes are
  - * written in exactly the manner of the [EMAIL PROTECTED] 
#write(int)}
  - * method.
  + * java.lang.String#valueOf(int)} is wri

DO NOT REPLY [Bug 17783] - filter invoked incorrectly when value set to FORWARD only

2003-03-31 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=17783

filter invoked incorrectly when  value set to FORWARD only

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 15:59 ---
Fix verified in today's cvs build.  Thanks.

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



DO NOT REPLY [Bug 17785] - filter not invoked at all RequestDispatcher.include actions

2003-03-31 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=17785

filter not invoked at all RequestDispatcher.include actions

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC|[EMAIL PROTECTED]  |
 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 15:58 ---
Fix verified in today's cvs build. Thanks.

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



DO NOT REPLY [Bug 17784] - filter not invoked when value set to FORWARD only

2003-03-31 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=17784

filter not invoked  when  value set   to FORWARD only

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC|[EMAIL PROTECTED]  |
 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 15:58 ---
Fix verified in today's cvs build. Thanks.

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



[GUMP] Build Failure - jk2

2003-03-31 Thread Craig McClanahan

This email is autogenerated from the output from:



Buildfile: build.xml

init.taskdef:

guess.os:
 [echo] build.properties i386.Linux
 [echo] Linux:true Win32:${win32} Netware:${netware} Solaris:${solaris} 
HPUX:${hpux}

init.win32.properties:

init.win32.mc:

init.win32:

init.netware:

init.os:

guess.server:
 [echo] Apache2 /usr/local/apache2 true
 [echo] Apache13 /usr true
 [echo] IIS ${iis.home} ${iis.detect}
 [echo] Iplanet ${iplanet.home} ${iplanet.detect}
 [echo] JNI true


init:
[mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-connectors/jk/build/jk2

apache20:
[mkdir] Created dir: 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/build/jk2/apache2
   [so] Compiling 42 out of 42
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_jni.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_logger_file.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_env.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c
   [so] Warnings: 
   [so] 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c:
 In function `jk2_channel_apr_open':
   [so] 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c:229:
 warning: left-hand operand of comma expression has no effect
   [so] 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c:229:
 warning: left-hand operand of comma expression has no effect
   [so] 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c:258:
 warning: left-hand operand of comma expression has no effect
   [so] 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c:258:
 warning: left-hand operand of comma expression has no effect
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_un.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_config.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_config_file.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_endpoint.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_handler_response.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_handler_logon.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_logger_win32.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_msg_ajp.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_map.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_md5.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_mutex_proc.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_mutex.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_mutex_thread.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_nwmain.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_objCache.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_pool.c
   [so] Warnings: 
   [so] /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_pool.c: 
In function `jk2_pool_a_strdup':
   [so] 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_pool.c:282: 
warning: empty body in an if-statement
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_pool_apr.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_registry.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_requtil.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_shm.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_signal.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c
Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_user.c
Compiling 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_vm_default.c
   [so] Warnings: 
   [so] 
/home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_vm_default.c:449:77:
 warning: backslash and newline separated by space
Compiling 
/home/rubys/jakarta/jakarta

DO NOT REPLY [Bug 13285] - admin web application fail with virtual host

2003-03-31 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=13285

admin web application fail with virtual host





--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 10:22 ---
Created an attachment (id=5574)
the diffs for the adminWeb version 03/31/03 10:18

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



DO NOT REPLY [Bug 13285] - admin web application fail with virtual host

2003-03-31 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=13285

admin web application fail with virtual host





--- Additional Comments From [EMAIL PROTECTED]  2003-03-31 10:18 ---
Created an attachment (id=5573)
new adminWeb (re-design of contextlist.jsp) with restart of contexts

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