Re: [OT] Tomcat 7: manager application takes forever to deploy - or not

2011-03-19 Thread Francis GALIEGUE
On Fri, Mar 18, 2011 at 22:45, Christopher Schultz ch...@christopherschultz.net wrote: [...] I'm interested to see how you are able to launch Tomcat and have your script continue only after all webapps have been deployed. This is the code right now: if [ $1 = start ]; then

RE: [OT] Tomcat 7: manager application takes forever to deploy - or not

2011-03-19 Thread Martin Gainty
MG des réponses sont mises en tête par le MG __ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur.

Re: Solr on new Tomcat 7.0.11

2011-03-19 Thread Michael Ludwig
Lewis John McGibbney schrieb am 16.03.2011 um 17:19 (+): org.xml.sax.SAXParseException: The processing instruction target matching [xX][mM][lL] is not allowed. Take a look at this doc: ?xml version=1.0? Urmel ?abc bla=99 blub=77? /Urmel ?def blubbel=irgendwas? The first line is the XML

Installing Tomcat the Brute Force Way?

2011-03-19 Thread ken dias
I had installed Tomcat 6 with no problem. Then started having problems, so uninstalled it and reinstalled but the icon does not appear on the taskbar and hence server does not work and localhost also. Not sure how to proceed. Thanks

Re: Installing Tomcat the Brute Force Way?

2011-03-19 Thread André Warnier
ken dias wrote: I had installed Tomcat 6 with no problem. Then started having problems, so uninstalled it and reinstalled but the icon does not appear on the taskbar and hence server does not work and localhost also. Not sure how to proceed. Neither are we, unless you provide some precise

Re: Installing Tomcat the Brute Force Way?

2011-03-19 Thread Pid
On 19/03/2011 17:57, André Warnier wrote: ken dias wrote: I had installed Tomcat 6 with no problem. Then started having problems, so uninstalled it and reinstalled but the icon does not appear on the taskbar and hence server does not work and localhost also. Not sure how to proceed.

Hook into Tomcat before web applications load

2011-03-19 Thread Pulkit Singhal
Hello, Is there a hook exposed in tomcat such that a custom class can be introduced to do some work at a point where we have a list of the docBase attribute for all the web applications that will be hosted by this tomcat instance ... while one of the web application specific handling has begun

Issue with tomcat 6 connector

2011-03-19 Thread Krish
Hi, I am using tomcat 6.0.20. In the frontend i have sun one webserver 7 using nsapi_redirect-1.2.31 connector. My OS is windows server 2003 32bit. I am trying to create a connector using the document below. http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html my

RE: Installing Tomcat the Brute Force Way?

2011-03-19 Thread Robinson, Eric
From looking at the server, it would appear that tomcat was installed using tomcat-6.0.18-0.noarch.rpm. Now you're in trouble. The 3rd-party repackaged versions of Tomcat typically scatter files all over, and then try to get things back together with symlinks. You're better off

How to detect down of tomcat.

2011-03-19 Thread Hide
How to detect down of tomcat. Helo. My environment is tomcat7, java1.6, windows. When process of tomcat terminated abnormally, is there any method or setting that output the abnormal termination to a log file? If there is it, please let me know. tomcat is the premise that is not service of

Re: How to detect down of tomcat.

2011-03-19 Thread Darryl Lewis
Put this in a cronjob to fire every minute #!/bin/sh if [ `ps -ef|grep tomcat|grep -v grep|wc -l` -lt 1 ] then subject=`tomcat down; date` address=m...@domain.com ps -efatt.txt mail -s $subject $addr -- -fno-reply@yourdomain att.txt fi Fill in the address with your email address, and

Re: How to detect down of tomcat.

2011-03-19 Thread Hide
Hi, Darryl. Thanks for your advice. Your script looks like very useful. But in my case, tomcat is running on Microsoft Windows. I am looking for a method to detect the down of tomcat by log file. - Original Message - From: Darryl Lewis darryl.le...@unsw.edu.au To: Tomcat Users List

Re: How to detect down of tomcat.

2011-03-19 Thread Darryl Lewis
Opps...typo #!/bin/sh if [ `ps -ef|grep tomcat|grep -v grep|wc -l` -lt 1 ] then NOW=`date` subject=tomcat down $NOW address=m...@domain.com ps -efatt.txt mail -s $subject $addr -- -fno-reply@yourdomain att.txt fi On 20/03/11 2:00 PM, Darryl darryl.le...@unsw.edu.au wrote: Put this

Re: How to detect down of tomcat.

2011-03-19 Thread Darryl Lewis
You could write something similar using windows powershell. Do you have that installed on your server? On 20/03/11 2:14 PM, Hide hide3...@ob4.aitai.ne.jp wrote: Hi, Darryl. Thanks for your advice. Your script looks like very useful. But in my case, tomcat is running on Microsoft Windows. I

RE: How to detect down of tomcat.

2011-03-19 Thread Martin Gainty
with windoze under cygwin you may want to sub ps -ef with netstat assuming TC port is 8080 if [ `netstat -ab|grep 8080|grep -v grep|wc -l` -lt 1 ] Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese

RE: Issue with tomcat 6 connector

2011-03-19 Thread Martin Gainty
you're routing jsp to jk-service what is jk-service Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor

Re: How to detect down of tomcat.

2011-03-19 Thread Hide
Hi, Darryl. Thanks for your advice. My explanation seems to have been bad. I explain it a little more. It is a method to output the information of the abnormal termination in catalina.log that I want to know. Would you teach it if you know some method? Thank you. - Original Message

Re: Issue with tomcat 6 connector

2011-03-19 Thread Krish
HI Martin, Thanks for the email. I hope you require my magus conf. Here you go. # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # Init fn=load-modules shlib=j2eeplugin.dll Init fn=load-modules shlib=D:/Agent/144703-01/web_agents/sjsws_agent/lib/ames6.dll