File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes TOMCAT ON WINDOWS NT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "TOMCAT ON WINDOWS NT" Watch "TOMCAT ON WINDOWS NT" New topic
Author

TOMCAT ON WINDOWS NT

HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
What do i need to run tomcat on windows nt server 4.0
Thanks in Advance
Tom John
Greenhorn

Joined: Jun 29, 2001
Posts: 10
I believe you just need to install tomcat and a jdk. Here's a link to the tomcat home page. From there you can download the binary to install tomcat and you should be able to find some pretty good documentation there as well. As part of the tomcat download you should also get some documentation that will explain how to configure tomcat on your machine.
http://jakarta.apache.org/tomcat/index.html
I hope this is helpful.
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
I have both jdk and tomcat.
But when i double click on startup.bat a message is display "Not a WINDOWS nt program".
and when i tried to run it from dos prompt,nothing happened
What should i do?

Thanks for your adv.
HARSHAD
George Thomas
Ranch Hand

Joined: Oct 06, 2000
Posts: 35
Try running from the \\<your tomcat directory>\bin
tomcat start
to stop run:
tomcat stop
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
I tried that from dos prompt but it is not responding
Harshad
Venugopal nandikolla
Greenhorn

Joined: Feb 02, 2001
Posts: 22
"tomcat.bat run" type this command at your tomcat/bin dir ie. c:\tomcat\bin>tomcat.bat run.It will run
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

HARSHAD:
The developers of Tomcat were so clever that they
anticipated such qstns. Hence they developed something
called a FAQ which you get with Tomcat, fortunately.
Apart from this Tomcat also comes with an Installation
documentation. Gee, that is really a lot of foresight
Could you check if those may help you.
Or I have one other suggestion, if you use the search
facility here you could find a lot of stuff on that.
But be sure to use keywords like tomcat or [Tomcat[/b]
or TOMCAT something similar of your choice.
Let us know if you have further problems.
- satya
ps:
I don't mean to be harsh or anything, just thought I will
share my true and honest opinion. Sorry for being
such a nasty guy on the ranch!
regds.

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
rename startup.bat to startup.cmd and all the .bat to cmd than try it again I think it´┐Żll work
and,
Have you set?
JAVA_HOME - pointing to your jdk installation directory
TOMCAT_HOME - pointing to tomcat installation directory
CLASSPATH - pointing to %JAVA_HOME%\lib\tools.jar and to
%TOMCAT_HOME%\lib\servlet.jar
Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

http://www.devshed.com/Server_Side/Jserv/JSPDev/
This has a pretty clear walk through for setting up tomcat on either Windows of Linux.


!_I_Know_Kung_Fu_!
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
I tried everything but it's not working.
One more important thing not a single txt or html file have any data in them. Also bat files are of o Bytes.
Is there any problem with downloading or what?
Thanks for your guidance
Harshad
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

One more important thing not a single txt or html file have any data in them. Also bat
files are of o Bytes

you probably downloaded the wrong zip...
I would download it again and see what happens.
- satya
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
OK Satya, I think you are right.
I will dowmload it again
Thanks
Harshad
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
OK Satya, I think you are right.
I will dowmload it again
Thanks
Harshad
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
Freinds,
I have again downloaded tomcat. Now i have contents in each file (I had 0 Bytes or empty
files in my previous installation.)
Now when ever i type 'STARTUP' it gives error as "Not an internal or external command......'
As told by George i tried to start it by 'TOMCAT START' it shows message like 'Starting in new window'
"USING CLASSPAT=......." and flashesh a window.

If i double click 'startup.bat' file from %tomcat_Home%/bin it flashesh a window.
I think i am close to configure tomcat but still need some help from you
Please guide me .
Thanks again.
Harshad
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

When you type "startup", where are you typing this?
If it's just from c:\, then this is a valid message, because the bin directory of Tomcat is not in your path (and don't put it there either). make sure your prompt is at < tomcat home >\bin and then type startup. If you are doing this, it could be the 'call' command that is giving trouble. On NT, this command works fine, but I know in Me it gives trouble.

For the flashing window problem:
open up tomcat.bat and about 40 lines down, you'll find a line that looks something like:
set _STARTJAVA=start "Tomcat 3.2" "%JAVA_HOME%\bin\java"

Remove the start "Tomcat 3.2" and the blank space just after it.

So it should now read:
set _STARTJAVA="%JAVA_HOME%\bin\java"

This will prevent it from opening a new window, and you should be able to read the error messages, if any.
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
Mike;
I am starting tomcat at %tomczt_home%/bin only.
Harshad
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
try to change the start.bat(and the others .bat files) file to start.cmd as bat is a command recognized by win98 and cmd by nt and 2000.
HARSHAD bhawsar
Ranch Hand

Joined: Feb 22, 2001
Posts: 48
Thanks Freinds,
It's working now.
Thank you for your help.
Marcos it is running with .batfile extention.
Harshad
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TOMCAT ON WINDOWS NT