Hi,

a singleton can depend on singletons at startup but not a stateful i think.

i sent you a pull request switching to openjpa and myfaces

i replaced jetty by tomee plugin (run mvn clean package tomee:run)

and here is the pull request https://github.com/alexaverbuch/order/pull/1

- Romain


2012/5/22 alexaverbuch <[email protected]>

> I'm trying to get this
> http://docs.oracle.com/javaee/6/tutorial/doc/giqst.html JPA + EJB +
> Facelets
> example  running in TomEE. Because the sample uses EclipseLink, I
> downloaded
> EclipseLink and copied eclipselink/jlib/eclipselink.jar into the TomEE/lib
> directory.
>
> Question 1:
> Is this the only file I need to copy over?
>
> Question 2:
> I'm getting the following warning (followed by an exception) when I try to
> run the program.
> *WARNING: Injection: No such property 'order.ejb.RequestBean/em' in class
> order.ejb.RequestBean*
> For some reason injection of the Entity Manager doesn't seem to be working.
> Anyone have any idea why?
>
> I've written a much more detailed explanation of the problem on Stack
> Overflow, here:
>
> http://stackoverflow.com/questions/10693905/tomee-eclipselink-entitymanager-injection-not-working
>
> http://stackoverflow.com/questions/10693905/tomee-eclipselink-entitymanager-injection-not-working
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/EntityManager-injection-not-working-tp4649755.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to