DO NOT REPLY [Bug 45511] New: EL "empty" keyword does not work

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45511

   Summary: EL "empty" keyword does not work
   Product: Tomcat 6
   Version: unspecified
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: major
  Priority: P2
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


When using ${empty(xxx)}, EL parser thinks it is an unknown function :empty and
throws ClassCastException:

java.lang.ClassCastException: java.lang.NullPointerException
at
org.apache.el.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:135)
at
org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:147)
at
org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:190)
at
org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
at
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:924)


I think it is because of some changes in ELParser.java

with best regards
Grzegorz Grzybek


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

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



DO NOT REPLY [Bug 45516] New: All Tomcat http threads stuck in java.net.SocketOutputStream.socketWrite0(Native Method)

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45516

   Summary: All Tomcat http threads stuck in
java.net.SocketOutputStream.socketWrite0(Native Method)
   Product: Tomcat 6
   Version: 6.0.14
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Between random intervals our website running with Liferay + Tomcat 6.0.14 gets
stuck. 

CPU utilization is close to nothing. After getting a thread dump from the
running java process, a following stacktraces are seen in all of the
http-threads:

Is anybody able to tell, whether this is a bug in Tomcat, JVM, in our
configuration or have I just diagnosed the problem incorrectly? 

Something to workaround this problem?
- - -
"http-9095-28" daemon prio=1 tid=0x44743190 nid=0x3bc runnable
[0x5124a000..0x5124be10]
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:737)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:761)
at
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118)
at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)
at org.apache.coyote.Response.doWrite(Response.java:560)
at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
- locked <0x2aaaf85f8ac0> (a java.io.BufferedOutputStream)
at
com.liferay.util.servlet.ServletResponseUtil.write(ServletResponseUtil.java:194)
at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:249)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:122)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.liferay.filters.doubleclick.DoubleClickFilter.doFilter(DoubleClickFilter.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:167)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.doFilter(AutoLoginFilter.java:106)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:147)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispat

DO NOT REPLY [Bug 45511] EL "empty" keyword does not work

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45511





--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-31 07:12:06 PST ---
It looks like it is caused by the fix for 42565. That fix causes issues with
use of brackets and whitespace.

For example, these work:
${empty ('')}
${(true) and (false)}

but these fail:
${empty('')}
${(true)and(false)}

The workaround is to add some white space. I'm currently looking at the jjt
file.


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

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



DO NOT REPLY [Bug 42565] jsp /expression language ternary expression without space before colon stopped working

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42565


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #14 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-31 07:13:16 PST 
---
This was applied to 6.0.x and included in 6.0.18 onwards.

However, this patch caused a regression: bug 45511


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

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



[ANN] Apache Tomcat 6.0.18 released

2008-07-31 Thread Remy Maucherat
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 6.0.18 stable. This release includes many bugfixes over Apache
Tomcat 6.0.16.

Apache Tomcat 6.0 includes new features over Apache Tomcat 5.5,
including support for the new Servlet 2.5 and JSP 2.1 specifications, a
refactored clustering implementation, advanced IO features, and
improvements in memory usage.

Please refer to the change log for the list of changes:
http://tomcat.apache.org/tomcat-6.0-doc/changelog.html

Downloads:
http://tomcat.apache.org/download-60.cgi

Migration guide from Apache Tomcat 5.5.x:
http://tomcat.apache.org/migration.html

Thank you,

-- The Apache Tomcat Team



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



FastCommonAccessLogValve to log the bytes gzipped

2008-07-31 Thread Bartolomeo Nicolotti
(Already posted twice on tomcat-user in few days, but no answer and it
could be an enhanchement request so posting here :-)

Hi,

I'm trying to use an AccessLogValve to log the bytes send over
the network, but I have gzip compression actived while in the
log goes
the bytes count before compression (I've checked it with a
sniffer):

log:
192.168.0.64 - - [22/Jul/2008:14:01:15 +0200]
"GET /standard-atlante-plus/ HTTP/1.1" 200 2481

Sniffed:
Content-encoded entity body (gzip): 1163 bytes -> 2481 bytes

log:
192.168.0.64 - - [22/Jul/2008:14:01:15 +0200]
"GET /standard-atlante-plus/servlet/serLogin HTTP/1.1" 200 4106

Sniffed:
Content-encoded entity body (gzip): 1348 bytes -> 4106 bytes

Is there a way to log the compressed bytes count sent?


Many thanks in advance,

Best regards


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



DO NOT REPLY [Bug 44705] Tomcat 5.5.26 - cookie with colon in name is parsed incorrectly

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44705


daniel granat <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |




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

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



DO NOT REPLY [Bug 44705] Tomcat 5.5.26 - cookie with colon in name is parsed incorrectly

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44705


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE




--- Comment #2 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-31 11:59:58 PST ---


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


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

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



DO NOT REPLY [Bug 44679] Cookies are treated differently between 6.0.16 and 6.0.14

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44679





--- Comment #16 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-31 11:59:58 PST 
---
*** Bug 44705 has been marked as a duplicate of this bug. ***


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

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



DO NOT REPLY [Bug 44423] invalid duplicate listeners warning

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44423


Brett Knights <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 OS/Version|other   |Linux
Version|unspecified |6.0.18




--- Comment #4 from Brett Knights <[EMAIL PROTECTED]>  2008-07-31 12:34:33 PST 
---
This is still occurring for 6.0.18
2008-07-31 09:45:48.208360500 INFO: Starting Servlet Engine: Apache
Tomcat/6.0.18
2008-07-31 09:45:49.117937500 Jul 31, 2008 9:45:49 AM
org.apache.catalina.core.StandardContext addApplicationListener
2008-07-31 09:45:49.117941500 INFO: The listener
"net.qicnet.sitebuilder.webapp.listener.StartupListener" is already configured
for this context. The
duplicate definition has been ignored.
2008-07-31 09:45:49.118523500 Jul 31, 2008 9:45:49 AM
org.apache.catalina.core.StandardContext addApplicationListener
2008-07-31 09:45:49.118526500 INFO: The listener
"net.qicnet.sitebuilder.webapp.listener.UserCounterListener" is already
configured for this context.
The duplicate definition has been ignored.


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

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



DO NOT REPLY [Bug 44705] Tomcat 5.5.26 - cookie with colon in name is parsed incorrectly

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44705


daniel granat <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |




--- Comment #3 from daniel granat <[EMAIL PROTECTED]>  2008-07-31 12:56:05 PST 
---
Bug 44679 is fixed.This bug (44705) will never be fixed because it's version
5.5.26
How can this bug be a duplicate of 44679, and yet it's not fixed?!

It's better to change it to WONTFIX!


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

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



DO NOT REPLY [Bug 44679] Cookies are treated differently between 6.0.16 and 6.0.14

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44679





--- Comment #17 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-31 13:09:11 PST 
---
*** Bug 44705 has been marked as a duplicate of this bug. ***


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

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



DO NOT REPLY [Bug 44705] Tomcat 5.5.26 - cookie with colon in name is parsed incorrectly

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44705


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE




--- Comment #4 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-31 13:09:11 PST ---
It is a dup because it is the same issue and the same fixes have been applied
to 5.5.x and 6.0.x

Generally, we use the same bug ID for the same issue across multiple versions.

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


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

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



DO NOT REPLY [Bug 42565] jsp /expression language ternary expression without space before colon stopped working

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42565


Magnus Melin <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Depends on||45511




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

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



DO NOT REPLY [Bug 45511] EL "empty" keyword does not work

2008-07-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45511


Magnus Melin <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 Blocks||42565




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

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