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
Chidanand Chauhan
Ranch Hand
Joined: Nov 10, 2005
Posts: 77
posted
0
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?
Thanks.
[ 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.
[/QB]
Then There is some severe problem............... go to the tomcat manager and rectify it
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
posted
0
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??
Thanks.
jyothi malapaka
Greenhorn
Joined: Dec 21, 2005
Posts: 6
posted
0
<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
"jyothi m" Thank you for changing your display name, but last initials aren't accepted. You can browse the display name rules here.
Please correct your display name.
thanks, Dave.
Vishnu Prakash
Ranch Hand
Joined: Nov 15, 2004
Posts: 1026
posted
0
Yes, My this application is not in the list. But how can add that into this list...
Deploy your web application.
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.
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.
jyothi malapaka
Greenhorn
Joined: Dec 21, 2005
Posts: 6
posted
0
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 ]
Thanks a lot. [ December 23, 2005: Message edited by: rathi ji ]
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
posted
0
Originally posted by Ben Souther: Have you looked that the logs under tomcat/logs? If there was a problem deploying your app, you would see some messages there.