RE: environment variables for hostname and context name

2009-09-19 Thread Caldarale, Charles R
From: Chris Cheshire [mailto:cheshira...@gmail.com] Subject: Re: environment variables for hostname and context name The tomcat directory is available through the environment somehow, and is accessed as ${catalina.home}. The ${catalina.home} reference is to a system property

RE: environment variables for hostname and context name

2009-09-18 Thread Martin Gainty
org.apache.jasper.JasperException: /WEB-INF/jsp/login.jsp(17,2) Unterminated lt;core:if tag at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) [jasper.jar:na] this says that login.jsp at line 17 column2 has an unterminated if tag here is a complete

Re: environment variables for hostname and context name

2009-09-18 Thread Chris Cheshire
I forced that error specifically for this example. That's not the issue. That is an example of what I am trying to log, and it illustrates that the information I need is available at the logging level. On Fri, Sep 18, 2009 at 7:01 PM, Martin Gainty mgai...@hotmail.com wrote:

Re: environment variables for hostname and context name

2009-09-18 Thread Rainer Jung
On 19.09.2009 02:18, Chris Cheshire wrote: I'm reconfiguring the logging for my tomcat installation (6.0.20) to use logback (instead of log4j) for the server logging so I can split out error messages on a per host basis. I see that catalina.home is exposed as an environment var and usable in

Re: environment variables for hostname and context name

2009-09-18 Thread Chris Cheshire
Right. The tomcat directory is available through the environment somehow, and is accessed as ${catalina.home}. From here I can get to the tomcat logs directory. What else is exposed this way? I am hoping that if the host and context are available in the logging message itself, then maybe they

Re: Environment Variables

2008-06-06 Thread David Delbecq
Tomcat does not use CLASSPATH. The list of variables used by tomcat is written at the top of catalina.sh script. En l'instant précis du 06/06/08 10:46, [EMAIL PROTECTED] s'exprimait en ces termes: Hi, Can anybody tell me which environment variables tomcat uses? I am pretty sure it uses

RE: Environment Variables

2008-06-06 Thread paul.ockleford
Brilliant thanks for that. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 06 June 2008 07:49 To: Tomcat Users List Subject: Re: Environment Variables Tomcat does not use CLASSPATH. The list of variables used by tomcat is written at the top of catalina.sh script

RE: Environment Variables

2008-06-06 Thread Caldarale, Charles R
From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Re: Environment Variables Tomcat does not use CLASSPATH. The list of variables used by tomcat is written at the top of catalina.sh script. Note that the Tomcat code does not use *any* environment variables - only the scripts do

RE: Environment variables

2007-11-06 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Environment variables how can I setup environment variables on tomcat windows service? Tomcat cleans environment variables... You can't - services don't use environment variables. Use the tomcat?w.exe program to set Java system

Re: Environment variables

2007-11-06 Thread Andrew Hole
I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find know_hosts file... How can I do that? Thanks a lot On Nov 6, 2007 3:14 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject:

Re: Environment variables

2007-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find know_hosts file... How can I do that? How are you invoking ssh? If you're doing a standard Runtime.exec,

Re: Environment variables

2007-11-06 Thread Andrew Hole
I will try!!! Thanks a lot On Nov 6, 2007 3:24 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find

Re: Environment variables

2007-11-06 Thread Gabe Wong
Andrew Hole wrote: I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find know_hosts file... How can I do that? Hi Andrew, You can pass the value as a Java Option. Click the Tomcat Service Manager icon (usually lower right of the