Re: help me unsubscribe

2012-10-02 Thread Mark Thomas
mike shugar wrote: >Hi > >Please help me unsubscribe from the digest list. > >I have sent about a dozen blank emails to >users-digest-unsubscr...@tomcat.apache.org over the last month but I >continue to receive digest emails. > >What am i doing wrong? You are sending your messages using HTML r

Apache + Tomcat + mod_jk ; Why wrong content type?

2012-10-02 Thread Joe Hansen
Hi All, We are using Apache 2.2 + Tomcat 7 + mod_jk (all 64-bit) on a RedHat box. I have configured the settings such that the static content like css and javascript are served by httpd rather than tomcat. However, when I do so, the css files are returned with a content type=text/plain rather tha

help me unsubscribe

2012-10-02 Thread mike shugar
Hi Please help me unsubscribe from the digest list. I have sent about a dozen blank emails to users-digest-unsubscr...@tomcat.apache.org over the last month but I continue to receive digest emails. What am i doing wrong?

Re: high CPU usage on tomcat 7

2012-10-02 Thread Kirill Kireyev
Hi Shanti! Thanks for your script! I ran it (with minor modifications), and it turns out that the garbage collection threads are indeed taking up the majority of CPU (see below). What would you recommend I do to tune/troubleshoot GC further? My server has 32G or R

Re: Issues Logging wtith log4j at common and webapp levels

2012-10-02 Thread Mark Thomas
On 02/10/2012 20:29, David Johle wrote: Thanks for the clear question. While it was quite long, it was very readable, relevant and on point. That meant I got to the end rather than giving up after a few lines which is what usually happens with me and long questions. > So in summary, I'm just tryi

RE: Question on Contexts and resource pathing

2012-10-02 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Question on Contexts and resource pathing > > Remember that relative links are based on the web page the links are > > accessed from, not to the base of the webapp. You need to use a > > leading slash to base them on the

RE: Question on Contexts and resource pathing

2012-10-02 Thread Jeffrey Janner
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Tuesday, October 02, 2012 3:18 PM > To: Tomcat Users List > Subject: RE: Question on Contexts and resource pathing > > > From: Josh Gooding [mailto:josh.good...@gmail.com] > > Subject: Question on

RE: Question on Contexts and resource pathing

2012-10-02 Thread Caldarale, Charles R
> From: Josh Gooding [mailto:josh.good...@gmail.com] > Subject: Question on Contexts and resource pathing > when the application is zipped up and deployed out under > $CATALINA_HOME/webapps/ROOT For clarification, do you mean deployed _as_ ROOT, or _under_ ROOT? Webapps cannot be nested, so n

Issues Logging wtith log4j at common and webapp levels

2012-10-02 Thread David Johle
I am having some issues getting the right "planetary alignment" of file locations & configuration settings to get logging to work how I'd ideally like it. I think I'm having some undesireable interactions with static members and classloaders and such. This post is a bit of a novel, sorry abou

Re: Question on realm configuration in TC 6 / 7

2012-10-02 Thread Josh Gooding
Daniel, I have deployed the context.xml to the META-INF location per web application, in the server.xml files I have set the copyXML attribute on the declaration to true. I do not configure context's anywhere but there. - Josh On Mon, Oct 1, 2012 at 10:46 AM, Christopher Schultz < ch...@christ

Re: Web app deployment Issues

2012-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asiya, On 9/30/12 6:52 AM, ASIYA LABARAN wrote: > I am trying to use tomcat server to deploy a webapp called mifos > mfi. I created a folder in the C: (C:\MifosInstall\) where i > unzipped the tomcat server 6.0.35. I created environment variables > as

Re: Tomcat as a service question

2012-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J.V., On 10/1/12 7:58 PM, J.V. wrote: > I am attempting to create a windows service using apache > commons-daemon to create a service from a Java program I have > written (a server). Then you need to ask the commons-daemon folks (see below). > I kno

Re: Programatically Controlling Tomcat 7

2012-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Willie, Welcome to the list. Please do not "hijack" email threads, but rather start your own. You likely hit "reply" to an existing message and then simply changed the subject to your own. For users with "threaded" email clients, this makes your quest

Re: mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicholas, On 10/2/12 10:58 AM, Nicolas Sarazin wrote: > I want to update Apache with 2.4.2 version. But, on mod_jk download > page, we have only "mod_jk-1.2.32-httpd-2.2.21-nw.zip" (for httpd > 2.2.21). > > Is it compatible with Apache httpd 2.4.2 ?

Re: Problems Increassing -Xmx

2012-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, On 10/1/12 10:27 PM, Ben Stringer wrote: > Is it a 64-bit Debian install? If only 32-bit, you will be bumping > up against the addressing limitations. Not likely: when you hit JVM heap size restrictions, the JVM won't even start. OOME is the wro

Strange Faulty Member Exception

2012-10-02 Thread John Rellis
Hi, I have a static membership cluster set up on EC2 with tomcat 7. There's two tomcat instances in the cluster on remote machines. When instance one is started, I start up instance two. They seem to register with each other *Tomcat one (111.111.111.111)* Oct 2, 2012 2:51:37 PM org.apache.cat

Re: mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-10-02 Thread Nicolas Sarazin
Hello, I want to update Apache with 2.4.2 version. But, on mod_jk download page, we have only "mod_jk-1.2.32-httpd-2.2.21-nw.zip" (for httpd 2.2.21). Is it compatible with Apache httpd 2.4.2 ? Thanks in advance, Nicolas SARAZIN 2012/9/24 Nicolas Sarazin : > Hi Christopher, > > And thank you fo

Programatically Controlling Tomcat 7

2012-10-02 Thread Peloquin, Willie
Hello, Sorry to disturb the list with this question, but I have been looking for the answer online. I know that I can control the Tomcat Manager using text or JMX. http://10.60.28.90:8081/manager/text/list will provide me a list of web services and some status. I read the sections on JMX, but I

Re: Problems Increassing -Xmx

2012-10-02 Thread joel badia escolà
2012/10/2, Konstantin Kolinko : > 2012/10/2 Caldarale, Charles R : >>> From: joel badia escolà [mailto:basto...@gmail.com] >>> Subject: Problems Increassing -Xmx >> >>> if [ -z "$JAVA_OPTS" ]; then >>> JAVA_OPTS="-Djava.awt.headless=true -Xmx2000m" < RELEVANT >>> fi >> >> And what happens

Re: Web app deployment Issues

2012-10-02 Thread Pid *
On 30 Sep 2012, at 11:52, ASIYA LABARAN wrote: > Hello, > > I am trying to use tomcat server to deploy a webapp called mifos mfi. I > created a folder in the C: (C:\MifosInstall\) where i unzipped the tomcat > server 6.0.35. > I created environment variables as required namely: > > JAVA_HOME >

Re: Failure connecting to Hbase remotely from Tomcat 6 Servlet

2012-10-02 Thread Pid *
On 1 Oct 2012, at 14:59, Mouradk wrote: > Hello, > > This is my first post so apologies if I am breaking some etiquette. > > I am not an expert on Hbase and have been flaying through threads of Hbase > remote connection but with no luck solving my problem. > > I am running a Hbase/Hadoop single

Re: How to limit the number of sessions per IP address (DOS attacks)

2012-10-02 Thread Pid *
On 30 Sep 2012, at 06:44, Brian Braun wrote: > Hi, > > I'm using Tomcat 7.0.22 (+Ubuntu Linux + MySQL). > > I'm providen a geolocation service. My users invoque a URL in my server > (something like http://services.acme.com/locate?ip=..) providing the IP > address, and it responds with the geo

Re: Tomcat as a service question

2012-10-02 Thread Konstantin Kolinko
2012/10/2 J.V. : > I am attempting to create a windows service using apache commons-daemon to > create a service from a Java program I have written (a server). > > I know that tomcat uses this lib and successfully, but I am having a number > of problem completing the task. I have posted on commons

Re: Problems Increassing -Xmx

2012-10-02 Thread Konstantin Kolinko
2012/10/2 Caldarale, Charles R : >> From: joel badia escolà [mailto:basto...@gmail.com] >> Subject: Problems Increassing -Xmx > >> if [ -z "$JAVA_OPTS" ]; then >> JAVA_OPTS="-Djava.awt.headless=true -Xmx2000m" < RELEVANT >> fi > > And what happens if you don't put quotation marks around t