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 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, the > SimpleFo

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 OneLineFormatte

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 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 default logging level

Re: Tomcat v7 Embedded

2012-11-03 Thread Jesse Farinacci
Greetings, On Sat, Nov 3, 2012 at 1:22 PM, joe 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 Apache Tomcat Maven Plug

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 fea

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 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 in this world, th

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 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 types of people in

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 exceptio

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

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 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 > Java_org_apache_tomcat_jni_Poll_addWithTimeout is defin

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 [AsyncFileHandlerWriter-114965005

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 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 JreMemoryLeakPreventionListener > from server

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 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 browser makes a

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 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? > - where is that res

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: The web application was deployed via the manager application, and it is unpacked into ROOT/

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: users-unsubscr...@tomcat.apache.or

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 c

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 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 -Jesse -- There ar

Re: tomcat7-maven-plugin redeploy

2011-11-15 Thread Jesse Farinacci
Greetings, On Tue, Nov 15, 2011 at 6:13 PM, David Yu 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: http://tomcat.apache.org/maven-plugin-2.0-SNA

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

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 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: 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 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 the > $CATALINA_HOME

Re: Prevent Deployment

2011-08-30 Thread Jesse Farinacci
Greetings, On Tue, Aug 30, 2011 at 11:33 AM, Mark Thomas 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. ---

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 fol

Re: Tomcat war context path

2011-08-15 Thread Jesse Farinacci
Greetings, On Mon, Aug 15, 2011 at 3:39 PM, Mohit Anchlia 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?

Re: Tomcat 7 generated web.xml

2011-07-15 Thread Jesse Farinacci
Greetings, On Fri, Jul 15, 2011 at 5:10 PM, Stephen Munro 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 say...web-generated.xml? Great! T

Re: Tomcat 7 generated web.xml

2011-07-15 Thread Jesse Farinacci
Greetings, On Fri, Jul 15, 2011 at 3:52 PM, Stephen Munro 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 logEffectiveWebXml. -Jesse -- There are

Re: Directory listing

2011-07-12 Thread Jesse Farinacci
Greetings, On Tue, Jul 12, 2011 at 8:27 AM, David kerber 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 create the > listing

Re: Dreaded No Java compiler available

2011-06-23 Thread Jesse Farinacci
Greetings, On Thu, Jun 23, 2011 at 4:37 PM, Konstantin Kolinko 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 here: > https://iss

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 f

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 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 -- There are 10 t

Re: serving pre-compressed files

2011-06-09 Thread Jesse Farinacci
Hello, On Thu, Jun 9, 2011 at 4:27 AM, Pid 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: myresource.jar:/META-INF/resour

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 conten

Re: Tomcat v7 Embedded

2011-03-21 Thread Jesse Farinacci
Bump! :-) On Thu, Mar 17, 2011 at 5:12 PM, Jesse Farinacci 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.

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 laun