Maybe post a log of what's happening at startup.  I would check to see if the
datasource you configured is actually being created successfully.  Can you
inject the datasource and use it directly to confirm it has been created?

Also what is your skepticism about JavaEE?  Are you happy with Java, just
not EE, or something else?  Maybe you're a fan of spring?  Historically alot
of people got turned off by jee by version 1 and 2 and alot of those people
went to spring.  ejb3 fixed up all the things that were wrong with the
previous versions and now with the availability of tomee, you can have a
super lightweight container to run things in.  I meet alot of spring users
that haven't looked at EJB since they got disillusioned by ejb2 and fat
containers (weblogic, websphere etc), they found spring and aren't aware of
the fact that jee + tomee now provides a compelling and in many ways better
option.

--
View this message in context: 
http://openejb.979440.n4.nabble.com/tomee-tryout-datasource-with-jpa-drives-me-crazy-tp4654667p4655218.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to