myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cathey.To...@epamail.epa.gov
Subject ResourceServlet quits returning resources
Date Thu, 19 May 2011 21:23:45 GMT
Please help. I have a JavaServer Faces web application which uses MyFaces 
1.2.10, Trinidad 1.2.14 and
runs inside of Tomcat 6. The application will work fine for several weeks 
and then several JSF components
will quit working. I have determined that the failure is related to the
org.apache.myfaces.trinidad.webapp.ResourceServlet
When the application fails a request to 
http://actor.epa.gov/actor/adf/jsLibs/Common1_2_14.js
returns the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ACToR resource not found.</title>
</head>
<body>
Sorry, the requested ACToR resource was not found on this server.
</body>
</html>

The JSF components will not work without this Common1_2_14.js file. In 
fact, all requests for
adf/* resources quit working.

The relevant section of the web.xml is
  <servlet>
    <servlet-name>resources</servlet-name>
 
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/afr/*</url-pattern>
  </servlet-mapping>

Any insight into this problem is greatly appreciated.
--Tommy

Tommy E. Cathey, Senior Scientific Application Consultant
High Performance Computing & Scientific Visualization
Lockheed Martin, Supporting the EPA
Research Triangle Park, NC
919-541-1500 EMail: cathey.tommy@epa.gov

My e-mail does not reflect the opinion of Lockheed Martin or the EPA.
Federal Infrastructure Contact - Ravi Nair
919-541-5467      - nair.ravi@epa.gov
Federal Visualization Contact - Joe Retzer, Ph.D.
919-541-4190      - retzer.joseph@epa.gov
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message