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

2015-04-03 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-test-apr has an issue affecting its community integration.
This issue affects 1 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-test-apr :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/logs-APR
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-APR/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-apr/gump_work/build_tomcat-trunk_tomcat-trunk-test-apr.html
Work Name: build_tomcat-trunk_tomcat-trunk-test-apr (Type: Build)
Work ended in a state of : Failed
Elapsed: 36 mins 17 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 
-Djunit.jar=/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.2-SNAPSHOT.jar
 -Dtest.reports=output/logs-APR 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20150403-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.4-201406061215/ecj-4.4.jar 
-Dtest.apr.loc=/srv/gump/public/workspace/tomcat-native/dest-20150403/lib 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20150403.jar
 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20150403-native-src.tar.gz
 -Dtest.temp=output/test-tmp-APR -Dtest.accesslog=true -Dexecute.test.nio=false 
-Dtest
 .openssl.path=/srv/gump/public/workspace/openssl/dest-20150403/bin/openssl 
-Dexecute.test.apr=true -Dtest.excludePerformance=true 
-Dexecute.test.nio2=false 
-Deasymock.jar=/srv/gump/public/workspace/easymock/easymock/target/easymock-3.4-SNAPSHOT.jar
 -Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar 
-Dcglib.jar=/srv/gump/packages/cglib/cglib-nodep-2.2.jar test 
[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/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/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/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.ja
 
r:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/websocket-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-storeconfig.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/workspace/tomcat-trunk/output/bu

Re: Time to switch tc-native development to trunk?

2015-04-03 Thread Rainer Jung

Am 03.04.2015 um 11:33 schrieb Mark Thomas:

Keep in mind that the Java EE 8 schedule is that it won't be final until
at least the second half of 2016 so if we did require OpenSSL 1.0.2 that
would give it plenty of time to iron out any teething issues.


+1, that was my first thought. Although I expressed a -1 for basing the 
windows build of 1.1.33 on 1.0.2, I think that 1.0.2 will definitely 
become stable during the next few releases. So requiring it for 1.2.x 
should be OK stability wise.


Availability wise I don't think, that tcnative 1.2 should be modelled 
based on typical OS availability of dependencies today. For Windows we 
provide binaries and for Linux/Unix building OpenSSL is not too hard. So 
I would feel OK with demanding OpenSSL 1.0.2 even if most major Linux 
distros still won't have it then.



The way tc-native trunk is structured at the moment, it is designed for
NPN to be optionally available (hence the SSLExt class). Having looked
at it some more, I think that part of the API could do with some clean-up.


Google plans to remove NPN support from Chrome (and SPDY) in early 2016:

http://blog.chromium.org/2015/02/hello-http2-goodbye-spdy-http-is_9.html

OTOH since h2 is build on ALPN all browsers should support ALPN already 
or pretty soon because they are much behind h2. E.g. my Firefox 36 
already has a config setting security.ssl.enable_alpn;true (and also 
security.ssl.enable_npn;true).


So I'd suggest going directly for ALPN and ignoring NPN. But judging 
from the code added to httpd trunk, adding NPN in addition to ALPN 
wouldn't be hard either.



I'm still on the fence about the best way forward. The options I'm
mulling over are:
a) tcn 1.2.x requires OpenSSL 1.0.1 and only supports NPN
b) tcn 1.2.x requires OpenSSL 1.0.2 and only supports ALPN


I'd go for that one. And follow OpenSSL master/1.1 development and 
releases to decide when 2016 is close, whether it has important 
improvements and is stable.



c) tcn 1.2.x requires OpenSSL 1.0.2 and supports NPN  ALPN
d) tcn 1.2.x requires OpenSSL 1.0.1 and supports NPN. If built with
OpenSSL 1.0.2 it adds ALPN support and uses it in preference to NPN.

a) seems pointless given the rapid (for the web) move away from NPN.
b) nice and simple


+1


c) there have been some reports of issues using NPN and ALPN
side-by-side so given the time frame I'm not convinced the added
complexity is worth it.
d) I quite like this - especially if the NPN/ALPN choice is abstracted
away from the Java API and handled in tcn.
The migration from d) to b) is simple if we reach the stage where no
clients are using NPN.


Probably true. But worth it?


I think the most important factor is how quickly client implementations
drop NPN support. That is currently an unknown. I think option d) is the
one to follow for now but keep it under review over the next 12 months.
If lots of clients drop NPN support we'd either have to make HTTP/2
optional and only available if tcn is built with OpenSSL 1.0.2 or we'd
have to require tcn to be built with OpenSSL 1.0.2.


Maybe this would make early testing easier. But only tests of limited 
scope(NPN plus maybe NPN plus SPDY, not h2).


Regards,

Rainer

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



Re: Time to switch tc-native development to trunk?

2015-04-03 Thread Mark Thomas
On 02/04/2015 22:13, Christopher Schultz wrote:
 Mark,
 
 On 4/2/15 4:33 PM, Mark Thomas wrote:
 I've been spending some time thinking about how to plumb in HTTP/2
 support into the Tomcat 9 code base. After a couple of failed starts I
 think I have a good starting point that will be able to support NPN,
 ALPN and HTTP upgrade without making too much mess of the existing code.

 Before I commit it, I'd like to test it and that brings me to a small
 problem. The methods to set/get NPN protocols for OpenSSL are only
 available in tc-native trunk.

 OpenSSL has support for NPN in 1.0.1 and ALPN in 1.0.2. NPN is
 essentially deprecated in favour of ALPN but it looks like NPN will be
 around for a while.

 Given that OpenSSL support for 0.9.8 and 1.0.0 will cease at the end of
 this year, I'd like to propose the following:

 1. Switch the focus of tc-native development to trunk.
 
 +1
 
 Note that tcnative trunk often gets ignored when making fixes to the
 1.0.x branch (opposite of what tends to happen in the Java-based projects).

Indeed. I've been guilty of that. A review of the change history for the
two is probably called for.

 2a. tc-native trunk will require OpenSSL 1.0.1.
 or
 2b. tc-native trunk will require OpenSSL 1.0.2.
 
 I'd prefer only requiring 1.0.1 if possible.

Ack.

 3. tc-native 1.1.x will move to a bug-fix only mode.
 
 It's pretty much there already. Not much new development is going on in
 tcnative.
 
 4. Tomcat 9.0.x will require a minimum of at least 1.2.0.
 
 (And trunk will essentially be 1.2.x?)

Yes.

 +1
 
 Discussion of possible variations:
 2a/b. Requiring a minimum of 1.0.2 would enable us to use ALPN rather
 than the deprecated NPN. I'm +0.5 for this.

 Thoughts? Assuming folks are broadly in favour, I'd like to get a build
 of tc-native 1.2.0-dev for Windows up at
 http://people.apache.org/~markt/dev/ for folks to play with next week.
 
 Can we reasonably auto-detect the OpenSSL version and adjust support
 accordingly?

Yes.

 Or are you attempting to avoid even implementing NPN *at
 all* because it's already deprecated?

At this point, that is my preference. Various implementers have stated
an intention to drop NPN but it remains to be seen how quickly that happens.

 If you want to go directly to ALPN and skip NPN, will users still be
 able to use HTTP/1.1 with tcnative and OpenSSL 1.0.1 or earlier?

Yes, but we'd need to do something along the lines of the version
detection you mentioned above to avoid some nasty error messages.

 If so, then I think it's an okay requirement to say you need 1.0.2 if
 you want these new features. But if we are going to switch tcnative to
 1.0.2 for everything, I think that's a bit too much of a jump. There are
 a LOT of people who are unable to upgrade various things due to all
 kinds of foolish security requirements (though those are the people
 still running 4.1.30, right?), and it would be nice to allow them to at
 least be able to upgrade Tomcat if possible.

Keep in mind that the Java EE 8 schedule is that it won't be final until
at least the second half of 2016 so if we did require OpenSSL 1.0.2 that
would give it plenty of time to iron out any teething issues.

The way tc-native trunk is structured at the moment, it is designed for
NPN to be optionally available (hence the SSLExt class). Having looked
at it some more, I think that part of the API could do with some clean-up.

I'm still on the fence about the best way forward. The options I'm
mulling over are:
a) tcn 1.2.x requires OpenSSL 1.0.1 and only supports NPN
b) tcn 1.2.x requires OpenSSL 1.0.2 and only supports ALPN
c) tcn 1.2.x requires OpenSSL 1.0.2 and supports NPN  ALPN
d) tcn 1.2.x requires OpenSSL 1.0.1 and supports NPN. If built with
   OpenSSL 1.0.2 it adds ALPN support and uses it in preference to NPN.

a) seems pointless given the rapid (for the web) move away from NPN.
b) nice and simple
c) there have been some reports of issues using NPN and ALPN
side-by-side so given the time frame I'm not convinced the added
complexity is worth it.
d) I quite like this - especially if the NPN/ALPN choice is abstracted
away from the Java API and handled in tcn.
The migration from d) to b) is simple if we reach the stage where no
clients are using NPN.

I think the most important factor is how quickly client implementations
drop NPN support. That is currently an unknown. I think option d) is the
one to follow for now but keep it under review over the next 12 months.
If lots of clients drop NPN support we'd either have to make HTTP/2
optional and only available if tcn is built with OpenSSL 1.0.2 or we'd
have to require tcn to be built with OpenSSL 1.0.2.

Mark

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



[Bug 57791] New: Tomcat 8 Resources doesn't work with Servlet 3.0 META-INF/resources

2015-04-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57791

Bug ID: 57791
   Summary: Tomcat 8 Resources doesn't work with Servlet 3.0
META-INF/resources
   Product: Tomcat 8
   Version: trunk
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: ilu...@gmail.com

Created attachment 32630
  -- https://bz.apache.org/bugzilla/attachment.cgi?id=32630action=edit
Sample projects demonstrating the bug

In Tomcat 8 the Resources framework intented for loading JSP, static resources
and JAR, doesn't work with resources located in META-INF/resources as specified
by Servlet 3.0 specification.  In Tomcat 7 with the old VirtualWebLoader this
feature worked pretty well.

For example you have a JAR with this content

/META-INF/resources/admin/test.jsp
/META-INF/resources/admin/test.js
/META-INF/resources/tags/test.tag
/META-INF/tlds/javapp.tld 

Normally with Servlet 3.0 feature you can access this files for example:

http://localhost:8080/webapp/admin/test.jsp Doesn't work, 404 for you

Tag libraries declared in JARs including those linking to Tag files doesn't
work too
For example this Tag Library located at /META-INF/tlds/javapp.tld doesn't work

taglib
  tlib-version1.0/tlib-version
  short-namejavaapp/short-name
  uri/javaapp/uri
  tag-file
nametest/name
path/META-INF/tags/test.tag/path
  /tag-file
/taglib


I tried with the following configurations in context.xml

This
?xml version=1.0 encoding=UTF-8?
Context  path=/webapp 

Resources

PostResources
className=org.apache.catalina.webresources.DirResourceSet
   base=D:/PROYECTOS/modules/javaapp/target/classes
   internalPath=/
   webAppMount=/WEB-INF/classes /

/Resources

/Context


And this

?xml version=1.0 encoding=UTF-8?
Context path=/webapp 

Resources


  JarResources className=org.apache.catalina.webresources.JarResourceSet
  
base=D:/PROYECTOS/modules/javaapp/target/javaapp-1.0-SNAPSHOT.jar
   internalPath=/
   webAppMount=/WEB-INF/lib /

/Resources

/Context


I'm attaching the projects, all you have to do is change the base attribute of
the Resources

-- 
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: r1671115 - in /tomcat/tc8.0.x/trunk: ./ build.properties.default webapps/docs/changelog.xml

2015-04-03 Thread kkolinko
Author: kkolinko
Date: Fri Apr  3 18:02:15 2015
New Revision: 1671115

URL: http://svn.apache.org/r1671115
Log:
Update to Checkstyle 6.5

Merged r1671112 from tomcat/trunk.

Modified:
tomcat/tc8.0.x/trunk/   (props changed)
tomcat/tc8.0.x/trunk/build.properties.default
tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc8.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Apr  3 18:02:15 2015
@@ -1 +1 @@
-/tomcat/trunk:1636524,1637156,1637176,1637188,1637331,1637684,1637695,1638720-1638725,1639653,1640010,1640083-1640084,1640088,1640275,1640322,1640347,1640361,1640365,1640403,1640410,1640652,1640655-1640658,1640688,1640700-1640883,1640903,1640976,1640978,1641000,1641026,1641038-1641039,1641051-1641052,1641058,1641064,1641300,1641369,1641374,1641380,1641486,1641634,1641656-1641692,1641704,1641707-1641718,1641720-1641722,1641735,1641981,1642233,1642280,1642554,1642564,1642595,1642606,1642668,1642679,1642697,1642699,1642766,1643002,1643045,1643054-1643055,1643066,1643121,1643128,1643206,1643209-1643210,1643216,1643249,1643270,1643283,1643309-1643310,1643323,1643365-1643366,1643370-1643371,1643465,1643474,1643536,1643570,1643634,1643649,1643651,1643654,1643675,1643731,1643733-1643734,1643761,1643766,1643814,1643937,1643963,1644017,1644169,1644201-1644203,1644321,1644323,1644516,1644523,1644529,1644535,1644730,1644768,1644784-1644785,1644790,1644793,1644815,1644884,1644886,1644890,1644892
 
,1644910,1644924,1644929-1644930,1644935,1644989,1645011,1645247,1645355,1645357-1645358,1645455,1645465,1645469,1645471,1645473,1645475,1645486-1645488,1645626,1645641,1645685,1645743,1645763,1645951-1645953,1645955,1645993,1646098-1646106,1646178,1646220,1646302,1646304,1646420,1646470-1646471,1646476,1646559,1646717-1646723,1646773,1647026,1647042,1647530,1647655,1648304,1648815,1648907,1650081,1650365,1651116,1651120,1651280,1651470,1652938,1652970,1653041,1653471,1653550,1653574,1653797,1653815-1653816,1653819,1653840,1653857,1653888,1653972,1654013,1654030,1654050,1654123,1654148,1654159,1654513,1654515,1654517,1654522,1654524,1654725,1654735,1654766,1654785,1654851-1654852,1654978,1655122-1655124,1655126-1655127,1655129-1655130,1655132-1655133,1655312,1655438,1655441,1655454,168,1656087,1656299,1656319,1656331,1656345,1656350,1656590,1656648-1656650,1656657,1657041,1657054,1657374,1657492,1657510,1657565,1657580,1657584,1657586,1657589,1657592,1657607,1657609,1657682,1657
 
907,1658207,1658734,1658781,1658790,1658799,1658802,1658804,1658833,1658840,1658966,1659043,1659053,1659059,1659188-1659189,1659216,1659263,1659293,1659304,1659306-1659307,1659382,1659384,1659428,1659471,1659486,1659505,1659516,1659521,1659524,1659559,1659562,1659803,1659806,1659814,1659833,1659862,1659905,1659919,1659948,1659967,1659983-1659984,1660060,1660074,1660077,1660133,1660168,1660331-1660332,1660353,1660358,1660924,1661386,1661867,1661972,1661990,1662200,1662308-1662309,1662548,1662614,1662736,1662985,1662988-1662989,1663264,1663277,1663298,1663534,1663562,1663676,1663715,1663754,1663768,1663772,1663781,1663893,1663995,1664143,1664163,1664174,1664301,1664317,1664347,1664657,1664659,1664710,1664863-1664864,1664866,1665085,1665292,1665559,1665653,1665661,1665672,1665694,1665697,1665736,1665779,1665976-1665977,1665980-1665981,1665985-1665986,1665989,1665998,1666004,1666008,1666013,1666017,1666024,1666116,1666386-1666387,1666494,1666496,1666552,1666569,1666579,137,149,1
 
666757,1666966,1666972,1666985,1666995,1666997,1667292,1667402,1667406,1667546,1667615,1667630,1667636,1667688,1667764,1667871,1668026,1668135,1668193,1668593,1668596,1668630,1668639,1668843,1669353,1669370,1669451,1669800,1669838,1669876,1669882,1670394,1670433,1670591,1670598-1670600,1670610,1670631,1670719,1670724,1670726,1670730,1670940
+/tomcat/trunk:1636524,1637156,1637176,1637188,1637331,1637684,1637695,1638720-1638725,1639653,1640010,1640083-1640084,1640088,1640275,1640322,1640347,1640361,1640365,1640403,1640410,1640652,1640655-1640658,1640688,1640700-1640883,1640903,1640976,1640978,1641000,1641026,1641038-1641039,1641051-1641052,1641058,1641064,1641300,1641369,1641374,1641380,1641486,1641634,1641656-1641692,1641704,1641707-1641718,1641720-1641722,1641735,1641981,1642233,1642280,1642554,1642564,1642595,1642606,1642668,1642679,1642697,1642699,1642766,1643002,1643045,1643054-1643055,1643066,1643121,1643128,1643206,1643209-1643210,1643216,1643249,1643270,1643283,1643309-1643310,1643323,1643365-1643366,1643370-1643371,1643465,1643474,1643536,1643570,1643634,1643649,1643651,1643654,1643675,1643731,1643733-1643734,1643761,1643766,1643814,1643937,1643963,1644017,1644169,1644201-1644203,1644321,1644323,1644516,1644523,1644529,1644535,1644730,1644768,1644784-1644785,1644790,1644793,1644815,1644884,1644886,1644890,1644892
 

buildbot success in ASF Buildbot on tomcat-7-trunk

2015-04-03 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-7-trunk while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/tomcat-7-trunk/builds/610

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

Buildslave for this Build: silvanus_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-7-commit' 
triggered this build
Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1671116
Blamelist: kkolinko

Build succeeded!

Sincerely,
 -The Buildbot




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



svn commit: r1671114 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java webapps/docs/changelog.xml

2015-04-03 Thread kkolinko
Author: kkolinko
Date: Fri Apr  3 17:58:32 2015
New Revision: 1671114

URL: http://svn.apache.org/r1671114
Log:
Fix log name typo in WsRemoteEndpointImplServer class, caused by a copy-paste. 

It is merge of markt's r1670940 from tomcat/trunk.

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

tomcat/tc8.0.x/trunk/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc8.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Apr  3 17:58:32 2015
@@ -1 +1 @@
-/tomcat/trunk:1636524,1637156,1637176,1637188,1637331,1637684,1637695,1638720-1638725,1639653,1640010,1640083-1640084,1640088,1640275,1640322,1640347,1640361,1640365,1640403,1640410,1640652,1640655-1640658,1640688,1640700-1640883,1640903,1640976,1640978,1641000,1641026,1641038-1641039,1641051-1641052,1641058,1641064,1641300,1641369,1641374,1641380,1641486,1641634,1641656-1641692,1641704,1641707-1641718,1641720-1641722,1641735,1641981,1642233,1642280,1642554,1642564,1642595,1642606,1642668,1642679,1642697,1642699,1642766,1643002,1643045,1643054-1643055,1643066,1643121,1643128,1643206,1643209-1643210,1643216,1643249,1643270,1643283,1643309-1643310,1643323,1643365-1643366,1643370-1643371,1643465,1643474,1643536,1643570,1643634,1643649,1643651,1643654,1643675,1643731,1643733-1643734,1643761,1643766,1643814,1643937,1643963,1644017,1644169,1644201-1644203,1644321,1644323,1644516,1644523,1644529,1644535,1644730,1644768,1644784-1644785,1644790,1644793,1644815,1644884,1644886,1644890,1644892
 
,1644910,1644924,1644929-1644930,1644935,1644989,1645011,1645247,1645355,1645357-1645358,1645455,1645465,1645469,1645471,1645473,1645475,1645486-1645488,1645626,1645641,1645685,1645743,1645763,1645951-1645953,1645955,1645993,1646098-1646106,1646178,1646220,1646302,1646304,1646420,1646470-1646471,1646476,1646559,1646717-1646723,1646773,1647026,1647042,1647530,1647655,1648304,1648815,1648907,1650081,1650365,1651116,1651120,1651280,1651470,1652938,1652970,1653041,1653471,1653550,1653574,1653797,1653815-1653816,1653819,1653840,1653857,1653888,1653972,1654013,1654030,1654050,1654123,1654148,1654159,1654513,1654515,1654517,1654522,1654524,1654725,1654735,1654766,1654785,1654851-1654852,1654978,1655122-1655124,1655126-1655127,1655129-1655130,1655132-1655133,1655312,1655438,1655441,1655454,168,1656087,1656299,1656319,1656331,1656345,1656350,1656590,1656648-1656650,1656657,1657041,1657054,1657374,1657492,1657510,1657565,1657580,1657584,1657586,1657589,1657592,1657607,1657609,1657682,1657
 
907,1658207,1658734,1658781,1658790,1658799,1658802,1658804,1658833,1658840,1658966,1659043,1659053,1659059,1659188-1659189,1659216,1659263,1659293,1659304,1659306-1659307,1659382,1659384,1659428,1659471,1659486,1659505,1659516,1659521,1659524,1659559,1659562,1659803,1659806,1659814,1659833,1659862,1659905,1659919,1659948,1659967,1659983-1659984,1660060,1660074,1660077,1660133,1660168,1660331-1660332,1660353,1660358,1660924,1661386,1661867,1661972,1661990,1662200,1662308-1662309,1662548,1662614,1662736,1662985,1662988-1662989,1663264,1663277,1663298,1663534,1663562,1663676,1663715,1663754,1663768,1663772,1663781,1663893,1663995,1664143,1664163,1664174,1664301,1664317,1664347,1664657,1664659,1664710,1664863-1664864,1664866,1665085,1665292,1665559,1665653,1665661,1665672,1665694,1665697,1665736,1665779,1665976-1665977,1665980-1665981,1665985-1665986,1665989,1665998,1666004,1666008,1666013,1666017,1666024,1666116,1666386-1666387,1666494,1666496,1666552,1666569,1666579,137,149,1
 
666757,1666966,1666972,1666985,1666995,1666997,1667292,1667402,1667406,1667546,1667615,1667630,1667636,1667688,1667764,1667871,1668026,1668135,1668193,1668593,1668596,1668630,1668639,1668843,1669353,1669370,1669451,1669800,1669838,1669876,1669882,1670394,1670433,1670591,1670598-1670600,1670610,1670631,1670719,1670724,1670726,1670730
+/tomcat/trunk:1636524,1637156,1637176,1637188,1637331,1637684,1637695,1638720-1638725,1639653,1640010,1640083-1640084,1640088,1640275,1640322,1640347,1640361,1640365,1640403,1640410,1640652,1640655-1640658,1640688,1640700-1640883,1640903,1640976,1640978,1641000,1641026,1641038-1641039,1641051-1641052,1641058,1641064,1641300,1641369,1641374,1641380,1641486,1641634,1641656-1641692,1641704,1641707-1641718,1641720-1641722,1641735,1641981,1642233,1642280,1642554,1642564,1642595,1642606,1642668,1642679,1642697,1642699,1642766,1643002,1643045,1643054-1643055,1643066,1643121,1643128,1643206,1643209-1643210,1643216,1643249,1643270,1643283,1643309-1643310,1643323,1643365-1643366,1643370-1643371,1643465,1643474,1643536,1643570,1643634,1643649,1643651,1643654,1643675,1643731,1643733-1643734,1643761,1643766,1643814,1643937,1643963,1644017,1644169,1644201-1644203,1644321,1644323,1644516,1644523,1644529,1644535,1644730,1644768,1644784-1644785,1644790,1644793,1644815,1644884,1644886,1644890,1644892
 

svn commit: r1671112 - /tomcat/trunk/build.properties.default

2015-04-03 Thread kkolinko
Author: kkolinko
Date: Fri Apr  3 17:53:20 2015
New Revision: 1671112

URL: http://svn.apache.org/r1671112
Log:
Update to Checkstyle 6.5

Modified:
tomcat/trunk/build.properties.default

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1671112r1=167r2=1671112view=diff
==
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Fri Apr  3 17:53:20 2015
@@ -213,7 +213,7 @@ objenesis.loc=https://objenesis.googleco
 objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar
 
 # - Checkstyle, version 6.0 or later -
-checkstyle.version=6.4.1
+checkstyle.version=6.5
 checkstyle.home=${base.path}/checkstyle-${checkstyle.version}
 
checkstyle.loc=${base-sf.loc}/checkstyle/checkstyle/${checkstyle.version}/checkstyle-${checkstyle.version}-all.jar
 checkstyle.jar=${checkstyle.home}/checkstyle-${checkstyle.version}-all.jar



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



svn commit: r1671116 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java webapps/docs/changelog.xml

2015-04-03 Thread kkolinko
Author: kkolinko
Date: Fri Apr  3 18:04:49 2015
New Revision: 1671116

URL: http://svn.apache.org/r1671116
Log:
Fix log name typo in WsRemoteEndpointImplServer class, caused by a copy-paste. 

It is merge of markt's r1670940 from tomcat/trunk.

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

tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Apr  3 18:04:49 2015
@@ -1,2 +1,2 @@
-/tomcat/tc8.0.x/trunk:1636525,1637336,1637685,1637709,1638726,1640089,1640276,1640349,1640363,1640366,1640642,1640672,1640674,1640689,1640884,1641001,1641065,1641067,1641375,1641638,1641723,1641726,1641729-1641730,1641736,1641988,1642669-1642670,1642698,1642701,1643205,1643215,1643217,1643230,1643232,1643273,1643285,1643329-1643330,1643511,1643513,1643521,1643539,1643571,1643581-1643582,1643635,1643655,1643738,1643964,1644018,1644333,1644954,1644992,1645014,1645360,1645456,1645627,1645642,1645686,1645903-1645904,1645908-1645909,1645913,1645920,1646458,1646460-1646462,1647043,1648816,1651420-1651422,1651844,1652939-1652940,1652973,1653798,1653817,1653841,1654042,1654161,1654736,1654767,1654787,1656592,1662986,1663265,1663278,1663325,1663535,1663567,1663679,1663997,1664175,1664321,1664872,1665061,1665086,1666027,1666395,1666503,1666506,1666560,1666570,1666581,1666759,1666967,1666988,1667553-1667555,1667558,1667617,1667633,1667637,1667747,1667767,1667873,1668028,1668137,1668634,1669432
 
,1669801,1669840,1669895-1669896,1670398,1670435,1670592,1670605-1670607,1670609,1670632,1670720,1670725,1670727,1670731
-/tomcat/trunk:1156115-1157160,1157162-1157859,1157862-1157942,1157945-1160347,1160349-1163716,1163718-1166689,1166691-1174340,1174342-1175596,1175598-1175611,1175613-1175932,1175934-1177783,1177785-1177980,1178006-1180720,1180722-1183094,1183096-1187753,1187755,1187775,1187801,1187806,1187809,1187826-1188312,1188314-1188401,1188646-1188840,1188842-1190176,1190178-1195223,1195225-1195953,1195955,1195957-1201238,1201240-1203345,1203347-1206623,1206625-1208046,1208073,1208096,1208114,1208145,1208772,1209194-1212125,1212127-1220291,1220293,1220295-1221321,1221323-1222329,1222332-1222401,1222405-1222795,1222850-1222950,1222969-1225326,1225328-1225463,1225465,1225627,1225629-1226534,1226536-1228908,1228911-1228923,1228927-1229532,1229534-1230766,1230768-1231625,1231627-1233414,1233419-1235207,1235209-1237425,1237427,1237429-1237977,1237981,1237985,1237995,1238070,1238073,1239024-1239048,1239050-1239062,1239135,1239256,1239258-1239485,1239785-1240046,1240101,1240106,1240109,1240112,1240114
 
,1240116,1240118,1240121,1240329,1240474-1240850,1240857,1241087,1241160,1241408-1241822,1241908-1241909,1241912-1242110,1242371-1292130,1292134-1292458,1292464-1292670,1292672-1292776,1292780-1293392,1293397-1297017,1297019-1297963,1297965-1299820,1300108,1300111-1300460,1300520-1300948,1300997,1301006,1301280,1302332,1302348,1302608-1302610,1302649,1302837,1303138,1303163,1303338,1303521,1303587,1303698,1303803,1303852,1304011,1304035,1304037,1304135,1304249,1304253,1304260,1304271,1304275,1304468,1304895,1304930-1304932,1305194,1305943,1305965,1306556,1306579-1306580,1307084,1307310,1307511-1307512,1307579,1307591,1307597,1310636,1310639-1310640,1310642,1310701,1311212,1311995,1327617,1327670,1331766,1333161,1333173,1333827,1334787,1335026,1335257,1335547,1335692,1335711,1335731,1336515,1336813,1336864,1336868,1336884,1337419,1337426,1337546,1337572,1337591-1337595,1337643,1337707,1337719,1337734,1337741,1337745,1338151-1338154,1338178,1342027,1342029,1342315,1342320,1342476,1342
 
498,1342503,1342717,1342795,1342805,1343044-1343046,1343335,1343394,1343400,1343629,1343708,1343718,1343895,1344063,1344068,1344250,1344266,1344515,1344528,1344612,1344629,1344725,1344868,1344890,1344893,1344896,1344901,1345020,1345029,1345039,1345287-1345290,1345294,1345309,1345325,1345357,1345367,1345579-1345580,1345582,1345688,1345699,1345704,1345731-1345732,1345737,1345744,1345752,1345754,1345779,1345781,1345846,1346107,1346365,1346376,1346404,1346510,1346514,1346519,1346581,1346635,1346644,1346683,1346794,1346885,1346932,1347034,1347047,1347087,1347108-1347109,1347583,1347737,1348105,1348357,1348398,1348425,1348461-1348495,1348498,1348752,1348762,1348772,1348776,1348859,1348968,1348973,1348989,1349007,1349237,1349298,1349317,1349410,1349473,1349539,1349879,1349887,1349893,1349922,1349984,1350124,1350241,1350243,1350294-1350295,1350299,1350864,1350900,1351010,1351054,1351056,1351068,1351134-1351135,1351148,1351259,1351604,1351636-1351640,1351991,1351993,1352011,1352056,1352059,1
 

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

2015-04-03 Thread kkolinko
Author: kkolinko
Date: Fri Apr  3 17:29:37 2015
New Revision: 1671108

URL: http://svn.apache.org/r1671108
Log:
Update version number

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

Modified: tomcat/site/trunk/docs/findhelp.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/findhelp.html?rev=1671108r1=1671107r2=1671108view=diff
==
--- tomcat/site/trunk/docs/findhelp.html (original)
+++ tomcat/site/trunk/docs/findhelp.html Fri Apr  3 17:29:37 2015
@@ -214,7 +214,7 @@ them is not typically duplicated in the
 
 pThe documentation is searchable ndash; see input box at the top of the
 page. To limit results to a specific major version of Apache Tomcat you can
-add the number to the search string, wrapping it in quotes, e.g. 6.0./p
+add the number to the search string, wrapping it in quotes, e.g. 7.0./p
 
 
 pThe logs which Apache Tomcat generates can be a valuable resource when 
trying

Modified: tomcat/site/trunk/xdocs/findhelp.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/findhelp.xml?rev=1671108r1=1671107r2=1671108view=diff
==
--- tomcat/site/trunk/xdocs/findhelp.xml (original)
+++ tomcat/site/trunk/xdocs/findhelp.xml Fri Apr  3 17:29:37 2015
@@ -23,7 +23,7 @@ them is not typically duplicated in the
 
 pThe documentation is searchable #x2013; see input box at the top of the
 page. To limit results to a specific major version of Apache Tomcat you can
-add the number to the search string, wrapping it in quotes, e.g. 6.0./p
+add the number to the search string, wrapping it in quotes, e.g. 7.0./p
 
 pThe logs which Apache Tomcat generates can be a valuable resource when 
trying
 to diagnose a problem. Please review them. You may want to enable debug output



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



[Bug 57788] NPE on session.addMessageHandler

2015-04-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57788

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

   What|Removed |Added

 OS||All

--- Comment #1 from Konstantin Kolinko knst.koli...@gmail.com ---
What are you trying to do here and what do you expect? Is it a real use case? 

(Source code =?)

My expectations are that such call is expected to fail.

For reference, WsSession.addMessageHandler(WsSession.java:198) method called
here is

[[[
@Override
public void addMessageHandler(MessageHandler listener) {
]]]

declared in javax.websocket.Session.

Use of that method is discouraged in favor of WebSocket 1.1 methods

Session.addMessageHandler(ClassT clazz, MessageHandler.PartialT handler)
Session.addMessageHandler(ClassT clazz, MessageHandler.WholeT handler)

-- 
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 57376] host specified in worker is misunderstood

2015-04-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57376

Rainer Jung rainer.j...@kippdata.de changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|REOPENED|RESOLVED

--- Comment #6 from Rainer Jung rainer.j...@kippdata.de ---
Hi Maxence,

in your case the reason was a typo in your config file:

The wanted worker name is osp_sbpi_inte, but in the line with the host name
config you swapped two characters and used osp_spbi_inte (sbpi - spbi). That
way the sbpi worker got the default host name, which is localhost.

It is unfortunate that due to the general nature of properties in
workers.properties, we can't easily do a check on the worker names. But
probably we could issue a warning, if a property starts is

worker.SOMENAME.ANYTHING

and SOMENAME is neither in the worker list, nor in the list of members of any
balancer. I will open an enhancement request and close this issue here again as
WORKSFORME.

-- 
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 57790] New: Check worker names for typos

2015-04-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57790

Bug ID: 57790
   Summary: Check worker names for typos
   Product: Tomcat Connectors
   Version: unspecified
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: mod_jk
  Assignee: dev@tomcat.apache.org
  Reporter: rainer.j...@kippdata.de

Issue a warning, if a property starts with

worker.SOMENAME.ANYTHING

and SOMENAME is neither in the worker.list, nor in the list of members of any
balancer (worker.ANYNAME.balance_workers).

-- 
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 57376] host specified in worker is misunderstood

2015-04-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57376

mbrigeo maxence.brig...@ses.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |---

--- Comment #5 from mbrigeo maxence.brig...@ses.com ---
Hi,

I am able to reproduce the problem in my environment.
We are currently testing the last version of mod_jk 1.2.40 with the Pivotal Web
Server (v 6.0.2) using httpd 2.4.10.1-64 on a CentOS 6.6 server.

I have 5 defined workers in my workers.properties file (sent to Rainer).

It appears that the mod_jk initialized the worker (sbpi) with the host 
localhost. As you can see in the mod_jk.log sent to Rainer (debug level).

The fact is during the time that I write this comment, I change the name of the
worker to osp_integration_inte and it was working fine. Then I switch back to
osp_sbpi_inte and it is also working fine :/

Configuration of the virtual host sent to Rainer.

So I am not able to currently reproduce the bug (but I have it on another
Apache instance). However, as the bug can clearly be identified in the attached
logs, I took the decision to reopen the bug.

Feel free to contact me for more information.

Regards,
Maxence

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



[jira] [Commented] (MTOMCAT-234) Tomcat8 Maven Plugin

2015-04-03 Thread Spase Markovski (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14394456#comment-14394456
 ] 

Spase Markovski commented on MTOMCAT-234:
-

When will the tomcat8-maven-plugin be released?

 Tomcat8 Maven Plugin
 

 Key: MTOMCAT-234
 URL: https://issues.apache.org/jira/browse/MTOMCAT-234
 Project: Apache Tomcat Maven Plugin
  Issue Type: Dependency upgrade
Affects Versions: 2.0, 2.1, 2.2
 Environment: Maven 3.1, Tomcat8.0RC1, Oracle JDK7u25
Reporter: Petr Novak
Assignee: Olivier Lamy (*$^¨%`£)
Priority: Blocker
 Fix For: 3.0


 Please provide initial version of Tomcat8 Maven Plugin. 
 I tried the recommendations in 
 http://tomcat.10.x6.nabble.com/Tomcat-8-Tomcat-Maven-Plugin-2-2-Tomcat8-Maven-Plugin-td4995858.html#none
 but the guideline 
 http://tomcat.apache.org/maven-plugin-trunk/tomcat7-maven-plugin/adjust-embedded-tomcat-version.html
 does not work for Tomcat8 .
 The problem is in changed Tomcat 8 API, the maven throws folloving exception:
  at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:142)
  ... 20 more
 by: java.lang.NoSuchMethodError: 
 org.apache.catalina.startup.Tomcat.setDefaultRealm(Lorg/apache/catalina/Realm;)V
  at 
 org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:999)
  at 
 org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:514)
  at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
  ... 20 more
  The method setDefaultRealm is deprecated in Tomcat7 and was removed in 
 Tomcat8 as described in documentation:
 http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html#setDefaultRealm(org.apache.catalina.Realm)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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