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

2012-08-06 Thread Dale Ogilvie
Daniel Mikusa [mailto:dmik...@vmware.com] wrote: >You would be using a shared class loader if you are placing JAR files used by >multiple deployed web applications into the >$CATALINA_BASE/lib or $CATALINA_HOME/lib directory. Are you placing any JAR >files into those folders? We have placed

Re: AjpNio Invalid message received on header

2012-08-06 Thread Rainer Jung
On 06.08.2012 23:39, Yasser wrote: I am using Tomcat 7.0.29 fronted with Apache 2.2.22 modproxy. Configured Ajp as the protocol in httpd.conf and AjpNioProtocol in server.xml. After the server starts, the logs are filled with the following message: *Severe: Invalid message received with signature

Re: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Mark Eggers
On 8/6/2012 1:43 PM, Miguel Almeida wrote: Thanks for the input regarding 2). What's the difference between using javax.servlet.context.tempdir vs java.io.tmpdir ? Also, do you know the answer to 1 - ie, why did the change occur regarding not exploding when the WAR is outside appBase? Pleas

Re: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Miguel Almeida
Thanks for the input regarding 2). What's the difference between using javax.servlet.context.tempdir vs java.io.tmpdir ? Also, do you know the answer to 1 - ie, why did the change occur regarding not exploding when the WAR is outside appBase? On Mon, Aug 6, 2012 at 9:32 PM, Mark Eggers wrote:

Re: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Mark Eggers
On 8/6/2012 12:40 PM, Caldarale, Charles R wrote: From: Miguel Almeida [mailto:migueldealme...@gmail.com] Subject: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase? The motivation for this is a simple code ServletContext.getRealPath("/") to cre

Re: resource configuration for jndi mail

2012-08-06 Thread Mark Eggers
On 8/6/2012 10:52 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/6/12 12:59 PM, Mark Eggers wrote: There are a lot of properties available, but unfortunately there is no password. However, the hint is there (in the paragraph that you quoted). After tro

RE: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Caldarale, Charles R
> From: Miguel Almeida [mailto:migueldealme...@gmail.com] > Subject: [Tomcat 7] Why can't you use automatic deployment > and exploded WAR when docBase is outside appBase? > The motivation for this is a simple code ServletContext.getRealPath("/") > to create a simple temporary inputstream that w

[Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Miguel Almeida
Dear all, I am going to divide my question in 2. The first part concerns a change in Tomcat7's behaviour (vs Tomcat6) that I would like to understand. The 2nd question is what lead me to the question, and it's a practical Java issue - where help is also appreciated. Onwards to the questions. Con

SSL Documentation Suggestion

2012-08-06 Thread David Landis
I have a suggestion after just going through the process of configuring SSL using this link: http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration I would recommend having completely separate sections for each of the SSL implementations (e.g APR or JSSE). The problem is, if you are

Re: resource configuration for jndi mail

2012-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/6/12 12:59 PM, Mark Eggers wrote: > There are a lot of properties available, but unfortunately there is > no password. However, the hint is there (in the paragraph that you > quoted). > > After trolling the source for Tomcat 6 (and a bit o

Re: resource configuration for jndi mail

2012-08-06 Thread Mark Eggers
Ah, careful reading (not Sunday evening reading) is your friend. I missed the above paragraph. The JNDI part I was clear on. What I missed was the "Additional resource attributes and values will be converted to properties" part. This appears in the Tomcat 7 documentation, but not the Tomcat 6 d

RE: Issue with sudo + init script

2012-08-06 Thread Shaw, Ray V CTR (US)
> -Original Message- > From: Mark Eggers [mailto:its_toas...@yahoo.com] > $SU - this is the su command to run > If you're running SELinux, you'll need to set this to /sbin/runuser. This was it! SELinux is unfortunately set to "disabled" (as it conflicts with HBSS, which is required), but

RE: tomcat redirection

2012-08-06 Thread Finkeldei, Brad
Thanks I am seeing that in a lot of threads I've been researching. Have a good one!! Brad -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: Monday, August 06, 2012 11:06 AM To: users@tomcat.apache.org Subject: Re: tomcat redirection On 8/6/2012 9:02 AM, Finkel

Re: resource configuration for jndi mail

2012-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/5/12 6:16 PM, Mark Eggers wrote: > This system currently does not have nonlocal mail capabilities. Do you mean that you can only connect to localhost:25 or that you can (and must) connect to Gmail in order to send email to non-local destin

Re: tomcat redirection

2012-08-06 Thread Mark Eggers
On 8/6/2012 9:02 AM, Finkeldei, Brad wrote: We want to do a redirect based on context of the URL. We don't use apache and For example say https://anydomain.com/orders/* To https://anydomain/mtcepage I know how to do in apache but not tomcat... Thanks, Brad This comes up quite a bit in the

tomcat redirection

2012-08-06 Thread Finkeldei, Brad
We want to do a redirect based on context of the URL. We don't use apache and For example say https://anydomain.com/orders/* To https://anydomain/mtcepage I know how to do in apache but not tomcat... Thanks, Brad

Application redeploy with keeping conf/Catalina/localhost/appName.xml

2012-08-06 Thread Marcin ZajÄ…czkowski
Hi, I have the environment specific properties defined in an application context file located $CATALINA_BASE/conf/Catalina/localhost/appName.xml. It works fine, but when I redeploy an application (e.g. by replacing a WAR file) the context file is removed (in my applications there is no /META-

RE: Context variation problems -- localhost versus VPS

2012-08-06 Thread Caldarale, Charles R
> From: Rainer Frey [mailto:rainer.f...@inxmail.de] > Subject: Re: Context variation problems -- localhost versus VPS > On 28.07.2012, at 00:01, Caldarale, Charles R wrote: > > You *must* have a webapp named ROOT - no exceptions. > Excuse me, but where's that requirement coming from? To quote f

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

2012-08-06 Thread Daniel Mikusa
- Original Message - > >They are. However, if you have classes in a shared classloader used > >by > both webapps, and such a class is coded badly, references can leak > from > one webapp to another. > > > >BTW, jcifs.http.NtlmHttpFilter hasn't been viable for some years (no > possibility o

Re: Context variation problems -- localhost versus VPS

2012-08-06 Thread Rainer Frey
On 28.07.2012, at 00:01, Caldarale, Charles R wrote: >> From: David Woosley [mailto:dwoos...@appnation.com] >> Please note that I am not using any "webapps" or "ROOT" folders. > > You *must* have a webapp named ROOT - no exceptions. Excuse me, but where's that requirement coming from? I usually

Re: Application name

2012-08-06 Thread Marco de Booij
Op 05-08-12 23:54, Mark Eggers schreef: On 8/5/2012 2:09 PM, Konstantin Kolinko wrote: 2012/8/6 Marco de Booij : Hello, I have tried to find the answer but I could not find a (to me) clear answer. I build my applications with Maven and as a result my war file is like myapp-web-1.2.3.war. Th