Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-28 Thread jieryn
You can get the same effect using standard web.xml fragment and without a 3rd party dependency: /* CONFIDENTIAL On Thu, Apr 28, 2016 at 1:12 PM, Lyallex wrote: > apache-tomcat-7.0.42 > jdk1.8.0_77 > CentOS Linux 7.2.1511 >

Re: systemd tomcat script for Linux EL7

2016-03-19 Thread jieryn
;ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > jieryn, > > On 3/16/16 1:36 PM, jieryn wrote: >> http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/systemd-house > - -of-horror/tomcat.html > > Wow, >>

Re: systemd tomcat script for Linux EL7

2016-03-19 Thread jieryn
, 2016 at 1:42 AM, Lyallex <lyal...@gmail.com> wrote: > But that doesn't work for ports < 1024 > > > On 17 March 2016 at 01:47, jieryn <jie...@gmail.com> wrote: >> Meh. It's short and sweet and working systemd unit file. >> >> [Unit] >> Description=

Re: systemd tomcat script for Linux EL7

2016-03-19 Thread jieryn
http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/systemd-house-of-horror/tomcat.html On Wed, Mar 16, 2016 at 1:01 PM, Lyallex wrote: > Apologies for dredging this up but I'm having some problems with this. > Any ideas much appreciated. > > Ii have been forced to move

Re: porting jsvc startup script from init.d to systemd tomcat.service, resolved

2016-03-18 Thread jieryn
Or remove the Type=Forking and just execute catalina.sh run, as I had suggested days ago. Then you can drop the ExecStop too. On Fri, Mar 18, 2016 at 7:35 PM, Daniel Savard wrote: > I believe all distros have over engineered the scripts to start > Tomcat. Forget all the

Re: Zero downtime deployments

2015-12-03 Thread jieryn
Use http://flywaydb.org/ to perform database migrations. You will need at least 3 versions in order to perform an incompatible database change. v1 is existing behavior, v2 is a shim that bridges v1 and v3, and then v3 cleans up the shim and removes all the unnecessary hacks. When you have v1

Container Provided ServletFilters

2015-03-27 Thread jieryn
Hello Apache Tomcat, Is there any hope to have Tomcat package the very useful ServletFilter's it has created ( src=java/org/apache/catalina/filters, web=https://tomcat.apache.org/tomcat-8.0-doc/config/filter.html ) into its own Apache Maven module? I see we have a lot of deployed modules already,

Deployment Woe with Cargo

2015-01-07 Thread jieryn
Greetings, I'm using Apache Tomcat 7.0.55 via Apache TomEE 1.7.1, on a RHEL machine with IBM Java.7. My team has a deployment procedure which uses Jenkins CI to check out, build, test, and then leverage Codehaus Cargo to deploy the final generated WAR artifact. The procedure is long but fairly

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread jieryn
Wow, all I've seen are examples that are likely the least efficient way to do things. Just use the version control system itself: bash$ svn ls -v http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/ 1562629 markt Jan 29 2014 TOMCAT_8_0_0/ 1562630 markt Jan 29

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread jieryn
=beta, 2014-02-11 section name=Tomcat 8.0.2 (markt) rtext=not released section name=Tomcat 8.0.1 (markt) rtext=beta, 2014-02-02 section name=Tomcat 8.0.0 (markt) rtext=not released On Thu, Nov 20, 2014 at 12:07 PM, Mark Thomas ma...@apache.org wrote: On 20/11/2014 17:52, jieryn wrote: Wow, all I've

Re: Tomcat SPDY

2013-11-12 Thread jieryn
PING? And can someone please update http://tomcat.apache.org/tomcat-8.0-doc/changelog.html to use the SPDY instead of SDPY which would help with search engines and Ctrl-F finding? Thanks. On Wed, Nov 6, 2013 at 9:31 AM, jieryn jie...@gmail.com wrote: I have various applications deployed

Tomcat SPDY

2013-11-06 Thread jieryn
Greetings, I have various applications deployed to a mix of Apache Tomcat 7.x and 8.x. I'd like to try out the SPDY protocol for some of these applications. I see that there has been some semblance of SPDY support in Tomcat, but I can not find any documentation at all.. Would someone speak up if

Apache Tomcat 8.0.0-RC2

2013-09-17 Thread jieryn
I'm trying out the new Apache Tomcat 8.0.0-RC2 with some existing web applications that work fine under Apache Tomcat 8.0.0-RC1. I am now seeing literally thousands of warning messages at start up time: 17-Sep-2013 20:19:40.346 WARNING [hostname-startStop-1]

Re: Apache Tomcat 7.x: Host+Alias and HTTP 301

2013-09-16 Thread jieryn
Greetings, On Sat, Jul 20, 2013 at 12:36 AM, jieryn jie...@gmail.com wrote: I have multiple host names which resolve to the same application context, e.g. app.host1.com (host) and app.host2.com (alias). I have implemented this within conf/server.xml via Host and Alias definitions. Just

Re: apache tomcat 8.0.0-rc1; /manager connection ciphers; NPE

2013-08-07 Thread jieryn
Greetings, On Tue, Aug 6, 2013 at 11:30 PM, Christopher Schultz ch...@christopherschultz.net wrote: Tomcat also has a serious bug in that if you delete conf/server.xml, it won't start up properly. I sense I'm being mocked.. :-) I'll answer more completely in the other no-web.xml NPE thread,

Re: apache tomcat 8.0.0-rc1; /manager 404; NPE

2013-08-07 Thread jieryn
On Tue, Aug 6, 2013 at 11:34 PM, Christopher Schultz ch...@christopherschultz.net wrote: The servlet specification requires that certain services be provided by the container. Among them are a) a default servlet to serve content for which no other servlet mapping exists (e.g. static files,

Re: apache tomcat 8.0.0-rc1; /manager connection ciphers; NPE

2013-08-07 Thread jieryn
Greetings, On Wed, Aug 7, 2013 at 9:41 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Sorry, that's just wrong. There is no requirement for an individual webapp to have a WEB-INF/web.xml, but if you want to run Tomcat with the required servlet spec capabilities, you must leave

Re: apache tomcat 8.0.0-rc1; /manager connection ciphers; NPE

2013-08-07 Thread jieryn
Greetings, On Wed, Aug 7, 2013 at 9:54 AM, Martin Grigorov mgrigo...@apache.org wrote: Which you will delete too, I suppose ? :-) I have not modified the shipped Apache Tomcat applications themselves. I suspect that most users are very accustomed to modifying contents under conf/* but leave the

Re: apache tomcat 8.0.0-rc1; /manager 404; NPE

2013-08-07 Thread jieryn
Greetings, On Wed, Aug 7, 2013 at 9:58 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: To allow Tomcat to work. If we changed the name to conf/do_not_delete.xml, would that satisfy you? I think you've quite severely missed the point of the entire discussion which I've raised.

apache tomcat 8.0.0-rc1; /manager connection ciphers; NPE

2013-08-06 Thread jieryn
When clicking the 'SSL connector configuration diagnostics' 'Connection ciphers' button, the following NPE ends up in the log and a similar stack trace is sent to the browser: SEVERE [http-apr-9.12.19.180-8443-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for

apache tomcat 8.0.0-rc1; /manager 404; NPE

2013-08-06 Thread jieryn
When I try to hit the /manager application from a browser without specifying /html, the following NPE ends up in the log, but the browser sees what appears to be a typical tomcat 404 error page without exposing the full trace: == logs/access_log.2013-08-06 == a.b.c.d - - [06/Aug/2013:14:37:52

Re: apache tomcat 8.0.0-rc1; /manager connection ciphers; NPE

2013-08-06 Thread jieryn
Greetings, On Tue, Aug 6, 2013 at 2:56 PM, Mark Thomas ma...@apache.org wrote: On 06/08/2013 20:31, jieryn wrote: When clicking the 'SSL connector configuration diagnostics' 'Connection ciphers' button, the following NPE ends up in the log and a similar stack trace is sent to the browser: I

Re: apache tomcat 8.0.0-rc1; /manager 404; NPE

2013-08-06 Thread jieryn
Greetings, On Tue, Aug 6, 2013 at 2:56 PM, Mark Thomas ma...@apache.org wrote: On 06/08/2013 20:46, jieryn wrote: When I try to hit the /manager application from a browser without specifying /html, the following NPE ends up in the log, but the browser sees what appears to be a typical tomcat

Re: apache tomcat 8.0.0-rc1; /manager 404; NPE

2013-08-06 Thread jieryn
Greetings, On Tue, Aug 6, 2013 at 4:53 PM, Mark Thomas ma...@apache.org wrote: The Tomcat 7.0.x behaviour is identical to Tomcat 8.0.x. The root cause of the stack trace in both versions is the missing configuration for the JSP servlet. Ok, since the manager application already provides a

Apache Tomcat 7.x: Host+Alias and HTTP 301

2013-07-19 Thread jieryn
Greetings, I'm using Apache Tomcat 7.0.42, with IBM Java 1.7.0-SR2, on SuSE SLED 11 Linux. I have multiple host names which resolve to the same application context, e.g. app.host1.com (host) and app.host2.com (alias). I have implemented this within conf/server.xml via Host and Alias definitions.

Re: checkThreadLocalMapForLeaks: com.sun.xml.bind.v2.runtime.Coordinator

2013-05-20 Thread jieryn
Greetings, On Mon, May 20, 2013 at 4:17 AM, Mark Thomas ma...@apache.org wrote: Tomcat is not responsible for any ThreadLocals your application creates. If your application creates them (or causes them to be created), your application needs to clean them up. Ok, I understand. Depending on

Re: checkThreadLocalMapForLeaks: com.sun.xml.bind.v2.runtime.Coordinator

2013-05-20 Thread jieryn
Greetings, On Mon, May 20, 2013 at 9:45 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2013/5/19 jieryn jie...@gmail.com: $ grep com.sun.xml.bind.v2.runtime.Coordinator * Binary file jaxb-impl-2.2.1.1.jar matches Apache Maven dependency:tree shows that this is coming from Apache Wink

checkThreadLocalMapForLeaks: com.sun.xml.bind.v2.runtime.Coordinator

2013-05-19 Thread jieryn
Greetings, I am using Apache Tomcat 7.0.40, via IBM Java 7 SR2. I am seeing the following on Tomcat shutdown: org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value