Re: svn commit: r367826 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Response.java webapps/docs/changelog.xml

2006-01-11 Thread Remy Maucherat

Mark Thomas wrote:

I thought about doing it that way but I wanted to catch the difference
between Content-Length defaulting to -1 and the page developer
explicitly setting it to -1. It is an edge case I admit but I don't
see any harm in covering it given where the implementation now sits.


I don't think Content-Length: -1 is a valid value for the header in the 
response. Since the header is treated as special, I also don't think a 
header will be added to the response in that case.


Rémy

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



Re: unsuscribe

2006-01-11 Thread Mladen Turk

Bhargav Patel wrote:

Hay Friend,
What do you understand ?
You only have brain.



ROTFL
Obviously :)


It is not working .. Even I tried and sent lot of mails to the same address.



Can some one kick out those two morons, in case ezmlm was confused
with their inteligence ?


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



Re: Initial EL/JSP 2.1 Contribution

2006-01-11 Thread Remy Maucherat

Costin Manolache wrote:

What about:

1. create tomcat/tomcat6.0

2. mkdir tomcat/tomcat6.0/jasper

Or even better:

2. mkdir tomcat/tomcat6.0/java/org/apache/tomcat/jasper

You can do all the work on jasper in the tomcat6.0 svn module, and
maybe in time other components will move here as well.

The build.xml changes for this case will be the same with what you
propose, you still need to get jasper from a different place when
building tomcat6.0, etc.


Personally, unless you really insist, I would still like to keep Jasper 
as an independent module, with a separate source tree. Same for the API 
implementations (servletapi right now). These could be the two exceptions.


The tree I maintain is like that, and it works well.

I think for this new Jasper, Java5 usage for container coding, and 
possibly code generation (assuming there are places where it adds 
value), should be acceptable.


Rémy

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



DO NOT REPLY [Bug 38223] New: - ConfigurableClasspathWebappLoader

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=38223

   Summary: ConfigurableClasspathWebappLoader
   Product: Tomcat 5
   Version: 5.5.14
  Platform: Other
OS/Version: other
Status: NEW
  Severity: enhancement
  Priority: P4
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


This is a convenience class, and not at all compliant with the Servlet Spec.

By using this WebAppLoader, once can add entries to the Web Application's class
path (outside of WEB-INF/classes and WEB-INF/lib).

I created this WebAppLoader in response to
http://marc.theaimsgroup.com/?l=tomcat-user&m=113682917308106&w=2

The context.xml looks like this:




The file myclasses.properties contains entries like this:
PathCount=2
Path.1=file:/d:/temp/bin/
Path.2=file:/c:/temp/deleteThis/

Now, classes kept in these two paths can be available to the Web Application.
One need not have the classes copied into the WEB-INF/classes folder.

So, one might have a JSP that contains lines like this :
=
<%
Class clazz  = Class.forName("com.thoughtworks.deletable.SomeStuff");
Object anObject = clazz.newInstance();
String value = anObject.toString();

com.thoughtworks.deletable.SomeStuff cyber = new
com.thoughtworks.deletable.SomeStuff();

String anotherValue = cyber.toString();

%>

The value is <%=value%>



Other values can be interesting too <%=anotherValue%>
=

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



svn commit: r368054 - /tomcat/container/tc5.5.x/webapps/docs/changelog.xml

2006-01-11 Thread remm
Author: remm
Date: Wed Jan 11 08:16:17 2006
New Revision: 368054

URL: http://svn.apache.org/viewcvs?rev=368054&view=rev
Log:
- Changelog update.

Modified:
tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=368054&r1=368053&r2=368054&view=diff
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Wed Jan 11 08:16:17 2006
@@ -36,6 +36,17 @@
 29214: response.containsHeader() now returns the correct
 value for Content-Type and Content-Length headers. (markt)
   
+  
+Allow using a custom ContextConfig when using JMX embedding of Tomcat, 
as
+is doen by the regular deployer. (remm)
+  
+
+  
+  
+
+  
+Log errors when setting socket options with debug priority rather than 
error. (remm)
+  
 
   
   



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



DO NOT REPLY [Bug 38223] - ConfigurableClasspathWebappLoader

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=38223





--- Additional Comments From [EMAIL PROTECTED]  2006-01-11 17:34 ---
Created an attachment (id=17383)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17383&action=view)
Files demonstrating how this convenience class might be used

1. Extract testing.zip at some location.
2. Follow the instructions gives in the readme.txt file that is kept within
this zip.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38212] - adfaf

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=38212


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-01-11 18:25 ---
This seems to be some bug report filed to learn how bug reports are filed.
I'm closing it as an INVALID bug report.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: svn commit: r367826 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Response.java webapps/docs/changelog.xml

2006-01-11 Thread Mark Thomas
Remy Maucherat wrote:
> Mark Thomas wrote:
>> I thought about doing it that way but I wanted to catch the difference
>> between Content-Length defaulting to -1 and the page developer
>> explicitly setting it to -1. It is an edge case I admit but I don't
>> see any harm in covering it given where the implementation now sits.
> 
> 
> I don't think Content-Length: -1 is a valid value for the header in the
> response. Since the header is treated as special, I also don't think a
> header will be added to the response in that case.

You are right. I was mixing up my specs. Patch to follow.

Mark


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



Re: svn commit: r367826 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Response.java webapps/docs/changelog.xml

2006-01-11 Thread Costin Manolache
On 1/10/06, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Costin Manolache wrote:
> > I guess the better solutions are to either deal with this in the
> > servlet facade ( i.e. the HttpServletResponse impl ) - or to just
> > remove the cached fields from coyote Response.
> >
> > The second is harder - but the right one IMO, it's bad to have methods
> > in Response that don't do what people would expect them to do and
> > workaround in facade to deal with complexity. And we already have a
> > cache ( for converted int values ) in MessageBytes.
> >
> > I'm sure Remy would be happier with the first solution, and it's
> > simpler to implement. But I agree that we shouldn't add this to
> > Response.
> >
> > Costin
>
> Given we are working around the cached fields in coyote response, I
> wanted to keep the work around as close to coyote response as possible.
>
> I agree removing the cached fields is the right way to go if we can. I
> did take a quick look at it but was concerned about possible
> performance impacts and wanted to get a better fix out sooner that I
> would have been able to otherwise.

The quickest fix is on the facade ( servlet implementation ), as Remy suggested.



> A related concern was a lack of a test case to check any performance
> impact. I'll put together a simple JMeter test for this. Given that we
> are concerned about request overhead, does the following test case
> sound reasonable?
> - simple servlet (approx 1K output)

Since you want to test the header - probably a small output would be better.


> - explicitly set content length and type in servlet
> - JMeter test case that uses 50 concurrent threads to make 1 requests

I would test this kind of change with a larger thread count ( 100 + ).
I usually use "ab", not sure how much overhead is in jmeter.

> - set min threads on the connector to >50
> - measure average time per request

All 3 times matter. Make sure you 'warm up' the server.


BTW - I was suggesting to cache instead the MessageBytes corresponding
to the value in the MimeHeaders. But it may be interesting to find if
just removing the cache completely and having simpler code would have
any impact - there are a lot of surprises when you deal with
performance...

Another way to test that would minimize the tomcat overhead is to use
the connector 'standalone' - i.e. write a simple main() that
instantiates the connector, with a simple Adapter that just generates
the content in the buffer. There is some code in sandbox that does
most of this ( in standalone ). This way you test the raw performance
of coyote, without mapper / servlet API / valves / etc.


Costin

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



svn commit: r368124 - /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java

2006-01-11 Thread markt
Author: markt
Date: Wed Jan 11 12:45:30 2006
New Revision: 368124

URL: http://svn.apache.org/viewcvs?rev=368124&view=rev
Log:
Further improvements to patch for bug 29214.

Modified:

tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java

Modified: 
tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java
URL: 
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java?rev=368124&r1=368123&r2=368124&view=diff
==
--- 
tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java
 (original)
+++ 
tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java
 Wed Jan 11 12:45:30 2006
@@ -236,12 +236,6 @@
 protected CharChunk redirectURLCC = new CharChunk();
 
 
-/**
- * Has the Content-Length header been explicitly set.
- */
-protected boolean contentLengthSet = false;
-
-
 // - Public Methods
 
 
@@ -265,8 +259,6 @@
 }
 
 writer.recycle();
-
-contentLengthSet = false;
 }
 
 
@@ -586,7 +578,6 @@
 
 coyoteResponse.reset();
 outputBuffer.reset();
-contentLengthSet = false;
 
 }
 
@@ -643,8 +634,6 @@
 
 coyoteResponse.setContentLength(length);
 
-contentLengthSet = true;
-
 }
 
 
@@ -858,13 +847,6 @@
 
 coyoteResponse.addHeader(name, value);
 
-char cc=name.charAt(0);
-if(cc=='C' || cc=='c') {
-if(name.equalsIgnoreCase("Content-Length")) {
-contentLengthSet = true;
-}
-}
-
 }
 
 
@@ -904,7 +886,7 @@
 }
 if(name.equalsIgnoreCase("Content-Length")) {
 // Can't use null test since this header is an int
-return contentLengthSet;
+return (coyoteResponse.getContentLengthLong() != -1);
 }
 }
 
@@ -1129,13 +,6 @@
 return;
 
 coyoteResponse.setHeader(name, value);
-
-char cc=name.charAt(0);
-if(cc=='C' || cc=='c') {
-if(name.equalsIgnoreCase("Content-Length")) {
-contentLengthSet = true;
-}
-}
 
 }
 



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



svn commit: r368125 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java

2006-01-11 Thread markt
Author: markt
Date: Wed Jan 11 12:45:57 2006
New Revision: 368125

URL: http://svn.apache.org/viewcvs?rev=368125&view=rev
Log:
Further improvements to patch for bug 29214.

Modified:

tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java

Modified: 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java?rev=368125&r1=368124&r2=368125&view=diff
==
--- 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java
 (original)
+++ 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java
 Wed Jan 11 12:45:57 2006
@@ -219,12 +219,6 @@
 private boolean isCharacterEncodingSet = false;
 
 /**
- * The contentLength flag
- */
-private boolean isContentLengthSet = false;
-
-
-/**
  * The error flag.
  */
 protected boolean error = false;
@@ -275,7 +269,6 @@
 appCommitted = false;
 included = false;
 error = false;
-isContentLengthSet = false;
 isCharacterEncodingSet = false;
 
 cookies.clear();
@@ -651,7 +644,6 @@
 
 coyoteResponse.reset();
 outputBuffer.reset();
-isContentLengthSet = false;
 }
 
 
@@ -709,8 +701,6 @@
 return;
 
 coyoteResponse.setContentLength(length);
-
-isContentLengthSet = true;
 
 }
 
@@ -1013,12 +1003,6 @@
 
 coyoteResponse.addHeader(name, value);
 
-char cc=name.charAt(0);
-if(cc=='C' || cc=='c') {
-if(name.equalsIgnoreCase("Content-Length")) {
-isContentLengthSet = true;
-}
-}
 }
 
 
@@ -1057,8 +1041,8 @@
 return (coyoteResponse.getContentType() != null);
 }
 if(name.equalsIgnoreCase("Content-Length")) {
-// Can't use null test since this header is an int
-return isContentLengthSet;
+// -1 means not known and is not sent to client
+return (coyoteResponse.getContentLengthLong() != -1);
 }
 }
 
@@ -1290,13 +1274,6 @@
 return;
 
 coyoteResponse.setHeader(name, value);
-
-char cc=name.charAt(0);
-if(cc=='C' || cc=='c') {
-if(name.equalsIgnoreCase("Content-Length")) {
-isContentLengthSet = true;
-}
-}
 
 }
 



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



DO NOT REPLY [Bug 35351] - error tags

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=35351


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|Unable to reference |error  tags
   |nested/inner classes in |
   | tags  |
Version|5.5.9   |5.5.12




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38232] New: - error for compiler

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=38232

   Summary: error for compiler
   Product: Tomcat 5
   Version: 5.5.12
  Platform: Other
OS/Version: Windows 2000
Status: NEW
  Severity: normal
  Priority: P2
 Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


i am facing the problem when i convert the tomcat 3 to tomcat 5.5.12

--

HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: /admin/membership/portalogin.jsp(12,0) The 
value for the useBean class attribute custom.membership.CPAHandler is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jsp Error
(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:146)
org.apache.jasper.compiler.Generator$GenerateVisit or.visit(Generator.java:1223)
org.apache.jasper.compiler.Node$UseBean.accept(Nod e.java:1116)
org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody( Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node .java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.j ava:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:2163)
org.apache.jasper.compiler.Generator.generate(Gene rator.java:3284)
org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:189)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:286)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:267)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:255)
org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)


note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5.12 logs
-

i searching the similar problem from other and make the correction, change the 

to
 

the above prolem is solve but come out with this error:

HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Only a type can be imported. custom.membership.CPAHandler resolves to a package

Generated servlet error:
Only a type can be imported. custom.membership.CAuthentication resolves to a 
package

Generated servlet error:
Only a type can be imported. custom.membership.CPortalAdmin resolves to a 
package

Generated servlet error:
Only a type can be imported. custom.membership.CMemberActLog resolves to a 
package

Generated servlet error:
Only a type can be imported. custom.property.CLogsProperty resolves to a package

Generated servlet error:
Only a type can be imported. custom.property.CSystemProperty resolves to a 
package

Generated servlet error:
Only a type can be imported. custom.property.CDBProperty resolves to a package

Generated servlet error:
Only a type can be imported. mpsb.connection.DBConnection resolves to a package

Generated servlet error:
Only a type can be imported. mpsb.utilities.Logger resolves to a package

Generated servlet error:
The import java.beans.Beans.instantiate cannot be resolved

An error occurred at line: 14 in the jsp file: /admin/membership/portalogin.jsp
Generated servlet error:
custom.membership$CPAHandler cannot be resolved to a type

An error occurred at line: 14 in the jsp file: /admin/membership/portalogin.jsp
Generated servlet error:
custom.membership$CPAHandler cannot be resolved to a type

An error occurred at line: 14 in the jsp file: /admin/membership/portalogin.jsp
Generated servlet error:
custom.membership$CPAHandler cannot be resolved to a type

An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp
Generated servlet error:
DBConnection cannot be resolved

An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.js

DO NOT REPLY [Bug 35351] - error tags

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=35351


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2006-01-12 05:08 ---
*** Bug 38232 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38232] - error for compiler

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=38232


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2006-01-12 05:08 ---


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38232] - error for compiler

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=38232





--- Additional Comments From [EMAIL PROTECTED]  2006-01-12 07:15 ---
Lawrence, try:
 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38233] New: - StringIndexOutOfBounds using request dispatcher

2006-01-11 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://issues.apache.org/bugzilla/show_bug.cgi?id=38233

   Summary: StringIndexOutOfBounds using request dispatcher
   Product: Tomcat 5
   Version: 5.0.30
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


A RequestDispatcher.include() attemting to call another location inside the same
webapp, when that location is a 'auth-constraint' protected (form login)
(attempt to use req.dispatcher to selectively generate a login form), generates:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1438)
at java.lang.String.substring(String.java:1411)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:193)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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