I'm using WebsphereApplicationServer 8.5.5.9
Java version is 1.7 But JSF is 2.0 CDI 1.0 (but this is an open question)
So I have to use OminiFaces 1.8.3 ?
Change are not possible:
How to force WebSphere AS 8 to use a specific JSF implementation?
How to check (replace) the MyFaces version used by Websphere 8.5
I use Omnifaces in a lot of case but...
I have to write some Async Servlet
but i had
SRVE8010E: The current request does not support asynchronous servlet processing. Explanation One of the servlets or filters in the request does not support asynchronous servlets. Action Do not use asynchronous servlets or enable asynchronous processing for all the servlets and filters in the chain by adding the async-supported element to the component definitions.
Looking at the various filter; I had mine and the CacheControlFilter but removin one by one them I obtain the above error only with CacheControlFilter so I think that this filter can't be used.
<filter>
<filter-name>noCache</filter-name>
<filter-class>org.omnifaces.filter.CacheControlFilter</filter-class>
</filter>
<filter>
<filter-name>cache10seconds</filter-name>
<filter-class>org.omnifaces.filter.CacheControlFilter</filter-class>
<init-param>
<param-name>expires</param-name>
<param-value>10s</param-value>
</init-param>
</filter>
<filter>
<filter-name>cache6hours</filter-name>
<filter-class>org.omnifaces.filter.CacheControlFilter</filter-class>
<init-param>
<param-name>expires</param-name>
<param-value>6h</param-value>
</init-param>
</filter>
<filter>
<filter-name>cache1days</filter-name>
<filter-class>org.omnifaces.filter.CacheControlFilter</filter-class>
<init-param>
<param-name>expires</param-name>
<param-value>1d</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>noCache</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>cache6hours</filter-name>
<url-pattern>*.js</url-pattern>
<url-pattern>*.css</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>cache1days</filter-name>
<url-pattern>*.png</url-pattern>
<url-pattern>*.jpg</url-pattern>
</filter-mapping>