configuring Tomcat

Thread Solved

Join Date: Jun 2009
Posts: 99
Reputation: akulkarni is an unknown quantity at this point 
Solved Threads: 4
akulkarni akulkarni is offline Offline
Junior Poster in Training

configuring Tomcat

 
0
  #1
Oct 8th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 1,682
Reputation: javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all 
Solved Threads: 227
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso
 
0
  #2
Oct 9th, 2009
Originally Posted by akulkarni View 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.
Two questions?
- Did you start the server?
- What url are you using?
Check out my New Bike at my Public Profile at the "About Me" tab
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 99
Reputation: akulkarni is an unknown quantity at this point 
Solved Threads: 4
akulkarni akulkarni is offline Offline
Junior Poster in Training

regarding tomcat server

 
0
  #3
Oct 9th, 2009
i couldnt start the server...i tried using commands in dos like.."tomcat start".The url i used was http://localhost:8080/
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,212
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #4
Oct 11th, 2009
Originally Posted by akulkarni View Post
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"
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 120
Reputation: Jocamps is an unknown quantity at this point 
Solved Threads: 7
Jocamps's Avatar
Jocamps Jocamps is offline Offline
Junior Poster
 
0
  #5
Oct 12th, 2009
Originally Posted by akulkarni View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,212
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #6
Oct 12th, 2009
Originally Posted by Jocamps View Post
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
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 99
Reputation: akulkarni is an unknown quantity at this point 
Solved Threads: 4
akulkarni akulkarni is offline Offline
Junior Poster in Training

sucess

 
0
  #7
Oct 14th, 2009
yes i did it with the startup batch file through console(dos prompt) thanks
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC