I thing it is something related to EJB3 configuration, you should check your JNDI tree and try to get the interface by using InitialContext = new InitialContext instead of @EJB annotattion, because exception means something is going wrong during initialization InitialContext.
2007/10/7, Pavel Volkovitskiy <[EMAIL PROTECTED]>: > Hello! > > i'm trying to use ejb3 beans from my tap5 app > > right now i'm doing: > mtx/racer/pages/contract/AddContract.java: > ... > @EJB > private SellerFacadeLocal sellerFacade; > > and then > public StreamResponse onSubmit() { > ... > Seller s = sellerFacade.getSeller(code, dealer, comment); > > there Seller - entity, sellerFacade - stateless bean and > sellerFacadeLocal - interface > but this doesn't work, i'm getting "javax.naming.NotContextException: > geronimo/env/mtx.racer.beans.SellerFacade/entityManager" > > so, i'm doing something wrong... > > any tips or tap5&ejb3 examples? > > -- > Pavel > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]