Re: Setting Environment Variable for Tomcat 6 Servlet

2011-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alyssa, On 1/21/2011 4:29 PM, Alyssa Kwan wrote: > I'm using Ubuntu's default installation of Tomcat 6. I'm deploying a > ROOT.war, and trying to set an environment variable specific to it, i.e. > accessible from System.gete

Setting Environment Variable for Tomcat 6 Servlet

2011-01-21 Thread Alyssa Kwan
Hi All, I'm using Ubuntu's default installation of Tomcat 6. I'm deploying a ROOT.war, and trying to set an environment variable specific to it, i.e. accessible from System.getenv() in the Servlet.init(config). According to the docs (http://tomcat.apache.org/tomcat-6.0-doc/conf

RE: environment variable

2008-10-20 Thread Martin Gainty
20 Oct 2008 11:29:00 -0400 > Subject: RE: environment variable > > Send reply to:Tomcat Users List > From: Martin Gainty <[EMAIL PROTECTED]> > To: Tomcat Users List > Subject: RE: environment variable > Date sent:Mon, 20 Oct 2008 11:09:37 -0400 &g

RE: environment variable

2008-10-20 Thread Steve Ochani
Send reply to: Tomcat Users List From: Martin Gainty <[EMAIL PROTECTED]> To: Tomcat Users List Subject: RE: environment variable Date sent: Mon, 20 Oct 2008 11:09:37 -0400 > > the only reference I could find while grepping on htmldoc was htmldocs Use a search en

Re: environment variable

2008-10-20 Thread André Warnier
Mårten Svantesson wrote: Melanie Pfefer skrev: Hi Andre, yes I put this executable file under bin/ directory. I did not come with tomcat. I am using the command in a java code. tomcat gives this error in catalina.out java.io.IOException: Cannot run program "htmldoc": error=2, No such file or

RE: environment variable

2008-10-20 Thread Martin Gainty
> From: [EMAIL PROTECTED] > Subject: Re: environment variable > To: users@tomcat.apache.org > > Hi Andre, > > yes I put this executable file under bin/ directory. I did not come with > tomcat. > > I am using the command in a java code. tomcat gives this error in

Re: environment variable

2008-10-20 Thread Mårten Svantesson
Melanie Pfefer skrev: > Hi Andre, > > yes I put this executable file under bin/ directory. I did not come with > tomcat. > > I am using the command in a java code. tomcat gives this error in catalina.out > > java.io.IOException: Cannot run program "htmldoc": error=2, No such file or > director

Re: environment variable

2008-10-20 Thread Melanie Pfefer
e fixed in startup.sh (+ restart tomcat). What do you think? thanks --- On Mon, 20/10/08, André Warnier <[EMAIL PROTECTED]> wrote: > From: André Warnier <[EMAIL PROTECTED]> > Subject: Re: environment variable > To: "Tomcat Users List" > Date: Monday, 20 October, 200

Re: environment variable

2008-10-20 Thread André Warnier
Melanie Pfefer wrote: Hello I got this error in tomcat: Cannot run program "htmldoc": error=2, No such file or directory Is it a good practice to include this command in PATH and put the variable PATH in startup.sh script? I am usin tomcat 6 with solaris 10 Hi Melanie. The htmldoc program

environment variable

2008-10-20 Thread Melanie Pfefer
Hello I got this error in tomcat: Cannot run program "htmldoc": error=2, No such file or directory Is it a good practice to include this command in PATH and put the variable PATH in startup.sh script? I am usin tomcat 6 with solaris 10 thank you Send instant messages to your online friends h

Setting The REMOTE_USER Environment Variable By The Client's Subject DN Using Tomcat 5.5

2008-08-21 Thread Sameek Bhaumik
Hi,   We’re using Tomcat 5.5 as our Web server and intend to implement SSO for our application. As a part of the requirement, we need to set the REMOTE_USER environment variable with the Subject DN retrieved from the client certificate (We’ve edited conf\server.xml, so that Tomcat listens to

Re: Reading environment variable from Tomcat

2008-08-14 Thread André Warnier
David kerber wrote: Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty("user.name" ) to retrieve the logged in user id. But now that we start tomcat using

Re: Reading environment variable from Tomcat

2008-08-13 Thread Johnny Kewl
- Original Message - From: "Sureka, Sushil" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 13, 2008 8:16 PM Subject: Reading environment variable from Tomcat Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from

RE: Reading environment variable from Tomcat

2008-08-13 Thread Martin Gainty
transmission. > Date: Wed, 13 Aug 2008 21:33:13 +0300 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Reading environment variable from Tomcat > > +1 > exactly! you can even login with two different users (if you are using > windows server) none of t

Re: Reading environment variable from Tomcat

2008-08-13 Thread David kerber
--- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 1:47 PM To: Tomcat Users List Subject: Re: Reading environment variable from Tomcat Looks like correct behavior to me. You can see that tomcat runs in the System account when you look at it via Process Explorer o

Re: Reading environment variable from Tomcat

2008-08-13 Thread David Smith
ted to internet. Hence we took the same code base (with lot less fat) and ported it on tomcat. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 1:47 PM To: Tomcat Users List Subject: Re: Reading environment variable from Tomcat Looks like c

RE: Reading environment variable from Tomcat

2008-08-13 Thread Caldarale, Charles R
> From: Sureka, Sushil [mailto:[EMAIL PROTECTED] > Subject: RE: Reading environment variable from Tomcat > > Because we are using the app more like a standalone application Then don't run it as a service, just put the startup script call in: C:\Documents and Settings\[userid]\St

RE: Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
not connected to internet. Hence we took the same code base (with lot less fat) and ported it on tomcat. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 1:47 PM To: Tomcat Users List Subject: Re: Reading environment variable from Tomcat

Re: Reading environment variable from Tomcat

2008-08-13 Thread David Smith
Looks like correct behavior to me. You can see that tomcat runs in the System account when you look at it via Process Explorer or Task Manager. It has it's own environment separate from any desktop user and can run without any desktop user. This is also why tomcat can't access mapped network

RE: Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
: Tomcat Users List Subject: Re: Reading environment variable from Tomcat +1 exactly! you can even login with two different users (if you are using windows server) none of them would be running the service unless you change the logged on option. On Wed, Aug 13, 2008 at 9:27 PM, David kerber

RE: Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 1:27 PM To: Tomcat Users List Subject: Re: Reading environment variable from Tomcat Sureka, Sushil wrote: > Hi, > > > > I have run into an issue related to starting tomcat as a service. When > we we

Re: Reading environment variable from Tomcat

2008-08-13 Thread Youssef Mohammed
+1 exactly! you can even login with two different users (if you are using windows server) none of them would be running the service unless you change the logged on option. On Wed, Aug 13, 2008 at 9:27 PM, David kerber <[EMAIL PROTECTED]> wrote: > Sureka, Sushil wrote: > >> Hi, >> >> >> I have ru

Re: Reading environment variable from Tomcat

2008-08-13 Thread David kerber
Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty("user.name" ) to retrieve the logged in user id. But now that we start tomcat using a service, the get p

Reading environment variable from Tomcat

2008-08-13 Thread Sureka, Sushil
Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty("user.name" ) to retrieve the logged in user id. But now that we start tomcat using a service, the get property call returns "SYS

Re: issue:reading the environment variable HYPERION_HOME

2008-03-28 Thread Nilesh Yadav
ile is ignored. Mapped > > drives and environment variables are the most obvious. > > > > > can anyone suggest me ragarding this issue??/ how can i set this > > > environment variable in different manner so my applications will > > > r

Re: issue:reading the environment variable HYPERION_HOME

2008-03-28 Thread Nilesh Yadav
the env.var is set in the > > profile but application failed to recognise/take it. > > When running as a service, lots if stuff in the profile is ignored. Mapped > drives and environment variables are the most obvious. > > > can anyone suggest me ragarding this issue

Re: issue:reading the environment variable HYPERION_HOME

2008-03-28 Thread Mark Thomas
me ragarding this issue??/ how can i set this environment variable in different manner so my applications will recognise this at run time. Use the Java tab of the tomcat6w.exe program in Tomcat's bin directory. Mark - To st

issue:reading the environment variable HYPERION_HOME

2008-03-28 Thread Nilesh Yadav
Api & hyperion Api(HS9). here in my user's .profile i have set the environment variable:HYPERION_HOME & cheked it by login to the server & echo $HYPERION_HOME it is giving me the correct set value but my 6 java application which are using the HS9 Api is not recognising this env

Re: JVM environment variable..

2007-04-01 Thread prt
Any ideas ? > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in

Re: JVM environment variable..

2007-04-01 Thread Rashmi Rubdi
The TimeZone should be set not only at the JVM level but also at other levels such as the Database, Operating System, Web Server etc. When you first installed JDK or JRE , did it not ask what TimeZone yo want to set? There's already a thread for setting TimeZone on Tomcat: http://www.mail-archiv

JVM environment variable..

2007-04-01 Thread prt
lish). -- View this message in context: http://www.nabble.com/JVM-environment-variable..-tf3501266.html#a9778225 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Tomcat 5 Install - JAVA_HOME environment variable is not defined correctly

2007-03-03 Thread Christopher Schultz
l > > When I run the install command I get: FYI this is not an "install" command. It's a "startup" scripe. > [EMAIL PROTECTED] [/usr/local/jakarta-tomcat/bin]# ./startup.sh > > The JAVA_HOME environment variable is not defined correctly This environm

Tomcat 5 Install - JAVA_HOME environment variable is not defined correctly

2007-03-03 Thread Paul Pearce
-tomcat/bin]# ./startup.sh The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE >From the instructions I did the following: ** Set the JAVA_H

Re: tomcat 5.5.17 catalina.bat - dropping support for JPDA_OPTS environment variable?

2006-09-13 Thread Mark Thomas
Kurt Roy wrote: > Hello, > Attached is a zip file containing revised catalina.sh and catalina.bat > files supporting JPDA_OPTS (supported in tomcat 4.1.18), and support for > a new JPDA_SUSPEND. zips don't get through the mail server. > catalina.bat changes: > > 1. Added back support for JPDA_O

RE: tomcat 5.5.17 catalina.bat - dropping support for JPDA_OPTS environment variable?

2006-09-13 Thread Kurt Roy
cript (this was missing) 2. Added support for JPDA_SUSPEND environment variable. If not specified, it defaults to "n" (backward compatible). catalina.bat changes: 1. Added back support for JPDA_OPTS. I basically re-implemented as it was in tomcat 4.1.18. Note that its only impleme

Re: tomcat 5.5.17 catalina.bat - dropping support for JPDA_OPTS environment variable?

2006-09-08 Thread Mark Thomas
o longer supports the > environment variable $JPDA_OPTS, which our start up process used to use > to place jpda information. What is interesting is that catalina.sh STILL > supports JPDA_OPTS. So we have this problem on windows only. > > Is this an intentional change? Not that I can tel

tomcat 5.5.17 catalina.bat - dropping support for JPDA_OPTS environment variable?

2006-09-08 Thread Kurt Roy
Hello, We have upgraded from tomcat 4.1.18 to 5.5.17, and have found that our system start up process on Windows can no longer set jpda debugger options on the tomcat java command line. This occurs because the 5.5.17 catalina.bat file no longer supports the environment variable $JPDA_OPTS, which

Re: How to set value to environment variable in xml file in the Tomcat

2006-07-18 Thread Tim Funk
Use system properties. Hi, I need to set one of the parameter in the xml configuration file to the environment variable + some text. eg. where $WEB_DIR is an environment variable. How can I acheive this? Thanks, Sangita

How to set value to environment variable in xml file in the Tomcat

2006-07-18 Thread Shirode, Sangita \(Sangita\)
Hi, I need to set one of the parameter in the xml configuration file to the environment variable + some text. eg. where $WEB_DIR is an environment variable. How can I acheive this? Thanks, Sangita

Re: Question reg. setting the environment variable

2006-01-15 Thread vineesh kumar
Usually the problems occurs when u r not configured the webapp classpath corectly.There can b other reasons also, I am not so familiar with windows and donno wat's the exact problem On 1/14/06, gupta vidhi <[EMAIL PROTECTED]> wrote: > thanks for the great help.finally, i'd installed n currently

Re: Question reg. setting the environment variable

2006-01-13 Thread gupta vidhi
thanks for the great help.finally, i'd installed n currently running it successfully. i've one more query: previously i'd installed Tomcat 5.5 with jdk-1_5_0_02-windows-i586-p-iftw,but was facing many problems as everytime i run it on the localhost, everytime the "page cannot be displayed"

Re: Question reg. setting the environment variable

2006-01-13 Thread gupta vidhi
thanks for the great help.finally, i'd installed n currently running it successfully. i've one more query: previously i'd installed Tomcat 5.5 with jdk-1_5_0_02-windows-i586-p-iftw,but was facing many problems as everytime i run it on the localhost, everytime the "page cannot be displayed" p

Re: Question reg. setting the environment variable

2006-01-13 Thread Seak, Teng-Fong
gupta vidhi wrote: hello, i'd installed jdk-1_5_0_02-windows-i586-p-iftw and jakarta-tomcat-4.1.31 on desktop.but unable to set its required path.i request u to kindly help me out for the same and starting my Tomcat. You might find my answer irrelevant, but why are you still using Tomc

Re: Question reg. setting the environment variable

2006-01-13 Thread vineesh kumar
which windows version u r using? Usually u can right click on start->controlpanel-> system select the ADVANCED tab then click the environmental variables at the bottom and enter ur calsspath and all On 1/13/06, gupta vidhi <[EMAIL PROTECTED]> wrote: > hello, > > i'd installed jdk-1_5_0_02-

Question reg. setting the environment variable

2006-01-12 Thread gupta vidhi
hello, i'd installed jdk-1_5_0_02-windows-i586-p-iftw and jakarta-tomcat-4.1.31 on desktop.but unable to set its required path.i request u to kindly help me out for the same and starting my Tomcat. Regards, Vidhi - Yahoo! Pho