Go to http://localhost:8080 and select tomcat manager. login with the user id, password present in tomcat users for manager. Then check if the application is running or if there is some error in it
Joined: Nov 10, 2005
Originally posted by rathi ji:
And now when I type [http://localhost:8080/SessionTest/index.jsp] at browser, it gives me 404 (page not found) error.
Tomcat is installed properly, because other applications are fine.
Please help me, what can be the problem?
[ December 22, 2005: Message edited by: rathi ji ]<hr></blockquote>
Hi Rathi can you type the url "http://localhost:8080/SessionTest" and then check whether your web browser shows jsp or not .[/QB]<hr></blockquote>
No, it is not showing. I tried it too.
Then There is some severe problem............... go to the tomcat manager and rectify it
Joined: Oct 11, 2004
Originally posted by jyothim: Go to http://localhost:8080 and select tomcat manager. login with the user id, password present in tomcat users for manager. Then check if the application is running or if there is some error in it
Sorry, but what is the username and password for this...
Please tell me. where I can find it??
Joined: Dec 21, 2005
<tomcat_installation_directory>-----conf(folder)----tomcat-users.xml tomcat_installation_directory is same as catalina-home
In the tomcat-users.xml you will find an entry similar to (may not be same) <user username="admin" password="" roles="admin,manager"/> Just check the exact one in your xml file.
use this username and password for getting registered as manager.
Mostly whenever there is some mistake in web.xml you will get such sort of an error. Just check it
If you are using advanced IDE's like WSAD (or) IntelliJIDEA they will do all the work for you. All you have to do is just configure your web/application server with the IDE.
No, I am using notepad for writing all code.
Joined: Dec 21, 2005
hii could you send me your web.xml and the java file??
There might be some problem in it.... If you are sure that there is no problem in any of them ....then change the name of your SessionTest(web application) folder.... sometimes it works .....just try it..
And then restart your tomcat...refresh ur browser and check if it is present in tomcat manager...
[ December 23, 2005: Message edited by: jyothi malapaka ] [ December 23, 2005: Message edited by: jyothi malapaka ]