>From what it sounds like, you installed Tomcat twice, once as a service,
once as a user-level application, and are trying to use the user-level
application shortcuts to manage the service, which won't happen.

My HOWTO describes the whole process in detail:
http://www.johnturner.com/howto

If you don't want to use Apache and a connector, just ignore those parts and
focus on the Tomcat part.  You don't need Apache and a connector unless you
want them.  They are optional.

Basically, AFAIK there is no "self-extracting file" in the ZIP distribution.
There is a .exe distribution, which runs the Tomcat installer.  This is not
the same thing as the ZIP distribution.

Maybe you only have one installation and I am just not clear on what you
mean by "self-extracting file".  From what I know, the ZIP distribution for
Windows is equivalent to the binary distribution of Tomcat for UNIX/Linux,
which has no installer.  The .EXE distribution for Windows is equivalent to
the RPM distribution for Linux.  If you run the .EXE file, you don't have to
do anything but use the Services control applet to start and stop
Tomcat....you don't even need to set CATALINA_HOME.

Check my HOWTO, it might help.

John


-----Original Message-----
From: Bruce Barkstrom [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 7:15 PM
To: [EMAIL PROTECTED]
Subject: Difficulties with Windows 2000 Installation of Tomcat 4.1


Folks,

I downloaded a copy of the Windows .zip file for the Tomcat 4.1 distribution
over the weekend.  I believe I unzipped it satisfactorily and extracted all
of the files into an unoccupied directory.  Then, I ran the self-extracting 
file to
create the operational version of the Tomcat server and its documentation. I
am running a Windows 2000 machine that is not connected to any outside
network.

The following happened during installation, as the Apache version of an
install shield operated:
        1.  A large number of files were extracted and placed in the
directory
             serving as the root of the subdirectories for the server:
                C:\Program Files\Apache Group\Tomcat 4.1\
        2.  At some point near the end of the file extraction, the
installation
             window stopped and asked for the administrator name and
password.
             The default administrator name was "admin".  I accepted the
default
             and entered a password that I wrote down.
        3.  As the installation entered its terminal phases, I noticed the
fatal
             words stream past - almost faster than I could read - "starting
Tomcat
             server".
        4.  Then the installation process ended, the "install shield"
disappeared,
             and I reentered my normal world of interacting with the
computer (after
             a fashion).

I went ahead and tried some of the obvious things I expected to do - like 
setting
the environment variable %CATALINA_PATH%.

Then I tried to follow the testing procedure where you turn on the server 
and turn
it off.  Neither seemed to have any effect on the service.  I tried the 
administrator
and the manager interfaces.  No clue there as to how to turn the ("bloody") 
service
on or off.  I noticed that the task monitor had tomcat.exe running as a 
process.
I tried stopping it with the task monitor.  No luck - it just kept 
going.  I found that
when I selected Tomcat 4.1 with the Program popup menu, I had some icons
that indicated I could stop or start the server by pushing them.  They
didn't 
seem to
have any effect on the server operation as it appeared in the task 
manager.  I even
restarted the machine - no effect as far as the task manager is 
concerned.  I could
also check that I was able to read web pages through "localhost:8080" and
that the example JSP's worked through the MS IE browser version 5.5 - and
even 
Netscape
6.1.

Now I admit to admiring programs that are robust in their operation - and 
this service
seems to fit that description admirably.  However, I will admit to a 
certain curiosity
as to how one does actually stop this server - not to mention a desire to 
retain a
certain amount of human control over this thing that has now taken over a 
modest
corner of my machine.  That's the first question!

In the process of trying to gain some control, I tried to read some of the 
documentation
that came with this release.  Alas, it seems to apply to release 4.0 of 
Tomcat.  This
leads to the second question: is there additional documentation for 4.1 
that is like
the .txt kind of files that go with the 4.0 release?

In addition, the documentation seems intended for people familiar with Unix 
or Linux.
Those of us who use GUI's because we're old and are tending to become 
forgetful and
feeble-minded because of our (admittedly perverse) addiction to Windows 
seem to have been
left out of the directions.  Ditto for the web pages that are part of the 
tomcat documentation.

I was particularly interested in how I might turn on the cgi interface with 
the server.
I had compiled an Ada program (I know, how unsociable of me - but there you 
are,
some of us are still out there compiling away) that accepted input and then 
sent
back a stream of text that looks like an HTML page.  Because of the unix 
flavor or
the HTML documentation and the 4.0 release text file, I wasn't able to be 
sure I'd
done the following things correctly:
        a.  Had I modified the web.xml file in the right location (the right

location wasn't clear
                from the Unix-based documentation for names)?
        b.  Where was the proper subdirectory to put the file with the
executable 
- was
                it a subdirectory that already existed or did I need to
create one?
                (experimenting with MSIE, it looked like I should use the
examples
                directory - but that didn't seem to work)
        c.  Do I just drop the file in with its existing name (Minimal.exe),
or do 
I need
                to change the name or extension?
        d.  Should the executable file be in Java for Tomcat or can I use an

executable
                based on compiling and linking in another language?

So there you are.  Any answers would be appreciated.

Bruce R. Barkstrom
[EMAIL PROTECTED]
(757) 864-5676


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
 

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

Reply via email to