Re: [VOTE] Release build 5.5.29

2010-04-09 Thread Filip Hanik - Dev Lists

This vote passes.

Filip

On 03/31/2010 07:52 AM, Filip Hanik - Dev Lists wrote:

The candidates binaries are available here:
http://people.apache.org/~fhanik/tomcat/tomcat-5.5/v5.5.29/

According to the release process, the 5.5.29 tag is:
[ ] Broken
[ ] Alpha
[ ] Beta
[ ] Stable

Cheers


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org





-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932591 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-04-09 Thread rjung
Author: rjung
Date: Fri Apr  9 20:39:53 2010
New Revision: 932591

URL: http://svn.apache.org/viewvc?rev=932591&view=rev
Log:
Vote.

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=932591&r1=932590&r2=932591&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Apr  9 20:39:53 2010
@@ -91,12 +91,12 @@ PATCHES PROPOSED TO BACKPORT:
   Based on a patch by Candid Dauth
   http://svn.apache.org/viewvc?rev=910485&view=rev
   http://svn.apache.org/viewvc?rev=918489&view=rev (review feedback)
-  +1: markt, kkolinko
+  +1: markt, kkolinko, rjung
   -1: 
 
   Additional patch:
   http://svn.apache.org/viewvc?rev=918803&view=rev
-  +1: kkolinko, markt
+  +1: kkolinko, markt, rjung
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48629
@@ -104,7 +104,7 @@ PATCHES PROPOSED TO BACKPORT:
   Add roleNested to the docs
   Patch provided by Felix Schumacher
   http://svn.apache.org/viewvc?rev=920422&view=rev
-  +1: markt, kkolinko
+  +1: markt, kkolinko, rjung
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48729
@@ -124,21 +124,21 @@ PATCHES PROPOSED TO BACKPORT:
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48760
   Ensure multiple threads do not end up with the same InputStream
   http://svn.apache.org/viewvc?rev=920858&view=rev
-  +1: markt, kkolinko
+  +1: markt, kkolinko, rjung
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48701
   Add system property to allow disabling enforcement of JSP.5.3
   The spec recommends, but does not require this enforcement.
   http://svn.apache.org/viewvc?rev=920880&view=rev
-  +1: kkolinko, markt
+  +1: kkolinko, markt, rjung
   -1:
 
 * Address https://issues.apache.org/bugzilla/show_bug.cgi?id=48007#c5
   Improve exception processing in CustomObjectInputStream#resolveClass(),
   to help find the cause behind BZ 48007.
   http://svn.apache.org/viewvc?rev=920912&view=rev
-  +1: kkolinko, markt
+  +1: kkolinko, markt, rjung
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48701
@@ -152,7 +152,7 @@ PATCHES PROPOSED TO BACKPORT:
   that it is, technically, a bug stopped me.
   Simplified patch based on kkolinko's patch below
   http://svn.apache.org/viewvc?view=revision&revision=927037
-  +1: markt, kkolinko
+  +1: markt, kkolinko, rjung
   -1: 
 
   I think it can be done more simply:
@@ -171,7 +171,7 @@ PATCHES PROPOSED TO BACKPORT:
 * Update to NSIS 2.46
   NSIS changelog: http://nsis.sourceforge.net/Docs/AppendixF.html#F.1.1
   http://svn.apache.org/viewvc?rev=921630&view=rev
-  +1: kkolinko, markt
+  +1: kkolinko, markt, rjung
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48795
@@ -311,7 +311,7 @@ PATCHES PROPOSED TO BACKPORT:
   of keep-alive) so client can differentiate between complete and partial
   responses.
   http://svn.apache.org/viewvc?rev=931709&view=rev
-  +1: markt, kkolinko
+  +1: markt, kkolinko, rjung
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48379



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932573 - /tomcat/tc5.5.x/trunk/STATUS.txt

2010-04-09 Thread rjung
Author: rjung
Date: Fri Apr  9 20:18:10 2010
New Revision: 932573

URL: http://svn.apache.org/viewvc?rev=932573&view=rev
Log:
Vote.

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=932573&r1=932572&r2=932573&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Fri Apr  9 20:18:10 2010
@@ -102,7 +102,7 @@ PATCHES PROPOSED TO BACKPORT:
   Add system property to allow disabling enforcement of JSP.5.3
   The spec recommends, but does not require this enforcement.
   http://svn.apache.org/viewvc?rev=920880&view=rev
-  +1: kkolinko, markt
+  +1: kkolinko, markt, rjung
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48701
@@ -121,7 +121,7 @@ PATCHES PROPOSED TO BACKPORT:
 * Update to NSIS 2.46
   NSIS changelog: http://nsis.sourceforge.net/Docs/AppendixF.html#F.1.1
   http://svn.apache.org/viewvc?rev=921630&view=rev
-  +1: kkolinko, markt
+  +1: kkolinko, markt, rjung
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48717
@@ -156,12 +156,12 @@ PATCHES PROPOSED TO BACKPORT:
   It fixes "Cannot find message" messages that are printed to the log when
   Tomcat is being started and Tomcat-Native library is present
   
http://people.apache.org/~kkolinko/patches/2010-04-07_tc55_AprLifecycleListener_messages.patch
-  +1: kkolinko, markt
+  +1: kkolinko, markt, rjung
   -1:
 
 * Use chunked encoding for http 1.1 requests with no content-length (regardless
   of keep-alive) so client can differentiate between complete and partial
   responses.
   http://svn.apache.org/viewvc?rev=931709&view=rev (less NIO)
-  +1: markt, kkolinko
+  +1: markt, kkolinko, rjung
   -1: 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49082] New: ExpressionFactory.newInstance needs to be privileged

2010-04-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49082

   Summary: ExpressionFactory.newInstance needs to be privileged
   Product: Tomcat 7
   Version: trunk
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Servlet & JSP API
AssignedTo: dev@tomcat.apache.org
ReportedBy: robert_goff...@yahoo.com


The ExpressionFactory.newInstance method needs to be wrapped in a privileged
block so as to not throw an exception for security reasons.

I'm currently seeing a java.security.AccessControlException on el.properties
when calling getClassNameJreDir().

Also, the System.getProperty("java.home") does not need to have a trailing
separator?  I would think you would want to modify the PROPERTY_FILE for
el.properties to check for this final separator character.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49081] New: EL expression preceded by a # in an attribute value of jsp documents

2010-04-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49081

   Summary: EL expression preceded by a # in an attribute value of
jsp documents
   Product: Tomcat 6
   Version: 6.0.26
  Platform: HP
OS/Version: Windows XP
Status: NEW
  Severity: regression
  Priority: P2
 Component: Jasper
AssignedTo: dev@tomcat.apache.org
ReportedBy: silvio.corciol...@tiscali.it


Behaviour detected in versions 6.0.24 and 6.0.26 of Tomcat. Behaviour not
present in version 6.0.20 and previous.

In a jsp document (jspx), version 2.1 or 2.0, when in an attribute value you
specify an EL expression with immediate evaluation (${...}) preceded by a #
character, the EL expression is treated as a literal.

See this example:


http://java.sun.com/JSP/Page";
version="2.0">
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"; />
  
http://www.w3.org/1999/xhtml"; lang="it">
  

Title
  
  

  



The rendered input field contains the text "#${1+1}" (without quotes), while i
expected the text "#2" (without quotes): the # character treated as a literal
and ${1+1} treated as an eval-expression.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[g...@vmgump]: Project jakarta-tomcat-catalina (in module jakarta-tomcat-catalina) failed

2010-04-09 Thread bobh
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project jakarta-tomcat-catalina has an issue affecting its community 
integration.
This issue affects 2 projects,
 and has been outstanding for 8 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- jakarta-tomcat-catalina :  Servlet 2.4 Reference Implementation
- jakarta-tomcat-jk :  Connectors to various web servers


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant exists, no need to add for property ant.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.home.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.home.
 -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for 
property tomcat-coyote.home.
 -INFO- Failed with reason build failed
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/gump_work/build_jakarta-tomcat-catalina_jakarta-tomcat-catalina.html
Work Name: build_jakarta-tomcat-catalina_jakarta-tomcat-catalina (Type: Build)
Work ended in a state of : Failed
Elapsed: 8 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dtomcat33.home=--UnSet-- 
-Dcatalina.build=/srv/gump/public/workspace/jakarta-tomcat-catalina/build 
-Djmx.home=/srv/gump/packages/jmx-1_2_1-bin 
-Djdbc20ext.jar=/srv/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Djtc.home=/srv/gump/public/workspace/jakarta-tomcat-connectors 
-Djasper.home=/srv/gump/public/workspace/jakarta-tomcat-jasper_tc5 
-Dant.home=/srv/gump/public/workspace/ant/dist 
-Dcommons-io.jar=/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar
 -Dcompile.source=1.4 -Dcommons-collections.jar=/srv/gump/public/
 workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar 
-Dcatalina.deploy=/srv/gump/public/workspace/jakarta-tomcat-catalina/build 
-Djaas.jar=/srv/gump/packages/jaas1_0/lib/jaas.jar 
-Dcommons-fileupload.jar=/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-09042010.jar
 
-Dcommons-digester.jar=/srv/gump/public/workspace/apache-commons/digester/dist/commons-digester.jar
 
-Dtomcat-http11.jar=/srv/gump/public/workspace/jakarta-tomcat-connectors/http11/build/lib/tomcat-http11.jar
 -Dactivation.home=/srv/gump/packages/jaf-1.1ea 
-Dcatalina.home=/srv/gump/public/workspace/jakarta-tomcat-catalina/build 
-Dcommons-launcher.jar=/srv/gump/public/workspace/apache-commons/launcher/dist/bin/commons-launcher-09042010.jar
 -Dtomcat.build=/srv/gump/public/workspace/jakarta-tomcat-catalina/build 
-Dcommons-beanutils.jar=/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-09042010.jar
 -Dcommons-modeler.jar=/srv/gump/public/work
 space/apache-commons/modeler/dist/commons-modeler-09042010.jar 
-Dtomcat-coyote.home=/srv/gump/public/workspace/jakarta-tomcat-connectors/coyote
 -Djmx-remote.jar=/srv/gump/packages/jmxremote-1_0_1-bin/lib/jmxremote.jar 
-Dcommons-logging-api.jar=/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-09042010.jar
 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/naming-factory-dbcp.jar
 -Djta.jar=/srv/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar deploy-catalina 
[Working Directory: /srv/gump/public/workspace/jakarta-tomcat-catalina]
CLASSPATH: 
/usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/jakarta-tomcat-catalina/build/server/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump

DO NOT REPLY [Bug 48648] Blank page (dropped connection) when running TC7 with TCnative (APR)

2010-04-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48648

--- Comment #2 from Mark Thomas  2010-04-09 12:03:09 UTC ---
Some quick tests have confirmed that if a keepAliveTimeout is specified it is
used for connectionTimeout as well. I haven't yet looked at how this might be
fixed.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932363 - /tomcat/trunk/java/org/apache/tomcat/jni/Poll.java

2010-04-09 Thread markt
Author: markt
Date: Fri Apr  9 11:43:16 2010
New Revision: 932363

URL: http://svn.apache.org/viewvc?rev=932363&view=rev
Log:
Javadoc update

Modified:
tomcat/trunk/java/org/apache/tomcat/jni/Poll.java

Modified: tomcat/trunk/java/org/apache/tomcat/jni/Poll.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/Poll.java?rev=932363&r1=932362&r2=932363&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/jni/Poll.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/jni/Poll.java Fri Apr  9 11:43:16 2010
@@ -99,8 +99,8 @@ public class Poll {
  *The descriptor array must be two times the size of pollset.
  *and are populated as follows:
  * 
- * descriptors[n + 0] -> returned events
- * descriptors[n + 1] -> socket
+ * descriptors[2n + 0] -> returned events
+ * descriptors[2n + 1] -> socket
  * 
  * @param remove Remove signaled descriptors from pollset
  * @return Number of signaled descriptors (output parameter)
@@ -146,8 +146,8 @@ public class Poll {
  *The descriptor array must be two times the size of pollset.
  *and are populated as follows:
  * 
- * descriptors[n + 0] -> returned events
- * descriptors[n + 1] -> socket
+ * descriptors[2n + 0] -> returned events
+ * descriptors[2n + 1] -> socket
  * 
  * @return Number of descriptors (output parameter) in the Poll
  * or negative APR error code.



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932359 - in /tomcat/site/trunk: docs/svn.html xdocs/svn.xml

2010-04-09 Thread markt
Author: markt
Date: Fri Apr  9 11:21:56 2010
New Revision: 932359

URL: http://svn.apache.org/viewvc?rev=932359&view=rev
Log:
Add Tomcat 7.0.x to the svn page

Modified:
tomcat/site/trunk/docs/svn.html
tomcat/site/trunk/xdocs/svn.xml

Modified: tomcat/site/trunk/docs/svn.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/svn.html?rev=932359&r1=932358&r2=932359&view=diff
==
--- tomcat/site/trunk/docs/svn.html (original)
+++ tomcat/site/trunk/docs/svn.html Fri Apr  9 11:21:56 2010
@@ -306,6 +306,14 @@ http://svn.apache.org/repos/asf/tomcat
   
 
+http://svn.apache.org/repos/asf/tomcat/tc7.0.x";>
+/tc7.0.x/
+
+
+The stable 7.0.x release branch.
+  
+  
+
 http://svn.apache.org/repos/asf/tomcat/trunk";>
 /trunk/
 

Modified: tomcat/site/trunk/xdocs/svn.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/svn.xml?rev=932359&r1=932358&r2=932359&view=diff
==
--- tomcat/site/trunk/xdocs/svn.xml (original)
+++ tomcat/site/trunk/xdocs/svn.xml Fri Apr  9 11:21:56 2010
@@ -78,6 +78,11 @@ http://svn.apache.org/repos/asf/tomcatThe stable 6.0.x release branch.
   
   
+http://svn.apache.org/repos/asf/tomcat/tc7.0.x";>
+/tc7.0.x/
+The stable 7.0.x release branch.
+  
+  
 http://svn.apache.org/repos/asf/tomcat/trunk";>
 /trunk/
 The primary development branch. Patches are committed here 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932358 - in /tomcat/tc7.0.x: ./ branches/ tags/

2010-04-09 Thread markt
Author: markt
Date: Fri Apr  9 11:19:56 2010
New Revision: 932358

URL: http://svn.apache.org/viewvc?rev=932358&view=rev
Log:
Prep structure for 7.0.x. No trunk yet, that will be copied from tomcat/trunk 
later

Added:
tomcat/tc7.0.x/
tomcat/tc7.0.x/branches/
tomcat/tc7.0.x/tags/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49075] protected Class User doesn't check argument roles for null

2010-04-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49075

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from Mark Thomas  2010-04-09 11:17:15 UTC ---
This has been fixed in trunk with an alternative patch that fixes both issues

Many thanks for the analysis, report and proposed patch.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932357 - /tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java

2010-04-09 Thread markt
Author: markt
Date: Fri Apr  9 11:16:40 2010
New Revision: 932357

URL: http://svn.apache.org/viewvc?rev=932357&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49075
NPE protection if roles is null and roles needs to be modifiable

Modified:
tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java

Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java?rev=932357&r1=932356&r2=932357&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java Fri Apr  9 
11:16:40 2010
@@ -2229,14 +2229,16 @@ public class JNDIRealm extends RealmBase
  final private String username;
  final private String dn;
  final private String password;
- final private List roles;
+ final private List roles = new ArrayList();
 
  public User(String username, String dn, String password,
  List roles) {
  this.username = username;
  this.dn = dn;
  this.password = password;
- this.roles = Collections.unmodifiableList(roles);
+ if (roles != null) {
+ this.roles.addAll(roles);
+ }
  }
 
  public String getUserName() {



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932324 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-04-09 Thread kfujino
Author: kfujino
Date: Fri Apr  9 09:47:37 2010
New Revision: 932324

URL: http://svn.apache.org/viewvc?rev=932324&view=rev
Log:
Vote

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=932324&r1=932323&r2=932324&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Apr  9 09:47:37 2010
@@ -304,7 +304,7 @@ PATCHES PROPOSED TO BACKPORT:
   message, printed by that action. That is to allow proper translation of
   those messages, though I cannot provide such translation by myself.
   http://svn.apache.org/viewvc?rev=931415&view=rev
-  +1: kkolinko, markt
+  +1: kkolinko, markt, kfujino
   -1:
 
 * Use chunked encoding for http 1.1 requests with no content-length (regardless
@@ -317,5 +317,5 @@ PATCHES PROPOSED TO BACKPORT:
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48379
   Make session cookie name, domain and path configurable per context.
   http://people.apache.org/~markt/patches/2010-04-08-bug48379.patch
-  +1: markt
+  +1: markt, kfujino
   -1: 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49051] Decrease in response by TcpFailureDetector.

2010-04-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49051

Keiichi Fujino  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #3 from Keiichi Fujino  2010-04-09 08:47:12 UTC 
---
This fix applied to 6.0, will be in 6.0.27 onwards.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932300 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java webapps/docs/changelog.xml

2010-04-09 Thread kfujino
Author: kfujino
Date: Fri Apr  9 08:41:22 2010
New Revision: 932300

URL: http://svn.apache.org/viewvc?rev=932300&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49051
memberAlive is not called if member has not already existed in membership. 

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=932300&r1=932299&r2=932300&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Apr  9 08:41:22 2010
@@ -297,12 +297,6 @@ PATCHES PROPOSED TO BACKPORT:
   +1: markt, kkolinko
   -1: 
 
-* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49051
-  memberAlive is not called if member has not already existed in membership. 
-  http://svn.apache.org/viewvc?view=revision&revision=931061
-  +1: kfujino, markt, kkolinko
-  -1: 
-
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49018
   Fix processing of time argument in the "Expire sessions" action in the
   Manager web application.

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java?rev=932300&r1=932299&r2=932300&view=diff
==
--- 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
 (original)
+++ 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
 Fri Apr  9 08:41:22 2010
@@ -141,6 +141,11 @@ public class TcpFailureDetector extends 
 if(log.isInfoEnabled())
 log.info("Received memberDisappeared["+member+"] message. Will 
verify.");
 synchronized (membership) {
+if (!membership.contains(member)) {
+if(log.isInfoEnabled())
+log.info("Verification complete. Member already 
disappeared["+member+"]");
+return;
+}
 //check to see if the member really is gone
 //if the payload is not a shutdown message
 if (shutdown || !memberAlive(member)) {

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=932300&r1=932299&r2=932300&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Fri Apr  9 08:41:22 2010
@@ -60,6 +60,14 @@
   
 
   
+  
+
+  
+49051: memberAlive is not called if member has not already 
+existed in membership. (kfujino)
+  
+
+  
   
 
   Update to Commons Daemon 1.0.2. Use service launcher (procrun)



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932289 - /tomcat/trunk/RELEASE-NOTES

2010-04-09 Thread markt
Author: markt
Date: Fri Apr  9 08:01:07 2010
New Revision: 932289

URL: http://svn.apache.org/viewvc?rev=932289&view=rev
Log:
Update EL & JSP versions
Minor tweaks

Modified:
tomcat/trunk/RELEASE-NOTES

Modified: tomcat/trunk/RELEASE-NOTES
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/RELEASE-NOTES?rev=932289&r1=932288&r2=932289&view=diff
==
--- tomcat/trunk/RELEASE-NOTES (original)
+++ tomcat/trunk/RELEASE-NOTES Fri Apr  9 08:01:07 2010
@@ -22,9 +22,9 @@ $Id$
 Release Notes
 
 
-=
-KNOWN ISSUES IN THIS RELEASE:
-=
+=
+CONTENTS:
+=
 
 * Dependency Changes
 * JNI Based Applications
@@ -84,12 +84,13 @@ for use by web applications (by placing 
 * catalina-ant.jar (Tomcat Catalina Ant tasks)
 * catalina-ha.jar (High availability package)
 * catalina-tribes.jar (Group communication)
-* el-api.jar (EL 2.1 API)
+* el-api.jar (EL 2.2 API)
 * jasper.jar (Jasper 2 Compiler and Runtime)
 * jasper-el.jar (Jasper 2 EL implementation)
 * jasper-jdt.jar (Eclipse JDT 3.3 Java compiler)
-* jsp-api.jar (JSP 2.1 API)
+* jsp-api.jar (JSP 2.2 API)
 * servlet-api.jar (Servlet 3.0 API)
+* tomcat-api.jar (Interfaces shared by Catalina and Jasper)
 * tomcat-coyote.jar (Tomcat connectors and utility classes)
 * tomcat-dbcp.jar (package renamed database connection pool based on Commons 
DBCP)
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 47774] Illegal context class loader is used when HttpSessionListener is executed.

2010-04-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47774

Keiichi Fujino  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Keiichi Fujino  2010-04-09 07:50:26 UTC 
---
This fix applied to 5.5, will be in 5.5.30 onwards.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r932276 - in /tomcat/tc5.5.x/trunk: STATUS.txt container/catalina/src/share/org/apache/catalina/security/SecurityClassLoad.java container/catalina/src/share/org/apache/catalina/session/Sta

2010-04-09 Thread kfujino
Author: kfujino
Date: Fri Apr  9 07:38:32 2010
New Revision: 932276

URL: http://svn.apache.org/viewvc?rev=932276&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
Ensure web application class loader is used when calling session listeners.

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt

tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/security/SecurityClassLoad.java

tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/StandardSession.java
tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=932276&r1=932275&r2=932276&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Fri Apr  9 07:38:32 2010
@@ -146,13 +146,6 @@ PATCHES PROPOSED TO BACKPORT:
http://svn.apache.org/viewvc?rev=928732&view=rev
   -1: 
 
-* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
-  Ensure web application class loader is used when calling session listeners
-  http://svn.apache.org/viewvc?view=revision&revision=899138
-  http://svn.apache.org/viewvc?view=revision&revision=900131
-  +1: kfujino, kkolinko, markt
-  -1: 
-
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48843
   Prevent possible deadlock for worker allocation in APR
   https://issues.apache.org/bugzilla/attachment.cgi?id=25226

Modified: 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/security/SecurityClassLoad.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/security/SecurityClassLoad.java?rev=932276&r1=932275&r2=932276&view=diff
==
--- 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/security/SecurityClassLoad.java
 (original)
+++ 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/security/SecurityClassLoad.java
 Fri Apr  9 07:38:32 2010
@@ -87,6 +87,8 @@ public final class SecurityClassLoad {
 loader.loadClass
 (basePackage + "session.StandardSession");
 loader.loadClass
+(basePackage + "session.StandardSession$PrivilegedSetTccl");
+loader.loadClass
 (basePackage +
  "session.StandardSession$1");
 loader.loadClass

Modified: 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/StandardSession.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/StandardSession.java?rev=932276&r1=932275&r2=932276&view=diff
==
--- 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/StandardSession.java
 (original)
+++ 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/StandardSession.java
 Fri Apr  9 07:38:32 2010
@@ -686,34 +686,59 @@ public class StandardSession
 // Notify interested application event listeners
 // FIXME - Assumes we call listeners in reverse order
 Context context = (Context) manager.getContainer();
-Object listeners[] = context.getApplicationLifecycleListeners();
-if (notify && (listeners != null)) {
-HttpSessionEvent event =
-new HttpSessionEvent(getSession());
-for (int i = 0; i < listeners.length; i++) {
-int j = (listeners.length - 1) - i;
-if (!(listeners[j] instanceof HttpSessionListener))
-continue;
-HttpSessionListener listener =
-(HttpSessionListener) listeners[j];
-try {
-fireContainerEvent(context,
-   "beforeSessionDestroyed",
-   listener);
-listener.sessionDestroyed(event);
-fireContainerEvent(context,
-   "afterSessionDestroyed",
-   listener);
-} catch (Throwable t) {
+
+// The call to expire() may not have been triggered by the webapp.
+// Make sure the webapp's class loader is set when calling the
+// listeners
+ClassLoader oldTccl = null;
+if (context.getLoader() != null &&
+context.getLoader().getClassLoader() != null) {
+oldTccl = Thread.currentThread().getContextClassLoader();
+if (System.getSecurityManager() != null) {
+PrivilegedAction pa = new PrivilegedSetTccl(
+   

Re: Runtime.exec , application is invisible

2010-04-09 Thread Mark Thomas

On 09/04/2010 03:10, topclass8205 wrote:

I'm making some web server for managing specific application.
at first, I want to run or stop a application at remote desktop using JSP
server.

So, I used following code.

Process process = Runtime.getRuntime().exec("C:\\test.exe");

then I confirm that 'test.exe' is running at remote desktop but background.
I could fine 'test.exe' from windows task manager. but I can't see it's
window.
It's invisible.

how can I make it visible at remote desktop? anybody give me some advices.

thanks in advance.


This message is off-topic for this list. Please use the Tomcat users 
mailing list.


Mark




-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org