Brian,
 
One point to ponder is you were also using both %CATALINA_HOME% and %CATALINA_BASE%.
 
%CATALINA_HOME% is for where the main Jakarta Tomcat bin, conf, common and server 
directories reside.  These are Shared Directories between the Base Directories for 
other instances of Tomcat that run from the Home Directory Structure.  This structure 
allows you to have multiple Base Directories.
 
%CATALINA_BASE% is where the respective configuration, delivered apps, logs and work 
directories are located.  Such conf, logs, webapps, and work.  This is what is unique 
to each of the particular Base Directories.  There are a couple additional with 
directories in the 4.1.30 release and quite possibly more differences in the 5.0/5.5 
Releases.
 
You will see a server.xml and web.xml and a couple other files in the respective base 
directory structure under conf.  You will also see another web.xml located at 
%CATALINA_BASE%\webapps\ROOT\WEB-INF as well.
 
Your particular apps likely will reside in the %CATALINA_BASE%\webapps directory.
 
All of the log files for tomcat in each base configuration usually reside in the 
respective %CATALINA_BASE%\logs.
 
The reason for defining %CATALINA_BASE% is so that you can have more than one instance 
of Tomcat running from %CATALINA_HOME% at the same time sharing the Jakarta Tomcat 
Code.
 
Beware when doing this that the ports defined in the server.xml in the conf 
directories so that they do not overlap.  If they overlap Tomcat will not start.  You 
will get errors in the logs and it will just shut right back down.
 
There is a way to have Tomcat also setup as a service using a dll so that it will 
automatically start and can be interfaced via ISAPI configuration to IIS as well.

Brian Roberts <[EMAIL PROTECTED]> wrote:
Hi everyone

I too was having trouble starting the server and thanks everyone for your 
help but what I found was that with the latest tomcat server you need to 
have the latest java JRE version 5. Try installing the latest from 
http://java.sun.com/j2se version 5 or later and set an environment variable 
named JAVA_HOME to the pathname of the directory into which you installed 
the JRE. Full instructions are with the tomcat server package on RUNNING.txt

Bye for now and thanks everyone for your help

Brian Roberts

At 06:01 AM 21/09/2004 -0700, you wrote:
>It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
>I actually installed tomcat onto folder named
>C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin, 
>common and other folders.
>But while i am setting class path it is taking lot of place so i moved all 
>the folders from above folder structure and into C:\Tomcat and i think 
>that should be OK.
>For more information i am using windows XP professional OS.
>Thanks a lot for reply but i am still unable to start the server.Any help 
>is highly appreciated.
>
>
>>From: [EMAIL PROTECTED]
>>Reply-To: "Tomcat Users List" 
>>To: "Tomcat Users List" 
>>Subject: Re: Suggestion: A dedicated TOMCAT forum!
>>Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)
>>
>>Hi Suresh,
>>
>>Just by looking at your startup output it seems to be that you have set
>>your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as
>>it should be. Also ensure that your SDK installation exists in C:\Java as
>>this is what your JAVA_HOME environment variable is set to. Try doing this
>>and re-run your server and in theory you shouldn't have any problems.
>>
>>Kindest Regards,
>>Matt Anderson
>>
>> > Hi
>> > I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and
>> > set
>> > the ENV variable
>> > CATALINA_HOME and JAVA_HOME and also included all the jars available in
>> > C:\Tomcat\Common\lib folder in the classpath. But when i go to command
>> > prompt C:\Tomcat\bin and execute startup.bat a black window comes up and
>> > disappears but my server never starts.On the command window where i
>> > executed
>> > startup there appears 4 lines as follows
>> > Using CATALINA_BASE: C:\Tomca
>> > Using CATALINA_HOME: C:\Tomca
>> > Using CATALINA_TMPDIR: C:\Tomca
>> > Using JAVA_HOME: C:\Java
>> > but am not able to start the server
>> > Can anyone please help me on this.
>> >
>> >
>> > Thanks
>> > Suresh Akula
>> >
>> >>From: nyhgan 
>> >>Reply-To: "Tomcat Users List" 
>> >>To: Tomcat Users List , Peng Tuck Kwok
>> >>

>> >>Subject: Re: Suggestion: A dedicated TOMCAT forum!
>> >>Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
>> >>
>> >>Hi,
>> >>
>> >>I didn't know that there is already a TOMCAT forum. It is sad to see
>> >> that
>> >>the activity is so low there. Maybe that is because no one knows about
>> >> its
>> >>existence. I hope the tomcat team can publish the forum url in the
>> >> release
>> >>note and also on the tomcat website.
>> >>
>> >>thanks!
>> >>
>> >>nyhgan
>> >>
>> >>
>> >>
>> >>
>> >>Peng Tuck Kwok 
wrote:
>> >>You mean like the one here : http://nagoya.apache.org/jive/index.jsp ?
>> >>Activity seems low if you ask me. Don't know what the plans are for the
>> >>forum.
>> >>
>> >>
>> >>On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
>> >> > On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
>> >> > : I believe that having an open discussion forum is the first step
>> >>toward such a goal as it will attract a vast number of new users to the
>> >>tomcat world.
>> >> >
>> >> > [EMAIL PROTECTED]
>> >> >
>> >> > ??
>> >> >
>> >> > -QM
>> >> >
>> >> > --
>> >> >
>> >> > software -- http://www.brandxdev.net
>> >> > tech news -- http://www.RoarNetworX.com
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >> >
>> >>
>> >>---------------------------------------------------------------------
>> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >>For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >>
>> >>__________________________________________________
>> >>Do You Yahoo!?
>> >>Tired of spam? Yahoo! Mail has the best spam protection around
>> >>http://mail.yahoo.com
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

See you later,
Brian Roberts





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

Reply via email to