944,164 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Marked Solved
  • Views: 1039
  • JSP RSS
Oct 8th, 2009
0

configuring Tomcat

Expand Post »
i am trying to learn servlets so i downloaded tomcat server.I learned that i have to do this...set path=c:\tomcat\lib\servlet.jar
or click the exe file tomcat6 in the bin folder. I tried to connect with localhost8080 it is not working.I am not getting Tomcat home page.

Any help will be great.
Similar Threads
Reputation Points: 11
Solved Threads: 4
Junior Poster
akulkarni is offline Offline
111 posts
since Jun 2009
Oct 9th, 2009
0
Re: configuring Tomcat
Click to Expand / Collapse  Quote originally posted by akulkarni ...
i am trying to learn servlets so i downloaded tomcat server.I learned that i have to do this...set path=c:\tomcat\lib\servlet.jar
or click the exe file tomcat6 in the bin folder. I tried to connect with localhost8080 it is not working.I am not getting Tomcat home page.

Any help will be great.
Two questions?
- Did you start the server?
- What url are you using?
Sponsor
Featured Poster
Reputation Points: 1014
Solved Threads: 447
Nearly a Senior Poster
javaAddict is offline Offline
3,260 posts
since Dec 2007
Oct 9th, 2009
0

regarding tomcat server

i couldnt start the server...i tried using commands in dos like.."tomcat start".The url i used was http://localhost:8080/
Reputation Points: 11
Solved Threads: 4
Junior Poster
akulkarni is offline Offline
111 posts
since Jun 2009
Oct 11th, 2009
-1
Re: configuring Tomcat
Click to Expand / Collapse  Quote originally posted by akulkarni ...
i couldnt start the server...i tried using commands in dos like.."tomcat start".The url i used was http://localhost:8080/
You would have to set path to tomcat for the command to be recognised in similar manner to what you did with Java so now you can call "java" or "javac" commands.
To start Tomcat without need of messing with path is either go to the location of startup.bat (or startup.sh under Unix/Linux) and then just execute "startup" or call startup file with absolute path such as "C:\Tomcat6.0.20\bin\startup"
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Oct 12th, 2009
0
Re: configuring Tomcat
Click to Expand / Collapse  Quote originally posted by akulkarni ...
i couldnt start the server...i tried using commands in dos like.."tomcat start".The url i used was http://localhost:8080/
An easier way to start and stop tomcat is using the Tomcat Monitor. I think during the installation of tomcat it asks you if you would like to install that monitor . However if you did not choosed to install that.. you can go to the bin folder of your tomcat installation and start tomcat6w.exe It sits on your system tray and you can open it anytime to start and stop tomcat with a GUI.
Reputation Points: 30
Solved Threads: 7
Junior Poster
Jocamps is offline Offline
120 posts
since Jun 2007
Oct 12th, 2009
-1
Re: configuring Tomcat
Click to Expand / Collapse  Quote originally posted by Jocamps ...
An easier way to start and stop tomcat is using the Tomcat Monitor. I think during the installation of tomcat it asks you if you would like to install that monitor . However if you did not choosed to install that.. you can go to the bin folder of your tomcat installation and start tomcat6w.exe It sits on your system tray and you can open it anytime to start and stop tomcat with a GUI.
Depends on the type of installation package you choose. If you go for windows installer you loosing capability to use your instance of Tomcat with IDE(Eclipse, NetBeans, IntelliJ IDEA) as this require startup.bat and shutdown.bat presence
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Oct 14th, 2009
0

sucess

yes i did it with the startup batch file through console(dos prompt) thanks
Reputation Points: 11
Solved Threads: 4
Junior Poster
akulkarni is offline Offline
111 posts
since Jun 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Adding form validation for numeric values
Next Thread in JSP Forum Timeline: Struts problem.....





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC