@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.

Reply via email to