RE:Local VisualVM connection to Tomcat

2013-07-22 Thread Eugène Adell
I had a similar problem when using jps/jstat and finally I found someone advising to use -J-Djava.io.tmpdir option. It worked for me, try adding -J-Djava.io.tmpdir when calling visualvm De : Howard W. Smith, Jr. [smithh032...@gmail.com] Envoyé : mardi 2

Re: Local VisualVM connection to Tomcat

2013-07-22 Thread Howard W. Smith, Jr.
On Mon, Jul 22, 2013 at 3:10 PM, honyk wrote: > On 2013-06-28 Christopher Schultz wrote: > > On 6/27/13 5:17 PM, honyk wrote: > > > I realized that my tomcat runs as a service but I am logged as an > > > user and in this case the tomcat is not visible to me. I'll test it > > > differently tomorro

Re:[OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 7/22/13 10:00 AM, Jeffrey Janner wrote: >> -Original Message- From: vi...@thepenguin.org >> [mailto:vi...@thepenguin.org] Sent: Saturday, July 20, 2013 7:25 >> AM To: Tomcat Users List Subject: Enable session persistence >> betwe

Re: FAIL - Deploy Upload Failed, Exception: Error invoking method check

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 7/22/13 2:51 PM, Jonathan Rosenberg wrote: >> +1 This sounds like a webapp that gets hot-re-deployed and has a >> ClassLoader leak. > > Is this consistent with the fact that the app deploys just fine on > one instance of Tomcat 7.0.22

Re: Tomcat failure without apparent reason (PermGen?)

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 7/22/13 3:11 PM, honyk wrote: > I am reusing my recent thread of not related subject with some > updates... > > On 2013-06-28 Christopher Schultz wrote: >> On 6/27/13 5:17 PM, honyk wrote: >>> On 2013-06-27 Christopher Schultz wrote: O

Re: Local VisualVM connection to Tomcat

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 7/22/13 3:10 PM, honyk wrote: > On 2013-06-28 Christopher Schultz wrote: >> On 6/27/13 5:17 PM, honyk wrote: >>> I realized that my tomcat runs as a service but I am logged as >>> an user and in this case the tomcat is not visible to me. I'l

Tomcat failure without apparent reason (PermGen?)

2013-07-22 Thread honyk
I am reusing my recent thread of not related subject with some updates... On 2013-06-28 Christopher Schultz wrote: > On 6/27/13 5:17 PM, honyk wrote: > > On 2013-06-27 Christopher Schultz wrote: > >> On 6/27/13 4:31 PM, honyk wrote: > >>> I am constantly encountering PermGen errors despite quite h

RE: Local VisualVM connection to Tomcat

2013-07-22 Thread honyk
On 2013-06-28 Christopher Schultz wrote: > On 6/27/13 5:17 PM, honyk wrote: > > I realized that my tomcat runs as a service but I am logged as an > > user and in this case the tomcat is not visible to me. I'll test it > > differently tomorrow. > > Try running VisualVM as an administrator. I've fo

Re: FAIL - Deploy Upload Failed, Exception: Error invoking method check

2013-07-22 Thread Jonathan Rosenberg
> +1 This sounds like a webapp that gets hot-re-deployed and has a > ClassLoader leak. Is this consistent with the fact that the app deploys just fine on one instance of Tomcat 7.0.22, but not on another instance? > 1GiB of PermGen sounds like a lot. Agreed. I bumped it up there just to see wha

Re: WebappClassLoader javadoc curiosity

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ed, On 7/18/13 4:29 PM, Edward W. Rouse wrote: > Looking at http://tomcat.apache.org/tomcat-7.0-doc/api/index.html > for more info about org.apache.catalina.loader.WebappClassLoader > and I ran up against a bit of missing information. > > The 4th i

Re: Apache Tomcat 7.x: Host+Alias and HTTP 301

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeff, On 7/22/13 10:09 AM, Jeffrey Janner wrote: > First, you want to set up app.host2.com as a separate host. That > might be all you need to do to make Tuckey's filter easier to > configure. +1 It will also improve the performance of the "pri

Re: Multiple instances of Tomcat 7.0 on one server

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 7/19/13 3:48 PM, Leon Rosenberg wrote: > * you have multiple physical resources your app can't use properly. > For example if you could give each instance its own database or its > own file system. Related: if you are running on a 32-bit O

Re: Multiple instances of Tomcat 7.0 on one server

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it mat concern, On 7/19/13 1:37 PM, Tomcat Random wrote: > We currently are setting a site that receives fairly heavy traffic > (5000 simultaneous users). We have two physical servers. > > As a general idea, is there performance to be gaine

Re: FAIL - Deploy Upload Failed, Exception: Error invoking method check

2013-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 7/19/13 1:44 PM, Konstantin Kolinko wrote: > 2013/7/19 Jonathan Rosenberg : >> People, >> >> I am using >> >> Apache Tomcat/7.0.221.6.0_20-b20Sun Microsystems Inc. >> Linux 2.6.34.7-56.40.amzn1.i686 i386 >> >> on a

RE: Apache Tomcat 7.x: Host+Alias and HTTP 301

2013-07-22 Thread Jeffrey Janner
> -Original Message- > From: jieryn [mailto:jie...@gmail.com] > Sent: Friday, July 19, 2013 11:37 PM > To: Tomcat Users List > Subject: Apache Tomcat 7.x: Host+Alias and HTTP 301 > > Greetings, > > I'm using Apache Tomcat 7.0.42, with IBM Java 1.7.0-SR2, on SuSE SLED > 11 Linux. I have mu

RE: Enable session persistence between two tomcat nodes behind load balancer

2013-07-22 Thread Jeffrey Janner
> -Original Message- > From: vi...@thepenguin.org [mailto:vi...@thepenguin.org] > Sent: Saturday, July 20, 2013 7:25 AM > To: Tomcat Users List > Subject: Enable session persistence between two tomcat nodes behind > load balancer > > Hello: > > I have been searching for an answer to how t