Help! Getting
parki Sep 12, 2007 11:16 PMHello - any help appreciated.
I'm running JBoss4.2.1GA on a Mac (Java 1.5.0_07). I have a simple web app running, and I'm trying to get the richfaces stuff working - I'm following this doc:
http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html_single/index.html
When I start up JBoss with this war file deployed, no problem.
If I add in the following (as per the doc):
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
REQUEST
FORWARD
INCLUDE
</filter-mapping>
then I get an error on startup of JBoss:
...
...
23:03:33,748 INFO [A] Bound to JNDI name: queue/A
23:03:33,751 INFO [B] Bound to JNDI name: queue/B
23:03:33,754 INFO [C] Bound to JNDI name: queue/C
...
23:03:35,065 INFO [TomcatDeployer] deploy, ctxPath=/testservlet, warUrl=.../tmp/deploy/tmp58278testservlet-exp.war/
23:03:35,329 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
23:03:35,338 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.SKIN=blueSky}
23:03:35,339 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
23:03:35,629 ERROR [[/testservlet]] Exception starting filter richfaces
java.lang.IllegalStateException: Filter mapping for chameleon filter richfaces do not contain wilcard prefix or suffix
at org.ajax4jsf.webapp.WebXml.setFilterName(WebXml.java:408)
at org.ajax4jsf.webapp.WebXml.init(WebXml.java:164)
...
...
The jar files 'richfaces-api-3.1.0.jar', 'richfaces-impl-3.1.0.jar', 'richfaces-ui-3.1.0.jar', 'commons-beanutils.jar', 'commons-digester-1.8.jar' are bundled with the war file.
Any ideas?
Help appreciated.
Cheers,
parki...