Tomcat - requested resources not available error |
| |
 |
Reputation Power: 1

| | New Poster Posts: 4 Topics: 2 |
|
|
March 24, 2009, 06:29:42 AM
|
Hi to all.. i'm using Tomcat5.5 In tomcat webapps. create a folder where i kept my servlet program.in that same folder create another folder called WEB-INF. inside it created folders called classes and lib. Map that in servlet program in web.xml.
when i try to access it through url. it says requested resources not available.
i dont know why.. whats a problem.. any one can help me
shenjeg
« Last Edit: July 15, 2011, 08:54:31 AM by Admin »
|
|
|
|
| |
 |
Reputation Power: 17

| | Code Guru Gender:  Posts: 1403 Topics: 86  |
|
|
March 30, 2009, 10:29:36 AM
|
Not sure am afraid, would suggest you check to ensure all your tomcat stuff is correctly configured. There are lots of tutorials on the web, you may find one of them contains useful info
|
|
| |
 |
Reputation Power: 19

| | Code Guru Location: India
Gender:  Posts: 1444 Topics: 126  |
|
|
March 30, 2009, 11:56:10 PM
|
I don't know much about the Tomcat stuffs, but if possible make sure/ check the access rights for the folders in which you have kept your application and the folders which you are trying to access.
Another thing, you can also check that do we need to create some virtual directory (setting web application) as in case of IIS and ASP for Tomcat applications.
Last thing you can try is cross checking your URL that you are using to access the application.
Hope these little points help you and as Polas said if they don't work then there might be some problem with your Tomcat settings which you can cross check with some online Tomcat manuals.
Help us to keep this forum clean. Report the SPAM!
|
|
| |
 |
Reputation Power: 1

| | New Poster Posts: 4 Topics: 2 |
|
|
April 21, 2009, 05:38:56 AM
|
Thankx all. i try. If u find any other soln than contact me.
|
|
| |
 |
Reputation Power: 19

| | Code Guru Location: India
Gender:  Posts: 1444 Topics: 126  |
|
|
April 23, 2009, 09:27:14 PM
|
yes sure, and in case if you find the solutions then do share it with us too.
Help us to keep this forum clean. Report the SPAM!
|
|
| |
 |
Reputation Power: 1

| | New Poster Posts: 2 Topics: 0 |
|
|
August 01, 2010, 08:51:41 PM
|
I am using apache tomcat webserver to work my jsp pages and some application which is developed in struts. Issue is --> when I open my website in hxxp: www. sitename. com it works fine, but when I try to open it on secure protocol i. e. httpS://www. sitename. com it dsnt work. Browser simply says page cant be displayed. .
I really have no clue why this is happening. PLEASE help.
« Last Edit: August 03, 2010, 01:28:53 AM by Admin »
|
|
| |
 |
Reputation Power: 17

| | Code Guru Gender:  Posts: 1403 Topics: 86  |
|
|
August 02, 2010, 12:07:53 PM
|
Sounds like a security issue. Ensure it is configured correctly especially in web.XML and your certificates match what your browser has
|
|
| |
 |
Reputation Power: 2

| | Regular Coder Posts: 50 Topics: 19 |
|
|
August 14, 2010, 04:34:25 AM
|
Apache, Sun and a variety of other companies and individuals are contributing to Tomcat. This implementation is available to any company or developer to be used in web servers, development tools, and to create dynamic, interactive web sites. If you would like to participate in the evolution of the JSP and Servlets source code, the Tomcat Web site describes
« Last Edit: March 17, 2011, 10:25:09 PM by Admin »
|
|
| |
 |
Reputation Power: 2

| | Skilled Coder Posts: 125 Topics: 0 |
|
|
February 09, 2011, 08:33:57 PM
|
As per my point of view you should have to recheck all the configuration of Tomcat, which you apply at the time of Installation.
|
|
| |
 |
Reputation Power: 1

| | New Coder Posts: 15 Topics: 0 |
|
|
March 09, 2011, 11:07:12 AM
|
I think you can try edit the tomcat startup script (/etc/init. d/tomcat5. 5). After you Save and close the file. Then, Restart Tomcat5. 5. Now the file will be tailed by the startup script and Tomcat should work fine.
dell coupons codes
|
|
| |
 |
Reputation Power: 2

| | Skilled Coder Posts: 149 Topics: 0 |
|
|
July 12, 2011, 04:10:57 AM
|
java.sun.com/products/jsp/tomcat/ :- visit this site for more information for tomacat
|
|
| |
 |
Reputation Power: 3

| | Professional Coder Posts: 227 Topics: 7 |
|
|
August 01, 2011, 02:22:33 AM
|
Its very nice postings, it will help me a lot. Thanks for it.
|
|
| |
 |
Reputation Power: 5

| | Professional Coder Posts: 244 Topics: 85  |
|
|
August 02, 2011, 07:30:05 AM
|
I am trying to complete a simple Hello World servlet example.
I have installed Tomcat 5. 5 and the relevant java kits so that I can now view the Tomcat main page from hxxp: localhost:8080/.
I have followed my book (Jess in Action) example and created the directory structure:
Tomcat 5. 5\webapps\Hello\WEB-INF\classes
and added a web. xml file to the WEB-INF directory.
I have placed my Hello. java file in the classes folder and successfully compiled it so I assume my classpaths are all correct.
However, when I view the page hxxp: localhost:8080/Hello/servlet/Hello all that is displayed is:
HTTP Status 404 - /Hello/servlet/Hello
type: Status report
message; /Hello/servlet/Hello
description: The requested resource (/Hello/servlet/Hello) is not available.
Can anybody see if I have missed something?
Thanks
|
|
| |
 |
Reputation Power: 2

| | Regular Coder Posts: 88 Topics: 10  |
|
|
August 04, 2011, 04:13:55 AM
|
Yes. Tomcat, by default, now ships with the invoker servlet disabled (commented out in the web.xml file). You now need to create a 'servlet' and a 'servlet-mapping' entry in your web.xml. Once you do, you can get rid of the "servlet/" part of your url. Check out the following URL for more information regarding the invoker servlet: http://faq.javaranch.com/view?InvokerServlet
|
|
| |