Same way as any other webapp. Build a WAR and deploy it.
The biggest difference is that as of Tomcat 6, you don't have JEE compliance, only J2EE. So you have to explicitly include a jsf-impl library in the WAR along with the jsf-api library. A JEE-compliant server would only require the jsf-api library, since the jsf-impl is part of the server itself.
An IDE is no substitute for an Intelligent Developer.
Joined: Apr 19, 2008
I took this code out of O'Reilly's book posted online at:
Oct 1, 2009 12:53:09 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servletjsp threw exception
java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
Smitha H Rao
Joined: Oct 20, 2007
It looks like you are not having tomahawk.jar in your WebApp/WEB-INF/lib directory.