Hi

2010/8/27 fionalee <[email protected]>

>
> Thanks Leonardo,
>
> I've downloaded the jar file and put in my /web-inf/lib folder. But I get
> the following error:
> java.lang.IllegalArgumentException
>        at java.util.EventObject.<init>(EventObject.java:47)
>        at javax.faces.event.SystemEvent.<init>(SystemEvent.java:67)
>        at
> javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:69)
>        at
>
> com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:256)
>        at
> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:245)
>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
>        at
> com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1661)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:937)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
>        at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3810)
>        at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
>        at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
> ....
>
> Could you tell me how I should config my application? And also, does this
> build work with JSF2 or I need Myfaces 2 to make it to work?
>
>
That one seems to be a problem not related to tomahawk. No special
configuration is required. You can
see an application running with jsf 2 and tomahawk here:

http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/simple20/

Tomahawk works with both myfaces and mojarra (ri). Remember if you use
facelets, in jsf 2 this is included
in myfaces/ri jars.

best regards,

Leonardo Uribe

Reply via email to