Re: Why does 'absolute-ordering' in web.xml without 'others' kill classpath scanning?

2015-02-13 Thread Mark Thomas
On 13/02/2015 18:49, Ryan Scharer wrote: > Chris, > > I share your misgivings about magic, though if it exhibits well-documented > and predictable behavior I usually just shrug and go along with it. Sadly > that doesn't seem to be the case here. It is documented but I'd agree it could be better d

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Terence M. Bandoian
On 2/13/2015 11:21 AM, David kerber wrote: On 2/13/2015 11:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, ... public static void unRegisterDrivers() { try { for ( Enumeration drivers = DriverManager.getDrivers(); drivers.hasMoreElements(); ) { Drive

Re: Why does 'absolute-ordering' in web.xml without 'others' kill classpath scanning?

2015-02-13 Thread Mark Thomas
On 13/02/2015 17:59, Ryan Scharer wrote: > Hey folks, > > I'm not sure if this is a bug or not, but I can't find any relevant > information in the spec to suggest the behavior is expected. > > There's a web-fragment in my classpath that I'd like to skip. The only way > to accomplish this that I k

Re: WorkManager replacement

2015-02-13 Thread Terence M. Bandoian
On 2/13/2015 8:52 AM, Kevin Hale Boyes wrote: I'll look into the timers for sure. I've also noticed that my application (lots of code) also uses Executors and ExecutorService so I might do something there. One of the things that WorkManager gave us, and we take advantage of, is a callback handle

Re: Why does 'absolute-ordering' in web.xml without 'others' kill classpath scanning?

2015-02-13 Thread Ryan Scharer
Chris, I share your misgivings about magic, though if it exhibits well-documented and predictable behavior I usually just shrug and go along with it. Sadly that doesn't seem to be the case here. I'll set aside some time to step through the Tomcat code to try to figure this out, though in the meant

Re: [OT] FileNotFoundException for existing JAR files

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/13/15 1:02 PM, Mark H. Wood wrote: > On Fri, Feb 13, 2015 at 11:46:37AM -0500, Christopher Schultz > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Alexander, >> >> On 2/12/15 2:26 PM, Alexander Johnson wrote: >>> It lo

Re: Why does 'absolute-ordering' in web.xml without 'others' kill classpath scanning?

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ryan, On 2/13/15 12:59 PM, Ryan Scharer wrote: > I'm not sure if this is a bug or not, but I can't find any relevant > information in the spec to suggest the behavior is expected. > > There's a web-fragment in my classpath that I'd like to skip. T

Re: WorkManager replacement

2015-02-13 Thread Kevin Hale Boyes
We use quartz already for scheduled tasks but the work that I'm talking about doesn't necessarily happen on a timer. The main use for us is the asynchronous execution of work once we've figured out which node in our cluster should handle it. I'm still going to consider java.util.concurrent since we

Re: WorkManager replacement

2015-02-13 Thread Kevin Hale Boyes
Spring is starting to appear to be the best choice. Thanks for the reference. On 13 February 2015 at 08:04, Daniel Mikusa wrote: > On Fri, Feb 13, 2015 at 9:49 AM, Kevin Hale Boyes > wrote: > > > We already use Spring in the project so I'll have a look there. > > > > > http://docs.spring.io/sp

Re: To log TLS sessions !

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Utkarsh, On 2/13/15 12:25 PM, Utkarsh Dave wrote: > Thanks Chris. Any other thoughts? Well, what you want is at a pretty low level. If you are using a JSSE connector, you'll never see failed TLS handshakes. I'm not sure what options are available f

Why does 'absolute-ordering' in web.xml without 'others' kill classpath scanning?

2015-02-13 Thread Ryan Scharer
Hey folks, I'm not sure if this is a bug or not, but I can't find any relevant information in the spec to suggest the behavior is expected. There's a web-fragment in my classpath that I'd like to skip. The only way to accomplish this that I know of is to put an stanza in my web.xml and omit an .

Re: [OT] FileNotFoundException for existing JAR files

2015-02-13 Thread Mark H. Wood
On Fri, Feb 13, 2015 at 11:46:37AM -0500, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alexander, > > On 2/12/15 2:26 PM, Alexander Johnson wrote: > > It looks like that's true. It turns out this wasn't a permissions > > issue at all. For some reason copyin

singed code deployment

2015-02-13 Thread Sanaullah
Hi, I have signed the ear package using jar signer and start the tomee using ./startup.sh -security and also edit the catalina.policy file looks like below. I am confused here, how code sign verification process is done? if the code sign certificate is not the truststore still the tomcat server

RE: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Cris Berneburg - US
> > -Original Message- > From: David kerber [mailto:dcker...@verizon.net] > Sent: Thursday, February 12, 2015 9:40 AM > To: Tomcat Users List > Subject: Re: tomcat severe error when shutting down service but > startup is clean > > On 2/12/2015 9:06 AM, Wirth, Kevin wrote: >> I keep getting

Re: To log TLS sessions !

2015-02-13 Thread Utkarsh Dave
Thanks Chris. Any other thoughts? On Fri, Feb 13, 2015 at 10:03 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Utkarsh, > > On 2/13/15 12:39 AM, Utkarsh Dave wrote: > > Need your thoughts and comments on the requirement where

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread David kerber
On 2/13/2015 11:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, ... public static void unRegisterDrivers() { try { for ( Enumeration drivers = DriverManager.getDrivers(); drivers.hasMoreElements(); ) { DriverManager.deregisterDriver( drivers.nextEleme

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 2/13/15 11:33 AM, David kerber wrote: > On 2/13/2015 11:23 AM, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> David, >> >> On 2/12/15 12:59 PM, David kerber wrote: >>> On 2/12/2015 12:48 PM, Cris Bern

Re: [OT] FileNotFoundException for existing JAR files

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alexander, On 2/12/15 2:26 PM, Alexander Johnson wrote: > It looks like that's true. It turns out this wasn't a permissions > issue at all. For some reason copying the JAR files out of the > directory and back into it caused them to be picked up (

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread David kerber
On 2/13/2015 11:23 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 2/12/15 12:59 PM, David kerber wrote: On 2/12/2015 12:48 PM, Cris Berneburg - US wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday, Febr

Re: To log TLS sessions !

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Utkarsh, On 2/13/15 12:39 AM, Utkarsh Dave wrote: > Need your thoughts and comments on the requirement where we need > to log/capture information when TLS sessions are setup, the logs > will be logged to indicate successful or failed connection > es

Re: WorkManager replacement

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 2/13/15 7:29 AM, Daniel Mikusa wrote: > On Thu, Feb 12, 2015 at 11:59 PM, Kevin Hale Boyes > wrote: > >> I currently have an application running on weblogic that I'm >> moving over to tomcat 8. One of the things the application does >> is

Re: Tomcat Access Logging Valve ?

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeff, On 2/13/15 10:28 AM, Jeff Kohut wrote: > I am running Tomcat 7.0.54 on a Windows 2008 R1 with SP1 > platform. > > I would like to control the contents of what gets logged to the > Tomcat localhost_access_log > > specifically , I would like

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 2/12/15 2:01 PM, David kerber wrote: > On 2/12/2015 1:46 PM, Wirth, Kevin wrote: >> >> >> -Original Message- From: David kerber >> [mailto:dcker...@verizon.net] Sent: Thursday, February 12, 2015 >> 1:00 PM To: Tomcat Users List S

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 JB, On 2/12/15 1:06 PM, JB MORLA wrote: > Unsubscribe FYI: > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For > additional commands, e-mail: users-h...@tomcat.apache.org - -chris > Le 12 févr. 2015 15:06, "Wirth, Kevin" a > écrit

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 2/12/15 12:59 PM, David kerber wrote: > On 2/12/2015 12:48 PM, Cris Berneburg - US wrote: >> >> -Original Message- From: David kerber >> [mailto:dcker...@verizon.net] Sent: Thursday, February 12, 2015 >> 9:40 AM To: Tomcat Users L

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kevin, On 2/12/15 11:58 AM, Wirth, Kevin wrote: > -Original Message- From: Christopher Schultz > [mailto:ch...@christopherschultz.net] Sent: Thursday, February 12, > 2015 11:54 AM To: Tomcat Users List Subject: Re: tomcat severe > error when

Tomcat Access Logging Valve ?

2015-02-13 Thread Jeff Kohut
I am running Tomcat 7.0.54 on a Windows 2008 R1 with SP1 platform. I would like to control the contents of what gets logged to the Tomcat localhost_access_log specifically , I would like to remove logging of entries like : 10.239.54.8 - - [13/Feb/2015:00:00:07 -0600] "GET /atb HTTP/1.0" 200 57

Re: WorkManager replacement

2015-02-13 Thread Daniel Mikusa
On Fri, Feb 13, 2015 at 9:49 AM, Kevin Hale Boyes wrote: > We already use Spring in the project so I'll have a look there. > http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#scheduling Dan > Thanks > > On 13 February 2015 at 05:29, Daniel Mikusa wrote: > > > O

Re: WorkManager replacement

2015-02-13 Thread Kevin Hale Boyes
I'll look into the timers for sure. I've also noticed that my application (lots of code) also uses Executors and ExecutorService so I might do something there. One of the things that WorkManager gave us, and we take advantage of, is a callback handler that lets us know when the work was accepted f

Re: WorkManager replacement

2015-02-13 Thread Kevin Hale Boyes
We already use Spring in the project so I'll have a look there. Thanks On 13 February 2015 at 05:29, Daniel Mikusa wrote: > On Thu, Feb 12, 2015 at 11:59 PM, Kevin Hale Boyes > wrote: > > > I currently have an application running on weblogic that I'm moving over > to > > tomcat 8. > > One of th

Re: [OT] Java client using Expect: 100-continue

2015-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 2/12/15 11:52 AM, Konstantin Kolinko wrote: > 2015-02-12 19:43 GMT+03:00 Christopher Schultz > : >> >> All, >> >> I've been trying to find some information online about how to do >> this, and maybe I'm just being bad search terms. >

Re: WorkManager replacement

2015-02-13 Thread David kerber
On 2/13/2015 7:29 AM, Daniel Mikusa wrote: On Thu, Feb 12, 2015 at 11:59 PM, Kevin Hale Boyes wrote: I currently have an application running on weblogic that I'm moving over to tomcat 8. One of the things the application does is run background jobs using the commonj WorkManager. These jobs ar

Re: WorkManager replacement

2015-02-13 Thread Daniel Mikusa
On Thu, Feb 12, 2015 at 11:59 PM, Kevin Hale Boyes wrote: > I currently have an application running on weblogic that I'm moving over to > tomcat 8. > One of the things the application does is run background jobs using the > commonj WorkManager. These jobs are managed by weblogic which seems to b