Tomahawk runs on any JSF implementation. The jboss server currently
comes with Sun's JSF implementation (jsf-api.jar and jsf-impl.jar) and
that should be enough to run Tomahawk.

Richard Yee schrieb:
> Nuno,
> You need the myFaces-api.jar and myFaces-impl.jar
>
> -R
>
> Nuno Sousa wrote:
>
>> Do I need to use MyFaces api & imp jars? Because i was using Trinidad
>> without them
>>
>> Thanks for any help
>>
>> On Tue, Apr 15, 2008 at 10:36 AM, Nuno Sousa <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>     Hi,
>>
>>     I'm using seam+richfaces+trinidad+tomahawk and i'm having this
>>     Exception:
>>
>>     (...)
>>     10:07:18,059 INFO  [Component] Component: treeTable, scope: EVENT,
>>     type: JAVA_BEAN, class:
>>     org.apache.myfaces.tomahawk.treetable.TreeTable
>>     10:07:18,063 INFO  [Contexts] starting up:
>>     org.jboss.seam.security.facesSecurityEvents
>>     10:07:18,064 INFO  [Initialization] done initializing Seam
>>     10:07:18,065 ERROR [[/seamRFProj]] Exception starting filter
>>     MyFacesExtensionsFilter
>>     java.lang.ClassNotFoundException:
>>     org.apache.myfaces.webapp.filter.ExtensionsFilter
>>         at
>>    
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
>>
>>         at
>>    
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
>>
>>         at
>>    
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)
>>
>>         at
>>    
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
>>
>>         at
>>    
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>>
>>         at
>>    
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3722)
>>
>>         at
>>    
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)
>>
>>         at
>>    
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
>>
>>         at
>>    
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
>>         at
>>    
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>>    
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>>     (...)
>>
>>
>>     I configured web.xml like the page says:
>>     (..)
>>         <!-- Tomahawk -->
>>         <context-param>
>>            
>> <param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
>>               
>> <param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value>
>>
>>         </context-param>
>>
>>         <filter>
>>             <filter-name>MyFacesExtensionsFilter</filter-name>
>>               
>> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
>>
>>             <init-param>
>>                 <param-name>maxFileSize</param-name>
>>                 <param-value>20m</param-value>
>>             </init-param>
>>         </filter>
>>
>>         <!-- extension mapping for adding <script/>, <link/>, and
>>     other resource tags to JSF-pages  -->
>>         <filter-mapping>
>>             <filter-name>MyFacesExtensionsFilter</filter-name>
>>             <!-- servlet-name must match the name of your
>>     javax.faces.webapp.FacesServlet entry -->
>>             <servlet-name>Faces Servlet</servlet-name>
>>         </filter-mapping>
>>
>>         <!-- extension mapping for serving page-independent resources
>>     (javascript, stylesheets, images, etc.)  -->
>>         <filter-mapping>
>>             <filter-name>MyFacesExtensionsFilter</filter-name>
>>             <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
>>         </filter-mapping>
>>
>>         <!-- extension mapping for adding <script/>, <link/>, and
>>     other resource tags to JSF-pages  -->
>>         <filter-mapping>
>>             <filter-name>MyFacesExtensionsFilter</filter-name>
>>             <url-pattern>*.jsf</url-pattern>
>>         </filter-mapping>
>>     (...)
>>
>>     Any idea?
>>
>>     Thanks
>>
>>     --     Ping is just a number timming is everything
>>
>>
>>
>> -- 
>> Ping is just a number timming is everything 
>
>

Reply via email to