Error:The requested resources are not available

Reply

Join Date: Jun 2008
Posts: 38
Reputation: guravharsha is an unknown quantity at this point 
Solved Threads: 0
guravharsha guravharsha is offline Offline
Light Poster

Error:The requested resources are not available

 
0
  #1
Jul 7th, 2008
Hi All,
I had created application where once you log in into index.jsp page, the next validateuser check for validation. but when i fill the form of username and password the error shows like:
The requisted resources are not available
Here my context.xml
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Context path="/student" docBase="student"
  3. debug="5" reloadable="true" crossContext="true">
  4. Resource name="jdbc/mynewdatabase" auth="Container" type="javax.sql.DataSource"
  5. maxActive="100" maxIdle="30" maxWait="10000"
  6. username="root" password="root123" driverClassName="com.mysql.jdbc.Driver"
  7. url="jdbc:mysql://localhost:3306/mynewdatabase?autoReconnect=true"/>
  8. </Context>

and here is web.xml:
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  3. <session-config>
  4. <session-timeout>
  5. 30
  6. </session-timeout>
  7. </session-config>
  8. <welcome-file-list>
  9. <welcome-file>index.jsp</welcome-file>
  10. </welcome-file-list>
  11. </web-app>

I am using netbeans6.0 ide. i had googled for it but wouldnt get any solution for jsp page. all they related to servlet.
can anybody guide me on above issue?
Regards
Haresh
Last edited by peter_budo; Jul 7th, 2008 at 3:13 pm. Reason: Keep It Organized - please use [code] tags
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Error:The requested resources are not available

 
0
  #2
Jul 8th, 2008
Since you are using Netbeans, I assume you are using the Glassfish server, Now "Requested resource is not available" is a page that can be displayed for almost everything that can go wrong in a JSP or a servlet.

My suggestion would be you check the logs of glassfish, for any errors when you are calling the page from the browser for more clues.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JSP Forum
Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC