ProcessBuilder and waitFor prevents tomcat to continue

2013-10-14 Thread honyk
Dear All, my web app executes long running external scripts. It is triggered on startup (contextInitialized) and then regularly during the day. When the app server needs to be restarted and this process is running, tomcat waits till the process finishes. When tomcat is starting, it waits again t

Directory watcher app

2013-10-14 Thread honyk
Hello Everyone, in my web app I use Java 7 directory watcher feature. When the final war file is placed into Webapps folder and Tomcat is started, it freezes as it waits forever for any directory changes (the app is loaded on tomcat startup). I use the following workaround - calling my watcher c

RE: Local VisualVM connection to Tomcat

2013-07-24 Thread honyk
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 high > >>> PermGen limit (even

RE: Tomcat failure without apparent reason (PermGen?)

2013-07-24 Thread honyk
On 2013-07-23 Christopher Schultz wrote: > 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: > >

RE: JMX monitoring of tomcat service

2013-07-24 Thread honyk
On 2013-07-23 honyk wrote: > On 2013-07-23 Cédric Couralet wrote: > > 2013/7/23 honyk : > > > Dear All, > > > > > > I run tomcat as service on Windows Server 2008 R2. I am not able to > > monitor > > > it locally yet (discussed in another th

RE: JMX monitoring of tomcat service

2013-07-23 Thread honyk
On 2013-07-23 Cédric Couralet wrote: > 2013/7/23 honyk : > > Dear All, > > > > I run tomcat as service on Windows Server 2008 R2. I am not able to > monitor > > it locally yet (discussed in another thread) so in the meantime I am > trying > > to establish

JMX monitoring of tomcat service

2013-07-23 Thread honyk
Dear All, I run tomcat as service on Windows Server 2008 R2. I am not able to monitor it locally yet (discussed in another thread) so in the meantime I am trying to establish JMX connection to it acc. to this guide: http://tomcat.apache.org/tomcat-7.0-doc/monitoring.html All params are changed us

RE: Local VisualVM connection to Tomcat

2013-07-23 Thread honyk
On 2013-07-23 Eugène Adell wrote: > 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

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 encounterin

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 Vis

RE: Local VisualVM connection to Tomcat

2013-06-27 Thread honyk
On 2013-06-27 Christopher Schultz wrote: > On 6/27/13 4:31 PM, honyk wrote: > > I am constantly encountering PermGen errors despite quite high > > PermGen limit (even 512m) and many options set - approx once a week > > under not heavy load. > > Like what kinds of optio

Local VisualVM connection to Tomcat

2013-06-27 Thread honyk
Dear All, I am constantly encountering PermGen errors despite quite high PermGen limit (even 512m) and many options set - approx once a week under not heavy load. I am trying to investigate what the app causes this, but I haven't succeeded in reproducing it locally yet. I found several articles

RE: Memory limits for children processes when running Tomcat as service?

2013-06-27 Thread honyk
On 2013-06-27 André Warnier wrote: > honyk wrote: > > On 2013-06-26 André Warnier wrote: > >> honyk wrote: > >>> Dear All, > >>> > >>> I have a JSF2.0 app that executes (via ProcessBuilder) an external > >> script. > >>> T

RE: Memory limits for children processes when running Tomcat as service?

2013-06-26 Thread honyk
On 2013-06-26 André Warnier wrote: > honyk wrote: > > Dear All, > > > > I have a JSF2.0 app that executes (via ProcessBuilder) an external > script. > > This script opens PPTX via PowerPoint ActiveX object, manipulate it > and > > save. It runs on Window

RE: Memory limits for children processes when running Tomcat as service?

2013-06-26 Thread honyk
On 2013-06-26 André Warnier wrote: > honyk wrote: > > Dear All, > > > > I have a JSF2.0 app that executes (via ProcessBuilder) an external > script. > > This script opens PPTX via PowerPoint ActiveX object, manipulate it > and > > save. It runs on Window

RE: Memory limits for children processes when running Tomcat as service?

2013-06-26 Thread honyk
On 2013-06-26 Jeffrey Janner wrote: > > -Original Message- > > From: honyk [mailto:j.tosov...@email.cz] > > Sent: Wednesday, June 26, 2013 1:27 PM > > To: 'Tomcat Users List' > > Subject: Memory limits for children processes when running Tomcat as

Memory limits for children processes when running Tomcat as service?

2013-06-26 Thread honyk
Dear All, I have a JSF2.0 app that executes (via ProcessBuilder) an external script. This script opens PPTX via PowerPoint ActiveX object, manipulate it and save. It runs on Windows Server 2008 R2 64-bit, 4GB RAM, JDK 7. When tomcat 7 is launched using startup.bat (with original settings), it wor

RE: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread honyk
> > Thanks for that hint. > > http://drifted.in/encoding/encoding.svg returns HTTP Content-type > > image/svg+xml (according to Firebug) > > but http://drifted.in/encoding/faces/encoding.svg returns > > image/svg+xml;charset=ISO-8859-1 > > > > In Tomcat 6 powered web I am getting just 'image/svg+xm

RE: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread honyk
> > In tomcat 6 there is no difference between these two links > > http://drifted.in/encoding/encoding.svg > > http://drifted.in/encoding/faces/encoding.svg > > > > but in Tomcat 7 I am getting different results. The first is Ok while > > the second, processed by faces servlet, breaks the encoding.

Tomcat 7 faces servlet encoding issue

2011-07-30 Thread honyk
Hello Everyone, when migrating my JSF 2.0 app from tomcat 6.0.32 to the version 7.0.19 I've encountered the following encoding issue. I have a simple JSF (xhtml) page with an embedded SVG image in it . In the web.xml file there is a faces servlet mapping set to the '/faces' path fragment. In to