You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bruce Barkstrom <b....@larc.nasa.gov> on 2003/01/22 01:15:28 UTC

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
b.r.barkstrom@larc.nasa.gov
(757) 864-5676


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Difficulties with Windows 2000 Installation of Tomcat 4.1

Posted by Peng Tuck Kwok <pe...@makmal.net>.
First, the little bit of not being able to stop the server, yeah you can 
stop it, but the tomcate (according to what I read from your email) 
implies that it is running as a service. If you want to stop it you need
to open the win2k service and stop it. Set it to manual so that it 
doesn't run on startup if you need to .

Secondly  the documentation bits: I think the version of tomcat you 
download should contain the correct documentation for that tomcat. If 
you really need to look at the 4.1 docs take a look here:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html

Are the documentations geared towards Unix or linux gurus? Sounds like a 
loaded question to me :), but if you asked me it was ok for me.

About the cgi bit, the reference is here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html , rather 
brief and I haven't tried using it yet.



Finally is it statements like this : $CATALINA_BASE/server/lib/ which 
imply unix or linux like docs :) ? Just substitute $CATALINA_BASE with 
where you installed tomcat. uh, hope this clears things up a bit.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>