Re: tomcat restart remotely

2009-02-25 Thread Piller Sébastien
ssh is the most common way to manage a remote server. But under windows :aie: ;) Laura Bartolomé a écrit : Hi We have Tomcat 6.0 installed on Windows 2003 Server and we want to restart apache tomcat service remotely but in a secure way... some ideas? In the same server we have IIS +

Re: tomcat restart remotely

2009-02-25 Thread Piller Sébastien
be able to restart the service in this way Piller Sébastien escribió: ssh is the most common way to manage a remote server. But under windows :aie: ;) Laura Bartolomé a écrit : Hi We have Tomcat 6.0 installed on Windows 2003 Server and we want to restart apache tomcat service

Re: tomcat memory leak problem

2009-02-05 Thread Piller Sébastien
Are you sure you don't have any thread or task (I mean, quartz or so) that is running and consume memory? I agree, this sounds quite strange (our app is running for several weeks and don't have any major issue, we sometimes need to restart tomcat because it hangs, but our memory is under

Re: Service Unavailable - zero size object

2009-01-21 Thread Piller Sébastien
Hi, you will most likely find more informations on the log files (catalina.out or smt like that) could you have a look and report the stacktrace here? Andrew Hole a écrit : Hi! We are using Apache + Mod_jk + Tomcat and randomly we are getting the following error (http 503) Service

Re: problem on configure the java_option

2008-12-16 Thread Piller Sébastien
you should add spaces between -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=256m and the memory size must be, as far as i remember, a power of 2 (512M, 1024M, etc) user080...@hotmail.com a écrit : Hi, I want to set some option for my tomcat and I added the following line: export

Re: problem on configure the java_option

2008-12-16 Thread Piller Sébastien
Caldarale, Charles R a écrit : and the memory size must be, as far as i remember, a power of 2 (512M, 1024M, etc) Not true, and never has been. Don't spread rumors. Sorry, have read that on a thread long time ago (can't find it anymore). Anyway, quotes spaces are more important

Re: FW: HTTP Status 500 - with Apache Tomcat/5.5

2008-12-15 Thread Piller Sébastien
Somewhere in your code, you're trying to decode a date which isn't on the right format: javax.servlet.ServletException: Unparseable date: Mon Dec 15 16:29:38 GMT+08:00 2008 You can either use a compatible SimpleDateFormat (with a pattern which goes fine) or remove that part of code.

URL and mod_jk

2008-10-02 Thread Piller Sébastien
Hi guys, in my project, I very often use absolute url. They have a form like: http://domain/foo/bar/resources/org.apache.wicket.Application//path/to/my/file.png I recently installed Apache and mod_jk. Are this kind of url valid to be served through mod_jk? Because it explicitly reference

Re: Weird AccessControlException -mod_jk related?

2008-09-25 Thread Piller Sébastien
Thanks ;) Fixed with disabling tomcat security. As it's a test server, no problem. ;) Mark Thomas a écrit : Piller Sébastien wrote: Hello guys, I've a project that runs fine on almost every config (Tomcat5.5, 6, windows, linux, ...). But since I've installed mod_jk, I receive this quite

Restart TC with cron/sh

2008-07-07 Thread Piller Sébastien
Hello, I have my application in production for a month now. I've some problem of memory leak that force me to restart TC each few days. I'm trying to automate this operation with a cron that runs a *.sh file. But I don't know how what to write in it. Actually, I've this:

Re: Restart TC with cron/sh

2008-07-07 Thread Piller Sébastien
Sorry, I've no tomcat in /etc/init.d/. Edoardo Panfili a écrit : If you are using debian (and other linux versions)maybe /etc/init.d/tomcat restart Edoardo - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Restart TC with cron/sh

2008-07-07 Thread Piller Sébastien
Panfili a écrit : Piller Sébastien ha scritto: Sorry, I've no tomcat in /etc/init.d/. Are you using linux? if so, what distribution? How do you start Tomcat at startup time? edoardo Edoardo Panfili a écrit : If you are using debian (and other linux versions)maybe /etc/init.d/tomcat restart

Re: Restart TC with cron/sh

2008-07-07 Thread Piller Sébastien
Felix, Felix Schumacher a écrit : Have you transferred the restart.sh from a windows box? Maybe you have dos/windows line breaks, which are CR+LF. Such a combination can kill a innocent looking shell script. thank you, that was exactly what was wrong. I was using CR/LF-windows style

Re: Restart TC with cron/sh

2008-07-07 Thread Piller Sébastien
The last answer of F. Schumacher was the right. I was messing with David Smith a écrit : Check to be sure the proper environment variables are set when the script runs. When I read the error message, I understand the error to be more like I can't find rt.sh from line 1 of

Re: META-INF dir purpose

2008-05-13 Thread Piller Sébastien
In META-INF I have a context.xml. It is used to override some settings from server.xml per each webapp. But I never put anything else on it. I ask myself if it's ever possible to do so. Stefan Textor a écrit : Hi, I write webapps for a while now and I've been wondering all the time about

Re: Runtime created files not accessible.Please help.

2008-04-24 Thread Piller Sébastien
Hello, personnally, I noticed that there is a delay between the creation of a folder/file and the moment where this folder/file is available in my webapp... I don't know why, but seems to be related to tomcat Andreas a écrit : mmm, I am not sure i got what you mean by listed, but I will

OOM in PermGen space after several deploy/undeploy

2008-04-01 Thread Piller Sébastien
Hello everybody, I found some problem with my app, when I deploy it/undeploy it several times under Tomcat (5.5) (Unix and Windows). I copied my app war file in the webapp dir, and when it has been fully deployed, I surf on some pages. After that, I delete that war, wait for the end of