Re: [VOTE] Release Apache Tomcat 6.0.53

2017-04-03 Thread Violeta Georgieva
2017-04-02 11:19 GMT+03:00 Violeta Georgieva :
>
> The proposed Apache Tomcat 6.0.53 release is now available for voting.
>
> Note: This is the last Tomcat 6 release.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-6/v6.0.53/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1130/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_53/
>
> The proposed 6.0.53 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 6.0.53 Stable

Regards,
Violeta


svn commit: r1789937 - in /tomcat/trunk: java/org/apache/tomcat/util/buf/StringUtils.java java/org/apache/tomcat/util/modeler/ManagedBean.java webapps/docs/changelog.xml

2017-04-03 Thread markt
Author: markt
Date: Mon Apr  3 09:56:06 2017
New Revision: 1789937

URL: http://svn.apache.org/viewvc?rev=1789937&view=rev
Log:
Correct a regression in the X to comma refactoring that broke JMX operations 
that take parameters.

Modified:
tomcat/trunk/java/org/apache/tomcat/util/buf/StringUtils.java
tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/StringUtils.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/StringUtils.java?rev=1789937&r1=1789936&r2=1789937&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/buf/StringUtils.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/buf/StringUtils.java Mon Apr  3 
09:56:06 2017
@@ -39,6 +39,11 @@ public final class StringUtils {
 }
 
 
+public static void join(String[] array, char separator, StringBuilder sb) {
+join(Arrays.asList(array), separator, sb);
+}
+
+
 public static String join(Collection collection) {
 return join(collection, ',');
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java?rev=1789937&r1=1789936&r2=1789937&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java Mon Apr  
3 09:56:06 2017
@@ -577,7 +577,7 @@ public class ManagedBean implements java
 private String createOperationKey(String methodName, String[] 
parameterTypes) {
 StringBuilder key = new StringBuilder(methodName);
 key.append('(');
-StringUtils.join(parameterTypes);
+StringUtils.join(parameterTypes, ',', key);
 key.append(')');
 
 return key.toString();

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1789937&r1=1789936&r2=1789937&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Apr  3 09:56:06 2017
@@ -56,6 +56,10 @@
 Correct various edge cases in the new HTTP Host header validation
 parser. Patch provided by Katya Todorova. (martk)
   
+  
+Correct a regression in the X to comma refactoring that broke JMX
+operations that take parameters. (markt)
+  
 
   
   



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



svn commit: r1789941 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/buf/StringUtils.java java/org/apache/tomcat/util/modeler/ManagedBean.java webapps/docs/changelog.xml

2017-04-03 Thread markt
Author: markt
Date: Mon Apr  3 10:15:17 2017
New Revision: 1789941

URL: http://svn.apache.org/viewvc?rev=1789941&view=rev
Log:
Correct a regression in the X to comma refactoring that broke JMX operations 
that take parameters.

Modified:
tomcat/tc8.5.x/trunk/   (props changed)
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/buf/StringUtils.java
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java
tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc8.5.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Apr  3 10:15:17 2017
@@ -1 +1 @@
-/tomcat/trunk:1734785,1734799,1734845,1734928,1735041,1735044,1735480,1735577,1735597,1735599-1735600,1735615,1736145,1736162,1736209,1736280,1736297,1736299,1736489,1736646,1736703,1736836,1736849,1737104-1737105,1737112,1737117,1737119-1737120,1737155,1737157,1737192,1737280,1737339,1737632,1737664,1737715,1737748,1737785,1737834,1737860,1737903,1737959,1738005,1738007,1738014-1738015,1738018,1738022,1738039,1738043,1738059-1738060,1738147,1738149,1738174-1738175,1738261,1738589,1738623-1738625,1738643,1738816,1738850,1738855,1738946-1738948,1738953-1738954,1738979,1738982,1739079-1739081,1739087,1739113,1739153,1739172,1739176,1739191,1739474,1739726,1739762,1739775,1739814,1739817-1739818,1739975,1740131,1740324,1740465,1740495,1740508-1740509,1740520,1740535,1740707,1740803,1740810,1740969,1740980,1740991,1740997,1741015,1741033,1741036,1741058,1741060,1741080,1741147,1741159,1741164,1741173,1741181,1741190,1741197,1741202,1741208,1741213,1741221,1741225,1741232,1741409,1741501
 
,1741677,1741892,1741896,1741984,1742023,1742042,1742071,1742090,1742093,1742101,1742105,1742111,1742139,1742146,1742148,1742166,1742181,1742184,1742187,1742246,1742248-1742251,1742263-1742264,1742268,1742276,1742369,1742387,1742448,1742509-1742512,1742917,1742919,1742933,1742975-1742976,1742984,1742986,1743019,1743115,1743117,1743124-1743125,1743134,1743425,1743554,1743679,1743696-1743698,1743700-1743701,1744058,1744064-1744065,1744125,1744194,1744229,1744270,1744323,1744432,1744684,1744697,1744705,1744713,1744760,1744786,1745083,1745142-1745143,1745145,1745177,1745179-1745180,1745227,1745248,1745254,1745337,1745467,1745473,1745576,1745735,1745744,1746304,1746306-1746307,1746319,1746327,1746338,1746340-1746341,1746344,1746427,1746441,1746473,1746490,1746492,1746495-1746496,1746499-1746501,1746503-1746507,1746509,1746549,1746551,1746554,1746556,1746558,1746584,1746620,1746649,1746724,1746939,1746989,1747014,1747028,1747035,1747210,1747225,1747234,1747253,1747404,1747506,1747536,1747
 
924,1747980,1747993,1748001,1748253,1748452,1748547,1748629,1748676,1748715,1749287,1749296,1749328,1749373,1749465,1749506,1749508,1749665-1749666,1749763,1749865-1749866,1749898,1749978,1749980,1750011,1750015,1750056,1750480,1750617,1750634,1750692,1750697,1750700,1750703,1750707,1750714,1750718,1750723,1750774,1750899,1750975,1750995,1751061,1751097,1751173,1751438,1751447,1751463,1751702,1752212,1752737,1752745,1753078,1753080,1753358,1753363,1754111,1754140-1754141,1754281,1754310,1754445,1754467,1754494,1754496,1754528,1754532-1754533,1754613,1754714,1754874,1754941,1754944,1754950-1754951,1755005,1755007,1755009,1755132,1755180-1755181,1755185,1755190,1755204-1755206,1755208,1755214,1755224,1755227,1755230,1755629,1755646-1755647,1755650,1755653,1755675,1755680,1755683,1755693,1755717,1755731-1755737,1755812,1755828,1755884,1755890,1755918-1755919,1755942,1755958,1755960,1755970,1755993,1756013,1756019,1756039,1756056,1756083-1756114,1756175,1756288-1756289,1756408-1756410,1
 
756778,1756798,1756878,1756898,1756939,1757123-1757124,1757126,1757128,1757132-1757133,1757136,1757145,1757167-1757168,1757175,1757180,1757182,1757195,1757271,1757278,1757347,1757353-1757354,1757363,1757374,1757399,1757406,1757408,1757485,1757495,1757499,1757527,1757578,1757684,1757722,1757727,1757790,1757799,1757813,1757853,1757883,1757903,1757976,1757997,1758000,1758058,1758072-1758075,1758078-1758079,1758223,1758257,1758261,1758276,1758292,1758369,1758378-1758383,1758421,1758423,1758425-1758427,1758430,1758443,1758448,1758459,1758483,1758486-1758487,1758499,1758525,1758556,1758580,1758582,1758584,1758588,1758842,1759019,1759212,1759224,1759227,1759252,1759274,1759513-1759516,1759611,1759757,1759785-1759790,1760005,1760022,1760109-1760110,1760135,1760200-1760201,1760227,1760300,1760397,1760446,1760454,1760640,1760648,1761057,1761422,1761491,1761498,1761500-1761501,1761550,1761553,1761572,1761574,1761625-1761626,1761628,1761682,1761740,1761752,1762051-1762053,1762123,1762168,176217
 
2,1762182,1762201-1762202,1762204,1762208,1762288,1762296,1762324,1762348,1762353,1762362,1762374,1762492,1762503,1762505,1762541,1762608,1762710,1762753,1762766,1762769,1762944,1762947,1762953,1763167,1763179,1763232,1763259,1763271-1763272,1763276-1763277,1763319-1763320,1763370,1763372,1763375,1763377,1763393

svn commit: r1789984 - in /tomcat/trunk: java/org/apache/tomcat/util/net/AbstractEndpoint.java webapps/docs/changelog.xml

2017-04-03 Thread markt
Author: markt
Date: Mon Apr  3 12:48:08 2017
New Revision: 1789984

URL: http://svn.apache.org/viewvc?rev=1789984&view=rev
Log:
Avoid a NullPointerException when reading attributes for a running HTTP 
connector where TLS is not enabled.

Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java?rev=1789984&r1=1789983&r2=1789984&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java Mon Apr  
3 12:48:08 2017
@@ -188,7 +188,7 @@ public abstract class AbstractEndpointhttp://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1789984&r1=1789983&r2=1789984&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Apr  3 12:48:08 2017
@@ -60,6 +60,10 @@
 Correct a regression in the X to comma refactoring that broke JMX
 operations that take parameters. (markt)
   
+  
+Avoid a NullPointerException when reading attributes for a
+running HTTP connector where TLS is not enabled. (markt)
+  
 
   
   



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



svn commit: r1789986 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/tomcat/util/net/AbstractEndpoint.java webapps/docs/changelog.xml

2017-04-03 Thread markt
Author: markt
Date: Mon Apr  3 12:51:46 2017
New Revision: 1789986

URL: http://svn.apache.org/viewvc?rev=1789986&view=rev
Log:
Avoid a NullPointerException when reading attributes for a running HTTP 
connector where TLS is not enabled.

Modified:
tomcat/tc8.5.x/trunk/   (props changed)
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc8.5.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Apr  3 12:51:46 2017
@@ -1 +1 @@
-/tomcat/trunk:1734785,1734799,1734845,1734928,1735041,1735044,1735480,1735577,1735597,1735599-1735600,1735615,1736145,1736162,1736209,1736280,1736297,1736299,1736489,1736646,1736703,1736836,1736849,1737104-1737105,1737112,1737117,1737119-1737120,1737155,1737157,1737192,1737280,1737339,1737632,1737664,1737715,1737748,1737785,1737834,1737860,1737903,1737959,1738005,1738007,1738014-1738015,1738018,1738022,1738039,1738043,1738059-1738060,1738147,1738149,1738174-1738175,1738261,1738589,1738623-1738625,1738643,1738816,1738850,1738855,1738946-1738948,1738953-1738954,1738979,1738982,1739079-1739081,1739087,1739113,1739153,1739172,1739176,1739191,1739474,1739726,1739762,1739775,1739814,1739817-1739818,1739975,1740131,1740324,1740465,1740495,1740508-1740509,1740520,1740535,1740707,1740803,1740810,1740969,1740980,1740991,1740997,1741015,1741033,1741036,1741058,1741060,1741080,1741147,1741159,1741164,1741173,1741181,1741190,1741197,1741202,1741208,1741213,1741221,1741225,1741232,1741409,1741501
 
,1741677,1741892,1741896,1741984,1742023,1742042,1742071,1742090,1742093,1742101,1742105,1742111,1742139,1742146,1742148,1742166,1742181,1742184,1742187,1742246,1742248-1742251,1742263-1742264,1742268,1742276,1742369,1742387,1742448,1742509-1742512,1742917,1742919,1742933,1742975-1742976,1742984,1742986,1743019,1743115,1743117,1743124-1743125,1743134,1743425,1743554,1743679,1743696-1743698,1743700-1743701,1744058,1744064-1744065,1744125,1744194,1744229,1744270,1744323,1744432,1744684,1744697,1744705,1744713,1744760,1744786,1745083,1745142-1745143,1745145,1745177,1745179-1745180,1745227,1745248,1745254,1745337,1745467,1745473,1745576,1745735,1745744,1746304,1746306-1746307,1746319,1746327,1746338,1746340-1746341,1746344,1746427,1746441,1746473,1746490,1746492,1746495-1746496,1746499-1746501,1746503-1746507,1746509,1746549,1746551,1746554,1746556,1746558,1746584,1746620,1746649,1746724,1746939,1746989,1747014,1747028,1747035,1747210,1747225,1747234,1747253,1747404,1747506,1747536,1747
 
924,1747980,1747993,1748001,1748253,1748452,1748547,1748629,1748676,1748715,1749287,1749296,1749328,1749373,1749465,1749506,1749508,1749665-1749666,1749763,1749865-1749866,1749898,1749978,1749980,1750011,1750015,1750056,1750480,1750617,1750634,1750692,1750697,1750700,1750703,1750707,1750714,1750718,1750723,1750774,1750899,1750975,1750995,1751061,1751097,1751173,1751438,1751447,1751463,1751702,1752212,1752737,1752745,1753078,1753080,1753358,1753363,1754111,1754140-1754141,1754281,1754310,1754445,1754467,1754494,1754496,1754528,1754532-1754533,1754613,1754714,1754874,1754941,1754944,1754950-1754951,1755005,1755007,1755009,1755132,1755180-1755181,1755185,1755190,1755204-1755206,1755208,1755214,1755224,1755227,1755230,1755629,1755646-1755647,1755650,1755653,1755675,1755680,1755683,1755693,1755717,1755731-1755737,1755812,1755828,1755884,1755890,1755918-1755919,1755942,1755958,1755960,1755970,1755993,1756013,1756019,1756039,1756056,1756083-1756114,1756175,1756288-1756289,1756408-1756410,1
 
756778,1756798,1756878,1756898,1756939,1757123-1757124,1757126,1757128,1757132-1757133,1757136,1757145,1757167-1757168,1757175,1757180,1757182,1757195,1757271,1757278,1757347,1757353-1757354,1757363,1757374,1757399,1757406,1757408,1757485,1757495,1757499,1757527,1757578,1757684,1757722,1757727,1757790,1757799,1757813,1757853,1757883,1757903,1757976,1757997,1758000,1758058,1758072-1758075,1758078-1758079,1758223,1758257,1758261,1758276,1758292,1758369,1758378-1758383,1758421,1758423,1758425-1758427,1758430,1758443,1758448,1758459,1758483,1758486-1758487,1758499,1758525,1758556,1758580,1758582,1758584,1758588,1758842,1759019,1759212,1759224,1759227,1759252,1759274,1759513-1759516,1759611,1759757,1759785-1759790,1760005,1760022,1760109-1760110,1760135,1760200-1760201,1760227,1760300,1760397,1760446,1760454,1760640,1760648,1761057,1761422,1761491,1761498,1761500-1761501,1761550,1761553,1761572,1761574,1761625-1761626,1761628,1761682,1761740,1761752,1762051-1762053,1762123,1762168,176217
 
2,1762182,1762201-1762202,1762204,1762208,1762288,1762296,1762324,1762348,1762353,1762362,1762374,1762492,1762503,1762505,1762541,1762608,1762710,1762753,1762766,1762769,1762944,1762947,1762953,1763167,1763179,1763232,1763259,1763271-1763272,1763276-1763277,1763319-1763320,1763370,1763372,1763375,1763377,1763393,1763412,1763430,1763450,1763462,1763505,1763511-1763512,1763516

[Bug 60949] New: unable to deploy/undeploy war file using the manager

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

Bug ID: 60949
   Summary: unable to deploy/undeploy war file using the manager
   Product: Tomcat 9
   Version: 9.0.0.M19
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: lr...@is4ri.com
  Target Milestone: -

Hello,

I tried to use the deployment using the manager app with verison M19 of
Tomcat9.
I'm having the same error each time I try to deploy or undeploy an application.

The error is the following in the manager.log:
03-Apr-2017 14:43:39.592 GRAVE [http-nio-8080-exec-3]
org.apache.catalina.core.ApplicationContext.log HTMLManager: ECHEC -
Téléversement pour déploiement a échoué, exception: Cannot find operation
isServiced
 javax.management.MBeanException: Cannot find operation isServiced
at
org.apache.tomcat.util.modeler.ManagedBean.getInvoke(ManagedBean.java:528)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:292)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at
org.apache.catalina.manager.ManagerServlet.isServiced(ManagerServlet.java:1499)
at
org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:278)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:592)
at
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:319)
at
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:88)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:498)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:796)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1368)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.management.ServiceNotFoundException: Cannot find operation
isServiced
... 39 more

I do not have this problem with M18.

Thanks!

Laurent

-- 
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 60949] unable to deploy/undeploy war file using the manager

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

Violeta Georgieva  changed:

   What|Removed |Added

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

--- Comment #1 from Violeta Georgieva  ---
Hi,

This has been already fixed.
- 9.0.x - r1789937. It will be available in 9.0.0.M20 onwards.
- 8.5.x - r1789941. It will be available in 8.5.14 onwards.

Regards,
Violeta

-- 
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: potential NPE on 8.5.13

2017-04-03 Thread Violeta Georgieva
Hi,

2017-03-31 0:06 GMT+03:00 Romain Manni-Bucau :
>
> Seems it was it. TomEE is almost green with a "clean" 8.5.13.
>
> Only issue I got was: javax.management.ServiceNotFoundException: Cannot
> find operation getLastAccessedTimestamp
>
> In a test we use JMX to get some meta about the sessions.
>
> Issue comes from that
> commit
org.apache.tomcat.util.modeler.ManagedBean#createOperationKey(java.lang.String,
> java.lang.String[]) where the join value is not used and the signature
with
> a hook where the append would be done is not used as well.

I believe this change below fixes this. The fix will be available in 8.5.14.
http://svn.apache.org/viewvc?view=revision&revision=1789941

Regards,
Violeta

>
> Romain Manni-Bucau
> @rmannibucau  |  Blog
>  | Old Blog
>  | Github <
https://github.com/rmannibucau> |
> LinkedIn  | JavaEE Factory
> 
>
> 2017-03-30 22:00 GMT+02:00 Romain Manni-Bucau :
>
> > hmm, after a deeper check it seems it can be IDE related. I'll run tomee
> > test suite this night with that upgrade (8.5.13), think it could have
been
> > due to a messy Idea cache. Will report tomorrow morning the results.
Thanks
> > Violeta to have pointed this bugzilla out, helped to see that.
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau  |  Blog
> >  | Old Blog
> >  | Github
> >  | LinkedIn
> >  | JavaEE Factory
> > 
> >
> > 2017-03-30 21:50 GMT+02:00 Romain Manni-Bucau :
> >
> >> experienced it only on 8.5.13, 8.5.12 was working fine
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau  |  Blog
> >>  | Old Blog
> >>  | Github
> >>  | LinkedIn
> >>  | JavaEE Factory
> >> 
> >>
> >> 2017-03-30 19:53 GMT+02:00 Violeta Georgieva :
> >>
> >>> Hi,
> >>>
> >>> 2017-03-30 20:41 GMT+03:00 Romain Manni-Bucau :
> >>> >
> >>> > oops, hit enter too fast
> >>> >
> >>> > important detail: it is in a
> >>> request.getRequestDispatcher("WEB-INF/test.jsp"
> >>> > ).forward(request, response);
> >>>
> >>> Do you experience this with 8.5.12 (latest release) or 8.5.13
(currently
> >>> release that we vote)?
> >>> We have a fix in 8.5.13 for an issue similar to what you describe.
> >>> https://bz.apache.org/bugzilla/show_bug.cgi?id=60882
> >>>
> >>> Regards,
> >>> Violeta
> >>>
> >>> >
> >>> > Romain Manni-Bucau
> >>> > @rmannibucau  |  Blog
> >>> >  | Old Blog
> >>> >  | Github <
> >>> https://github.com/rmannibucau> |
> >>> > LinkedIn  | JavaEE Factory
> >>> > 
> >>> >
> >>> > 2017-03-30 19:40 GMT+02:00 Romain Manni-Bucau :
> >>> >
> >>> > > Hi guys,
> >>> > >
> >>> > > seems on the last release we can get a NPE we didnt get before.
> >>> > >
> >>> > > In org.apache.catalina.core.ApplicationMapping#getServletMapping
for
> >>> case
> >>> > > PATH pathInfo can be null so the toString() doesnt behave very
well.
> >>> > >
> >>> > > Got it with a @WebServlet("/foo/*")
> >>> > >
> >>> > > Romain Manni-Bucau
> >>> > > @rmannibucau  |  Blog
> >>> > >  | Old Blog
> >>> > >  | Github
> >>> > >  | LinkedIn
> >>> > >  | JavaEE Factory
> >>> > > 
> >>> > >
> >>>
> >>
> >>
> >


[Bug 60950] New: JSTL TransformSupport XSL import not finding relative path

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

Bug ID: 60950
   Summary: JSTL TransformSupport XSL import not finding relative
path
   Product: Taglibs
   Version: 1.2.5
  Hardware: PC
OS: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: XTags Taglib
  Assignee: dev@tomcat.apache.org
  Reporter: tomaz.ce...@gmail.com
  Target Milestone: ---

Created attachment 34894
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34894&action=edit
Reproducer war

When you try to use references to local xslt files inside same deployment.
You can get error when creating XML Transformer as transformer factory doesn't
have URI resolver set to be able to recognize jstl protocol.

Reproducer "test.war" is attached.
Part of code that makes it fail:

test.jsp:


http://localhost:8080/test/test.xml"; var="doc"/>

 

style.xsl
---

http://www.w3.org/1999/XSL/Transform";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
version="1.0">


...

results in
javax.xml.transform.TransformerException: Had IO Exception with stylesheet
file: parent.xsl
   at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:942)
   at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:780)
   at
__redirected.__TransformerFactory.newTransformer(__TransformerFactory.java:133)
   at org.apache.taglibs.standard.util.XmlUtil.newTransformer(XmlUtil.java:187)
Caused by: java.net.MalformedURLException: unknown protocol: jstl
   at java.net.URL.(URL.java:600)
   at java.net.URL.(URL.java:490)
   at java.net.URL.(URL.java:439)
   at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:964)
   at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:144)
   at
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:832)
   at
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
   at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
   at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1198)
   at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:564)
   at
org.apache.xalan.processor.ProcessorInclude.parse(ProcessorInclude.java:312)

This is also tracked in Red Hat BZ
https://bugzilla.redhat.com/show_bug.cgi?id=1320747
as well as in WildFly Jira: https://issues.jboss.org/browse/WFLY-8498

-- 
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: potential NPE on 8.5.13

2017-04-03 Thread Romain Manni-Bucau
thanks!


Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | JavaEE Factory


2017-04-03 15:59 GMT+02:00 Violeta Georgieva :

> Hi,
>
> 2017-03-31 0:06 GMT+03:00 Romain Manni-Bucau :
> >
> > Seems it was it. TomEE is almost green with a "clean" 8.5.13.
> >
> > Only issue I got was: javax.management.ServiceNotFoundException: Cannot
> > find operation getLastAccessedTimestamp
> >
> > In a test we use JMX to get some meta about the sessions.
> >
> > Issue comes from that
> > commit
> org.apache.tomcat.util.modeler.ManagedBean#createOperationKey(java.lang.
> String,
> > java.lang.String[]) where the join value is not used and the signature
> with
> > a hook where the append would be done is not used as well.
>
> I believe this change below fixes this. The fix will be available in
> 8.5.14.
> http://svn.apache.org/viewvc?view=revision&revision=1789941
>
> Regards,
> Violeta
>
> >
> > Romain Manni-Bucau
> > @rmannibucau  |  Blog
> >  | Old Blog
> >  | Github <
> https://github.com/rmannibucau> |
> > LinkedIn  | JavaEE Factory
> > 
> >
> > 2017-03-30 22:00 GMT+02:00 Romain Manni-Bucau :
> >
> > > hmm, after a deeper check it seems it can be IDE related. I'll run
> tomee
> > > test suite this night with that upgrade (8.5.13), think it could have
> been
> > > due to a messy Idea cache. Will report tomorrow morning the results.
> Thanks
> > > Violeta to have pointed this bugzilla out, helped to see that.
> > >
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau  |  Blog
> > >  | Old Blog
> > >  | Github
> > >  | LinkedIn
> > >  | JavaEE Factory
> > > 
> > >
> > > 2017-03-30 21:50 GMT+02:00 Romain Manni-Bucau :
> > >
> > >> experienced it only on 8.5.13, 8.5.12 was working fine
> > >>
> > >>
> > >> Romain Manni-Bucau
> > >> @rmannibucau  |  Blog
> > >>  | Old Blog
> > >>  | Github
> > >>  | LinkedIn
> > >>  | JavaEE Factory
> > >> 
> > >>
> > >> 2017-03-30 19:53 GMT+02:00 Violeta Georgieva :
> > >>
> > >>> Hi,
> > >>>
> > >>> 2017-03-30 20:41 GMT+03:00 Romain Manni-Bucau  >:
> > >>> >
> > >>> > oops, hit enter too fast
> > >>> >
> > >>> > important detail: it is in a
> > >>> request.getRequestDispatcher("WEB-INF/test.jsp"
> > >>> > ).forward(request, response);
> > >>>
> > >>> Do you experience this with 8.5.12 (latest release) or 8.5.13
> (currently
> > >>> release that we vote)?
> > >>> We have a fix in 8.5.13 for an issue similar to what you describe.
> > >>> https://bz.apache.org/bugzilla/show_bug.cgi?id=60882
> > >>>
> > >>> Regards,
> > >>> Violeta
> > >>>
> > >>> >
> > >>> > Romain Manni-Bucau
> > >>> > @rmannibucau  |  Blog
> > >>> >  | Old Blog
> > >>> >  | Github <
> > >>> https://github.com/rmannibucau> |
> > >>> > LinkedIn  | JavaEE
> Factory
> > >>> > 
> > >>> >
> > >>> > 2017-03-30 19:40 GMT+02:00 Romain Manni-Bucau <
> rmannibu...@gmail.com
> >:
> > >>> >
> > >>> > > Hi guys,
> > >>> > >
> > >>> > > seems on the last release we can get a NPE we didnt get before.
> > >>> > >
> > >>> > > In org.apache.catalina.core.ApplicationMapping#getServletMapping
> for
> > >>> case
> > >>> > > PATH pathInfo can be null so the toString() doesnt behave very
> well.
> > >>> > >
> > >>> > > Got it with a @WebServlet("/foo/*")
> > >>> > >
> > >>> > > Romain Manni-Bucau
> > >>> > > @rmannibucau  |  Blog
> > >>> > >  | Old Blog
> > >>> > >  | Github
> > >>> > >  | LinkedIn
> > >>> > >  | JavaEE Factory
> > >>> > > 
> > >>> > >
> > >>>
> > >>
> > >>
> > >
>


[Bug 60950] JSTL TransformSupport XSL import not finding relative path

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

Tomaz Cerar  changed:

   What|Removed |Added

 CC||tomaz.ce...@gmail.com

--- Comment #1 from Tomaz Cerar  ---
Created attachment 34895
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34895&action=edit
Patch that passes URI resolver to newTransformer

Proposed patch passes URI resolver to XmlUtil#newTransformer.
so it is set on TRANSFORMER_FACTORY before new transformer is created.

-- 
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 60950] JSTL TransformSupport XSL import not finding relative path

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

--- Comment #2 from Tomaz Cerar  ---
Created attachment 34896
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34896&action=edit
Thread Safe Patch that passes URI resolver to newTransformer

-- 
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: r1790009 - in /tomcat/site/trunk: ./ docs/ xdocs/

2017-04-03 Thread violetagg
Author: violetagg
Date: Mon Apr  3 15:00:27 2017
New Revision: 1790009

URL: http://svn.apache.org/viewvc?rev=1790009&view=rev
Log:
Updates (excluding docs) for 7.0.77 release

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/docs/doap_Tomcat.rdf
tomcat/site/trunk/docs/download-70.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-7.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/doap_Tomcat.rdf
tomcat/site/trunk/xdocs/download-70.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-7.xml
tomcat/site/trunk/xdocs/oldnews.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1790009&r1=1790008&r2=1790009&view=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Mon Apr  3 15:00:27 2017
@@ -37,7 +37,7 @@ tomcat.loc=http://www.apache.org/dist/to
 
 # - Tomcat versions -
 tomcat60=6.0.51
-tomcat70=7.0.76
+tomcat70=7.0.77
 tomcat80=8.0.42
 tomcat85=8.5.13
 tomcat90=9.0.0.M19

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1790009&r1=1790008&r2=1790009&view=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Mon Apr  3 15:00:27 2017
@@ -74,8 +74,8 @@
 
   
 Latest Stable 7.0.x Release
-2017-03-16
-7.0.76
+2017-04-02
+7.0.77
   
 
 

Modified: tomcat/site/trunk/docs/download-70.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-70.html?rev=1790009&r1=1790008&r2=1790009&view=diff
==
--- tomcat/site/trunk/docs/download-70.html (original)
+++ tomcat/site/trunk/docs/download-70.html Mon Apr  3 15:00:27 2017
@@ -230,7 +230,7 @@
 Quick Navigation
 
 
-[define v]7.0.76[end]
+[define v]7.0.77[end]
 https://www.apache.org/dist/tomcat/tomcat-7/KEYS";>KEYS |
 [v] |
 Browse |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1790009&r1=1790008&r2=1790009&view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Apr  3 15:00:27 2017
@@ -253,6 +253,29 @@ project logo are trademarks of the Apach
 
 
 
+
+2017-04-02 Tomcat 7.0.77 Released
+
+
+
+The Apache Tomcat Project is proud to announce the release of version 7.0.77 of
+Apache Tomcat. This release contains a number of bug fixes and improvements
+compared to version 7.0.76. The notable changes since 7.0.76 include:
+
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 7 
changelog.
+
+
+
+
+
+Download
+
+
+
+
 
 2017-03-30 Tomcat 8.5.13 Released
 
@@ -364,41 +387,6 @@ Apache Tomcat 6.0.48. The notable change
 
 
 
-
-
-2017-03-16 Tomcat 7.0.76 Released
-
-
-
-The Apache Tomcat Project is proud to announce the release of version 7.0.76 of
-Apache Tomcat. This release contains a number of bug fixes and improvements
-compared to version 7.0.75. The notable changes since 7.0.75 include:
-
-
-
-
-Limited relaxation of the HTTP request line validation
-
-Support for Java 9 during annotation scanning
-
-Update Tomcat Native to 1.2.12 to pick up the latest Windows binaries built
-with OpenSSL 1.0.2k
-
-
-
-
-
-Full details of these changes, and all the other changes, are available in the
-Tomcat 7 
changelog.
-
-
-
-
-
-Download
-
-
-
 
 
 2017-03-14 Tomcat 8.0.42 Released

Modified: tomcat/site/trunk/docs/migration-7.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-7.html?rev=1790009&r1=1790008&r2=1790009&view=diff
==
--- tomcat/site/trunk/docs/migration-7.html (original)
+++ tomcat/site/trunk/docs/migration-7.html Mon Apr  3 15:00:27 2017
@@ -1107,7 +1107,8 @@ of Apache Tomcat.
   "7.0.72":"1760687",
   "7.0.73":"1768587",
   "7.0.75":"1779379",
-  "7.0.76":"1786169"
+  "7.0.76":"1786169",
+  "7.0.77":"1789168"
 };
 
 formSubmit.action = 
"http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/"; +
@@ -1189,8 +1190,9 @@ of Apache Tomcat.
 7.0.70
 7.0.72
 7.0.73
-7.0.75
-7.0.76
+7.0.75
+7.0.76
+7.0.77
 , new version:
 
 7.0.0
@@ -1245,7 +1247,8 @@ of Apache Tomcat.
 7.0.72
 7.0.73
 7.0.75
-7.0.76
+7.0.76
+7.0.77
 

svn commit: r1790012 - in /tomcat/site/trunk/docs/tomcat-7.0-doc: ./ api/ api/org/apache/catalina/ api/org/apache/catalina/ant/ api/org/apache/catalina/ant/jmx/ api/org/apache/catalina/authenticator/

2017-04-03 Thread violetagg
Author: violetagg
Date: Mon Apr  3 15:14:26 2017
New Revision: 1790012

URL: http://svn.apache.org/viewvc?rev=1790012&view=rev
Log:
Update docs for Apache Tomcat 7.0.77 release.


[This commit notification would consist of 64 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

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



svn commit: r19022 - /release/tomcat/tomcat-7/v7.0.76/

2017-04-03 Thread violetagg
Author: violetagg
Date: Mon Apr  3 15:58:55 2017
New Revision: 19022

Log:
Remove 7.0.76

Removed:
release/tomcat/tomcat-7/v7.0.76/


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



svn commit: r1790016 - in /tomcat/site/trunk: ./ docs/ xdocs/

2017-04-03 Thread violetagg
Author: violetagg
Date: Mon Apr  3 16:00:27 2017
New Revision: 1790016

URL: http://svn.apache.org/viewvc?rev=1790016&view=rev
Log:
Updates (excluding docs) for 8.0.43 release

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/docs/doap_Tomcat.rdf
tomcat/site/trunk/docs/download-80.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-8.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/doap_Tomcat.rdf
tomcat/site/trunk/xdocs/download-80.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-8.xml
tomcat/site/trunk/xdocs/oldnews.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1790016&r1=1790015&r2=1790016&view=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Mon Apr  3 16:00:27 2017
@@ -38,7 +38,7 @@ tomcat.loc=http://www.apache.org/dist/to
 # - Tomcat versions -
 tomcat60=6.0.51
 tomcat70=7.0.77
-tomcat80=8.0.42
+tomcat80=8.0.43
 tomcat85=8.5.13
 tomcat90=9.0.0.M19
 

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1790016&r1=1790015&r2=1790016&view=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Mon Apr  3 16:00:27 2017
@@ -67,8 +67,8 @@
 
   
 Latest Stable 8.0.x Release
-2017-03-13
-8.0.42
+2017-04-02
+8.0.43
   
 
 

Modified: tomcat/site/trunk/docs/download-80.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.html?rev=1790016&r1=1790015&r2=1790016&view=diff
==
--- tomcat/site/trunk/docs/download-80.html (original)
+++ tomcat/site/trunk/docs/download-80.html Mon Apr  3 16:00:27 2017
@@ -231,7 +231,7 @@
 
 
 [define v]8.5.13[end]
-[define w]8.0.42[end]
+[define w]8.0.43[end]
 https://www.apache.org/dist/tomcat/tomcat-8/KEYS";>KEYS |
 [v] |
 [w] |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1790016&r1=1790015&r2=1790016&view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Apr  3 16:00:27 2017
@@ -253,6 +253,29 @@ project logo are trademarks of the Apach
 
 
 
+
+2017-04-02 Tomcat 8.0.43 Released
+
+
+
+The Apache Tomcat Project is proud to announce the release of version 8.0.43
+of Apache Tomcat. Apache Tomcat 8.0.43 includes fixes for issues identified in
+8.0.42 as well as other enhancements and changes.
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 8
+changelog.
+
+
+
+
+
+Download
+
+
+
+
 
 2017-04-02 Tomcat 7.0.77 Released
 
@@ -260,7 +283,7 @@ project logo are trademarks of the Apach
 
 The Apache Tomcat Project is proud to announce the release of version 7.0.77 of
 Apache Tomcat. This release contains a number of bug fixes and improvements
-compared to version 7.0.76. The notable changes since 7.0.76 include:
+compared to version 7.0.76.
 
 
 
@@ -387,42 +410,6 @@ Apache Tomcat 6.0.48. The notable change
 
 
 
-
-
-2017-03-14 Tomcat 8.0.42 Released
-
-
-
-The Apache Tomcat Project is proud to announce the release of version 8.0.42
-of Apache Tomcat. Apache Tomcat 8.0.42 includes fixes for issues identified in
-8.0.41 as well as other enhancements and changes. The notable changes since
-8.0.41 include:
-
-
-
-Limited relaxation of the HTTP request line validation
-
-Support for Java 9 during annotation scanning
-
-Update Tomcat Native to 1.2.12 to pick up the latest Windows binaries built
-with OpenSSL 1.0.2k
-
-
-
-
-
-Full details of these changes, and all the other changes, are available in the
-Tomcat 8
-changelog.
-
-
-
-
-
-Download
-
-
-
 
 
 2017-02-21 Tomcat Native 1.2.12 
Released

Modified: tomcat/site/trunk/docs/migration-8.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-8.html?rev=1790016&r1=1790015&r2=1790016&view=diff
==
--- tomcat/site/trunk/docs/migration-8.html (original)
+++ tomcat/site/trunk/docs/migration-8.html Mon Apr  3 16:00:27 2017
@@ -776,7 +776,8 @@ of Apache Tomcat.
   "8.0.38":"1763661",
   "8.0.39":"1768639",
   "8.0.41":"1779395",
-  "8.0.42":"1786068"
+  "8.0.42":"1786068",
+  "8.0.43":"1789153"
 };
 
 formSubmit.action = 
"http://

svn commit: r1790018 - in /tomcat/site/trunk/docs: ./ tomcat-8.0-doc/ tomcat-8.0-doc/api/ tomcat-8.0-doc/api/org/apache/catalina/ tomcat-8.0-doc/api/org/apache/catalina/ant/ tomcat-8.0-doc/api/org/apa

2017-04-03 Thread violetagg
Author: violetagg
Date: Mon Apr  3 16:13:25 2017
New Revision: 1790018

URL: http://svn.apache.org/viewvc?rev=1790018&view=rev
Log:
Update docs for Apache Tomcat 8.0.43 release.


[This commit notification would consist of 67 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

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



svn commit: r19023 - in /release/tomcat/tomcat-8: v8.0.42/ v8.5.12/

2017-04-03 Thread violetagg
Author: violetagg
Date: Mon Apr  3 16:19:39 2017
New Revision: 19023

Log:
Remove 8.0.42 & 8.5.12

Removed:
release/tomcat/tomcat-8/v8.0.42/
release/tomcat/tomcat-8/v8.5.12/


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



svn commit: r1790020 - in /tomcat/taglibs/standard/trunk: CHANGES.txt impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/TransformSupport.java impl/src/main/java/org/apache/taglibs/standard

2017-04-03 Thread remm
Author: remm
Date: Mon Apr  3 16:24:38 2017
New Revision: 1790020

URL: http://svn.apache.org/viewvc?rev=1790020&view=rev
Log:
60950 - JSTL TransformSupport XSL import not finding relative path. Patch 
submitted by Tomaz Cerar.

Modified:
tomcat/taglibs/standard/trunk/CHANGES.txt

tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/TransformSupport.java

tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/util/XmlUtil.java

Modified: tomcat/taglibs/standard/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/CHANGES.txt?rev=1790020&r1=1790019&r2=1790020&view=diff
==
--- tomcat/taglibs/standard/trunk/CHANGES.txt (original)
+++ tomcat/taglibs/standard/trunk/CHANGES.txt Mon Apr  3 16:24:38 2017
@@ -1,3 +1,6 @@
+Changes in x release
+60950 JSTL TransformSupport XSL import not finding relative path
+
 Changes in 1.2.5 release
 - Set version identifiers correctly, no other changes.
 
@@ -86,4 +89,4 @@ However, due to the time since the last
 30068 Wrong behaviour of x:out inside x:forEach
 27717  very slow in JSTL 1.1
 17388 Result set created in query tag is never released + update tag
-14465 position() and last() are critical
\ No newline at end of file
+14465 position() and last() are critical

Modified: 
tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/TransformSupport.java
URL: 
http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/TransformSupport.java?rev=1790020&r1=1790019&r2=1790020&view=diff
==
--- 
tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/TransformSupport.java
 (original)
+++ 
tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/TransformSupport.java
 Mon Apr  3 16:24:38 2017
@@ -121,7 +121,7 @@ public abstract class TransformSupport e
 }
 
 try {
-t = XmlUtil.newTransformer(source);
+t = XmlUtil.newTransformer(source, uriResolver);
 t.setURIResolver(uriResolver);
 } catch (TransformerConfigurationException e) {
 throw new JspTagException(e);

Modified: 
tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/util/XmlUtil.java
URL: 
http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/util/XmlUtil.java?rev=1790020&r1=1790019&r2=1790020&view=diff
==
--- 
tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/util/XmlUtil.java
 (original)
+++ 
tomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/util/XmlUtil.java
 Mon Apr  3 16:24:38 2017
@@ -25,7 +25,6 @@ import java.security.PrivilegedAction;
 import java.security.PrivilegedActionException;
 import java.security.PrivilegedExceptionAction;
 import java.util.concurrent.Callable;
-
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.jsp.PageContext;
 import javax.xml.XMLConstants;
@@ -183,14 +182,23 @@ public class XmlUtil {
  * @return a new Transformer
  * @throws TransformerConfigurationException if there was a problem 
creating the Transformer from the XSLT
  */
-public static Transformer newTransformer(Source source) throws 
TransformerConfigurationException {
-Transformer transformer = TRANSFORMER_FACTORY.newTransformer(source);
-// Although newTansformer() is not allowed to return null, Xalan does.
-// Trap that here by throwing the expected 
TransformerConfigurationException.
-if (transformer == null) {
-throw new TransformerConfigurationException("newTransformer 
returned null. XSLT may be invalid.");
+public static Transformer newTransformer(Source source, JstlUriResolver 
uriResolver) throws TransformerConfigurationException {
+synchronized (TRANSFORMER_FACTORY) {
+final URIResolver original = TRANSFORMER_FACTORY.getURIResolver();
+try {
+TRANSFORMER_FACTORY.setURIResolver(uriResolver);
+Transformer transformer = 
TRANSFORMER_FACTORY.newTransformer(source);
+// Although newTransformer() is not allowed to return null, 
Xalan does.
+// Trap that here by throwing the expected 
TransformerConfigurationException.
+if (transformer == null) {
+throw new 
TransformerConfigurationException("newTransformer returned null. XSLT may be 
invalid.");
+}
+return transformer;
+} finally {
+//restore URI resolver on factory to what was before
+TRANSFORMER_FACTORY.

[Bug 60950] JSTL TransformSupport XSL import not finding relative path

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

Remy Maucherat  changed:

   What|Removed |Added

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

--- Comment #3 from Remy Maucherat  ---
Reviewed and committed as r1790020, it will be in the next (1.2.6 ?) release.

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



[ANN] Apache Tomcat 7.0.77 released

2017-04-03 Thread Violeta Georgieva
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 7.0.77.

Apache Tomcat is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Expression Language and Java
WebSocket technologies.

This release contains a number of bug fixes and improvements compared to
version 7.0.76.

Please refer to the change log for the complete list of changes:
http://tomcat.apache.org/tomcat-7.0-doc/changelog.html

Downloads:
http://tomcat.apache.org/download-70.cgi

Migration guides from Apache Tomcat 5.5.x and 6.0.x:
http://tomcat.apache.org/migration.html

Enjoy

The Apache Tomcat team


[ANN] Apache Tomcat 8.0.43 available

2017-04-03 Thread Violeta Georgieva
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 8.0.43.

Please note that Tomcat 8.x users should normally be using 8.5.x
releases in preference to 8.0.x releases.

Apache Tomcat 8.0 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language and Java
WebSocket technologies.

Apache Tomcat 8.0.43 includes fixes for issues identified in 8.0.42 as
well as other enhancements and changes.

Please refer to the change log for the complete list of changes:
http://tomcat.apache.org/tomcat-8.0-doc/changelog.html

Downloads:
http://tomcat.apache.org/download-80.cgi

Migration guides from Apache Tomcat 5.5.x, 6.0.x and 7.0.x:
http://tomcat.apache.org/migration.html

Enjoy

The Apache Tomcat team


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

2017-04-03 Thread violetagg
Author: violetagg
Date: Mon Apr  3 20:31:23 2017
New Revision: 1790048

URL: http://svn.apache.org/viewvc?rev=1790048&view=rev
Log:
Update 8.0.43 release date

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

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1790048&r1=1790047&r2=1790048&view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Apr  3 20:31:23 2017
@@ -254,7 +254,7 @@ project logo are trademarks of the Apach
 
 
 
-2017-03-14 Tomcat 8.0.43 Released
+2017-04-02 Tomcat 8.0.43 Released
 
 
 

Modified: tomcat/site/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/index.xml?rev=1790048&r1=1790047&r2=1790048&view=diff
==
--- tomcat/site/trunk/xdocs/index.xml (original)
+++ tomcat/site/trunk/xdocs/index.xml Mon Apr  3 20:31:23 2017
@@ -39,7 +39,7 @@ project logo are trademarks of the Apach
 
 
 
-
+
 
 The Apache Tomcat Project is proud to announce the release of version 8.0.43
 of Apache Tomcat. Apache Tomcat 8.0.43 includes fixes for issues identified in



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



[GUMP@vmgump-vm3]: Project tomcat-tc8.0.x-test-nio2 (in module tomcat-8.0.x) failed

2017-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-tc8.0.x-test-nio2 has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 2 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc8.0.x-test-nio2 :  Tomcat 8.x, a web server implementing the 
Java Servlet 3.1,
...


Full details are available at:

http://vmgump-vm3.apache.org/tomcat-8.0.x/tomcat-tc8.0.x-test-nio2/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-8.0.x/output/logs-NIO2
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-8.0.x/output/test-tmp-NIO2/logs
 -WARNING- No directory 
[/srv/gump/public/workspace/tomcat-8.0.x/output/test-tmp-NIO2/logs]



The following work was performed:
http://vmgump-vm3.apache.org/tomcat-8.0.x/tomcat-tc8.0.x-test-nio2/gump_work/build_tomcat-8.0.x_tomcat-tc8.0.x-test-nio2.html
Work Name: build_tomcat-8.0.x_tomcat-tc8.0.x-test-nio2 (Type: Build)
Work ended in a state of : Failed
Elapsed: 20 mins 12 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 
-Dbase.path=/srv/gump/public/workspace/tomcat-8.0.x/tomcat-build-libs 
-Dexecute.test.nio2=true -Dtest.temp=output/test-tmp-NIO2 
-Djunit.jar=/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar 
-Dtest.accesslog=true 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.6-SNAPSHOT.jar
 -Dexamples.sources.skip=true 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20170404.jar
 
-Dtest.openssl.path=/srv/gump/public/workspace/openssl-1.0.2/dest-20170404/bin/openssl
 -Dexecute.test.nio=false 
-Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar 
-Dexecute.test.apr=false -Dexecute.test.bio=false 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20170404-native-src.tar.gz
 -Dtest.repor
 ts=output/logs-NIO2 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20170404-native-src.tar.gz
 -Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar 
-Dtest.relaxTiming=true -Dtest.excludePerformance=true 
-Djava.net.preferIPv4Stack=/srv/gump/public/workspace/tomcat-8.0.x/true 
-Deasymock.jar=/srv/gump/public/workspace/easymock/core/target/easymock-3.5-SNAPSHOT.jar
 -Dcglib.jar=/srv/gump/packages/cglib/cglib-nodep-2.2.jar test 
[Working Directory: /srv/gump/public/workspace/tomcat-8.0.x]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-8.0.x/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-8.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/servlet-api.ja
 
r:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/websocket-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina-storeconfig.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina-tribes.jar:/srv/gu