Works, but I am not completely sure why.

I moved faces-config.xml, resources.xml, beans.xml and web.xml to WEB-INF
(not WEB-INF/classes). Only persistence.xml is in META-INF. Remove the
unnecessary resource from tomee.xml too, which is really nice.

I removed all my own jsf stuff (beans, pages etc) and fixed the calculator
example to match perfectly the example (xhtml etc).

The tomee/conf/web.xml is changed because Eclipse uses the tomcat
installation instead of .metadata/.../tmp0. Now, thanks to you, I understand
where all those "extra errors" come from, but I think I really don't have to
care about them...

Well, of course they annoy me a lot. Therefore I tried to run the app on
TomEE 1.5.1 PLUS SNAPSHOT 102 so that it could use workspace metadata (tmpX
installation directory). The server configuration is unchanged from original
zip apart from adding mysql, guava etc. jars into its lib. What might have I
forgotten because I get this error during startup and the server won't
start:

SEVERE: Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mchaka]
org.apache.openejb.OpenEJBException: A container of type MANAGED must be
declared in the configuration file for bean: mchaka.Comp

The entire startup log is at here: http://pastebin.com/epBYUHfL .



--
View this message in context: 
http://openejb.979440.n4.nabble.com/JSF-not-starting-on-TomEE-1-5-1-plus-tp4659143p4659276.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to