*
The moose likes Tomcat and the fly likes regarding  using  tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "regarding  using  tomcat " Watch "regarding  using  tomcat " New topic
Author

regarding using tomcat

pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
Hi to all
I downloaded windows version (.exe) Tomcat from internet.I have installed it in c drive.It is working properly.I use it in this manner:
1.First i open the folder in c:/Tomcat..../webapp
2.then i paste my all files in it according to directory structure.
3.then i start internet explorer and type the url.
4.It works fine.
But If i want to create new application,then i again do all steps 1-4 without shutdown or startup.bat file.
Some one told me that you have to start tomcat by double click on startup.bat before typing url and shutdown.bat after complete execution of your app.But i dont do this because i could find the startup.bat and shutdown.bat file in /bin directory.There are some files but not .bat extension file.
Please anybody suggest me the steps which i am using is appropriate or not.

One thing more ,suppose i want to exit tomcat then what should i do? Now i am directly closing the window by click on cross on right corner of the window.Is it appropriate.


SCJP 5.0(75%), SCWCD 5.0(88%)
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The Windows exe version's installer gives you the option to install as a Windows service and/or add start menu items for starting and stopping Tomcat.

If you want to start and stop it from the batch files, download the .zip version.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
Thanks
It means i am doing right.But i dont use start menu to start or shutdown before and after deploying application.Is it good or bad?Will it create problem or damaged the tomcat server?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Nope.
 
jQuery in Action, 2nd edition
 
subject: regarding using tomcat
 
Similar Threads
TomCat 4.1.18 Installation
What in the world happened to JWS ??????
How to invoke a servlet?
Tomcat installation on Windows2000 Server
configuring tomcat in win98