Re: redirects https only for one app

2012-10-30 Thread Pid
On 30/10/2012 20:04, Ted Smith wrote: > It is a site specific scenario that those options can not be used. It is an entirely unexplained site specific scenario that you can't modify a .war files configuration to get it to meet a site specific requirement? ;) > Just feel having a app specific we

How do I get Tomcat 7 to start up faster in Linux CentOS kernel version 2.6.18?

2012-10-30 Thread Dilshad Shahid
I am experiencing a problem with slow start up times for Tomcat 7. I have done some testing by tweaking configuration parameters both on Linux CentOS kernel version 2.6.18 and on Windows 7 using this link as my primary guide: http://wiki.apache.org/tomcat/HowTo/FasterStartUp and managed only a mode

Re: redirects https only for one app

2012-10-30 Thread Ted Smith
It is a site specific scenario that those options can not be used. Just feel having a app specific web.xml in conf dir would be reasoon, context.xml allow specifying context/app name. On 10/30/2012 3:45 PM, Pid wrote: On 30/10/2012 13:29, Ted Smith wrote: None of these alternatives is suitable

RE: PDF Download problem tomcat >= 7.0.27

2012-10-30 Thread Caldarale, Charles R
> From: Johnny Six [mailto:johnny6che...@gmail.com] > Subject: Re: PDF Download problem tomcat >= 7.0.27 > It looks like Tomcat7 is munging the content-type header. > The correct response header should be: > Content-Type: multipart/byteranges; boundary=CATALINA_MIME_BOUNDARY << > good > Con

Re: redirects https only for one app

2012-10-30 Thread Pid
On 30/10/2012 13:29, Ted Smith wrote: > None of these alternatives is suitable for my situation. Why? p > I wonder since tomcat knows the contextname for each app, if it is > possible to have a context specific web.xml > in the conf file in addition to the one for all web.xml, such as > w

Re: redirects https only for one app

2012-10-30 Thread Pid
On 29/10/2012 23:28, Ted Smith wrote: > Hello: > > I have several web apps (war files) under single host and webapps dir. That's nice. Tomcat version? Java version, OS ver... oh well. > I need to force HTTPS only for one of them and leave others unchanged. > config web.xml does not work as it a

Re: PDF Download problem tomcat >= 7.0.27

2012-10-30 Thread Johnny Six
It looks like Tomcat7 is munging the content-type header. The correct response header should be: Content-Type: multipart/byteranges; boundary=CATALINA_MIME_BOUNDARY << good Content-Type: multipart/byteranges;boundary=CATALINA_MIME_BOUNDARY<< bad Where there needs to be a space after t

Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-10-30 Thread Simon Dean
Hi I'm using Tomcat 6.0.35 on Windows 7 and RHEL 6.x. I think I've stumbled upon a bug in org.apache.catalina.valves.RemoteIpValve. The issue is related to using commas in any regular expressions used with the "internalProxies" or "trustedProxies" attributes. *** Steps to reproduce ***

Re: Injecting JNDI datasource context outside tomcat container

2012-10-30 Thread Mark Eggers
On 10/30/2012 8:32 AM, p.krishnamoor...@accenture.com wrote: Hi, I was working to inject the JNDI datasource context outside the tomcat container. I referred this link - https://blogs.oracle.com/randystuph/entry/injecting_jndi_datasources_for_junit. In order to initialize the datasource contex

Re: redirects https only for one app

2012-10-30 Thread Mark Thomas
On 30/10/2012 13:29, Ted Smith wrote: > None of these alternatives is suitable for my situation. > > I wonder since tomcat knows the contextname for each app, if it is > possible to have a context specific web.xml > in the conf file in addition to the one for all web.xml, such as > web_contex

RE: Injecting JNDI datasource context outside tomcat container

2012-10-30 Thread Martin Gainty
dont know anyone that will complete your project for free..let me ask around.. Martin __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteil

Re: How to get the number of live threads in Tomcat 6?

2012-10-30 Thread Ravi Joshi
Thanks Dan, I got it. Thank you for the answer. -Ravi --- On Mon, 29/10/12, Daniel Mikusa wrote: From: Daniel Mikusa Subject: Re: How to get the number of live threads in Tomcat 6? To: "Tomcat Users List" Received: Monday, 29 October, 2012, 6:32 PM On Oct 29, 2012, at 12:39 PM, Ravi Joshi wr

Injecting JNDI datasource context outside tomcat container

2012-10-30 Thread p.krishnamoorthy
Hi, I was working to inject the JNDI datasource context outside the tomcat container. I referred this link - https://blogs.oracle.com/randystuph/entry/injecting_jndi_datasources_for_junit. In order to initialize the datasource context, I had to put three java-naming jars (naming-java-5.0.28, n

Re: redirects https only for one app

2012-10-30 Thread Ted Smith
None of these alternatives is suitable for my situation. I wonder since tomcat knows the contextname for each app, if it is possible to have a context specific web.xml in the conf file in addition to the one for all web.xml, such as web_contextname.xml that can be applied to contextname o

Re: redirects https only for one app

2012-10-30 Thread Daniel Mikusa
On Oct 29, 2012, at 7:28 PM, Ted Smith wrote: > Hello: > > I have several web apps (war files) under single host and webapps dir. > I need to force HTTPS only for one of them and leave others unchanged. My opinion is that the easiest fix would be to modify ".war/WEB-INF/web.xml". > config web.

Re: Document root element "web-app", must match DOCTYPE root "null-- Error

2012-10-30 Thread Pid
On 30/10/2012 02:51, MOHAMMAD SULAIMAN wrote: > Thanks chris for revert. > > Installing a new software requires certain approvals and as it already has > some application running on it, we haven't upgraded it. > > Is there any way to resolve this issue ?? Yes. Don't upload directly to webapps,