tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Mitchell" <wmitch...@ptcbio.com>
Subject RE: The JAVA_HOME environment variable is not defined. This environment variable is needed to run this program.
Date Thu, 24 Jul 2003 17:39:59 GMT
Hello everyone, hopefully someone can help me with an issue I am having with Tomcat version
4. I am trying to install it on a SGI Octane 300 with the Irix 6.5 O/S. I installed the JDK
1.4 to /usr/java2 and I pointed the variable JAVA_HOME to there... I also created the CATALINA_HOME
variable to point to the tomcat install directory, but when i try to startup tomcat with the
startup.sh, i get the following error message: The JAVA_HOME environment variable is not defined.
This environment variable is needed to run this program.

also I changed the port from 8080 to 6060 since 8080 was being used, and i am unable to open
the website on this system.

Additional information is that I am using the TCSH Shell.

Let me know if anyone has any idea, or needs more info, thanks!

-----Original Message-----
From: Eric J. Pinnell [mailto:eric@iCky.org]
Sent: Thursday, July 24, 2003 1:31 PM
To: Tomcat Users List
Subject: Re: Env var serverRoot or JkSet config.file


Hi,

I use:

JkSet config.file /usr/local/apache/conf/workers2.properties

you have to have the full system path in there.  You can't shortcut it
like you can in a LoadModule statement.  (i.e. modules/mod_jk2.so)

-e

On Thu, 24 Jul 2003, [iso-8859-1] Ivan Montoro wrote:

> Nicolas, Simon, many thanks for the previous response.
> To everybody else, hi again!
>
> I'm a bit lost about configuration files with Apache
> 2.0+Tomcat 4.1+mod_jk2... I was trying to lower
> workers2.properties logger level to ERROR instead of
> INFO/DEBUG, but at startup Tomcat told me:
>
> (error ) [jk_config_file.c (279)]  config.update():
> Can't find config file
> ${serverRoot}/conf/workers2.properties
> ( info ) [jk_config.c (251)]  config.setAttribute()
> Error setting config: file
> ${serverRoot}/conf/workers2.properties
>
> I was using "JkSet config.file" at httpd.conf just
> after "LoadModule mod_jk2". Following instructions
> from Nicolas' documents I did a export
> serverRoot=/opt/apache2/ and everything worked fine.
> Did Tomcat/Apache ignored my order or I was doing
> something wrong? I would rather prefer to have a
> config line rather than another line in my mega shell
> script...
>
> Thanks everybody
>
> Ivan
>
> ________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://uk.messenger.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message