[Bug 59691] New: No logs "Deploying web application directory" if context element is defined within host

2016-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59691

Bug ID: 59691
   Summary: No logs "Deploying web application directory" if
context element is defined within  host
   Product: Tomcat 8
   Version: 8.0.30
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: amit.pa...@veritas.com





  



 
 









If I have the nested context element defined as above, in catalina.out I don't
see following Info logs.

13-Jun-2016 15:21:28.641 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory C:\Program Files\xyz\abc\wmc\def\webapps\ROOT
13-Jun-2016 15:21:28.668 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory C:\Program Files\xyz\abc\def\webserver\webapps\ROOT has
finished in 27 ms


We deploy multiple applications so it's important for us to get the deployment
time for each of the web application. 


The above log statements are seen once the context element is removed from
above configuration.

-- 
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 59691] No logs "Deploying web application directory" if context element is defined within host

2016-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59691

Remy Maucherat  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #1 from Remy Maucherat  ---
That's because the webapp is not deployed by the Tomcat deployer (= HostConfig)
in that case.

-- 
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 59691] No logs "Deploying web application directory" if context element is defined within host

2016-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59691

--- Comment #2 from Amit Pande  ---
Aren't there any work-arounds ?

It looks odd NOT to have any solution to this. 

Did I miss something while controlling access to some web apps from only
localhost ?

Is there any other way to configure the remote address valves without losing
the deployment logs ?

-- 
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 59691] No logs "Deploying web application directory" if context element is defined within host

2016-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59691

--- Comment #3 from Remy Maucherat  ---
That's a lot of questions that should go to the user mailing list.
Yes, you can put this configuration inside the webapp itself rather than
defining your webapp statically in server.xml.

-- 
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 59691] No logs "Deploying web application directory" if context element is defined within host

2016-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59691

--- Comment #4 from Amit Pande  ---
Thanks for putting this to a mailing list. 


Had thought of putting the address/ip valve configuration to each of the web
app's META-INF/context.xml.

However, we are using Spring based Java configuration (no XMls) , so probably
did not investigate much on how this can be achieved.

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



[Tomcat Wiki] Update of "TomcatVersions" by markt

2016-06-13 Thread Apache Wiki
Dear Wiki user,

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

The "TomcatVersions" page has been changed by markt:
https://wiki.apache.org/tomcat/TomcatVersions?action=diff&rev1=26&rev2=27

Comment:
Add 8.5.x

  The "Process" field in the following tables documents what development model 
is accepted by that project, either 
[[http://www.apache.org/foundation/glossary.html#ReviewThenCommit|Review-Then-Commit]]
 or 
[[http://www.apache.org/foundation/glossary.html#CommitThenReview|Commit-Then-Review]].
 For RTC model the changes are first proposed in the `STATUS.txt` file in the 
root of the project and have to gain at least 3 "`+1`" votes before being 
applied. The project members have agreed on several 
[[#RTC_Exceptions|exceptions]] from the RTC rule (documented below).
  
  = Tomcat 9.0.x =
- ||Spec versions: ||Servlet 4.0, JSP 2.4?, EL 3.1?, !WebSocket 1.2? ||
+ ||Spec versions: ||Servlet 4.0, JSP 2.4?, EL 3.1?, !WebSocket 1.2?, JASPIC 
1.1 ||
  ||Stable: ||No ||
  ||Enhancements: ||Yes ||
  ||Bug Fixes: ||Yes ||
@@ -19, +19 @@

  ||Release Manager: ||TBD ||
  ||Process: ||CTR ||
  ||Listed on download pages: ||Not yet ||
+ 
+ = Tomcat 8.5.x =
+ ||Spec versions: ||Servlet 3.1, JSP 2.3, EL 3.0, !WebSocket 1.1, JASPIC 1.1 ||
+ ||Stable: ||Yes ||
+ ||Enhancements: ||Yes ||
+ ||Bug Fixes: ||Yes ||
+ ||Security Fixes: ||Yes ||
+ ||Releases: ||Yes ||
+ ||Release Manager: ||Mark Thomas (markt) ||
+ ||Process: ||CTR ||
+ ||Listed on download pages: ||Yes ||
  
  = Tomcat 8.0.x =
  ||Spec versions: ||Servlet 3.1, JSP 2.3, EL 3.0, !WebSocket 1.1 ||

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



svn commit: r1748253 - /tomcat/trunk/webapps/docs/config/http.xml

2016-06-13 Thread markt
Author: markt
Date: Mon Jun 13 15:12:39 2016
New Revision: 1748253

URL: http://svn.apache.org/viewvc?rev=1748253&view=rev
Log:
Document HTTP/2 configuration

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

Modified: tomcat/trunk/webapps/docs/config/http.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/http.xml?rev=1748253&r1=1748252&r2=1748253&view=diff
==
--- tomcat/trunk/webapps/docs/config/http.xml (original)
+++ tomcat/trunk/webapps/docs/config/http.xml Mon Jun 13 15:12:39 2016
@@ -949,21 +949,41 @@
   
 
   This Connector supports all of the required features
-  of the HTTP/1.1 protocol, as described in RFC 2616, including persistent
+  of the HTTP/1.1 protocol, as described in RFCs 7230-7235, including 
persistent
   connections, pipelining, expectations and chunked encoding.  If the client
-  (typically a browser) supports only HTTP/1.0, the
+  supports only HTTP/1.0 or HTTP/0.9, the
   Connector will gracefully fall back to supporting this
   protocol as well.  No special configuration is required to enable this
   support. The Connector also supports HTTP/1.0
   keep-alive.
 
-  RFC 2616 requires that HTTP servers always begin their responses with
+  RFC 7230 requires that HTTP servers always begin their responses with
   the highest HTTP version that they claim to support.  Therefore, this
   Connector will always return HTTP/1.1 at
   the beginning of its responses.
 
   
 
+  
+
+  HTTP/2 is support is provided for TLS (h2), non-TLS via HTTP upgrade (h2c)
+ and direct HTTP/2 (h2c) connections. To enable HTTP/2 support for an HTTP
+ connector the following UpgradeProtocol element must be
+ nested within the Connector with a
+ className attribute of
+ org.apache.coyote.http2.Http2Protocol.
+
+
+
+  Because Java 8's TLS implementation does not support ALPN (which is
+ required for HTTP/2 over TLS), you must be using an OpenSSL based TLS
+ implementation to enable HTTP/2 support. See the
+ sslImplementationName attribute of the
+ Connector.
+
+  
 
   
 



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



svn commit: r1748255 - in /tomcat/tc8.5.x/trunk: ./ webapps/docs/config/http.xml

2016-06-13 Thread markt
Author: markt
Date: Mon Jun 13 15:14:07 2016
New Revision: 1748255

URL: http://svn.apache.org/viewvc?rev=1748255&view=rev
Log:
Document HTTP/2 configuration

Modified:
tomcat/tc8.5.x/trunk/   (props changed)
tomcat/tc8.5.x/trunk/webapps/docs/config/http.xml

Propchange: tomcat/tc8.5.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Jun 13 15:14:07 2016
@@ -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,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,1745142-1745143,1745145,1745177,1745179-1745180,1745227,1745248,1745254,1745337,1745467,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,1747924,1747980,1747993,1748
 001
+/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,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,1745142-1745143,1745145,1745177,1745179-1745180,1745227,1745248,1745254,1745337,1745467,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,1747924,1747980,1747993,1748
 001,1748253

Modified: tomcat/tc8.5.x/trunk/webapps/docs/config/http.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/webapps/docs/config/http.xml?rev=1748255&r1=1748254&r2=1748255&view=diff
==
--- tomcat/tc8.5.x/trunk/webapps/docs/config/http.xml (original)
+++ tomcat/tc8.5.x/trunk/webapps/docs/config/http.xml Mon Jun 13 15:14:07 2016
@@ -949,21 +949,41 @@
   
 
   This Connector supports all of the required features
-  of the HTTP/1.1 pr

Re: [VOTE] Release Apache Tomcat 8.5.3

2016-06-13 Thread Mark Thomas
On 12/06/2016 07:42, Huxing Zhang wrote:
> The proposed 8.5.3 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.3
> [ ] Beta   - go ahead and release as 8.5.3
> [ X ] Stable - go ahead and release as 8.5.3
> 
> No test case failure.
> Examples ok.
> 
> Some suggestions:
> * Add tomcat 8.5.x to http://wiki.apache.org/tomcat/TomcatVersions
> * Add HTTP/2 support to docs/config/http.html

Good suggestions. I've implemented both of them.

Thanks,

Mark


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



[VOTE][RESULT] Release Apache Tomcat 9.0.0.M8

2016-06-13 Thread Mark Thomas
The following votes were cast:
Binding:
  Alpha: remm, violetagg, markt, kfujino, mgrigorov, fschumacher

Non-binding:
  Alpha: Huxing Zhang

No other votes were cast.

The vote therefore passes.

Thanks to everyone who helped with this release.

Mark


On 07/06/2016 17:02, Mark Thomas wrote:
> The proposed Apache Tomcat 9.0.0.M8 release is now available for voting.
> 
> This is a milestone release for the 9.0.x branch. It should be
> noted that, as a milestone release:
> - Servlet 4.0 is not finalised
> - The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0
> 
> The major changes compared to the 9.0.0.M6 release are:
> - Improvements to memory leak detection and prevention including the
>   change RMI memory leaks are now correctly treated as application bugs
>   rather than a JRE bug
> - Fix a couple of memory leaks found in Tomcat
> - The HTTP Server header is no longer set by default
> 
> For full details, see the changelog:
> http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M8/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1085/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M8/
> 
> The proposed 9.0.0.M8 release is:
> [ ] Broken - do not release
> [ ] Alpha - go ahead and release as 9.0.0.M8
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 


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



svn commit: r13977 - /dev/tomcat/tomcat-9/v9.0.0.M8/ /release/tomcat/tomcat-9/v9.0.0.M8/

2016-06-13 Thread markt
Author: markt
Date: Mon Jun 13 15:28:39 2016
New Revision: 13977

Log:
Release Tomcat 9.0.0.M8

Added:
release/tomcat/tomcat-9/v9.0.0.M8/
  - copied from r13924, dev/tomcat/tomcat-9/v9.0.0.M8/
Removed:
dev/tomcat/tomcat-9/v9.0.0.M8/


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



[VOTE][RESULT] Release Apache Tomcat 8.5.3

2016-06-13 Thread Mark Thomas
The following votes were cast:

Binding:
  Stable: remm, violetagg, kfujino, fschumacher

Non-binding:
  Stable: rmannibucau, Huxing Zhang

The vote therefore passes.

Thanks to everyone who contributed to this release.

Mark


On 09/06/2016 13:13, Mark Thomas wrote:
> The proposed Apache Tomcat 8.5.3 release is now available for voting.
> 
> The major changes compared to the 8.5.2 release are:
> 
> - Ensure error will not be thrown during deployment when scanning jar
>   files with no or invalid MANIFEST.MF files.
> 
> - Improvements to memory leak detection and prevention
> 
> - The HTTP Server header is no longer set by default
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.3/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1086/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_3/
> 
> The proposed 8.5.3 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.3
> [ ] Beta   - go ahead and release as 8.5.3
> [ ] Stable - go ahead and release as 8.5.3
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 


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



svn commit: r13978 - /dev/tomcat/tomcat-8/v8.5.3/ /release/tomcat/tomcat-8/v8.5.3/

2016-06-13 Thread markt
Author: markt
Date: Mon Jun 13 15:41:10 2016
New Revision: 13978

Log:
Release 8.5.3

Added:
release/tomcat/tomcat-8/v8.5.3/
  - copied from r13945, dev/tomcat/tomcat-8/v8.5.3/
Removed:
dev/tomcat/tomcat-8/v8.5.3/


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



Timescale for 8.0.x EOL

2016-06-13 Thread Mark Thomas
Now we have a stable release of 8.5.x, I'd like to finialise the end of
life date for 8.0.x so we can publish it.

We originally said we'd do parallel releases for 6 months. That gives an
EOL date of 30 September 2016 for 8.0.x which seems reasonable to me.

Any objections to that date or suggestions for a better one?

Thanks,

Mark

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



[VOTE][RESULT] Release Apache Tomcat 8.0.36

2016-06-13 Thread Mark Thomas
The following votes were cast:

Binding:
  Stable: remm, kfujino, voiletagg. fschumacher

Non-Binding:
  Stable: Huxing Zhang

The vote therefore passes.

Thanks to everyone who contributed to this release.

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



svn commit: r13979 - /dev/tomcat/tomcat-8/v8.0.36/ /release/tomcat/tomcat-8/v8.0.36/

2016-06-13 Thread markt
Author: markt
Date: Mon Jun 13 15:51:10 2016
New Revision: 13979

Log:
Release 8.0.36

Added:
release/tomcat/tomcat-8/v8.0.36/
  - copied from r13946, dev/tomcat/tomcat-8/v8.0.36/
Removed:
dev/tomcat/tomcat-8/v8.0.36/


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



Re: HTTP/2 optimizations and edge cases

2016-06-13 Thread Rémy Maucherat
2016-06-03 17:36 GMT+02:00 Mark Thomas :

> On 03/06/2016 15:59, Rémy Maucherat wrote:
> >> I am not talking about a limit on concurrent streams where things are
> being
> > refused (and this is exposed through the settings), rather on streams
> which
> > are effectively being processed concurrently (= for example, in
> headersEnd,
> > we put the StreamProcessor in a queue rather than executing it
> immediately
> > ? unless it's a high priority stream, right ?). h2load allows comparing
> > with other servers, and JF told me httpd has a lower HTTP/2 performance
> > impact compared to Tomcat. Given the profiling, the problem is the heavy
> > lock contention (no surprise, this is something that is very expensive)
> and
> > we could get better performance by controlling the contention. JF's
> > original "HTTP/2 torture test" HTML page with 1000 images probably also
> > runs into this. IMO we will eventually need a better execution strategy
> > than what is in place at the moment, since all dumb benchmarks will run
> > into that edge case. But I agree that it's only partially legitimate, the
> > client has the opportunity to control it.
>
> Ah. Got it.
>
> I added some rudimentary concurrency control for testing, the h2load
results are immediately up to 30% better when using low concurrency levels
(8 streams concurrently executed per connection). When allowing a larger
but still reasonable amount of concurrency, like 32 [that would correspond
to 32 connections for a single client for HTTP/1.1, so that's a lot], the
performance is up 20% over the default. As a sync contention gets higher,
the performance degrades fast and I verified using VM monitoring most of
the threads in the pool spend most of the time blocked while the test runs.
This depends on the thread pool size and the client behavior obviously, so
the impact can be arbitrarily large.

My conclusion is that some sort of optional mechanism should be added.

Rémy


[Bug 59697] New: tomcat cache DNS forever

2016-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59697

Bug ID: 59697
   Summary: tomcat cache DNS forever
   Product: Tomcat 7
   Version: 7.0.56
  Hardware: All
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: niranjan.bo...@gmail.com

Hi All,

I have an issue with tomcat dns cache ttl, where if I change the IP address of
the database server, tomcat still sending connection requests to an old IP
until I restart tomcat, this is not the case with Jboss. I have verified in
java security, this what we have in java.

#networkaddress.cache.ttl=-1

since this property has been disabled, by default ttl will be 30 sec, jboss 7
is respecting this value, but not tomcat.

so far I have tried these things in tomcat.

https://bz.apache.org/bugzilla/show_bug.cgi?id=33226

neither of these settings are not working in tomcat.

-Dnetworkaddress.cache.ttl=0 or -Dsun.net.inetaddr.ttl=0


java version "1.7.0_60"
tomcat-7.0.56
os centos 6.

can someone please help me out on this?

thanks
Niranjan

-- 
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 59697] tomcat cache DNS forever

2016-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59697

Niranjan  changed:

   What|Removed |Added

 CC||niranjan.bo...@gmail.com

-- 
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: Timescale for 8.0.x EOL

2016-06-13 Thread Huxing Zhang
Looks good. +1

--
From:Mark Thomas 
Time:2016 Jun 13 (Mon) 23:47
To:dev@tomcat.apache.org 
Subject:Timescale for 8.0.x EOL


Now we have a stable release of 8.5.x, I'd like to finialise the end of
life date for 8.0.x so we can publish it.

We originally said we'd do parallel releases for 6 months. That gives an
EOL date of 30 September 2016 for 8.0.x which seems reasonable to me.

Any objections to that date or suggestions for a better one?

Thanks,

Mark

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

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



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

2016-06-13 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-native-trunk-make has an issue affecting its community 
integration.
This issue affects 3 projects,
 and has been outstanding for 41 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-native-trunk-make :  Tomcat native library using Apache Portable 
Runtime
- tomcat-native-trunk-make-install :  Tomcat native library using Apache 
Portable Runtime
- 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-native-trunk/tomcat-native-trunk-make/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-native-trunk/tomcat-native-trunk-make/gump_work/build_tomcat-native-trunk_tomcat-native-trunk-make.html
Work Name: build_tomcat-native-trunk_tomcat-native-trunk-make (Type: Build)
Work ended in a state of : Failed
Elapsed: 34 secs
Command Line: make 
[Working Directory: /srv/gump/public/workspace/tomcat-native-trunk/native]
-
make[1]: Entering directory 
`/srv/gump/public/workspace/tomcat-native-trunk/native'
/bin/bash /srv/gump/public/workspace/apr-1/dest-20160614/build-1/libtool 
--silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX 
-D_REENTRANT -D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/srv/gump/public/workspace/tomcat-native-trunk/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl-master/dest-20160614/include  
-I/srv/gump/public/workspace/apr-1/dest-20160614/include/apr-1   -o 
src/address.lo -c src/address.c && touch src/address.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20160614/build-1/libtool 
--silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX 
-D_REENTRANT -D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/srv/gump/public/workspace/tomcat-native-trunk/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl-master/dest-20160614/include  
-I/srv/gump/public/workspace/apr-1/dest-20160614/include/apr-1   -o src/bb.lo 
-c src/bb.c && touch src/bb.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20160614/build-1/libtool 
--silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX 
-D_REENTRANT -D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/srv/gump/public/workspace/tomcat-native-trunk/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl-master/dest-20160614/include  
-I/srv/gump/public/workspace/apr-1/dest-20160614/include/apr-1   -o src/dir.lo 
-c src/dir.c && touch src/dir.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20160614/build-1/libtool 
--silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX 
-D_REENTRANT -D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/srv/gump/public/workspace/tomcat-native-trunk/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl-master/dest-20160614/include  
-I/srv/gump/public/workspace/apr-1/dest-20160614/include/apr-1   -o 
src/error.lo -c src/error.c && touch src/error.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20160614/build-1/libtool 
--silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX 
-D_REENTRANT -D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/srv/gump/public/workspace/tomcat-native-trunk/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl-master/dest-20160614/include  
-I/srv/gump/public/workspace/apr-1/dest-20160614/include/apr-1   -o src/file.lo 
-c src/file.c && touch src/file.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20160614/build-1/libtool 
--silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX 
-D_REENTRANT -D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/srv/gump/public/workspace/tomcat-native-trunk/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl-master/dest-20160614/include  
-I/srv/gump/public/workspace/apr-1/dest-20160614/include/apr-1   -o src/info.lo 
-c src/info.c && touch src/info.lo
/bin/bash /srv/gump/public/workspace/apr-

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

2016-06-13 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-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-tc8.0.x-test-apr :  Tomcat 8.x, a web server implementing the Java 
Servlet 3.1,
...


Full details are available at:

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



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-8.0.x/tomcat-tc8.0.x-test-apr/gump_work/build_tomcat-8.0.x_tomcat-tc8.0.x-test-apr.html
Work Name: build_tomcat-8.0.x_tomcat-tc8.0.x-test-apr (Type: Build)
Work ended in a state of : Failed
Elapsed: 46 mins 38 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=false -Dtest.temp=output/test-tmp-APR 
-Djunit.jar=/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.5-SNAPSHOT.jar
 -Dexamples.sources.skip=true 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20160614.jar
 
-Dtest.openssl.path=/srv/gump/public/workspace/openssl-1.0.2/dest-20160614/bin/openssl
 -Dexecute.test.nio=false 
-Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar 
-Dexecute.test.apr=true -Dexecute.test.bio=false 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20160614-native-src.tar.gz
 -Dtest.reports=output/logs-APR -Dto
 
mcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20160614-native-src.tar.gz
 -Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar 
-Dtest.apr.loc=/srv/gump/public/workspace/tomcat-native-12/dest-20160614/lib 
-Dtest.relaxTiming=true -Dtest.excludePerformance=true -Dtest.accesslog=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/gump/public/workspace/tomcat-8.