svn commit: r1832434 - /tomcat/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java

2018-05-29 Thread remm
Author: remm
Date: Tue May 29 08:48:37 2018
New Revision: 1832434

URL: http://svn.apache.org/viewvc?rev=1832434&view=rev
Log:
Remove unused import.

Modified:
tomcat/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java?rev=1832434&r1=1832433&r2=1832434&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java Tue May 
29 08:48:37 2018
@@ -45,7 +45,6 @@ import org.apache.catalina.ha.ClusterVal
 import org.apache.catalina.ha.session.ClusterSessionListener;
 import org.apache.catalina.ha.session.DeltaManager;
 import org.apache.catalina.ha.session.JvmRouteBinderValve;
-import org.apache.catalina.ha.session.SessionMessage;
 import org.apache.catalina.tribes.Channel;
 import org.apache.catalina.tribes.ChannelListener;
 import org.apache.catalina.tribes.Member;



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



[Bug 62415] New: RFC 7230/3986 url requirement that prevents unencoded brackets should be optional, since it breaks existing sites

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62415

Bug ID: 62415
   Summary: RFC 7230/3986 url requirement that prevents unencoded
brackets should be optional, since it breaks existing
sites
   Product: Tomcat 8
   Version: 8.5.x-trunk
  Hardware: PC
Status: NEW
  Severity: blocker
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: remo.me...@adnovum.ch
  Target Milestone: 

About the same as "Bug 60594 - RFC 7230/3986 url requirement that prevents
unencoded curly braces should be optional, since it breaks existing sites" but
for other characters.

e.g. JSON:API specification performs filtering with:

GET /comments?filter[post]=1 HTTP/1.1

see http://jsonapi.org/recommendations/.

In Tomcat it does not seem to be supported anymore. Newer tomcat sources make
use:

  String prop =
System.getProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow");
if (prop != null) {
for (int i = 0; i < prop.length(); i++) {
char c = prop.charAt(i);
if (c == '{' || c == '}' || c == '|') {
REQUEST_TARGET_ALLOW[c] = true;
} else {
log.warn(sm.getString("http.invalidRequestTargetCharacter",
Character.valueOf(c)));
}
}
}


But for some reason it only supports { } and |. It should [] and likely any
other character as well. Currently it is not possible to use (current) Tomcat
as well for such applications.

-- 
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 62415] RFC 7230/3986 url requirement that prevents unencoded brackets should be optional, since it breaks existing sites

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62415

Mark Thomas  changed:

   What|Removed |Added

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

--- Comment #1 from Mark Thomas  ---
http://jsonapi.org/recommendations/ is not compliant with RFC 7230/3986. I
suggest you open a bug.

Bug 62273 implemented an extended range of options for relaxing the
requirements of RFC 7230/3986 that should be sufficient for you to work-around
the problem until such time that the root causes are fixed.

Note that the indications are that the browser vendors do not consider this
specification non-compliance as a bug.

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

-- 
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 60594] RFC 7230/3986 url requirement that prevents unencoded curly braces should be optional, since it breaks existing sites

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60594

--- Comment #30 from Mark Thomas  ---
See bug 62273 for further developments.

-- 
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 62273] Add support for alternate URL specification

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62273

Mark Thomas  changed:

   What|Removed |Added

 CC||remo.me...@adnovum.ch

--- Comment #17 from Mark Thomas  ---
*** Bug 62415 has been marked as a duplicate of this bug. ***

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



JDK 11 Early Access build 15 is available for download.

2018-05-29 Thread Rory O'Donnell

Hi Mark,

**JDK 11 EA build 15 , *under both the GPL and Oracle EA licenses, 
is now available at **http://jdk.java.net/11**. **

*

 * Newly approved Schedule, status & features
 o http://openjdk.java.net/projects/jdk/11/
 * Release Notes:
 o http://jdk.java.net/11/release-notes
 * Summary of changes
 o http://jdk.java.net/11/changes

*Notable changes in JDK 11 EA builds since last email:*

 * b15 - JDK-8201627 
   - Kerberos sequence number issues
 * b13 - JDK-8200146 
   - Removal of appletviewer launcher
 o deprecated in JDK 9 and has been removed in this release
 * b13 - JDK-8201793 
   - java.lang.ref.Reference does not support cloning

**

**

JEPs proposed to target JDK 11 (review ends 2018/05/31 23:00 UTC)

   330: Launch Single-File Source-Code Programs
   

   JEPs targeted to JDK 11, so far

   309: Dynamic Class-File Constants 
   318: Epsilon: A No-Op Garbage Collector
   
   320: Remove the Java EE and CORBA Modules
   
   321: HTTP Client (Standard) 
   323: Local-Variable Syntax for Lambda Parameters
   
   324: Key Agreement with Curve25519 and Curve448
   
   327: Unicode 10 
   328: Flight Recorder 
   329: ChaCha20 and Poly1305 Cryptographic Algorithms
   

Finally, Initial TLSv1.3 implementation Released to the Open Sandbox. 
Please note well: this branch is under
very active development and is not final by any means. Also note: by 
releasing this code, we are not committing
a specific release or timeframe. We will continue development and fixing 
bugs until the code is ready for inclusion

in the JDK. We welcome your feedback, more info [1]


Regards,
Rory

[1] 
http://mail.openjdk.java.net/pipermail/security-dev/2018-May/017139.html


--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA, Dublin,Ireland



svn commit: r1832449 - in /tomcat/trunk: ./ res/bnd/ webapps/docs/

2018-05-29 Thread markt
Author: markt
Date: Tue May 29 14:31:38 2018
New Revision: 1832449

URL: http://svn.apache.org/viewvc?rev=1832449&view=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=52381
Add OSGi metadata to JAR files

Added:
tomcat/trunk/res/bnd/
tomcat/trunk/res/bnd/annotations-api.bnd
tomcat/trunk/res/bnd/catalina-ha.bnd
tomcat/trunk/res/bnd/catalina-storeconfig.bnd
tomcat/trunk/res/bnd/catalina-tribes.bnd
tomcat/trunk/res/bnd/catalina.bnd
tomcat/trunk/res/bnd/el-api.bnd
tomcat/trunk/res/bnd/jasper-el.bnd
tomcat/trunk/res/bnd/jasper.bnd
tomcat/trunk/res/bnd/jaspic-api.bnd
tomcat/trunk/res/bnd/jsp-api.bnd
tomcat/trunk/res/bnd/servlet-api.bnd
tomcat/trunk/res/bnd/tomcat-api.bnd
tomcat/trunk/res/bnd/tomcat-coyote.bnd
tomcat/trunk/res/bnd/tomcat-dbcp.bnd
tomcat/trunk/res/bnd/tomcat-embed-core.bnd
tomcat/trunk/res/bnd/tomcat-embed-el.bnd
tomcat/trunk/res/bnd/tomcat-embed-jasper.bnd
tomcat/trunk/res/bnd/tomcat-embed-websocket.bnd
tomcat/trunk/res/bnd/tomcat-jni.bnd
tomcat/trunk/res/bnd/tomcat-juli.bnd
tomcat/trunk/res/bnd/tomcat-util-scan.bnd
tomcat/trunk/res/bnd/tomcat-util.bnd
tomcat/trunk/res/bnd/tomcat-websocket.bnd
tomcat/trunk/res/bnd/websocket-api.bnd
Modified:
tomcat/trunk/build.properties.default
tomcat/trunk/build.xml
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1832449&r1=1832448&r2=1832449&view=diff
==
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Tue May 29 14:31:38 2018
@@ -218,3 +218,14 @@ saaj-api.version=1.3.5
 saaj-api.home=${base.path}/saaj-api-${saaj-api.version}
 
saaj-api.loc=${base-maven.loc}/javax/xml/soap/saaj-api/${saaj-api.version}/saaj-api-${saaj-api.version}.jar
 saaj-api.jar=${saaj-api.home}/saaj-api-${saaj-api.version}.jar
+
+# - bnd & bndlib, version 4.0.0 or later  -
+# - provides OSGI metadata for JARs   -
+bnd.version=4.0.0
+bnd.home=${base.path}/bnd-${bnd.version}
+bnd.loc=${base-maven.loc}/biz/aQute/bnd/biz.aQute.bnd/${bnd.version}/biz.aQute.bnd-${bnd.version}.jar
+bnd.jar=${bnd.home}/biz.aQute.bnd-${bnd.version}.jar
+
+bndlib.home=${base.path}/bndlib-${bnd.version}
+bndlib.loc=${base-maven.loc}/biz/aQute/bnd/biz.aQute.bndlib/${bnd.version}/biz.aQute.bndlib-${bnd.version}.jar
+bndlib.jar=${bndlib.home}/biz.aQute.bndlib-${bnd.version}.jar

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1832449&r1=1832448&r2=1832449&view=diff
==
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Tue May 29 14:31:38 2018
@@ -61,6 +61,7 @@
   
   
   
+  
   
   
   
@@ -257,6 +258,7 @@
 
 
 
+
 
 
 
@@ -535,6 +537,18 @@
   
 
 
+
+
+  
+  
+  
+  
+  
+
+  
+
+
   
 
   
 
-  
+  
+
+
+
+  
+  
+
+
+  
+
+  
 
 
+  manifest="${tomcat.manifests}/annotations-api.jar.manifest"
+  addOSGi="true" />
 
 
 
+  license="${tomcat.manifests}/servlet-api.jar.license"
+  addOSGi="true" />
 
 
 
+  manifest="${tomcat.manifests}/jsp-api.jar.manifest"
+  addOSGi="true" />
 
 
 
+  manifest="${tomcat.manifests}/el-api.jar.manifest"
+  addOSGi="true" />
 
 
 
+  manifest="${tomcat.manifests}/websocket-api.jar.manifest"
+  addOSGi="true" />
 
 
 
+  manifest="${tomcat.manifests}/jaspic-api.jar.manifest"
+  addOSGi="true" />
 
 
 
+  meta-inf="${tomcat.manifests}/tomcat-websocket.jar"
+  addOSGi="true" />
 
 
 
 
+  filesId="files.tomcat-juli"
+  addOSGi="true" />
 
 
 
+  filesId="files.catalina"
+  addOSGi="true" />
 
 
 
+  filesId="files.catalina-tribes"
+  addOSGi="true" />
 
 
 
+  filesId="files.catalina-ha"
+  addOSGi="true" />
 
 
 
 
+  filesId="files.catalina-storeconfig"
+  addOSGi="true" />
 
 
 
+  filesId="files.tomcat-api"
+  addOSGi="true" />
 
 
 
+  filesId="files.tomcat-util"
+  addOSGi="true" />
 
 
 
+  filesId="files.tomcat-util-scan"
+  addOSGi="true" />
 
 
 
+  filesId="files.tomcat-coyote"
+  addOSGi="true" />
 
 
+  filesId="files.tomcat-jni"
+  addOSGi="true" />
 
 
 
+  meta-inf="${tomcat.manifests}/jasper.jar"
+  addOSGi="true" />
 
 
 
+  filesId="files.jasper-el"
+  addOSGi="true" />
 
 
 
+  filesId="files.tomcat-dbcp"
+  addOSGi="true" />
 
 
 
   
   
+depends="build-manifests,build-bnd,compile" >
 
 
 
@@ -1241,18 +1287,22 @@
f

[Bug 52381] Please add OSGi metadata

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=52381

Mark Thomas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #18 from Mark Thomas  ---
It took a little longer than I expected but this is now implemented for 9.0.x

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



Re: JDK 11 Early Access build 15 is available for download.

2018-05-29 Thread Mark Thomas
On 29/05/18 11:01, Rory O'Donnell wrote:
> Hi Mark,
> 
> JDK 11 EA build 15

Builds without errors.

Unit tests mostly OK. There are a couple of failures in
TestSwallowAbortedUploads but that appears to be the result of a fragile
test. I'm looking into this.

Passes a basic smoke test (start Tomcat, play the WebSocket snake game).

Mark

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



svn commit: r1832455 - /tomcat/trunk/test/org/apache/catalina/core/TestSwallowAbortedUploads.java

2018-05-29 Thread markt
Author: markt
Date: Tue May 29 15:32:29 2018
New Revision: 1832455

URL: http://svn.apache.org/viewvc?rev=1832455&view=rev
Log:
Make test more robust. It now passes when running on Java 8 and Java 11.

Modified:
tomcat/trunk/test/org/apache/catalina/core/TestSwallowAbortedUploads.java

Modified: 
tomcat/trunk/test/org/apache/catalina/core/TestSwallowAbortedUploads.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/core/TestSwallowAbortedUploads.java?rev=1832455&r1=1832454&r2=1832455&view=diff
==
--- tomcat/trunk/test/org/apache/catalina/core/TestSwallowAbortedUploads.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/core/TestSwallowAbortedUploads.java 
Tue May 29 15:32:29 2018
@@ -40,6 +40,7 @@ import org.junit.Test;
 
 import org.apache.catalina.Context;
 import org.apache.catalina.Wrapper;
+import org.apache.catalina.connector.Connector;
 import org.apache.catalina.startup.SimpleHttpClient;
 import org.apache.catalina.startup.Tomcat;
 import org.apache.catalina.startup.TomcatBaseTest;
@@ -228,7 +229,7 @@ public class TestSwallowAbortedUploads e
 private static final String URI = "/uploadAborted";
 private static final String servletName = "uploadAborted";
 private static final int limitSize = 100;
-private static final int hugeSize = 200;
+private static final int hugeSize = 1000;
 
 private Context context;
 
@@ -252,8 +253,12 @@ public class TestSwallowAbortedUploads e
 context.addServletMappingDecoded(URI, servletName);
 context.setSwallowAbortedUploads(swallow);
 
+Connector c = tomcat.getConnector();
+c.setMaxPostSize(2 * hugeSize);
+c.setProperty("maxSwallowSize", Integer.toString(hugeSize));
+
 tomcat.start();
-setPort(tomcat.getConnector().getLocalPort());
+setPort(c.getLocalPort());
 }
 
 private Exception doRequest(boolean limited, boolean swallow) {
@@ -344,7 +349,7 @@ public class TestSwallowAbortedUploads e
 
 private static final String URI = "/uploadAborted";
 private static final String servletName = "uploadAborted";
-private static final int hugeSize = 200;
+private static final int hugeSize = 1000;
 
 private Context context;
 
@@ -360,7 +365,11 @@ public class TestSwallowAbortedUploads e
 
 tomcat.start();
 
-setPort(tomcat.getConnector().getLocalPort());
+Connector c = tomcat.getConnector();
+c.setMaxPostSize(2 * hugeSize);
+c.setProperty("maxSwallowSize", Integer.toString(hugeSize));
+
+setPort(c.getLocalPort());
 }
 
 private Exception doRequest(int status, boolean swallow) {



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



[Bug 62371] Improve logging in AbstractProcessor.parseHost()

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62371

--- Comment #28 from Tim Levett  ---
I'd like to provide some clarification for the docker swarm users that are
experiencing this issue. We are using docker stacks in docker swarm that are
deploying spring-boot applications with embedded tomcat. The challenge for us
was the underscore that is supplied by docker that separates the stack name and
the service name in the fully qualified DNS name. The good news is docker swarm
registers many DNS names inside the docker networking. Including stack_service,
service, and tasks.stack_service. If you have unique enough service names you
may be able to get away with just service name DNS resolution and still use the
load balancer that is shipped with docker swarm.

For example using my-stack_my-service. We noticed
my-stack_my-service:8080/actuator/health would return a 400, but
my-service:8080/actuator/health worked as expected. 

As mentioned above, you shouldn't use tasks.stack_service or stack_service for
http, just for auto discovery.

Hope this helps.

-- 
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 62409] Trojan in Windows Service Installer

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62409

--- Comment #7 from Christopher Schultz  ---
Bugzilla is not a support forum.

Please bring discussions onto the users mailing 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: r1832476 - /tomcat/trunk/test/org/apache/tomcat/util/http/parser/TestHttpParserHost.java

2018-05-29 Thread markt
Author: markt
Date: Tue May 29 20:04:42 2018
New Revision: 1832476

URL: http://svn.apache.org/viewvc?rev=1832476&view=rev
Log:
Expand the test coverage

Modified:
tomcat/trunk/test/org/apache/tomcat/util/http/parser/TestHttpParserHost.java

Modified: 
tomcat/trunk/test/org/apache/tomcat/util/http/parser/TestHttpParserHost.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/http/parser/TestHttpParserHost.java?rev=1832476&r1=1832475&r2=1832476&view=diff
==
--- 
tomcat/trunk/test/org/apache/tomcat/util/http/parser/TestHttpParserHost.java 
(original)
+++ 
tomcat/trunk/test/org/apache/tomcat/util/http/parser/TestHttpParserHost.java 
Tue May 29 20:04:42 2018
@@ -220,6 +220,25 @@ public class TestHttpParserHost {
 Class exceptionClass = null;
 int result = -1;
 try {
+result = Host.parse(input);
+} catch (Exception e) {
+exceptionClass = e.getClass();
+}
+Assert.assertEquals(input, expectedResult.intValue(), result);
+if (expectedException == null) {
+Assert.assertNull(input, exceptionClass);
+} else {
+Assert.assertNotNull(exceptionClass);
+Assert.assertTrue(input, 
expectedException.isAssignableFrom(exceptionClass));
+}
+}
+
+
+@Test
+public void testHostType() {
+Class exceptionClass = null;
+int result = -1;
+try {
 StringReader sr = new StringReader(input);
 switch(testType) {
 case IPv4:



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



[Bug 62404] Visibility issue on field org.apache.catalina.util.LifecycleBase.throwOnFailure

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62404

--- Comment #6 from Christopher Schultz  ---
In Mark's test, the second thread picked-up the changed value within 0.02sec.
IMO, that's fast enough that issuing the property change itself might end up
out-of-order and therefore the race isn't important.

If this were a primitive long or double value, I might argue that synchronized
access should be required because there a read/write race condition can cause a
thread to read a *wrong* value (one that is neither the old-value nor the
new-value). In this case, you just have (at least) two threads that (a) can
perform tasks in any order and (b) aren't coordinated in any way that requires
them to agree on what happened first.

-- 
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: r1832478 - /tomcat/trunk/java/org/apache/tomcat/util/http/parser/Host.java

2018-05-29 Thread markt
Author: markt
Date: Tue May 29 20:10:56 2018
New Revision: 1832478

URL: http://svn.apache.org/viewvc?rev=1832478&view=rev
Log:
Prevent creation of utility class

Modified:
tomcat/trunk/java/org/apache/tomcat/util/http/parser/Host.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/http/parser/Host.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/parser/Host.java?rev=1832478&r1=1832477&r2=1832478&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/http/parser/Host.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/parser/Host.java Tue May 29 
20:10:56 2018
@@ -25,6 +25,11 @@ import org.apache.tomcat.util.buf.Messag
 
 public class Host {
 
+private Host() {
+// Utility class. Hide default constructor.
+}
+
+
 /**
  * Parse the given input as a HTTP Host header value.
  *



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



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

2018-05-29 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 has an issue affecting its community integration.
This issue affects 4 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk :  Tomcat 9.x, a web server implementing the Java Servlet 
4.0,
...
- tomcat-trunk-test-apr :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...
- tomcat-trunk-test-nio :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...
- tomcat-trunk-test-nio2 :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...


Full details are available at:
http://vmgump-vm3.apache.org/tomcat-trunk/tomcat-trunk/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on junit exists, no need to add for property junit.jar.
 -INFO- Made directory [/srv/gump/public/workspace/tomcat-trunk/tomcat-deps]
 -INFO- Failed with reason build failed
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump-vm3.apache.org/tomcat-trunk/tomcat-trunk/gump_work/build_tomcat-trunk_tomcat-trunk.html
Work Name: build_tomcat-trunk_tomcat-trunk (Type: Build)
Work ended in a state of : Failed
Elapsed: 19 secs
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.7.3a-201803300640/ecj-4.7.3a.jar
 -Djunit.jar=/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/target/commons-daemon-1.1.1-SNAPSHOT.jar
 -Dbase.path=/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/classes:/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-junit4.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/junit/target/junit-4.13-SNAPSHOT.jar:/srv/gump/packages/eclipse/plugins/R-4.7.3a-201803300640/ecj-4.7.3a.jar:/srv/gump/public/workspace/apache-commons/daemon/target/commons-daemon-1.1.1-SNAPSHOT.jar
-
build-manifests:
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/manifests
 [copy] Copying 19 files to 
/srv/gump/public/workspace/tomcat-trunk/output/manifests

setup-bnd:

testexist:
 [echo] Testing  for 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/bnd-4.0.0/biz.aQute.bnd-4.0.0.jar

setproxy:

downloadfile:
  [get] Getting: 
https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bnd/4.0.0/biz.aQute.bnd-4.0.0.jar
  [get] To: 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/download-792021128.tmp
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/bnd-4.0.0
 [move] Moving 1 file to 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/bnd-4.0.0

testexist:
 [echo] Testing  for 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/bndlib-4.0.0/biz.aQute.bndlib-4.0.0.jar

setproxy:

downloadfile:
  [get] Getting: 
https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bndlib/4.0.0/biz.aQute.bndlib-4.0.0.jar
  [get] To: 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/download-1574079099.tmp
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/bndlib-4.0.0
 [move] Moving 1 file to 
/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs/bndlib-4.0.0
  [taskdef] Could not load definitions from resource 
aQute/bnd/ant/taskdef.properties. It could not be found.

build-bnd:
[mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/bnd
 [copy] Copying 24 files to 
/srv/gump/public/workspace/tomcat-trunk/output/bnd

package:
  [jar] Building jar: 
/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar

add-osgi:
 [echo] add-osgi 
/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar 
true

BUILD FAILED
/srv/gump/public/workspace/tomcat-trunk/build.xml:748: The following e

[Bug 62409] Trojan in Windows Service Installer

2018-05-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62409

--- Comment #8 from Jens-D. Doll  ---
Leaving out an important task in the development process, build process, can
downgrade the whole product. You should be aware of open doors for attacks.

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