svn commit: r1342515 - in /tomcat/tc6.0.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/config/context.xml webapps/docs/jndi-resources-howto.xml

2012-05-25 Thread kkolinko
Author: kkolinko
Date: Fri May 25 06:41:02 2012
New Revision: 1342515

URL: http://svn.apache.org/viewvc?rev=1342515view=rev
Log:
CTR: documentation
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53289
Clarify ResourceLink example that uses getConnection(username, password)
Backport of r1342498 r1342503 from trunk.

Modified:
tomcat/tc6.0.x/trunk/   (props changed)
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml
tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml

Propchange: tomcat/tc6.0.x/trunk/
--
  Merged /tomcat/trunk:r1342498,1342503

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=1342515r1=1342514r2=1342515view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Fri May 25 06:41:02 2012
@@ -179,6 +179,11 @@
 docs.oracle.com site, instead of obsolete ones (download.oracle.com,
 java.sun.com). (kkolinko)
   /update
+  update
+bug53289/bug: Clarify codeResourceLink/code example that
+uses DataSource.getConnection(username, password) method. Not all
+data source implementations support it. (kkolinko)
+  /update
 /changelog
   /subsection
   subsection name=Other

Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml?rev=1342515r1=1342514r2=1342515view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml Fri May 25 06:41:02 
2012
@@ -925,16 +925,27 @@
   /attribute
 
 /attributes
-pShared Data Source Example/p
+pShared Data Source Example:/p
+pstrongWarning:/strong This feature works only if the global 
DataSource
+supports codegetConnection(username, password)/code method.
+a href=http://commons.apache.org/dbcp/;Apache Commons DBCP/a pool that
+Tomcat uses by default does not support it. See its Javadoc for
+codeBasicDataSource/code class.
+a href=http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html;Apache Tomcat 
JDBC pool/a
+(included with Tomcat 7 and later) does support it,
+but by default this support is disabled and can be enabled by
+codealternateUsernameAllowed/code attribute. See its documentation
+for details. The example below uses Apache Tomcat JDBC pool./p
 source
 lt;GlobalNamingResourcesgt;
   ...
   lt;Resource name=quot;sharedDataSourcequot;
 global=quot;sharedDataSourcequot;
 type=quot;javax.sql.DataSourcequot;
+factory=quot;org.apache.tomcat.jdbc.pool.DataSourceFactoryquot;
+alternateUsernameAllowed=quot;truequot;
 username=quot;barquot;
 password=quot;barpassquot;
-
 ...
   ...
 lt;/GlobalNamingResourcesgt;

Modified: tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml?rev=1342515r1=1342514r2=1342515view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml Fri May 25 
06:41:02 2012
@@ -110,7 +110,7 @@ element:/p
 lia href=config/context.html#Resource Linkslt;ResourceLinkgt;/a -
 Add a link to a resource defined in the global JNDI context. Use resource 
 links to give a web application access to a resource defined in 
-thea href=config/globalresources.htmllt;GlobalNamingResourcesgt;/a
+the a href=config/globalresources.htmllt;GlobalNamingResourcesgt;/a
 child element of the a href=config/server.htmllt;Servergt;/a
 element./li
 lia href=config/context.html#Transactionlt;Transactiongt;/a -



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



Re: svn commit: r1333929 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

2012-05-25 Thread Olivier Lamy
2012/5/25 Konstantin Kolinko knst.koli...@gmail.com:
 2012/5/4  ol...@apache.org:
 Author: olamy
 Date: Fri May  4 13:06:23 2012
 New Revision: 1333929

 URL: http://svn.apache.org/viewvc?rev=1333929view=rev
 Log:
 [MTOMCAT-150] expose ports used with tomcat7:run as sys props: feature to 
 dump ports in a property file to be able to use later with a forked surefire 
 execution

 Modified:
    
 tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

 Modified: 
 tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
 URL: 
 http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1333929r1=1333928r2=1333929view=diff
 ==
 --- 
 tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
  (original)
 +++ 
 tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
  Fri May  4 13:06:23 2012
 @@ -31,6 +31,7 @@ import org.apache.catalina.startup.Catal
  import org.apache.catalina.startup.CatalinaProperties;
  import org.apache.catalina.startup.Tomcat;
  import org.apache.catalina.valves.AccessLogValve;
 +import org.apache.commons.io.IOUtils;
  import org.apache.commons.lang.StringUtils;
  import org.apache.maven.artifact.Artifact;
  import org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter;
 @@ -69,6 +70,7 @@ import javax.xml.stream.XMLStreamReader;
  import java.io.File;
  import java.io.FileInputStream;
  import java.io.FileNotFoundException;
 +import java.io.FileOutputStream;
  import java.io.IOException;
  import java.net.MalformedURLException;
  import java.net.URL;
 @@ -78,6 +80,7 @@ import java.util.Collections;
  import java.util.Iterator;
  import java.util.List;
  import java.util.Map;
 +import java.util.Properties;
  import java.util.Set;

  /**
 @@ -382,6 +385,14 @@ public abstract class AbstractRunMojo
      */
     protected MavenSession session;

 +    /**
 +     * Will dump port in a properties file (see ports for property names).
 +     * If empty no file generated
 +     *
 +     * @parameter expression=${maven.tomcat.propertiesPortFilePath}
 +     */
 +    protected String propertiesPortFilePath;
 +
     // --
     // Fields
     // --
 @@ -952,6 +963,10 @@ public abstract class AbstractRunMojo

                 embeddedTomcat.start();

 +                Properties portProperties = new Properties();
 +
 +                portProperties.put( tomcat.maven.http.port, 
 Integer.toString( connector.getLocalPort() ) );
 +
                 session.getExecutionProperties().put( 
 tomcat.maven.http.port,
                                                       Integer.toString( 
 connector.getLocalPort() ) );
                 System.setProperty( tomcat.maven.http.port, 
 Integer.toString( connector.getLocalPort() ) );
 @@ -960,6 +975,7 @@ public abstract class AbstractRunMojo
                 {
                     session.getExecutionProperties().put( 
 tomcat.maven.https.port,
                                                           Integer.toString( 
 httpsConnector.getLocalPort() ) );
 +                    portProperties.put( tomcat.maven.https.port, 
 Integer.toString( connector.getLocalPort() ) );


 The above line apparently should have called
  httpsConnector.getLocalPort()
Good catch !
Thanks!

                     System.setProperty( tomcat.maven.https.port, 
 Integer.toString( httpsConnector.getLocalPort() ) );
                 }

 (...)

 Best regards,
 Konstantin Kolinko

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




-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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



[Bug 53267] The JreMemoryLeakPreventionListener causes a full GC every hour when gcDaemonProtection=true

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53267

Konstantin Kolinko knst.koli...@gmail.com changed:

   What|Removed |Added

  Attachment #28809|0   |1
   is patch||
  Attachment #28809|application/octet-stream|text/plain
  mime type||

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



[Bug 53267] The JreMemoryLeakPreventionListener causes a full GC every hour when gcDaemonProtection=true

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53267

--- Comment #2 from Konstantin Kolinko knst.koli...@gmail.com ---
For reference, a thread on users list about observing this issue with 6.0.28,
JreMemoryLeakPreventionListener and hourly Full GC (2010-08):

http://marc.info/?t=12815613962r=1w=2
http://markmail.org/thread/53rxdqyqnjhlzk6d

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



[Bug 53267] The JreMemoryLeakPreventionListener causes a full GC every hour when gcDaemonProtection=true

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53267

--- Comment #3 from Konstantin Kolinko knst.koli...@gmail.com ---
As far as I can see, Long.MAX_VALUE in s.m.GC is treated specially, and I
suspect that using this specific value may break the memory leak prevention
feature.

I am OK with making the latency configurable, though I think it is better to
just add a property on this listener class, instead of a system property.

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



[Bug 52055] ChunkedInputFilter is not recycled for servlet 3.0 asynchronous request

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52055

--- Comment #14 from Sudhan Moghe sudhan.mo...@gmail.com ---
I think the issue is because of ChunkedInputFilter.needCRLFParse not being
reset.
I think we need to do needCRLFParse = false; in ChunkedInputFilter.recycle().

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



IIS SPDY Redirector for Tomcat

2012-05-25 Thread Konstantin Preißer
Hello!

Some time ago, I wrote about a possible alternative IIS AJP Connector 
implementation [1] that is written in C# and uses the new IIS 7/8 module 
pipeline, which allows to insert managed modules (.Net) in the request pipeline.


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



RE: IIS SPDY Redirector for Tomcat

2012-05-25 Thread Konstantin Preißer
Sorry for the noise, please ignore the previous email (hit send too early...)
Konstantin Preißer

 
 Hello!
 
 Some time ago, I wrote about a possible alternative IIS AJP Connector
 implementation [1] that is written in C# and uses the new IIS 7/8
 module pipeline, which allows to insert managed modules (.Net) in the
 request pipeline.


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



Possible IIS SPDY Redirector for Tomcat

2012-05-25 Thread Konstantin Preißer
Hello! (this time I hope the e-mail is complete ;-)

Some time ago, I wrote about a possible alternative IIS AJP Connector 
implementation [1] that is written in C# and uses the new IIS 7/8 module 
pipeline, which allows to insert managed modules (.Net) in the request pipeline.

However, Mladen Turk pointed me to the SPDY protocol which could also be used 
for server-to-server communication as a possible replacement for AJP (which was 
also mentioned in the Thread SPDY support by Costin Manolache).

Since I had some spare time again, I started to try an implementation of an 
SPDY Client / Redirector for IIS 7.x/8.x which is also written in C# (using 
.Net Framework 4.0), which is based on SPDY Protocol Draft 3 [2]. It is a 
3-layered SPDY client with a very basic IIS module that uses the client to 
forward requests. You can find the source code at the SVN repo here: 
https://kinderbasar-luhe.de:8543/svn/PreisserNormaleProjekte/SpdyConnector/
Note that there is a Java part (Eclipse project, it is a workaround to use TLS 
NPN) and a .Net part (Microsoft Visual Studio 2010 project). Of course, it 
still needs a lot of work to be done (and probably has also a number of bugs 
;-) ).

If you like the connector, I would be happy to contribute it to the Apache 
Software Foundation (however there currently are some problems which prevent 
this - see below).


The architecture of that SPDY client / IIS module is the following (each layer 
has only dependencies to the layer(s) above):

1. SPDY Connector (protocol)

2. SPDY Processor (multiplexer)

3. SPDY HTTP Processor (HTTP layer)

4. IIS Module (for forwarding requests)


1. SPDY Connector implements the SPDY protocol (without HTTP). This means 
e.g. it has methods to send specific frames, and it has events that are raised 
when other specific frames are received. It does not do any multiplexing. It is 
intended to be accessed by only 2 different threads (one for reading and one 
for writing).

2. SPDY Processor uses the SPDY connector and adds multiplexing to it. This 
means it can be accessed by several threads to get a SPDY stream and read from 
it / write to it. The SPDY Processor serializes these calls to the SPDY 
Connector.

3. SPDY HTTP Processsor adds an HTTP layer to the SPDY processor (e.g. it 
translates normal HTTP headers to SPDY ones).

4. IIS Module contains a class that implements System.Web.IHttpModule 
interface so that it can be inserted into IIS's request pipeline. It is 
responsible for redirecting HTTP requests using one or more SPDY HTTP 
Processors.


This architecture also allows to use the SPDY client as a regular client 
(without IIS). I also noticed a Websockets over SPDY proposal which I think 
should not be hard to implement (IIS 8 supports WebSockets, but I haven't dealt 
with IIS 8 websockets yet).


However, I got to some problems when I was implementing the SPDY client:

1. .Net has no support for the TLS NPN (next protocol negotiation) extension 
which is required by SPDY, and there seems to be no library for supporting it 
(at least I couldn't find one). Therefore I had to create a Java TLS tunnel 
which uses the NPN extension from Jetty [3]. This is similar to stunnel with 
the addition that it uses NPN to negotiate spdy/3 as protocol. You can find 
it in 
https://kinderbasar-luhe.de:8543/svn/PreisserNormaleProjekte/SpdyConnector/Java/NpnSpdyTunnel/.

2. SPDY uses zlib for header compression. Although .Net has some support for 
compression in the System.IO.Compression namespace, it doesn't seem to have 
support for the operations required by SPDY (setting a Zlib Dictionary and 
using SYNC_FLUSH between header frames). (However I must admit that I don't 
have much knowledge about these compression technologies, so I might be wrong).
Therefore I used ZLIB.NET [4] which is a managed .Net implementation of zlib. 
However it seems to be based on an older version, and I had to hack the code 
which checks if the correct dictionary is set (it seemed that the adler32() 
function computed a wrong value for the dictionary) for the compression to 
work. Also, I don't know if the library can be distributed with apache licences.


Note that because of 1., the .Net SPDY client currently doesn't use any 
SSL/TLS, because it will connect to the Java NPN tunnel, which negotiates 
spdy/3 and does the encryption.


I tested the SPDY client with Google servers which use spdy/3 for some time 
now. However I couldn't test it with Tomcat, as it seems that it is currently 
implementing spdy/2, but not spdy/3 (please correct me if I'm saying something 
wrong).



If you would like to test the SPDY client with IIS 7.x (Windows Server 2008 or 
Windows Server 2008 R2) or IIS 8.x (Windows Server 2012), you would need to do 
the following:


0. Ensure that the Microsoft .Net Framework 4.0 (Full) is installed. Also 
ensure that Role Webserver (IIS) 

Re: mod_jk trying to connect to 0.0.0.0

2012-05-25 Thread Christopher Schultz
All,

On 5/24/12 12:09 PM, Christopher Schultz wrote:
 I've recently seen two questions on the users' list and a bunch of
 questions over on StackExchange/ServerFault about mod_jk trying to
 connect to 0.0.0.0 instead of some sane IP address. Many have comments
 saying that reverting to mod_jk 1.2.35 seems to fix the issue.

[snip]

 http://markmail.org/message/v2uvl7hgttuje2nf

The above case looks like it is heading towards blaming a worker that is
being used both in a balanced and non-balanced context (i.e. the worker
is being used under a balancer and also listed in worker.list). However,
in these cases, the configuration is very straightforward:

 http://serverfault.com/questions/390313/connection-from-apache-to-tomcat-via-mod-jk-not-working
 http://stackoverflow.com/questions/10663525/apache-tomcat-redirection-error-worker1-connecting-to-backend-failed

-chris



signature.asc
Description: OpenPGP digital signature


svn commit: r1342717 - in /tomcat/trunk/java/org/apache: catalina/websocket/ coyote/ajp/ coyote/http11/ coyote/http11/upgrade/ tomcat/util/net/

2012-05-25 Thread markt
Author: markt
Date: Fri May 25 16:39:46 2012
New Revision: 1342717

URL: http://svn.apache.org/viewvc?rev=1342717view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53074
Make WebSocket connections use infinite read timeouts by default.

Modified:
tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java
tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java
tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeAprProcessor.java
tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeBioProcessor.java
tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeInbound.java
tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeNioProcessor.java
tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java

Modified: tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java?rev=1342717r1=1342716r2=1342717view=diff
==
--- tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java Fri May 
25 16:39:46 2012
@@ -43,7 +43,6 @@ public abstract class StreamInbound impl
 private int outboundCharBufferSize = WsOutbound.DEFAULT_BUFFER_SIZE;
 
 
-
 public int getOutboundByteBufferSize() {
 return outboundByteBufferSize;
 }
@@ -231,4 +230,17 @@ public abstract class StreamInbound impl
  *  connection.
  */
 protected abstract void onTextData(Reader r) throws IOException;
+
+/**
+ * This default implementation sets the read timeout to infinite and 
expects
+ * the WebSocket application to close the connection when it is no longer
+ * required. Applications wishing to set an explicit timeout may override
+ * this method and return a value of their choice.
+ *
+ * @return  The read timeout in milliseconds or -1 for infinite
+ */
+@Override
+public int getReadTimeout() {
+return -1;
+}
 }

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java?rev=1342717r1=1342716r2=1342717view=diff
==
--- tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java Fri May 25 
16:39:46 2012
@@ -127,7 +127,8 @@ public class AjpAprProtocol extends Abst
 recycledProcessors.offer(processor);
 if (addToPoller) {
 ((AprEndpoint)proto.endpoint).getPoller().add(
-socket.getSocket().longValue(), true);
+socket.getSocket().longValue(),
+proto.endpoint.getKeepAliveTimeout());
 }
 }
 

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java?rev=1342717r1=1342716r2=1342717view=diff
==
--- tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java Fri May 
25 16:39:46 2012
@@ -231,7 +231,8 @@ public class Http11AprProtocol extends A
 recycledProcessors.offer(processor);
 if (addToPoller  proto.endpoint.isRunning()) {
 ((AprEndpoint)proto.endpoint).getPoller().add(
-socket.getSocket().longValue(), true);
+socket.getSocket().longValue(),
+proto.endpoint.getKeepAliveTimeout());
 }
 }
 
@@ -273,11 +274,13 @@ public class Http11AprProtocol extends A
 socket.setAsync(true);
 } else if (processor.isComet()  proto.endpoint.isRunning()) {
 ((AprEndpoint) proto.endpoint).getCometPoller().add(
-socket.getSocket().longValue(), false);
+socket.getSocket().longValue(),
+proto.endpoint.getSoTimeout());
 } else {
 // Upgraded
 ((AprEndpoint) proto.endpoint).getPoller().add(
-socket.getSocket().longValue(), false);
+socket.getSocket().longValue(),
+(processor.getUpgradeInbound().getReadTimeout()));
 }
 }
 

Modified: 
tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeAprProcessor.java
URL: 

[Bug 53074] [websocket] java.net.SocketTimeoutException: Read timed caused by server.xml' connectTimeout

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53074

--- Comment #7 from Mark Thomas ma...@apache.org ---
Fixed in trunk. Will be back-ported to 7.0.x once there has been a new release
of the APR/native connector.

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



[Bug 53074] [websocket] java.net.SocketTimeoutException: Read timed caused by server.xml' connectTimeout

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53074

--- Comment #8 from Jean-Francois Arcand jfarc...@apache.org ---
Ok thanks! I will go ahead and test using trunk. Will report if I see any
issues.

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



[Bug 53297] New: jsessionid not setting

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53297

  Priority: P2
Bug ID: 53297
  Assignee: dev@tomcat.apache.org
   Summary: jsessionid not setting
  Severity: critical
Classification: Unclassified
  Reporter: w...@cdc.gov
  Hardware: PC
Status: NEW
   Version: 6.0.35
 Component: Catalina
   Product: Tomcat 6

jsessionid is not getting added to setResquestSession ID,

 parseSessionId function is deprecated, and new function parsePathParameters is
not setting the jsesionid 

  String sessionID =
request.getPathParameter(Globals.SESSION_PARAMETER_NAME);

System.out.println(Session ID + sessionID);

if (sessionID != null) {
request.setRequestedSessionId(sessionID);
request.setRequestedSessionURL(true);
}

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



[Bug 53297] jsessionid not setting

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53297

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID
 OS||All

--- Comment #1 from Mark Thomas ma...@apache.org ---
You need to use the users list.

-- 
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: r1342795 - /tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java

2012-05-25 Thread markt
Author: markt
Date: Fri May 25 20:17:33 2012
New Revision: 1342795

URL: http://svn.apache.org/viewvc?rev=1342795view=rev
Log:
Further fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=52055. 
Ensure ChunkedInputFilter is correctly recycled.

Modified:
tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java

Modified: 
tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java?rev=1342795r1=1342794r2=1342795view=diff
==
--- tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java 
Fri May 25 20:17:33 2012
@@ -245,6 +245,7 @@ public class ChunkedInputFilter implemen
 pos = 0;
 lastValid = 0;
 endChunk = false;
+needCRLFParse = false;
 trailingHeaders.recycle();
 }
 



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



svn commit: r1342797 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/coyote/http11/filters/ChunkedInputFilter.java webapps/docs/changelog.xml

2012-05-25 Thread markt
Author: markt
Date: Fri May 25 20:21:30 2012
New Revision: 1342797

URL: http://svn.apache.org/viewvc?rev=1342797view=rev
Log:
Further fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=52055. 
Ensure ChunkedInputFilter is correctly recycled.

Modified:
tomcat/tc7.0.x/trunk/   (props changed)

tomcat/tc7.0.x/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1342795

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java?rev=1342797r1=1342796r2=1342797view=diff
==
--- 
tomcat/tc7.0.x/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
 (original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
 Fri May 25 20:21:30 2012
@@ -245,6 +245,7 @@ public class ChunkedInputFilter implemen
 pos = 0;
 lastValid = 0;
 endChunk = false;
+needCRLFParse = false;
 trailingHeaders.recycle();
 }
 

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1342797r1=1342796r2=1342797view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Fri May 25 20:21:30 2012
@@ -57,6 +57,10 @@
   subsection name=Catalina
 changelog
   fix
+bug52055/bug: An additional fix to ensure that the
+ChunkedInputFilter is correctly recycled. (markt)
+  /fix
+  fix
 bug53021/bug: Correct WebSocket protocol version detection. (pero)
   /fix
   add



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



[Bug 52055] ChunkedInputFilter is not recycled for servlet 3.0 asynchronous request

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52055

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |FIXED

--- Comment #15 from Mark Thomas ma...@apache.org ---
That looks like the cause to me to. This has been fixed in trunk and 7.0.x and
will be included in 7.0.28 onwards.

-- 
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: r1342805 - /tomcat/trunk/res/maven/

2012-05-25 Thread markt
Author: markt
Date: Fri May 25 20:45:42 2012
New Revision: 1342805

URL: http://svn.apache.org/viewvc?rev=1342805view=rev
Log:
BZ53034. Improve POM license info

Modified:
tomcat/trunk/res/maven/tomcat-annotations-api.pom
tomcat/trunk/res/maven/tomcat-api.pom
tomcat/trunk/res/maven/tomcat-catalina-ant.pom
tomcat/trunk/res/maven/tomcat-catalina-ha.pom
tomcat/trunk/res/maven/tomcat-catalina-jmx-remote.pom
tomcat/trunk/res/maven/tomcat-catalina-ws.pom
tomcat/trunk/res/maven/tomcat-catalina.pom
tomcat/trunk/res/maven/tomcat-coyote.pom
tomcat/trunk/res/maven/tomcat-dbcp.pom
tomcat/trunk/res/maven/tomcat-el-api.pom
tomcat/trunk/res/maven/tomcat-embed-core.pom
tomcat/trunk/res/maven/tomcat-embed-jasper.pom
tomcat/trunk/res/maven/tomcat-embed-logging-juli.pom
tomcat/trunk/res/maven/tomcat-embed-logging-log4j.pom
tomcat/trunk/res/maven/tomcat-extras-juli-adapters.pom
tomcat/trunk/res/maven/tomcat-extras-juli.pom
tomcat/trunk/res/maven/tomcat-i18n-es.pom
tomcat/trunk/res/maven/tomcat-i18n-fr.pom
tomcat/trunk/res/maven/tomcat-i18n-ja.pom
tomcat/trunk/res/maven/tomcat-jasper-el.pom
tomcat/trunk/res/maven/tomcat-jasper.pom
tomcat/trunk/res/maven/tomcat-jdbc.pom
tomcat/trunk/res/maven/tomcat-jni.pom
tomcat/trunk/res/maven/tomcat-jsp-api.pom
tomcat/trunk/res/maven/tomcat-juli.pom
tomcat/trunk/res/maven/tomcat-servlet-api.pom
tomcat/trunk/res/maven/tomcat-spdy.pom
tomcat/trunk/res/maven/tomcat-tribes.pom
tomcat/trunk/res/maven/tomcat-util.pom

Modified: tomcat/trunk/res/maven/tomcat-annotations-api.pom
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/maven/tomcat-annotations-api.pom?rev=1342805r1=1342804r2=1342805view=diff
==
--- tomcat/trunk/res/maven/tomcat-annotations-api.pom (original)
+++ tomcat/trunk/res/maven/tomcat-annotations-api.pom Fri May 25 20:45:42 2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-annotations-api/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionAnnotations Package/description
-urlhttp://tomcat.apache.org/url
+urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/trunk/res/maven/tomcat-api.pom
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/maven/tomcat-api.pom?rev=1342805r1=1342804r2=1342805view=diff
==
--- tomcat/trunk/res/maven/tomcat-api.pom (original)
+++ tomcat/trunk/res/maven/tomcat-api.pom Fri May 25 20:45:42 2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-api/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionDefinition of interfaces shared by Catalina and 
Jasper/description
-  urlhttp://tomcat.apache.org/url
+  urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/trunk/res/maven/tomcat-catalina-ant.pom
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/maven/tomcat-catalina-ant.pom?rev=1342805r1=1342804r2=1342805view=diff
==
--- tomcat/trunk/res/maven/tomcat-catalina-ant.pom (original)
+++ tomcat/trunk/res/maven/tomcat-catalina-ant.pom Fri May 25 20:45:42 2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-catalina-ant/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionTomcat Ant tasks for remote management/description
-  urlhttp://tomcat.apache.org/url
+  urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/trunk/res/maven/tomcat-catalina-ha.pom
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/maven/tomcat-catalina-ha.pom?rev=1342805r1=1342804r2=1342805view=diff
==
--- tomcat/trunk/res/maven/tomcat-catalina-ha.pom (original)
+++ tomcat/trunk/res/maven/tomcat-catalina-ha.pom Fri May 25 20:45:42 2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-catalina-ha/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionTomcat High Availability Implementation/description
-  urlhttp://tomcat.apache.org/url
+  urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/trunk/res/maven/tomcat-catalina-jmx-remote.pom
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/maven/tomcat-catalina-jmx-remote.pom?rev=1342805r1=1342804r2=1342805view=diff
==
--- tomcat/trunk/res/maven/tomcat-catalina-jmx-remote.pom (original)
+++ tomcat/trunk/res/maven/tomcat-catalina-jmx-remote.pom Fri May 25 20:45:42 
2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-catalina-jmx-remote/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionTomcat Remote JMX listener/description
-  urlhttp://tomcat.apache.org/url
+  

svn commit: r1342808 - in /tomcat/tc7.0.x/trunk: ./ res/maven/

2012-05-25 Thread markt
Author: markt
Date: Fri May 25 20:48:34 2012
New Revision: 1342808

URL: http://svn.apache.org/viewvc?rev=1342808view=rev
Log:
BZ53034. Improve POM license info

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/res/maven/tomcat-annotations-api.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-api.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ant.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ha.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-jmx-remote.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ws.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-coyote.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-dbcp.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-el-api.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-embed-core.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-embed-jasper.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-embed-logging-juli.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-embed-logging-log4j.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-extras-juli-adapters.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-extras-juli.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-i18n-es.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-i18n-fr.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-i18n-ja.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-jasper-el.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-jasper.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-jdbc.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-jsp-api.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-juli.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-servlet-api.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-tribes.pom
tomcat/tc7.0.x/trunk/res/maven/tomcat-util.pom

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1342805

Modified: tomcat/tc7.0.x/trunk/res/maven/tomcat-annotations-api.pom
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/maven/tomcat-annotations-api.pom?rev=1342808r1=1342807r2=1342808view=diff
==
--- tomcat/tc7.0.x/trunk/res/maven/tomcat-annotations-api.pom (original)
+++ tomcat/tc7.0.x/trunk/res/maven/tomcat-annotations-api.pom Fri May 25 
20:48:34 2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-annotations-api/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionAnnotations Package/description
-urlhttp://tomcat.apache.org/url
+urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/tc7.0.x/trunk/res/maven/tomcat-api.pom
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/maven/tomcat-api.pom?rev=1342808r1=1342807r2=1342808view=diff
==
--- tomcat/tc7.0.x/trunk/res/maven/tomcat-api.pom (original)
+++ tomcat/tc7.0.x/trunk/res/maven/tomcat-api.pom Fri May 25 20:48:34 2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-api/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionDefinition of interfaces shared by Catalina and 
Jasper/description
-  urlhttp://tomcat.apache.org/url
+  urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ant.pom
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ant.pom?rev=1342808r1=1342807r2=1342808view=diff
==
--- tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ant.pom (original)
+++ tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ant.pom Fri May 25 20:48:34 
2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-catalina-ant/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionTomcat Ant tasks for remote management/description
-  urlhttp://tomcat.apache.org/url
+  urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ha.pom
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ha.pom?rev=1342808r1=1342807r2=1342808view=diff
==
--- tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ha.pom (original)
+++ tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-ha.pom Fri May 25 20:48:34 
2012
@@ -21,7 +21,7 @@
   artifactIdtomcat-catalina-ha/artifactId
   version@MAVEN.DEPLOY.VERSION@/version
   descriptionTomcat High Availability Implementation/description
-  urlhttp://tomcat.apache.org/url
+  urlhttp://tomcat.apache.org//url
   licenses
 license
   nameApache License, Version 2.0/name

Modified: tomcat/tc7.0.x/trunk/res/maven/tomcat-catalina-jmx-remote.pom
URL: 

[Bug 53034] apache tomcat deployed pom does not contain url or license

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53034

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Mark Thomas ma...@apache.org ---
Updated in trunk and 7.0.x and will be included in 7.0.28. There wasn't a nice
way of doing this. Suggestions for better ways (ideally with a patch those does
not involve repackaging the XSDs) welcome.

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



[Bug 53075] [websocket] Sporadic NPE in InternalOutputBuffer

2012-05-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53075

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Mark Thomas ma...@apache.org ---
Looking at the stack trace, something is writing to the Writer obtained via
ServletResposne.getWriter() but since this bug relates to WebSocket, nothing
should be writing via the ServletResponse object. It appears that a reference
to the Writer is being retained and used when it should not be.

I have zero knowledge of the Atmosphere framework so it is always possible I am
mis-reading what is going on in the context of that framework. Feel free to
re-open this issue with further clarification on the circumstances if I have.

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



buildbot success in ASF Buildbot on tomcat-trunk

2012-05-25 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-trunk/builds/2990

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/trunk] 1342805
Blamelist: markt

Build succeeded!

sincerely,
 -The Buildbot





[GUMP@vmgump]: Project tomcat-tc7.0.x-validate (in module tomcat-7.0.x) failed

2012-05-25 Thread Bill Barker
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 tomcat-tc7.0.x-validate has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 10 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc7.0.x-validate :  Tomcat 7.x, a web server implementing Java 
Servlet 3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on checkstyle exists, no need to add for property 
checkstyle.jar.
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-validate.html
Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-validate (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar
 -Dexecute.validate=true validate 
[Working Directory: /srv/gump/public/workspace/tomcat-7.0.x]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.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/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar:commons-beanutils-gump-25052012.xml:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/target/commons-exec-1.1.1-SNAPSHOT.jar:commons-validator-gump-25052012.jar:junit-gump-25052012.jar:junit-dep-gump-25052012.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-12.0-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons
 
/logging/target/commons-logging-26052012.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-26052012.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/jdom/build/jdom.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-26052012.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-26052012-dep.jar
-
Buildfile: /srv/gump/public/workspace/tomcat-7.0.x/build.xml

download-validate:

proxyflags:

setproxy:

testexist:
 [echo] Testing  for 
/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar

downloadzip:

validate:
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-7.0.x/output/res/checkstyle

BUILD FAILED
/srv/gump/public/workspace/tomcat-7.0.x/build.xml:447: 
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleTask.java:371)
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.realExecute(CheckStyleTask.java:300)
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.execute(CheckStyleTask.java:262)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at 

[GUMP@vmgump]: Project tomcat-trunk-validate (in module tomcat-trunk) failed

2012-05-25 Thread Bill Barker
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 tomcat-trunk-validate has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 10 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-validate :  Tomcat 8.x, a web server implementing Java 
Servlet 3.1,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on checkstyle exists, no need to add for property 
checkstyle.jar.
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/gump_work/build_tomcat-trunk_tomcat-trunk-validate.html
Work Name: build_tomcat-trunk_tomcat-trunk-validate (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 sec
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar
 -Dexecute.validate=true validate 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.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/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar:commons-beanutils-gump-25052012.xml:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/target/commons-exec-1.1.1-SNAPSHOT.jar:commons-validator-gump-25052012.jar:junit-gump-25052012.jar:junit-dep-gump-25052012.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-12.0-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons
 
/logging/target/commons-logging-26052012.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-26052012.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/jdom/build/jdom.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-26052012.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-26052012-dep.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar
-
Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml

download-validate:

proxyflags:

setproxy:

testexist:
 [echo] Testing  for 
/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar

downloadzip:

validate:
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/res/checkstyle

BUILD FAILED
/srv/gump/public/workspace/tomcat-trunk/build.xml:458: 
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleTask.java:371)
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.realExecute(CheckStyleTask.java:300)
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.execute(CheckStyleTask.java:262)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at