我都嚴格遵守本文件中提到的所有的點,但是當我跑我的應用程序,它 在Tomcat 6.0.29運行時報告以下問題問題而遷移到RichFaces的4
(我有Mozzara 2.0.4和classpath中包含的jstl1.1)。
應用完美的作品上的RichFaces 3.3.3
它是JSF 2應用
重度:上下文[/ E360]啓動失敗由於先前的錯誤 2011年6月10日1:48 :05 PM com.sun.faces.config.ConfigureListener contextDestroyed SEVERE:嘗試拆除Mojarra運行時時出現意外異常 java.lang.NullPointerException at org.richfaces.application.CacheProvider.release(CacheProvider。 java:86) at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:19) at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:100) at org.richfaces.application.InitializationListener。的onStop(InitializationListener.java:144)
<?xml version="1.0" encoding="UTF-8"?>
<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">
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<init-param>
<param-name>createTempFiles</param-name>
<param-value>false</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<context-param>
<param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>#{ThemeBean.theme}</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
<param-value>enable</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
但即使在那之後的過濾器配置,它說同樣的事情:試圖推倒鑽嘴魚科運行時意外異常 – 2011-06-12 04:34:57