Re: svn commit: r349085 - /tomcat/sandbox/java/org/apache/tomcat/util/net/NioEndpoint.java

2005-11-26 Thread Costin Manolache
On 11/25/05, Bill Barker <[EMAIL PROTECTED]> wrote:

> Urm, APR uses blocking sockets.  It uses APR to get around the fact that (at
> least with Sun's JVM) blocking NIO sockets totally s*ck.
>
> Just look at the differences between the logic for ChannelNioSocket and
> AjpAprProcessor.

>From what I've seen, apr does some reads with short timeout and some
non-blocking in sendfile.
I'm not interested in anything more complex for my experiments - at
least not right now. I kind of expect blocking NIO sockets to be
comparable with blocking java sockets and apr sockets for normal  I/O
- maybe 1.4 has some problems, but probably 1.5 or 1.6 will improve
things.

I could try reading the http request in non-blocking mode - but what's
the point when the servlet will spend most of the time in service and
writing to a blocking stream ? It's more interesting how to do some of
the service() with a non-blocking socket, for files and few other
things.

Costin

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



DO NOT REPLY [Bug 37647] New: -

2005-11-26 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=37647

   Summary: 
   Product: Tomcat 5
   Version: 5.0.28
  Platform: Sun
OS/Version: Windows 2000
Status: NEW
  Severity: normal
  Priority: P2
 Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


In JSP files ,if it only include " ",but no 
;
It will error, We resolved it like this""

like this:

org.apache.jasper.JasperException: /officeWork/EPubCenter/Document/DocumentList.
jsp(72,8) Expecting "jsp:param" standard action with "name" and "value" 
attributes
org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch
(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError
(ErrorDispatcher.java:90)
org.apache.jasper.compiler.Parser.parseParam(Parser.java:852)
org.apache.jasper.compiler.Parser.parseBody(Parser.java:1800)
org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1060)
org.apache.jasper.compiler.Parser.parseInclude(Parser.java:888)
org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1211)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1559)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse
(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse
(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

-- 
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 37647] -

2005-11-26 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=37647


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-11-26 17:54 ---
Not a bug: this was OK in JSP Spec prior to 2.0, but changed in 2.1 (which
Tomcat 5.x implements) to require the whitespace or proper closesure.  This was
filed in the past and explained more fully by bigger JSP experts than myself:
you can search Bugzilla for this type of issue and include closed issues in your
search to find out more.

-- 
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]