tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: JVM config for tomcat5.5
Date Sun, 21 Sep 2008 07:21:40 GMT

----- Original Message ----- 
From: "Jon Camilleri" <camilleri.jon@gmail.com>
To: <jackie_james@infosys.com>
Cc: "'Tomcat Users List'" <users@tomcat.apache.org>
Sent: Sunday, September 21, 2008 7:51 AM
Subject: RE: JVM config for tomcat5.5


> Tomcat requires Java (at least SDK; but JDK won't harm) to be installed. 
> On
> my machine I usually set:
>
> JAVA_HOME to the installation path for jdk/sdk e.g. /usr/java/jdk1.6.0_07
> CATALINA_HOME to the installation path for /usr/apache-tomcat-6.0.16.
>
> Hope this helps.
>
> -----Original Message-----
> From: jaki [mailto:jackie_james@infosys.com]
> Sent: 20 September 2008 08:55
> To: users@tomcat.apache.org
> Subject: JVM config for tomcat5.5
>
>
> Hi,
> I wanted to know where java_home is set for Tomcat when it's installed as 
> a
> service since I can't find any .bat/.sh files in my tomcat folder. Thanks
> -- 
> View this message in context:
> http://www.nabble.com/JVM-config-for-tomcat5.5-tp19583097p19583097.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.

Tomcat guys... please pack the the TC.EXE installer with all the script 
files as well...
Windows users do eventually want them...

Its a good question....

JAVA_HOME is only used when you run TC from a bat...

On linux it is probably also used by the service.... but every linux will do 
its own thing, so you need to ask the dist guys...
But on Windows.... you run TomcatW.exe... you get a nice GUI, you click on 
the JAVA tab, and thats where you set stuff...
Notice that it doesnt use JAVA it uses the java C portal called JVM.DLL.....
Thats how you do it...

And then in Netbeans.... the JRE used is neither of the above, its uses the 
JRE that you have set on the platform for you projects....

It actually makes it very easy... and its nice being able to start it from 
script on one JRE, from the service on another JRE, and from NB on any JRE 
you want.

And you have to... because you may use templates in your servlets... and all 
is well, but flip the JRE to a lower version, and you get nailed.

... these TC guys are pretty clever dudes ;)

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------







---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message