did you check what was in WEB-INF/lib? think myfaces could be here for historical reason and is no more required
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/7 slobo <mch...@otit.fi>: > Hi, > > Thank you for the tip, but that setting was ok. This is a TomEE+ project > with Eclipse from the very beginning. > > I tried newer jars, do not work either, and some odd context.xml-hacks > mentioned elsewhere, but they didn't solve the problem either, quite the > contrary. > > The effective content of my server.xml is this: > --- > <?xml version="1.0" encoding="UTF-8"?> > <Server port="8005" shutdown="SHUTDOWN"> > > <Listener className="org.apache.tomee.catalina.ServerListener"/> > <Listener SSLEngine="on" > className="org.apache.catalina.core.AprLifecycleListener"/> > <Listener className="org.apache.catalina.core.JasperListener"/> > <Listener > className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/> > <Listener > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/> > <Listener > className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/> > <GlobalNamingResources> > <Resource auth="Container" description="User database that can be > updated and saved" > factory="org.apache.catalina.users.MemoryUserDatabaseFactory" > name="UserDatabase" pathname="conf/tomcat-users.xml" > type="org.apache.catalina.UserDatabase"/> > </GlobalNamingResources> > <Service name="Catalina"> > <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" > redirectPort="8443"/> > <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/> > <Engine defaultHost="localhost" name="Catalina"> > <Realm className="org.apache.catalina.realm.LockOutRealm"> > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" > resourceName="UserDatabase"/> > </Realm> > <Host appBase="webapps" autoDeploy="true" name="localhost" > unpackWARs="true"> > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="logs" pattern="%h %l %u %t "%r" %s %b" > prefix="localhost_access_log." suffix=".txt"/> > <Context docBase="mchaka" path="/mchaka" reloadable="true" > source="org.eclipse.jst.jee.server:mchaka"/></Host> > </Engine> > </Service> > </Server> > --- > > David Blevins-2 wrote >> Double check your >> <tomee.home> >> /conf/server.xml file and ensure it has the TomEE ServerListener: >> >> >> <Server port="8005" shutdown="SHUTDOWN"> >> > >> >> <Listener className="org.apache.tomee.catalina.ServerListener" /> >> I've seen it be the case where a project was originally setup with plain >> Tomcat and then Tomcat deleted from the file system and TomEE unpacked in >> the same directory. The trick is the server.xml in the project will be >> from Tomcat and not TomEE. This is actually just fine, we only add the >> one listener, so generally adding that listener to the server.xml being >> used in the project is enough. > > Yours, > Mikko > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/JSF-not-starting-on-TomEE-1-5-1-plus-tp4659143p4659189.html > Sent from the OpenEJB User mailing list archive at Nabble.com.