Deployment Exception

View: New views
4 Messages — Rating Filter:   Alert me  

Deployment Exception

by void_void :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello i have following exception while deploying my webapp (which uses rich faces).

    Exception while deploying the app : java.io.IOException: org.xml.sax.SAXParseException: The content of element type "filter" must match "(icon?,filter-name,display-name?,description?,filter-class,init-param*)".



my web.xml is as follows
view plaincopy to clipboardprint?

   1. <?xml version="1.0" encoding="UTF-8"?>  
   2. <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">  
   3. <web-app>  
   4.     <display-name>Aplication1</display-name>  
   5.     <listener>  
   6.         <listener-class>com.sun.faces.config.ConfigureListener</listener-class>  
   7.     </listener>  
   8.     <context-param>  
   9.         <param-name>com.sun.faces.verifyObjects</param-name>  
  10.         <param-value>true</param-value>  
  11.     </context-param>  
  12.     <context-param>  
  13.         <param-name>com.sun.faces.validateXml</param-name>  
  14.         <param-value>true</param-value>  
  15.     </context-param>z  
  16.     <context-param>  
  17.         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>  
  18.         <param-value>.xhtml</param-value>  
  19.     </context-param>  
  20.     <context-param>  
  21.         <param-name>facelets.DEVELOPMENT</param-name>  
  22.         <param-value>false</param-value>  
  23.     </context-param>  
  24.     <context-param>  
  25.         <param-name>facelets.SKIP_COMMENTS</param-name>  
  26.         <param-value>true</param-value>  
  27.     </context-param>  
  28.     <context-param>  
  29.         <param-name>contextConfigLocation</param-name>  
  30.         <param-value>/WEB-INF/applicationContext.xml</param-value>  
  31.     </context-param>  
  32.     <listener>  
  33.         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
  34.     </listener>  
  35.      
  36.       <filter>  
  37.         <display-name>RichFaces Filter</display-name>  
  38.         <filter-name>richfaces</filter-name>  
  39.         <filter-class>org.ajax4jsf.Filter</filter-class>  
  40.     </filter>  
  41.     <filter-mapping>  
  42.         <filter-name>richfaces</filter-name>  
  43.         <servlet-name>Faces Servlet</servlet-name>  
  44.         <dispatcher>FORWARD</dispatcher>  
  45.         <dispatcher>REQUEST</dispatcher>  
  46.         <dispatcher>INCLUDE</dispatcher>  
  47.     </filter-mapping>  
  48.    
  49.    
  50.    
  51.    
  52.     <context-param>  
  53.         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>  
  54.         <param-value>client</param-value>  
  55.     </context-param>  
  56.     <context-param>  
  57.         <param-name>org.richfaces.SKIN</param-name>  
  58.         <param-value>DEFAULT</param-value>  
  59.     </context-param>  
  60.      <listener>  
  61.         <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>  
  62.     </listener>  
  63.    
  64.    
  65.     <servlet>  
  66.         <servlet-name>Faces Servlet</servlet-name>  
  67.         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>  
  68.         <load-on-startup>1</load-on-startup>  
  69.     </servlet>  
  70.     <servlet>  
  71.         <servlet-name>dispatcher</servlet-name>  
  72.         <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>  
  73.         <load-on-startup>2</load-on-startup>  
  74.     </servlet>  
  75.     <servlet-mapping>  
  76.         <servlet-name>Faces Servlet</servlet-name>  
  77.         <url-pattern>*.jsf</url-pattern>  
  78.     </servlet-mapping>  
  79.     <servlet-mapping>  
  80.         <servlet-name>dispatcher</servlet-name>  
  81.         <url-pattern>*.htm</url-pattern>  
  82.     </servlet-mapping>  
  83.     <welcome-file-list>  
  84.         <welcome-file>TemplateClients/forward.jsp</welcome-file>  
  85.     </welcome-file-list>  
  86.     <error-page>  
  87.         <exception-type>javax.faces.application.ViewExpiredException</exception-type>  
  88.         <location>/TemplateClients/LogoutPage.jsf</location>  
  89.     </error-page>  
  90.     <error-page>  
  91.         <error-code>404</error-code>  
  92.         <location>/TemplateClients/Error404.jsf</location>  
  93.     </error-page>  
  94.     <error-page>  
  95.         <error-code>500</error-code>  
  96.         <location>/TemplateClients/Error500.jsf</location>  
  97.     </error-page>  
  98.     <error-page>  
  99.         <error-code>503</error-code>  
 100.         <location>/TemplateClients/Error503.jsf</location>  
 101.     </error-page>  
 102.     <error-page>  
 103.         <exception-type>java.lang.exception</exception-type>  
 104.         <location>/TemplateClients/LogoutPage.xhtml</location>  
 105.     </error-page>  
 106.     <error-page>  
 107.         <exception-type>java.net.UnknownHostException</exception-type>  
 108.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
 109.     </error-page>  
 110.     <error-page>  
 111.         <exception-type>javax.el.ELException</exception-type>  
 112.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
 113.     </error-page>  
 114.     </web-app>  


it is getting deployed in glassfishV3 prelude in rest all the app. server it is giving the mentioned exception(jetty,jboss,glassfishV2)

Re: Deployment Exception

by void_void :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


void_void wrote:
Hello i have following exception while deploying my webapp (which uses rich faces).

    Exception while deploying the app : java.io.IOException: org.xml.sax.SAXParseException: The content of element type "filter" must match "(icon?,filter-name,display-name?,description?,filter-class,init-param*)".



my web.xml is as follows
view plaincopy to clipboardprint?

   1. <?xml version="1.0" encoding="UTF-8"?>  
   2. <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">  
   3. <web-app>  
   4.     <display-name>Aplication1</display-name>  
   5.     <listener>  
   6.         <listener-class>com.sun.faces.config.ConfigureListener</listener-class>  
   7.     </listener>  
   8.     <context-param>  
   9.         <param-name>com.sun.faces.verifyObjects</param-name>  
  10.         <param-value>true</param-value>  
  11.     </context-param>  
  12.     <context-param>  
  13.         <param-name>com.sun.faces.validateXml</param-name>  
  14.         <param-value>true</param-value>  
  15.     </context-param>z  
  16.     <context-param>  
  17.         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>  
  18.         <param-value>.xhtml</param-value>  
  19.     </context-param>  
  20.     <context-param>  
  21.         <param-name>facelets.DEVELOPMENT</param-name>  
  22.         <param-value>false</param-value>  
  23.     </context-param>  
  24.     <context-param>  
  25.         <param-name>facelets.SKIP_COMMENTS</param-name>  
  26.         <param-value>true</param-value>  
  27.     </context-param>  
  28.     <context-param>  
  29.         <param-name>contextConfigLocation</param-name>  
  30.         <param-value>/WEB-INF/applicationContext.xml</param-value>  
  31.     </context-param>  
  32.     <listener>  
  33.         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
  34.     </listener>  
  35.      
  36.       <filter>  
  37.         <display-name>RichFaces Filter</display-name>  
  38.         <filter-name>richfaces</filter-name>  
  39.         <filter-class>org.ajax4jsf.Filter</filter-class>  
  40.     </filter>  
  41.     <filter-mapping>  
  42.         <filter-name>richfaces</filter-name>  
  43.         <servlet-name>Faces Servlet</servlet-name>  
  44.         <dispatcher>FORWARD</dispatcher>  
  45.         <dispatcher>REQUEST</dispatcher>  
  46.         <dispatcher>INCLUDE</dispatcher>  
  47.     </filter-mapping>  
  48.    
  49.    
  50.    
  51.    
  52.     <context-param>  
  53.         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>  
  54.         <param-value>client</param-value>  
  55.     </context-param>  
  56.     <context-param>  
  57.         <param-name>org.richfaces.SKIN</param-name>  
  58.         <param-value>DEFAULT</param-value>  
  59.     </context-param>  
  60.      <listener>  
  61.         <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>  
  62.     </listener>  
  63.    
  64.    
  65.     <servlet>  
  66.         <servlet-name>Faces Servlet</servlet-name>  
  67.         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>  
  68.         <load-on-startup>1</load-on-startup>  
  69.     </servlet>  
  70.     <servlet>  
  71.         <servlet-name>dispatcher</servlet-name>  
  72.         <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>  
  73.         <load-on-startup>2</load-on-startup>  
  74.     </servlet>  
  75.     <servlet-mapping>  
  76.         <servlet-name>Faces Servlet</servlet-name>  
  77.         <url-pattern>*.jsf</url-pattern>  
  78.     </servlet-mapping>  
  79.     <servlet-mapping>  
  80.         <servlet-name>dispatcher</servlet-name>  
  81.         <url-pattern>*.htm</url-pattern>  
  82.     </servlet-mapping>  
  83.     <welcome-file-list>  
  84.         <welcome-file>TemplateClients/forward.jsp</welcome-file>  
  85.     </welcome-file-list>  
  86.     <error-page>  
  87.         <exception-type>javax.faces.application.ViewExpiredException</exception-type>  
  88.         <location>/TemplateClients/LogoutPage.jsf</location>  
  89.     </error-page>  
  90.     <error-page>  
  91.         <error-code>404</error-code>  
  92.         <location>/TemplateClients/Error404.jsf</location>  
  93.     </error-page>  
  94.     <error-page>  
  95.         <error-code>500</error-code>  
  96.         <location>/TemplateClients/Error500.jsf</location>  
  97.     </error-page>  
  98.     <error-page>  
  99.         <error-code>503</error-code>  
 100.         <location>/TemplateClients/Error503.jsf</location>  
 101.     </error-page>  
 102.     <error-page>  
 103.         <exception-type>java.lang.exception</exception-type>  
 104.         <location>/TemplateClients/LogoutPage.xhtml</location>  
 105.     </error-page>  
 106.     <error-page>  
 107.         <exception-type>java.net.UnknownHostException</exception-type>  
 108.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
 109.     </error-page>  
 110.     <error-page>  
 111.         <exception-type>javax.el.ELException</exception-type>  
 112.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
 113.     </error-page>  
 114.     </web-app>  


it is getting deployed in glassfishV3 prelude in rest all the app. server it is giving the mentioned exception(jetty,jboss,glassfishV2)

Re: Deployment Exception

by Bill Shannon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This doesn't seem to have anything to do with JavaMail...


void_void wrote:

> Hello i have following exception while deploying my webapp (which uses rich
> faces).
>
>     Exception while deploying the app : java.io.IOException:
> org.xml.sax.SAXParseException: The content of element type "filter" must
> match
> "(icon?,filter-name,display-name?,description?,filter-class,init-param*)".
>
>
>
> my web.xml is as follows
> view plaincopy to clipboardprint?
>
>    1. <?xml version="1.0" encoding="UTF-8"?>  
>    2. <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">  
>    3. <web-app>  
>    4.     <display-name>Aplication1</display-name>  
>    5.     <listener>  
>    6.        
> <listener-class>com.sun.faces.config.ConfigureListener</listener-class>  
>    7.     </listener>  
>    8.     <context-param>  
>    9.         <param-name>com.sun.faces.verifyObjects</param-name>  
>   10.         <param-value>true</param-value>  
>   11.     </context-param>  
>   12.     <context-param>  
>   13.         <param-name>com.sun.faces.validateXml</param-name>  
>   14.         <param-value>true</param-value>  
>   15.     </context-param>z  
>   16.     <context-param>  
>   17.         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>  
>   18.         <param-value>.xhtml</param-value>  
>   19.     </context-param>  
>   20.     <context-param>  
>   21.         <param-name>facelets.DEVELOPMENT</param-name>  
>   22.         <param-value>false</param-value>  
>   23.     </context-param>  
>   24.     <context-param>  
>   25.         <param-name>facelets.SKIP_COMMENTS</param-name>  
>   26.         <param-value>true</param-value>  
>   27.     </context-param>  
>   28.     <context-param>  
>   29.         <param-name>contextConfigLocation</param-name>  
>   30.         <param-value>/WEB-INF/applicationContext.xml</param-value>  
>   31.     </context-param>  
>   32.     <listener>  
>   33.        
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
>   34.     </listener>  
>   35.      
>   36.       <filter>  
>   37.         <display-name>RichFaces Filter</display-name>  
>   38.         <filter-name>richfaces</filter-name>  
>   39.         <filter-class>org.ajax4jsf.Filter</filter-class>  
>   40.     </filter>  
>   41.     <filter-mapping>  
>   42.         <filter-name>richfaces</filter-name>  
>   43.         <servlet-name>Faces Servlet</servlet-name>  
>   44.         <dispatcher>FORWARD</dispatcher>  
>   45.         <dispatcher>REQUEST</dispatcher>  
>   46.         <dispatcher>INCLUDE</dispatcher>  
>   47.     </filter-mapping>  
>   48.    
>   49.    
>   50.    
>   51.    
>   52.     <context-param>  
>   53.         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>  
>   54.         <param-value>client</param-value>  
>   55.     </context-param>  
>   56.     <context-param>  
>   57.         <param-name>org.richfaces.SKIN</param-name>  
>   58.         <param-value>DEFAULT</param-value>  
>   59.     </context-param>  
>   60.      <listener>  
>   61.        
> <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>  
>   62.     </listener>  
>   63.    
>   64.    
>   65.     <servlet>  
>   66.         <servlet-name>Faces Servlet</servlet-name>  
>   67.         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>  
>   68.         <load-on-startup>1</load-on-startup>  
>   69.     </servlet>  
>   70.     <servlet>  
>   71.         <servlet-name>dispatcher</servlet-name>  
>   72.        
> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>  
>   73.         <load-on-startup>2</load-on-startup>  
>   74.     </servlet>  
>   75.     <servlet-mapping>  
>   76.         <servlet-name>Faces Servlet</servlet-name>  
>   77.         <url-pattern>*.jsf</url-pattern>  
>   78.     </servlet-mapping>  
>   79.     <servlet-mapping>  
>   80.         <servlet-name>dispatcher</servlet-name>  
>   81.         <url-pattern>*.htm</url-pattern>  
>   82.     </servlet-mapping>  
>   83.     <welcome-file-list>  
>   84.         <welcome-file>TemplateClients/forward.jsp</welcome-file>  
>   85.     </welcome-file-list>  
>   86.     <error-page>  
>   87.        
> <exception-type>javax.faces.application.ViewExpiredException</exception-type>  
>   88.         <location>/TemplateClients/LogoutPage.jsf</location>  
>   89.     </error-page>  
>   90.     <error-page>  
>   91.         <error-code>404</error-code>  
>   92.         <location>/TemplateClients/Error404.jsf</location>  
>   93.     </error-page>  
>   94.     <error-page>  
>   95.         <error-code>500</error-code>  
>   96.         <location>/TemplateClients/Error500.jsf</location>  
>   97.     </error-page>  
>   98.     <error-page>  
>   99.         <error-code>503</error-code>  
>  100.         <location>/TemplateClients/Error503.jsf</location>  
>  101.     </error-page>  
>  102.     <error-page>  
>  103.         <exception-type>java.lang.exception</exception-type>  
>  104.         <location>/TemplateClients/LogoutPage.xhtml</location>  
>  105.     </error-page>  
>  106.     <error-page>  
>  107.         <exception-type>java.net.UnknownHostException</exception-type>  
>  108.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
>  109.     </error-page>  
>  110.     <error-page>  
>  111.         <exception-type>javax.el.ELException</exception-type>  
>  112.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
>  113.     </error-page>  
>  114.     </web-app>  
>
>
> it is getting deployed in glassfishV3 prelude in rest all the app. server it
> is giving the mentioned exception(jetty,jboss,glassfishV2)

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: Deployment Exception

by Fehmi Can SAGLAM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

it is about the order of tags.  you had better use 2_4.xsd

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

and the order of tags must match:
context-params, servlets, servlet-mappings, filters, filter-mappings,
error-pages...

it may also work with 2.3


void_void wrote On 03-06-2009 17:55:

> Hello i have following exception while deploying my webapp (which uses rich
> faces).
>
>     Exception while deploying the app : java.io.IOException:
> org.xml.sax.SAXParseException: The content of element type "filter" must
> match
> "(icon?,filter-name,display-name?,description?,filter-class,init-param*)".
>
>
>
> my web.xml is as follows
> view plaincopy to clipboardprint?
>
>    1. <?xml version="1.0" encoding="UTF-8"?>  
>    2. <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">  
>    3. <web-app>  
>    4.     <display-name>Aplication1</display-name>  
>    5.     <listener>  
>    6.        
> <listener-class>com.sun.faces.config.ConfigureListener</listener-class>  
>    7.     </listener>  
>    8.     <context-param>  
>    9.         <param-name>com.sun.faces.verifyObjects</param-name>  
>   10.         <param-value>true</param-value>  
>   11.     </context-param>  
>   12.     <context-param>  
>   13.         <param-name>com.sun.faces.validateXml</param-name>  
>   14.         <param-value>true</param-value>  
>   15.     </context-param>z  
>   16.     <context-param>  
>   17.         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>  
>   18.         <param-value>.xhtml</param-value>  
>   19.     </context-param>  
>   20.     <context-param>  
>   21.         <param-name>facelets.DEVELOPMENT</param-name>  
>   22.         <param-value>false</param-value>  
>   23.     </context-param>  
>   24.     <context-param>  
>   25.         <param-name>facelets.SKIP_COMMENTS</param-name>  
>   26.         <param-value>true</param-value>  
>   27.     </context-param>  
>   28.     <context-param>  
>   29.         <param-name>contextConfigLocation</param-name>  
>   30.         <param-value>/WEB-INF/applicationContext.xml</param-value>  
>   31.     </context-param>  
>   32.     <listener>  
>   33.        
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
>   34.     </listener>  
>   35.      
>   36.       <filter>  
>   37.         <display-name>RichFaces Filter</display-name>  
>   38.         <filter-name>richfaces</filter-name>  
>   39.         <filter-class>org.ajax4jsf.Filter</filter-class>  
>   40.     </filter>  
>   41.     <filter-mapping>  
>   42.         <filter-name>richfaces</filter-name>  
>   43.         <servlet-name>Faces Servlet</servlet-name>  
>   44.         <dispatcher>FORWARD</dispatcher>  
>   45.         <dispatcher>REQUEST</dispatcher>  
>   46.         <dispatcher>INCLUDE</dispatcher>  
>   47.     </filter-mapping>  
>   48.    
>   49.    
>   50.    
>   51.    
>   52.     <context-param>  
>   53.         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>  
>   54.         <param-value>client</param-value>  
>   55.     </context-param>  
>   56.     <context-param>  
>   57.         <param-name>org.richfaces.SKIN</param-name>  
>   58.         <param-value>DEFAULT</param-value>  
>   59.     </context-param>  
>   60.      <listener>  
>   61.        
> <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>  
>   62.     </listener>  
>   63.    
>   64.    
>   65.     <servlet>  
>   66.         <servlet-name>Faces Servlet</servlet-name>  
>   67.         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>  
>   68.         <load-on-startup>1</load-on-startup>  
>   69.     </servlet>  
>   70.     <servlet>  
>   71.         <servlet-name>dispatcher</servlet-name>  
>   72.        
> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>  
>   73.         <load-on-startup>2</load-on-startup>  
>   74.     </servlet>  
>   75.     <servlet-mapping>  
>   76.         <servlet-name>Faces Servlet</servlet-name>  
>   77.         <url-pattern>*.jsf</url-pattern>  
>   78.     </servlet-mapping>  
>   79.     <servlet-mapping>  
>   80.         <servlet-name>dispatcher</servlet-name>  
>   81.         <url-pattern>*.htm</url-pattern>  
>   82.     </servlet-mapping>  
>   83.     <welcome-file-list>  
>   84.         <welcome-file>TemplateClients/forward.jsp</welcome-file>  
>   85.     </welcome-file-list>  
>   86.     <error-page>  
>   87.        
> <exception-type>javax.faces.application.ViewExpiredException</exception-type>  
>   88.         <location>/TemplateClients/LogoutPage.jsf</location>  
>   89.     </error-page>  
>   90.     <error-page>  
>   91.         <error-code>404</error-code>  
>   92.         <location>/TemplateClients/Error404.jsf</location>  
>   93.     </error-page>  
>   94.     <error-page>  
>   95.         <error-code>500</error-code>  
>   96.         <location>/TemplateClients/Error500.jsf</location>  
>   97.     </error-page>  
>   98.     <error-page>  
>   99.         <error-code>503</error-code>  
>  100.         <location>/TemplateClients/Error503.jsf</location>  
>  101.     </error-page>  
>  102.     <error-page>  
>  103.         <exception-type>java.lang.exception</exception-type>  
>  104.         <location>/TemplateClients/LogoutPage.xhtml</location>  
>  105.     </error-page>  
>  106.     <error-page>  
>  107.         <exception-type>java.net.UnknownHostException</exception-type>  
>  108.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
>  109.     </error-page>  
>  110.     <error-page>  
>  111.         <exception-type>javax.el.ELException</exception-type>  
>  112.         <location>/TemplateClients/ErrorServerDown.xhtml</location>  
>  113.     </error-page>  
>  114.     </web-app>  
>
> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun
> Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app>
> <display-name>Aplication1</display-name> <listener>
> <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
> </listener> <context-param>
> <param-name>com.sun.faces.verifyObjects</param-name>
> <param-value>true</param-value> </context-param> <context-param>
> <param-name>com.sun.faces.validateXml</param-name>
> <param-value>true</param-value> </context-param>z <context-param>
> <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
> <param-value>.xhtml</param-value> </context-param> <context-param>
> <param-name>facelets.DEVELOPMENT</param-name>
> <param-value>false</param-value> </context-param> <context-param>
> <param-name>facelets.SKIP_COMMENTS</param-name>
> <param-value>true</param-value> </context-param> <context-param>
> <param-name>contextConfigLocation</param-name>
> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param>
> <listener>
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
> </listener> <filter> <display-name>RichFaces Filter</display-name>
> <filter-name>richfaces</filter-name>
> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping>
> <filter-name>richfaces</filter-name> <servlet-name>Faces
> Servlet</servlet-name> <dispatcher>FORWARD</dispatcher>
> <dispatcher>REQUEST</dispatcher> <dispatcher>INCLUDE</dispatcher>
> </filter-mapping> <context-param>
> <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
> <param-value>client</param-value> </context-param> <context-param>
> <param-name>org.richfaces.SKIN</param-name>
> <param-value>DEFAULT</param-value> </context-param> <listener>
> <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
> </listener> <servlet> <servlet-name>Faces Servlet</servlet-name>
> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> <load-on-startup>1</load-on-startup> </servlet> <servlet>
> <servlet-name>dispatcher</servlet-name>
> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping>
> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern>
> </servlet-mapping> <servlet-mapping> <servlet-name>dispatcher</servlet-name>
> <url-pattern>*.htm</url-pattern> </servlet-mapping> <welcome-file-list>
> <welcome-file>TemplateClients/forward.jsp</welcome-file>
> </welcome-file-list> <error-page>
> <exception-type>javax.faces.application.ViewExpiredException</exception-type>
> <location>/TemplateClients/LogoutPage.jsf</location> </error-page>
> <error-page> <error-code>404</error-code>
> <location>/TemplateClients/Error404.jsf</location> </error-page>
> <error-page> <error-code>500</error-code>
> <location>/TemplateClients/Error500.jsf</location> </error-page>
> <error-page> <error-code>503</error-code>
> <location>/TemplateClients/Error503.jsf</location> </error-page>
> <error-page> <exception-type>java.lang.exception</exception-type>
> <location>/TemplateClients/LogoutPage.xhtml</location> </error-page>
> <error-page> <exception-type>java.net.UnknownHostException</exception-type>
> <location>/TemplateClients/ErrorServerDown.xhtml</location> </error-page>
> <error-page> <exception-type>javax.el.ELException</exception-type>
> <location>/TemplateClients/ErrorServerDown.xhtml</location> </error-page>
> </web-app>
>
> it is getting deployed in glassfishV3 prelude in rest all the app. server it
> is giving the mentioned exception(jetty,jboss,glassfishV2)
>  

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".