Re: myeclipse and tomcat

2010-04-23 Thread Christoph Kukulies
Ken Bowen schrieb: I'm not sure I understand your question. But first, are you using plain Eclipse, or MyEclipse? (I use the latter) I'm using MyEclipse as well. Do you mean: Using MyEclipse configured so that it is using an external Tomcat server, NOT the included myEclipse Tomcat

Re: Session Timeout - Filter Not Called

2010-04-23 Thread Pid
On 22/04/2010 22:24, Paul Carroll wrote: Yes. I put the session marker in my filter and I perform a simple check each time through the filter to determine if the marker exists and to check if it equals the current session id. The session id itself may change during login, so I'm not sure if

multiple servers (Roots)

2010-04-23 Thread Christoph Kukulies
AFAIU tomcat 6 allows for having multiple server roots, correct? Is there a tutorial for setting this up? -- Christoph Kukulies - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Multiple catalina bases and monitoring each instance

2010-04-23 Thread Ziggy
Hi guys, Is there a way to monitor multiple tomcat instances? I have managed to configure multiple tomcat instances using $CATALINA_BASE but i cant seem to be able to find a way to monitor the instances. I know about the tomcat manager, admin and the Tomcat Probe/lambda applications. These will

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-23 Thread Pid
On 23/04/2010 03:48, Godmar Back wrote: Following up on an earlier conversation about how to obtain notification when a WebApp is unloaded/reloaded [1], I was told that registering a ServletContextListener is the only possibility (that is, there is no runtime API.) However, registering a

Re: multiple servers (Roots)

2010-04-23 Thread Pid
On 23/04/2010 10:57, Christoph Kukulies wrote: AFAIU tomcat 6 allows for having multiple server roots, correct? Do you mean multiple virtual hosts, or do you mean multiple separate instances of Tomcat, (which may each have multiple virtual hosts)? Is there a tutorial for setting this up?

Re: Multiple catalina bases and monitoring each instance

2010-04-23 Thread Pid
On 23/04/2010 11:00, Ziggy wrote: Hi guys, Is there a way to monitor multiple tomcat instances? I have managed to configure multiple tomcat instances using $CATALINA_BASE but i cant seem to be able to find a way to monitor the instances. I know about the tomcat manager, admin and the Tomcat

Re: Multiple catalina bases and monitoring each instance

2010-04-23 Thread Harry Metske
It depends on what you mean with monitor. We use nagios (http://www.nagios.org) to monitor multiple Tomcat instances. You can do a plain check for an open socket, or call Tomcat's jmx proxy over http(s) to query Tomcat's mbeans. regards, Harry 2010/4/23 Ziggy zigg...@gmail.com Hi guys, Is

Mike Wilde is out of the office.

2010-04-23 Thread Michael Wilde
I will be out of the office starting 23/04/2010 and will not return until 11/05/2010. If you have any urgent production Healthcare issues please contact Iain B Miller. Please raise incidents in the TST DBAMR USD queue or for 3 day turnaround issues/enquiries please send an email to the TST

Re: multiple servers (Roots)

2010-04-23 Thread Christoph Kukulies
Pid schrieb: On 23/04/2010 10:57, Christoph Kukulies wrote: AFAIU tomcat 6 allows for having multiple server roots, correct? Do you mean multiple virtual hosts, or do you mean multiple separate instances of Tomcat, (which may each have multiple virtual hosts)? I mean multiple

Re: myeclipse and tomcat

2010-04-23 Thread Ken Bowen
On the MyEclipse Toolbar: Run/Stop/Restart MyEclipse ServersConfigure Server Then click Servers. Click Tomcat in the dropdown list. Select Tomcat 6 in that dropdown list. On the Tomcat home directory line, Browse to the location of your external Tomcat. If you have a default

RE: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-23 Thread Propes, Barry L
Mine (notification) tells me in the logs when this occurs. -Original Message- From: Godmar Back [mailto:god...@gmail.com] Sent: Thursday, April 22, 2010 9:48 PM To: Tomcat Users List Subject: Re: Q: how to obtain notification when a WebApp is unloaded/reloaded? Following up on an

Re: myeclipse and tomcat

2010-04-23 Thread Christoph Kukulies
Ken Bowen schrieb: On the MyEclipse Toolbar: Run/Stop/Restart MyEclipse ServersConfigure Server Aaahhh! I see. There is the MyEclipse Tomcat enabled. I probably have to disable this one. Then click Servers. Click Tomcat in the dropdown list. Select Tomcat 6 in that dropdown list. On

Re: multiple servers (Roots)

2010-04-23 Thread Pid
On 23/04/2010 13:42, Christoph Kukulies wrote: Pid schrieb: On 23/04/2010 10:57, Christoph Kukulies wrote: AFAIU tomcat 6 allows for having multiple server roots, correct? Do you mean multiple virtual hosts, or do you mean multiple separate instances of Tomcat, (which may each have

log4j email appender and hostname

2010-04-23 Thread Curtis Garman
Does anyone know if it is possible to access the HOSTNAME environment variable in a log4j.properties file. Basically I'm using the email appender and would like to include the host in the email subject line so I can easily determine which server generated the email. I can hard-code this info but I

Mod_jk 1.2.26 + tomcat 6.0.26 + apache 2.2.12 not working on ubuntu 'karmic'

2010-04-23 Thread Klemens Muthmann
Hi I hope this is the correct mailing list for this question. I have a problem setting up the configuration as described in the subject of this mail. I did the following: - Installed apache2 from the ubuntu repository (synaptic states the version as 2.2.12-1ubuntu2.2) - Installed mod_jk

Re: myeclipse and tomcat

2010-04-23 Thread Ken Bowen
On Apr 23, 2010, at 10:49 AM, Christoph Kukulies wrote: Ken Bowen schrieb: On the MyEclipse Toolbar: Run/Stop/Restart MyEclipse ServersConfigure Server Aaahhh! I see. There is the MyEclipse Tomcat enabled. I probably have to disable this one. Then click Servers. Click Tomcat in

Re: Session Timeout - Filter Not Called

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 4/22/2010 5:24 PM, Paul Carroll wrote: Yes. I put the session marker in my filter and I perform a simple check each time through the filter to determine if the marker exists and to check if it equals the current session id. Okay, so

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Godmar, On 4/14/2010 10:20 AM, Godmar Back wrote: I have added a ServletContextListener, but it is very much a solution I strongly dislike. The reason is that my application is layered on top of another application (ZK), and I don't really want to

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 4/23/2010 6:32 AM, Pid wrote: On 23/04/2010 03:48, Godmar Back wrote: However, registering a ServletContextListener doesn't work and leads to me being unable to start the web application.

Re: [OT] log4j email appender and hostname

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curtis, (Marking OT because this has nothing to do with Tomcat). On 4/23/2010 11:06 AM, Curtis Garman wrote: Does anyone know if it is possible to access the HOSTNAME environment variable in a log4j.properties file. Basically I'm using the email

Re: Running tomcat/6.0.26 with security manager generates ORACLE jdbc error

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suresh, On 4/22/2010 8:33 PM, suresht wrote: I see a char array being set to a number. charstring1[charstring1-1] = 0; That's obviously not actual code. Can you decompile or otherwise browse the source of the method where the exception

Re: Running tomcat/6.0.26 with security manager generates ORACLE jdbc error

2010-04-23 Thread suresht
The problem was with oracle jar in {catalina.base}\lib dir was getting called with \ at the start. When I added the AllProperty policy rule for that \file:{catalina.base}\lib\- . this error went away. suresht wrote: hi Christopher, I see a char array being set to a number.

Re: Running tomcat/6.0.26 with security manager generates ORACLE jdbc error

2010-04-23 Thread suresht
hi Christopher The problem was that there was attempt to access \c:\{$catalina.base}\lib\ojdbc6.jar rather than c:\{$catalina.base}\lib\ojdbc6.jar. when I added new rule the error went away. -suresh Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suresh,

Re: Multiple catalina bases and monitoring each instance

2010-04-23 Thread Ziggy
Hi, I was refering to monitoring things like database connections, active threads or sessions etc. Thanks On Fri, Apr 23, 2010 at 11:50 AM, Harry Metske harry.met...@gmail.comwrote: It depends on what you mean with monitor. We use nagios (http://www.nagios.org) to monitor multiple Tomcat

Re: Multiple catalina bases and monitoring each instance

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 4/23/2010 1:54 PM, Ziggy wrote: I was refering to monitoring things like database connections, active threads or sessions etc. Nagios does JMX, which can expose all of that information. Or, you can write your own JMX client to do the

Re: Multiple catalina bases and monitoring each instance

2010-04-23 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 4/23/2010 1:54 PM, Ziggy wrote: I was refering to monitoring things like database connections, active threads or sessions etc. Nagios does JMX, which can expose all of that information. Or, you can write your

Re: myeclipse and tomcat

2010-04-23 Thread Christoph Kukulies
Ken Bowen schrieb: You can run multiple web apps alongside the ROOT app. I just drop them in the webspps folder. Yes, I know. I do presently. But I want to run several ROOT apps. -- Christoph - To unsubscribe,

Re: myeclipse and tomcat

2010-04-23 Thread Ken Bowen
Then I think you either need several independent Tomcat instances or multiple virtual hosts. I've occasionally had several independent instances running (but one was started by Eclipse and one from the command line). I don't know whether Eclipse would support either. Do you need to do

Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread aditya siram
Hi all, I am having issues using jai [1] with a Tomcat webapp. I am running the tomcat6 package installed from the Ubuntu repos. The webapp does some image decompression and is unable to detect CLibJpegImageReader which is a class in the jai_imageio.jar. I have copied this jar file to my

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread Pid
On 23/04/2010 21:31, aditya siram wrote: Hi all, I am having issues using jai [1] with a Tomcat webapp. I am running the tomcat6 package installed from the Ubuntu repos. The webapp does some image decompression and is unable to detect CLibJpegImageReader which is a class in the

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread aditya siram
1.6.0_15. I originally started off without anything in the WEB-INF/lib file because I thought my original install in JAVA_HOME would be found. -deech On 4/23/10, Pid p...@pidster.com wrote: On 23/04/2010 21:31, aditya siram wrote: Hi all, I am having issues using jai [1] with a Tomcat

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread Pid
On 23/04/2010 22:09, aditya siram wrote: I just uninstalled JAI and my stand-alone app could not find a suitable image reader. I put the jars back in and the problem goes away. BTW thanks for getting back to me so quick! So are you relying on specific classes from the JAI jars? Are

Migrating Tomcat IIS6 W2K3 Server - SSL and Redirect problems

2010-04-23 Thread Rafe Magnuson
Original installation of Tomcat 5.5.x on Windows 2003 Server x32 with IIS6 Target Installation is Tomcat 5.5.x on Windows 2003 Server x64 with IIS6 Original installation has been working fine for some years but we're forced to migrate servers now as our host has become increasingly flaky. The

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread Thad Humphries
I agree with Pidster--remove the other JAI jars. I use JAI and JAI ImageIO in my application. I have three JAI jar files in my WEB-INF/lib directory: jai_codec.jar, jai_core.jar, and jai_imageio.jar If you need JAI in $JAVA_HOME, I recommend you install a second copy of the JDK without JAI,