think the easier will be for you to share a project with a test (can be an url to call) showing it fails
the only constraint is: if it doesnt shout (no exception etc...) it means it works *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* 2013/5/17 Caroline <[email protected]> > @Romain: > > 1) Ok i fixed my pom.xml > 2) I see. I apologize for not having a clue (yet). > I replaced the body of refreshEJB() with: > AreeInput input = (AreeInput) new > InitialContext().lookup("java:comp/env/plaininput"); > > and annotated the PlainInput as: > @Stateless > @EJB(beanInterface = AreeInput.class, beanName = "beanPlainInput", name = > "plaininput") > public class PlainInput implements AreeInput{..} > > I get javax.ejb.EJBException: javax.naming.NameNotFoundException: Name > [comp/env/plaininput] is not bound in this Context. Unable to find [comp]. > > I'll read up on how the .lookup("java:comp/env/...") urls work, right now. > > @John: > No, I want this webapp on my local TomEE to load a certain class (which is > an implementation of one of my webapp interfaces) from a jar I will put in > a > folder on my TomEE AFTER webapp deployment. > > I hope that's clear. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/EJBContainer-No-provider-definition-found-tp4663028p4663031.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
