Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Howard W. Smith, Jr.
Chris, On Fri, Feb 1, 2013 at 2:20 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Howard, > > On 2/1/13 12:41 PM, Howard W. Smith, Jr. wrote: >> my app is running fine, but i'm always striving for perfection and >> performance, and that is why I made my way

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Howard W. Smith, Jr.
>> >> What is the best way to look into the JPA? via JMX? > > > In development, I do use NetBeans with Profiler (memory or cpu profile are > good start point). In test environment I do use JRockit Mission Control > remote monitoring. I do not use any of these in production. > Probably would be poss

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Edson Richter
Em 01/02/2013 21:57, Howard W. Smith, Jr. escreveu: Okay, well, I'm using JPA to access JTA managed datasource (Apache Derby), and I really don't think I have any JDBC resource management issues. Have you look into your JPA graph and check if you are not loading millions of objects in memory?

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Howard W. Smith, Jr.
>> >> Okay, well, I'm using JPA to access JTA managed datasource (Apache >> Derby), and I really don't think I have any JDBC resource management >> issues. > > > Have you look into your JPA graph and check if you are not loading > millions of objects in memory? > While JPA is loading data from dat

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Edson Richter
Em 01/02/2013 21:27, Howard W. Smith, Jr. escreveu: If you want to improve performance even more, ditch EJB altogether. Moving from APR to NIO may be a good move, but it really depends upon your requirements. For instance, APR provides superior SSL performance but if you don't need it, NIO will p

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Howard W. Smith, Jr.
>> >> If you want to improve performance even more, ditch EJB altogether. >> Moving from APR to NIO may be a good move, but it really depends upon >> your requirements. For instance, APR provides superior SSL performance >> but if you don't need it, NIO will probably give you better results. >> Un

[OT] Java 6u39, 7u13 are available

2013-02-01 Thread Konstantin Kolinko
Hi! Oracle released Java 6u39 and 7u13 [1], containing security fixes. A "Critical Patch Update Advisory" [2], notes that the release was originally planned on February 19, but it was pushed forward due to existing active exploits of one of vulnerabilities. [1] http://www.oracle.com/technetwork/

RE: Tomcat 64-bit for Solaris 64-bit OS

2013-02-01 Thread Jeff Sturm
> -Original Message- > From: Niranjan [mailto:nth...@atmi.com] > Sent: Friday, February 01, 2013 2:31 PM > To: users@tomcat.apache.org > Subject: Re: Tomcat 64-bit for Solaris 64-bit OS > > Jeff Sturm eprize.com> writes: > > On Linux at least you'd add the "-d64" argument to the java comm

Re: Getting the Manager to accept users (Tomcat 7)

2013-02-01 Thread David kerber
On 2/1/2013 2:38 PM, L Alex Pranger wrote: This seems to have done the trick for me (removing the extra comment lines). I had a comment line and was unaware that ending comment marks had to be on their own line. They don't; they can be either on the same line, or on their own line. When you "

Re: Getting the Manager to accept users (Tomcat 7)

2013-02-01 Thread L Alex Pranger
This seems to have done the trick for me (removing the extra comment lines). I had a comment line and was unaware that ending comment marks had to be on their own line. Thank you.

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Edson Richter
Em 01/02/2013 17:20, Christopher Schultz escreveu: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 2/1/13 12:41 PM, Howard W. Smith, Jr. wrote: my app is running fine, but i'm always striving for perfection and performance, and that is why I made my way from mojarra to myfaces, glas

Re: Tomcat 64-bit for Solaris 64-bit OS

2013-02-01 Thread Niranjan
Jeff Sturm eprize.com> writes: > > > -Original Message- > > From: Caldarale, Charles R [mailto:Chuck.Caldarale unisys.com] > > Sent: Thursday, January 31, 2013 3:21 PM > > > > > From: Niranjan [mailto:nthota atmi.com] > > > Subject: Re: Tomcat 64-bit for Solaris 64-bit OS > > > > > A

Re: Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001

2013-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 2/1/13 8:08 AM, spr...@gmx.eu wrote: >> there must be a log message somewhere. > > But I do not find it... Where did you look? >> The problem is probably that under Ubuntu, the startup script >> redirects the STDERR lo

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 2/1/13 12:41 PM, Howard W. Smith, Jr. wrote: > my app is running fine, but i'm always striving for perfection and > performance, and that is why I made my way from mojarra to > myfaces, glassfish to tomee/tomcat, and jsf-managed-beans to

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ron, On 2/1/13 8:14 AM, Ron Wheeler wrote: > From our experience with a Spring app under Tomcat, the JVM memory > configuration looks low. You might try doubling it and seeing what > it does. That's a big jump for not knowing anything about the OP

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zoran, On 1/31/13 8:36 PM, Zoran Avtarovski wrote: > We have a application running on the latest Tomcat7 and we are > getting a server crash or becoming unresponsive. This occur every > few days at no fixed intervals or time of day and they certainl

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Howard W. Smith, Jr.
On Fri, Feb 1, 2013 at 12:09 PM, Edson Richter wrote: > Em 01/02/2013 15:03, Edson Richter escreveu: > > > When I say (we see..) I want to mean: I see lots of junior programmers doing > the same mistake over and over... I don't know if this is your case, but I > feel that worth to mention here. >

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Edson Richter
Em 01/02/2013 15:03, Edson Richter escreveu: Removing the hardware issues (faulty memory or disk), that you obviously already tested, I'll try to give some directions for testing: a) Main cause of memory leaks are hard references in main class loader. This happens when you put all your librari

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Edson Richter
Removing the hardware issues (faulty memory or disk), that you obviously already tested, I'll try to give some directions for testing: a) Main cause of memory leaks are hard references in main class loader. This happens when you put all your libraries into $TOMCAT_HOME/lib. Try to move your li

Re: [OT] Help in diagnosing server unresponsiveness

2013-02-01 Thread André Warnier
Ron Wheeler wrote: .. I am not sure how 6Gb of virtual OS RAM help when the Tomcat app is restricted to 1Gb. Really ? what a poor repressed little app. Just think of it : it only has one thousand million bytes of RAM to play with. A real scandal, that is. ---

Re: Tomcat WAR Plugin - target release date for 2.1?

2013-02-01 Thread Timothy Astle
Thanks Olivier! I'll stay tuned. :) Tim On 01/02/2013 11:18 AM, Olivier Lamy wrote: Hi, My plan was starting a release process around late next week. 2013/2/1 Timothy Astle : I'm planning a software release that uses a feature added to the 2.1-SNAPSHOT of the Tomcat WAR Plugin. Does anyone

Re: Tomcat WAR Plugin - target release date for 2.1?

2013-02-01 Thread Olivier Lamy
Hi, My plan was starting a release process around late next week. 2013/2/1 Timothy Astle : > I'm planning a software release that uses a feature added to the > 2.1-SNAPSHOT of the Tomcat WAR Plugin. > > Does anyone know when 2.1 would be released, or if there is going to be a > tagged deployment r

Re: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread Edd Grant
Thanks Chris - that works perfectly! On 1 February 2013 11:06, chris derham wrote: >> The documentation for the docBase (a.k.a context root) attribute >> states that the docBase attribute should be used to point to the war >> or exploded war file. My server's appBase is the default of 'webapps' >

Re: Help in diagnosing server unresponsiveness

2013-02-01 Thread Ron Wheeler
From our experience with a Spring app under Tomcat, the JVM memory configuration looks low. You might try doubling it and seeing what it does. The virtual memory of the OS is not as much of an issue since the Tomcat JVM memory limit will stop it from growing to use the Linux address space. The

RE: Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001

2013-02-01 Thread spring
> there must be a log message somewhere. But I do not find it... > The problem is probably that under Ubuntu, the startup script > redirects the STDERR log > somewhere, where you are not looking (via SYSLOG to > /var/log/daemon.log e.g.). There is a syslog file, but it has no error messages.

Re: Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001

2013-02-01 Thread André Warnier
spr...@gmx.eu wrote: Hi, I want to monitor my tomcat 7 via JMX remotely. The problem is, as soon as I add -Dcom.sun.management.jmxremote.port=9001 to my setenv.sh tomcat does not start anymore. No error message, no log, nothing... The system is a ubuntu which uses start-stop-demon to execute ca

Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001

2013-02-01 Thread spring
Hi, I want to monitor my tomcat 7 via JMX remotely. The problem is, as soon as I add -Dcom.sun.management.jmxremote.port=9001 to my setenv.sh tomcat does not start anymore. No error message, no log, nothing... The system is a ubuntu which uses start-stop-demon to execute catalina.sh. What could

Tomcat WAR Plugin - target release date for 2.1?

2013-02-01 Thread Timothy Astle
I'm planning a software release that uses a feature added to the 2.1-SNAPSHOT of the Tomcat WAR Plugin. Does anyone know when 2.1 would be released, or if there is going to be a tagged deployment released to the Apache Maven repository (alpha or beta) in the near future? Tim ---

Re: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread chris derham
> The documentation for the docBase (a.k.a context root) attribute > states that the docBase attribute should be used to point to the war > or exploded war file. My server's appBase is the default of 'webapps' > and my WAR and exploded WAR are under webapps so I have specified a > relative path of

Fwd: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread Edd Grant
Hi all, I am using Tomcat 6.0.32 and have a deployment question. I have a war file over which I do not have control of the filename, let's call it MYAPP.war . Tomcat's default deployment behaviour would be to deploy this application under a context of /myapp however I want to deploy it instead und

Re: Getting the Manager to accept users (Tomcat 7)

2013-02-01 Thread Konstantin Kolinko
2013/2/1 André Warnier : > > In this section : > .. > > > > > resourceName="UserDatabase"/> > > .. > > it looks like there is a inside another . > Andre, that is OK. That is how LockOutRealm works. See also BZ 54141 for an example of nesting 3