Tomcat v7 Embedded

2011-03-17 Thread Jesse Farinacci
Greetings, I am trying to embed Tomcat v7.0.11 into a self-contained, executable jar. The jar is created using Maven (assembly plugin) which packages the required Tomcat embedded classes and also an unpacked WAR archive. The listed Main-Class does a very simple creation of a Tomcat server and

Re: Tomcat v7 Embedded

2011-03-21 Thread Jesse Farinacci
Bump! :-) On Thu, Mar 17, 2011 at 5:12 PM, Jesse Farinacci jie...@gmail.com wrote: I am trying to embed Tomcat v7.0.11 into a self-contained, executable jar. The jar is created using Maven (assembly plugin) which packages the required Tomcat embedded classes and also an unpacked WAR archive

serving pre-compressed files

2011-06-08 Thread Jesse Farinacci
Greetings, I'm using Tomcat 7.0.14 and IBM Java 6. As part of my web application's bundling mechanism (via Maven) I have the ability to pre-gzip compress static resources. I'd like Tomcat to detect that a request for /path/to/resource has /path/to/resource.gz available, and serve the gzip'd

Re: serving pre-compressed files

2011-06-09 Thread Jesse Farinacci
Hello, On Thu, Jun 9, 2011 at 4:27 AM, Pid p...@pidster.com wrote: Not quite the same, but similar, is the following: If you're using Tomcat 7, you have Servlet 3 compatibility, which means you can serve resources out of a specially* constructed jar. * Put resources in:

Re: [ANN] Apache Tomcat 7.0.16 released

2011-06-17 Thread Jesse Farinacci
Greetings, On Fri, Jun 17, 2011 at 8:32 AM, Mark Thomas ma...@apache.org wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.16. Congratulations! And, thanks to the team for great work. Would someone please push the new release to Maven? Thanks, -Jesse --

Dreaded No Java compiler available

2011-06-23 Thread Jesse Farinacci
Greetings, I am launching an embedded Apache Tomcat 7.0.14, everything except JSPs are working fine (static resources, servlets, filters, etc). I have set JAVA_HOME to a location which does have bin/javac and lib/tools.jar, and otherwise does appear to be a fully working JDK. However, I take the

Re: Dreaded No Java compiler available

2011-06-23 Thread Jesse Farinacci
Greetings, On Thu, Jun 23, 2011 at 4:37 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Latest Tomcat 6 and Tomcat 7 do use the ecj compiler from Eclipse IDE project directly, without repacking it. If you are struggling with maven, some discussion of troubles with downloading ecj is

Re: Directory listing

2011-07-12 Thread Jesse Farinacci
Greetings, On Tue, Jul 12, 2011 at 8:27 AM, David kerber dcker...@verizon.net wrote: You know how IIS and httpd can be configured to let you simply get a directory listing in your browser?  Can that be done simply with TC (any version), or do I need to fake it with a java.io.File object and

Re: Tomcat 7 generated web.xml

2011-07-15 Thread Jesse Farinacci
Greetings, On Fri, Jul 15, 2011 at 3:52 PM, Stephen Munro stephen.ross.mu...@gmail.com wrote: I'm looking for details on how to get the generated web.xml after all the annotations have been processed. See http://tomcat.apache.org/tomcat-7.0-doc/config/context.html and look for

Re: Tomcat 7 generated web.xml

2011-07-15 Thread Jesse Farinacci
Greetings, On Fri, Jul 15, 2011 at 5:10 PM, Stephen Munro stephen.ross.mu...@gmail.com wrote: Thanks for the quick reply! I've got it working, so thanks. I'm a little curious why the web-app structure is dumped directly to the logs rather than have it written to a .xml for convenience

Re: Tomcat war context path

2011-08-15 Thread Jesse Farinacci
Greetings, On Mon, Aug 15, 2011 at 3:39 PM, Mohit Anchlia mohitanch...@gmail.com wrote: Currently when I deploy abc-SNAPSHOT-01.war I access is something like http://localhost:8080/abc-SNAPSHOT-01.war How can I change the context root such that I can access it as http://localhost:8080/abc?

Prevent Deployment

2011-08-30 Thread Jesse Farinacci
Greetings, I'm using Tomcat 7.0.20 on IBM JDK 1.6.x. For historical reasons, I have some folders which are inside webapps. I can not remove them for historical reasons. I also have Tomcat auto-deploy web applications, it would be very nice if I could prevent Tomcat from deploying a particular

Re: Prevent Deployment

2011-08-30 Thread Jesse Farinacci
Greetings, On Tue, Aug 30, 2011 at 11:33 AM, Mark Thomas ma...@apache.org wrote: Take a look at deployIgnore for the Host. Solved. Thanks! -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not.

Re: Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

2011-09-07 Thread Jesse Farinacci
PING! I also suffer from this but was previously too ashamed to ask. :sigh: On Tue, Aug 30, 2011 at 3:58 PM, Glen Mazza glen.ma...@gmail.com wrote: Hi, I'm using Tomcat 7.0.14 on Ubuntu Linux and wanted to make the logging in the logs/catalina.out file more detailed than INFO.  So I adjusted

Re: Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

2011-09-08 Thread Jesse Farinacci
Thank you! On Thu, Sep 8, 2011 at 2:28 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51758 -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not.

Re: [ANN] Apache Tomcat 7.0.22 released

2011-10-01 Thread Jesse Farinacci
Congratulations! Lots of good stuff there.. On Sat, Oct 1, 2011 at 9:03 AM, Mark Thomas ma...@apache.org wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.22 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html http://tomcat.apache.org/download-70.cgi

Re: tomcat7-maven-plugin redeploy

2011-11-15 Thread Jesse Farinacci
Greetings, On Tue, Nov 15, 2011 at 6:13 PM, David Yu d...@collab.net wrote: Is there a redeploy goal for the tomcat7 plugin? I'm trying to re-deploy a war file that has already been deployed and built to my remote tomcat server. Thanks. New development is at:

Re: Enable https for all application hosted in tomcat

2011-12-08 Thread Jesse Farinacci
Greetings, On Thu, Dec 8, 2011 at 8:05 AM, RenuKumar r...@dbxpert.com.my wrote: I wonder if anyone have configured HTTPS on all their application in the /webapps. Please share if you have any information pertaining to HTTPS in tomcat http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html

JmxRemoteLifecycleListener binding to all IP addresses

2012-02-09 Thread Jesse Farinacci
Greetings, I am using Apache Tomcat 7.0.25 using IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr8ifx-20100609_59383). Inspired by the flurry of JMX related questions on this list, I attempted to follow the official documentation[1] to enable remote JMX access. My sanitized

7.0 doc 404

2012-04-05 Thread Jesse Farinacci
http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not. - To unsubscribe, e-mail:

org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Jesse Farinacci
Greetings, I'm running Apache Tomcat 7.0.27 on Linux 2.6.32.x kernel, where Tomcat reports at startup: Loaded APR based Apache Tomcat Native library 1.1.22 and Connector definitions look like: Connector scheme=http address=a.b.c.d port=8080 compression=on enableLookups=false

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Jesse Farinacci
Greetings, On Thu, May 10, 2012 at 11:41 AM, Mark Thomas ma...@apache.org wrote: The thing that doesn't make sense yet is that Tomcat is trying to read from a WAR (or possibly a JAR) but the app should be unpacked. With that in mind: - requests for what resources trigger this problem? -

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Jesse Farinacci
Greetings, On Thu, May 10, 2012 at 2:37 PM, Mark Thomas ma...@apache.org wrote: I've had a good look at the code and I can't see anything that jumps out as the cause of this. Does this happen as soon as Tomcat starts, after a while, after a reload, after something else? It happens when the

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-12 Thread Jesse Farinacci
Greetings, On Fri, May 11, 2012 at 8:47 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: I can easily reproduce this zip file closed issue in trunk with a simple jar containing Tomcat's icon in META-INF/resources/favicon.ico if I change configuration by removing

poller error: tomcat 7.0.28, native 1.1.24, apr 1.3.3

2012-06-21 Thread Jesse Farinacci
Greetings, I'm encountering a problem migrating to apache tomcat 7.0.28 with IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr10fp1-20120202_101568 (JIT enabled, AOT enabled). Here is the relevant log information: 22-Jun-2012 00:41:05.701 INFO

Re: poller error: tomcat 7.0.28, native 1.1.24, apr 1.3.3

2012-06-23 Thread Jesse Farinacci
Greetings, On Fri, Jun 22, 2012 at 2:53 AM, Rainer Jung rainer.j...@kippdata.de wrote: What is strange is, that startup says you *did* successfully load version 1.1.24, so the symbol should be there. Can you check your tcnative.so file, whether the symbol

ServletContext and WebListener

2012-07-12 Thread Jesse Farinacci
Greetings, From a javax.servlet.ServletContext, I can easily obtain all servlet/servlet-mapping via javax.servlet.ServletRegistration, as well as all filter/filter-mapping via javax.servlet.FilterRegistration, but not all (let alone any) listener via java.util.EventListener .. Does anyone know a

Tomcat 7.0.30 JAR Scanner ClassCastException

2012-10-03 Thread Jesse Farinacci
Greetings, I am using Apache Tomcat 7.0.30 on IBM Java 6. I have a @WebServlet inside a ROOT.war!/WEB-INF/lib/common-servlets.jar which forwards to a JSP located in common-servlets.jar!/META-INF/resources/some.jsp. When I reference the path for this @WebServlet Tomcat throws the following

Re: Tomcat 7.0.30 JAR Scanner ClassCastException

2012-10-16 Thread Jesse Farinacci
Greetings, On Thu, Oct 4, 2012 at 6:26 AM, Pid p...@pidster.com wrote: Please list the jars that are in your webapps WEB-INF/lib. Thank you for your response. I solved this, I had inadvertently allowed embedded Apache Tomcat libraries into my WEB-INF/lib directory. -Jesse -- There are 10

Re: Tomcat 7.0.30 JAR Scanner ClassCastException

2012-10-16 Thread Jesse Farinacci
Greetings, On Fri, Oct 5, 2012 at 9:15 AM, Shanti Suresh sha...@umich.edu wrote: I have a JSP which will tell which library loads which class. Cool. I prefer to use 'grep' as it is quite fast and I can use existing command line. Thank you for sharing, -Jesse -- There are 10 types of people

RFE: jarsToSkip option within each jar file

2012-10-31 Thread Jesse Farinacci
Greetings, I really like that Apache Tomcat provides a way to skip JAR files for scanning. I would like to see this become an optional property within the JAR file itself. Obviously, this means that the JAR would still have to be loaded up in order to discover the entry, but this would ease up

Re: Tomcat v7 Embedded

2012-11-03 Thread Jesse Farinacci
Greetings, On Sat, Nov 3, 2012 at 1:22 PM, joe jjverder...@gmail.com wrote: Have you tried pointing tomcat to expect the exploded war in a folder that is a sibling to the jar file? I abandoned effort on this work after Olivier Lamy provided automatic embedded mode support in the excellent

Re: Problem with log level in tomcat.

2013-02-28 Thread Jesse Farinacci
Greetings, On Thu, Feb 28, 2013 at 5:28 AM, Vihari Piratla viharipira...@gmail.com wrote: I am trying to set the logging level of a webapp deployed on tomcat. but I cant see the debug or fine logs in catalina.out. What am I missing? You configured the logging handlers only, and picked up the

java.util.logging.SimpleFormatter vs org.apache.juli.OneLineFormatter

2013-03-08 Thread Jesse Farinacci
Greetings, I am using Java 7, IBM JRE and Apache Tomcat 7.0.37. I am seeing a strange difference between java.util.logging.SimpleFormatter vs org.apache.juli.OneLineFormatter: namely, for my applications, the SimpleFormatter will produce log records with the Class name included but

Re: java.util.logging.SimpleFormatter vs org.apache.juli.OneLineFormatter

2013-03-11 Thread Jesse Farinacci
Greetings, On Fri, Mar 8, 2013 at 8:38 PM, Jesse Farinacci jie...@gmail.com wrote: I am using Java 7, IBM JRE and Apache Tomcat 7.0.37. I am seeing a strange difference between java.util.logging.SimpleFormatter vs org.apache.juli.OneLineFormatter: namely, for my applications