Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

Tomcat - requested resources not available error

 
webmaster forum
shenjeg  Offline
Activity
0%
 
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 »
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
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

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
webmaster forum
Admin  Offline
*
 
Code Guru
Location: India
Gender: Male
Posts: 1387
Topics: 105
NaviBuster NaviBuster
WWW
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.
 
webmaster forum
shenjeg  Offline
Activity
0%
 
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.
 
webmaster forum
Admin  Offline
*
 
Code Guru
Location: India
Gender: Male
Posts: 1387
Topics: 105
NaviBuster NaviBuster
WWW
April 23, 2009, 09:27:14 PM

yes sure, and in case if you find the solutions then do share it with us too.
 
webmaster forum
maha66  Offline
Activity
0%
 
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 »
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
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

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
webmaster forum
singam  Offline
Activity
0%
 
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 »
 
webmaster forum
Activity
0%
 
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.

Network Management Service
 
webmaster forum
Activity
0%
 
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
 
webmaster forum
john14317  Offline
Activity
0%
 
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

payday loans
instant online cash advance
 
webmaster forum
kellylsn  Offline
Activity
0%
 
Professional Coder
Posts: 229
Topics: 7
August 01, 2011, 02:22:33 AM

Its very nice postings, it will help me a lot. Thanks for it.

Payday Loan
Online Easy Loans
 
webmaster forum
netshet  Offline
Activity
6.67%
 
Regular Coder
Posts: 73
Topics: 2
WWW
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

hair transplant
 
webmaster forum
dianna  Offline
Activity
0%
 
Regular Coder
Posts: 88
Topics: 10
WWW
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

Pakistan's Local Search engine
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 29, 2012, 03:49:45 PM