Re: Tomcat 6 configuration using unpackWARS no longer works in Tomcat 7

2012-08-10 Thread Ian Long (Opterus)
Hi Mark, Thanks for the info. I would rather not rename the WAR file or add the context.xml to it, because it is deployed in multiple ways on different severs and in development environments etc. Why must it be called ROOT.war, the Tomcat 6 way seems more flexible? Cheers, Ian Long Chief Sof

Re: Tomcat 6 configuration using unpackWARS no longer works in Tomcat 7

2012-08-10 Thread Mark Thomas
On 10/08/2012 20:20, Ian Long (Opterus) wrote: > Any help is greatly appreciated! 1. Remove the docBase from the context.xml file 2. Package the context.xml file in the WAR 3. rename the WAR to ROOT.war 4. Place the WAR in the appBase Mark P.S. If you want to add some name/version to the WAR, na

Re: EL not working with multiple parameters

2012-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felipe, On 8/9/12 9:06 AM, Felipe Jaekel wrote: > When I try to call a method with two parameters in a XHTML page on > Tomcat 7.0.29 it doesn't works. I'll attach the stacktrace below. > > It's strange because the same code runs fine on Glassfish 3.1

Re: empty error page when using sendError()

2012-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vlad, On 8/10/12 3:48 AM, Vladimir Mokrozub wrote: > And here is ErrorHandler servlet: - > @WebServlet("/ErrorHandler") public class ErrorHandler extends > HttpServlet { protected void doGet(HttpServletRequest request, > HttpServ

Re: Profiling tomcat with java profiler

2012-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ragini, On 8/10/12 4:25 AM, Ragini wrote: > On 08/09/2012 08:43 PM, Christopher Schultz wrote: Ragini, > > On 8/9/12 5:51 AM, Ragini wrote: what my profiler profiles:- It gives me xml file containing list of methods in a proper sequence in

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/10/12 5:06 AM, Mark Thomas wrote: > On 10/08/2012 04:57, Dale Ogilvie wrote: >> -Original Message- From: Mark Thomas >> [mailto:ma...@apache.org] Sent: Thursday, 9 August 2012 8:22 >> p.m. To: Tomcat Users List Subject: RE: ClassCas

Re: need help debugging why a simple app install fails

2012-08-10 Thread Ognjen Blagojevic
Hi my, On 10.8.2012 6:13, my koseli wrote: I tried adding "/text" to the end of manager url but that didnt work. There is nothing interesting in the /var/log/tomcat6/ also. When I do *build* I do get warning as below but I am not sure how serious this warning is. I just tested some more wit

Re: need help debugging why a simple app install fails

2012-08-10 Thread Ognjen Blagojevic
Hi my, On 10.8.2012 6:13, my koseli wrote: I tried adding "/text" to the end of manager url but that didnt work. There is nothing interesting in the /var/log/tomcat6/ also. When I do *build* I do get warning as below but I am not sure how serious this warning is. On this list, bottom-postin

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-10 Thread Martin Gainty
a bug report needs to be filed for the maven-dependency apache-tomcat-maven-plugin that caused the error the problem is since the plugin was rolled out to its new home..the latest plugin version 2.1 has no content which displays what the new version is supposed to accomplish https://issues.apac

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-10 Thread Mark Thomas
On 10/08/2012 10:04, Mark Thomas wrote: > On 10/08/2012 05:13, Dale Ogilvie wrote: > >> It does concern me that there was a known issue that was fixed, and here >> I am seeing this EL impl instance sharing between apps in the "fixed >> version". > > It is certainly worth looking at to see what is

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-10 Thread Mark Thomas
On 10/08/2012 04:57, Dale Ogilvie wrote: > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Thursday, 9 August 2012 8:22 p.m. > To: Tomcat Users List > Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl > cannot be cast to org.apache.jasper.el.

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-10 Thread Mark Thomas
On 10/08/2012 05:13, Dale Ogilvie wrote: > It does concern me that there was a known issue that was fixed, and here > I am seeing this EL impl instance sharing between apps in the "fixed > version". It is certainly worth looking at to see what is going on. It might be that there is another refere

Re: Profiling tomcat with java profiler

2012-08-10 Thread Ragini
On 08/09/2012 08:43 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ragini, On 8/9/12 5:51 AM, Ragini wrote: what my profiler profiles:- It gives me xml file containing list of methods in a proper sequence in which they were executed while running the server. *My

empty error page when using sendError()

2012-08-10 Thread Vladimir Mokrozub
Hello, I have a problem (tried Tomcat 7.0.29 and Glassfish 3.1) with displaying an error page when exception is thrown and processed by another servlet. Here is what I've added to web.xml: - java.lang.Throwable /ErrorHandler - Here is a t