i used a custom database and check the one used was the correct one (debugging ;))
i remove the properties from new InitialContext() (no need in tomee, openejb and tomcat jndi trees are unified) *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/8 Jerome <[email protected]> > > Oh my god -_-' > > Did you create the database or you linked it to one of yours ? > What did you put in the prop file ? > > From the servlet you call the method in the main and it returns well the > list ? > > Lucky you :D > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Adapt-ejb-run-on-java-app-to-web-app-tp4658420p4658466.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
