• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

TOMCAT ON WINDOWS NT

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do i need to run tomcat on windows nt server 4.0
Thanks in Advance
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try running from the \\<your tomcat directory>\bin
tomcat start
to stop run:
tomcat stop
 
HARSHAD bhawsar
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried that from dos prompt but it is not responding
Harshad
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"tomcat.bat run" type this command at your tomcat/bin dir ie. c:\tomcat\bin>tomcat.bat run.It will run
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

http://www.devshed.com/Server_Side/Jserv/JSPDev/
This has a pretty clear walk through for setting up tomcat on either Windows of Linux.
 
HARSHAD bhawsar
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK Satya, I think you are right.
I will dowmload it again
Thanks
Harshad
 
HARSHAD bhawsar
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK Satya, I think you are right.
I will dowmload it again
Thanks
Harshad
 
HARSHAD bhawsar
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike;
I am starting tomcat at %tomczt_home%/bin only.
Harshad
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Freinds,
It's working now.
Thank you for your help.
Marcos it is running with .batfile extention.
Harshad
reply
    Bookmark Topic Watch Topic
  • New Topic