[Tomcat Wiki] Update of "TomcatAtApacheConUs2009" by Je anFredericClere

2009-10-27 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "TomcatAtApacheConUs2009" page has been changed by JeanFredericClere.
http://wiki.apache.org/tomcat/TomcatAtApacheConUs2009?action=diff&rev1=9&rev2=10

--

  === Attendees ===
  Please register 
[[http://spreadsheets.google.com/viewform?formkey=dEJLcHk3c1ZrRm8tWUNYeXZZckN0Vnc6MA|on
 the link]] if you plan to attend.
  
- Already registered attendees (updated the 26th of October):
+ Already registered attendees (updated the 27th of October):
  
+ Jean-Frederic Clere, Rainer Jung, Jason Brittain, Sateesh Narahari, Costin 
Manolache, Mark Thomas, Aleksandar Gargenta, Luca Candela, Juan Manuel, Manoj 
Kumar,
- Jean-Frederic Clere,
- Rainer Jung,
- Jason Brittain,
- Sateesh Narahari,
- Costin Manolache,
- Mark Thomas,
- Aleksandar Gargenta,
- Luca Candela,
- Juan Manuel,
  
  For more information on other BoF / !MeetUp / !GetTogetther schedules please 
consult the main !ApacheCon wiki...
  

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



DO NOT REPLY [Bug 48060] wrong implementation of peek() method of JIoEndpoint.WorkerStack class

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48060

qingyang.xu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

-- 
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 48066] New: ant.jar is needless in build.xml

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48066

   Summary: ant.jar is needless in build.xml
   Product: Tomcat 7
   Version: trunk
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: qingyang...@qunar.com


following is the relevant parts of the 'build.xml' file:






... ...

 

  
  
 
 ... ...




However, if you delete the first item () in
the path element whose id is 'tomcat.classpath', the target of 'compile' still
runs successfully, and if you invoke ant as "ant -v", you can see that
'ant.jar' has already been included in the classpath. For example, the
following is the output on my machine:

... ...
Compiling 1052 source files to
/home/xuqy/Downloads/apache-tomcat-6.0.20-src/output/classes
[javac] Using modern compiler
[javac] Compilation arguments:
[javac] '-d'
[javac] '/home/xuqy/Downloads/apache-tomcat-6.0.20-src/output/classes'
[javac] '-classpath'
[javac]
'/home/xuqy/Downloads/apache-tomcat-6.0.20-src/output/classes:/home/xuqy/tomcat-base-path/eclipse/plugins/org.eclipse.jdt.core_3.3.1.v_780_R33x.jar:/usr/local/apache-ant-1.7.1/lib/ant-launcher.jar:/usr/local/apache-ant-1.7.1/lib/xercesImpl.jar:/usr/local/apache-ant-1.7.1/lib/ant-jdepend.jar:/usr/local/apache-ant-1.7.1/lib/ant-javamail.jar:/usr/local/apache-ant-1.7.1/lib/ant-commons-net.jar:/usr/local/apache-ant-1.7.1/lib/ant-apache-oro.jar:/usr/local/apache-ant-1.7.1/lib/ant.jar:/usr/local/apache-ant-1.7.1/lib/ant-weblogic.jar:/usr/local/apache-ant-1.7.1/lib/xml-apis.jar:/usr/local/apache-ant-1.7.1/lib/ant-jmf.jar:/usr/local/apache-ant-1.7.1/lib/ant-trax.jar:/usr/local/apache-ant-1.7.1/lib/ant-jsch.jar:/usr/local/apache-ant-1.7.1/lib/ant-commons-logging.jar:/usr/local/apache-ant-1.7.1/lib/ant-apache-regexp.jar:/usr/local/apache-ant-1.7.1/lib/ant-swing.jar:/usr/local/apache-ant-1.7.1/lib/ant-junit.jar:/usr/local/apache-ant-1.7.1/lib/ant-testutil.jar:/usr/local/apache-ant-1.7.1
 
/lib/ant-antlr.jar:/usr/local/apache-ant-1.7.1/lib/ant-jai.jar:/usr/local/apache-ant-1.7.1/lib/ant-nodeps.jar:/usr/local/apache-ant-1.7.1/lib/ant-apache-bsf.jar:/usr/local/apache-ant-1.7.1/lib/ant-apache-resolver.jar:/usr/local/apache-ant-1.7.1/lib/ant-netrexx.jar:/usr/local/apache-ant-1.7.1/lib/ant-starteam.jar:/usr/local/apache-ant-1.7.1/lib/ant-apache-log4j.jar:/usr/local/apache-ant-1.7.1/lib/ant-stylebook.jar:/usr/local/apache-ant-1.7.1/lib/ant-apache-bcel.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/lib/tools.jar'
[javac] '-sourcepath'
[javac] '/home/xuqy/Downloads/apache-tomcat-6.0.20-src/java'
[javac] '-target'
[javac] '1.5'
[javac] '-g'
[javac] '-source'
[javac] '1.5'

It seems that Ant appends ant.jar automatically when invoking javac target. So,
removing ant.jar from classpath is safe. Furthermore, ant.jar is neither
alluded in build.xml.default nor in the file of 'BUILDING.txt'. In most cases,
it is discarded silently.

-- 
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 47926] classpath element 'ant.jar' should be removed from 'build.xml' (ANT appends 'ant.jar' automatically during compliation)

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47926

qingyang.xu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #1 from qingyang.xu  2009-10-27 09:10:10 UTC 
---
*** This bug has been marked as a duplicate of bug 48066 ***

-- 
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 48066] ant.jar is needless in build.xml

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48066

--- Comment #1 from qingyang.xu  2009-10-27 09:10:10 UTC 
---
*** Bug 47926 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48066] ant.jar is needless in build.xml

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48066

--- Comment #2 from Stefan Bodewig  2009-10-27 10:05:16 UTC 
---
whether ant.jar is included or not depends on the includeAntRuntime attribute
of the javac task which - for better or worse - happens to default to true.

It may be a good idea to set this attribute explicitly.

-- 
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 48069] New: Log Files not getting updated while using isapi_redirect.properties

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48069

   Summary: Log Files not getting updated while using
isapi_redirect.properties
   Product: Tomcat Connectors
   Version: 1.2.28
  Platform: PC
OS/Version: Windows Server 2003
Status: NEW
  Severity: normal
  Priority: P2
 Component: isapi
AssignedTo: dev@tomcat.apache.org
ReportedBy: arunzj...@gmail.com


The Log Files not getting updated while using isapi_redirect.properties. This
works fine if i use the registry to configure properties. I have the below
isapi_redirect.properties

# Configuration file for the Jakarta ISAPI Redirector

# The path to the ISAPI Redirector Extension, relative to the website
# This must be in a virtual directory with execute privileges
extension_uri=/jakarta/isapi_redirect.dll

# Full path to the log file for the ISAPI Redirector
log_file=C:\Program Files\ISAPI JK Conn\isapi_redirect.log

# Log level (debug, info, warn, error or trace)
log_level=debug

# Full path to the workers.properties file
worker_file=C:\Program Files\ISAPI JK Conn\workers.properties

# Full path to the uriworkermap.properties file
worker_mount_file=C:\Program Files\ISAPI JK Conn\uriworkermap.properties

Somehow the logs specified under C:\Program Files\ISAPI JK
Conn\isapi_redirect.log are not getting updated.I even tried creating a file
and reloading the plugin by restarting IIS 6.0 ,but no luck.This seems to be a
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48069] Log Files not getting updated while using isapi_redirect.properties

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48069

arunzjohn  changed:

   What|Removed |Added

 CC||arunzj...@gmail.com

-- 
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: r830368 - /tomcat/trunk/java/org/apache/catalina/connector/Request.java

2009-10-27 Thread markt
Author: markt
Date: Tue Oct 27 22:16:54 2009
New Revision: 830368

URL: http://svn.apache.org/viewvc?rev=830368&view=rev
Log:
Add back the setters for remote host and remote address and provide an 
implementation. They will be needed for the mod_remoteip port (bug 47330)

Modified:
tomcat/trunk/java/org/apache/catalina/connector/Request.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Request.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Request.java?rev=830368&r1=830367&r2=830368&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/connector/Request.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Request.java Tue Oct 27 
22:16:54 2009
@@ -793,6 +793,27 @@
 
 
 /**
+ * Set the IP address of the remote client associated with this Request.
+ *
+ * @param remoteAddr The remote IP address
+ */
+public void setRemoteAddr(String remoteAddr) {
+this.remoteAddr = remoteAddr;
+}
+
+
+/**
+ * Set the fully qualified name of the remote client associated with this
+ * Request.
+ *
+ * @param remoteHost The remote host name
+ */
+public void setRemoteHost(String remoteHost) {
+this.remoteHost = remoteHost;
+}
+
+
+/**
  * Set the value to be returned by isSecure()
  * for this Request.
  *



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



DO NOT REPLY [Bug 48069] Log Files not getting updated while using isapi_redirect.properties

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48069

--- Comment #1 from Rainer Jung  2009-10-27 15:21:02 
UTC ---
Does it create the file?

Can you please try a log file without spaces in the path and in a directory for
which you (or the service) have szurely write access?

Logging should work in principle and this is to narrow done possible reasons in
your environment.

-- 
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 48069] Log Files not getting updated while using isapi_redirect.properties

2009-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48069

--- Comment #2 from Rainer Jung  2009-10-27 15:29:02 
UTC ---
Is it possible, that the file is owned by a different user?

Is the redirector working when loading from a properties file, i.e. do we know
it actually read and processed the file correctly (like the uriworkermap is
working)?

-- 
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: r830378 - /tomcat/trunk/webapps/docs/config/listeners.xml

2009-10-27 Thread markt
Author: markt
Date: Tue Oct 27 22:34:04 2009
New Revision: 830378

URL: http://svn.apache.org/viewvc?rev=830378&view=rev
Log:
Document new listener

Modified:
tomcat/trunk/webapps/docs/config/listeners.xml

Modified: tomcat/trunk/webapps/docs/config/listeners.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/listeners.xml?rev=830378&r1=830377&r2=830378&view=diff
==
--- tomcat/trunk/webapps/docs/config/listeners.xml (original)
+++ tomcat/trunk/webapps/docs/config/listeners.xml Tue Oct 27 22:34:04 2009
@@ -218,6 +218,29 @@
 
 
 
+JRE Memory Leak Prevention Listener
+(org.apache.catalina.core.JreMemoryLeakPreventionListener)
+
+The JRE Memory Leak Prevention Listener provides
+work-arounds for known places where the Java Runtime environment uses
+the context class loader to load a singleton as this will cause a memory
+leak if a web application class loader happens to be the context class
+loader at the time. The work-around is to initialise these singletons when
+this listener starts as Tomcat's common class loader is the context class
+loader at that time.
+
+Currently the JRE Memory Leak Prevention Listener
+provides work-arounds for the following:
+
+  sun.awt.AppContext.getAppContext()
+
+
+This listener must only be nested within Server
+elements.
+
+No additional attributes are support by the JRE Memory Leak
+Prevention Listener.
+
   
 
 



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



svn commit: r830379 - /tomcat/trunk/res/confinstall/server_1.xml

2009-10-27 Thread markt
Author: markt
Date: Tue Oct 27 22:35:05 2009
New Revision: 830379

URL: http://svn.apache.org/viewvc?rev=830379&view=rev
Log:
Add leak prevention listener to windows installer

Modified:
tomcat/trunk/res/confinstall/server_1.xml

Modified: tomcat/trunk/res/confinstall/server_1.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/confinstall/server_1.xml?rev=830379&r1=830378&r2=830379&view=diff
==
--- tomcat/trunk/res/confinstall/server_1.xml (original)
+++ tomcat/trunk/res/confinstall/server_1.xml Tue Oct 27 22:35:05 2009
@@ -25,6 +25,8 @@
   
   
   
+  
+  
   
   
   



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



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

2009-10-27 Thread markt
Author: markt
Date: Tue Oct 27 22:36:53 2009
New Revision: 830380

URL: http://svn.apache.org/viewvc?rev=830380&view=rev
Log:
Add additional patches as requested

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=830380&r1=830379&r2=830380&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Oct 27 22:36:53 2009
@@ -312,11 +312,10 @@
 
 * Fix memory leak causes by a JRE implementation change in 1.6.0_15 onwards
   http://svn.apache.org/viewvc?view=revision&revision=828196
-  +1: markt
+  http://svn.apache.org/viewvc?view=revision&revision=830378
+  http://svn.apache.org/viewvc?view=revision&revision=830379
+  +1: markt, kkolinko
   -1: 
-  kkolinko: +1, but only if the same lines are added to 
/res/confinstall/server_1.xml as well
-Also, once this patch is approved, a description of 
JreMemoryLeakPreventionListener
-has to be added to 
http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48019
   Be more careful about skipping over sections we aren't interested in



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



svn commit: r830444 - /tomcat/trunk/webapps/docs/config/listeners.xml

2009-10-27 Thread kkolinko
Author: kkolinko
Date: Wed Oct 28 05:40:36 2009
New Revision: 830444

URL: http://svn.apache.org/viewvc?rev=830444&view=rev
Log:
Corrected a misprint

Modified:
tomcat/trunk/webapps/docs/config/listeners.xml

Modified: tomcat/trunk/webapps/docs/config/listeners.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/listeners.xml?rev=830444&r1=830443&r2=830444&view=diff
==
--- tomcat/trunk/webapps/docs/config/listeners.xml (original)
+++ tomcat/trunk/webapps/docs/config/listeners.xml Wed Oct 28 05:40:36 2009
@@ -78,7 +78,7 @@
 This listener must only be nested within Server
 elements.
 
-The following additional attributes are support by the APR
+The following additional attributes are supported by the APR
 Lifecycle Listener:
 
 
@@ -111,7 +111,7 @@
 This listener must only be nested within Server
 elements.
 
-No additional attributes are support by the Jasper Listener
+No additional attributes are supported by the Jasper Listener
 .
 
 Server Lifecycle Listener
@@ -124,7 +124,7 @@
 This listener must only be nested within Server
 elements.
 
-No additional attributes are support by the Server Lifecycle
+No additional attributes are supported by the Server Lifecycle
 Listener.
 
 Global Resources Lifecycle Listener
@@ -138,7 +138,7 @@
 This listener must only be nested within Server
 elements.
 
-No additional attributes are support by the Global Resources
+No additional attributes are supported by the Global Resources
 Lifecycle Listener.
 
 JMX Remote Lifecycle Listener
@@ -194,7 +194,7 @@
 This listener must only be nested within a Server
 element.
 
-The following additional attributes are support by the JMX 
Remote
+The following additional attributes are supported by the JMX 
Remote
 Lifecycle Listener:
 
 
@@ -238,7 +238,7 @@
 This listener must only be nested within Server
 elements.
 
-No additional attributes are support by the JRE Memory Leak
+No additional attributes are supported by the JRE Memory Leak
 Prevention Listener.
 
   



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