Well, from your logs you didn't deploy Cineplex but BookTest isn't it? can you share a webapp?
however you don't need spring to access your bean everywhere, a lookup with openejb local initial factory set in properties is often enough. - Romain 2011/7/6 lamle <[email protected]> > The strange thing is that I can call applicationContext.getbean("") from a > junit test but not in any class in my servlet. It looks like that spring > bean has not been initialized. But it is said in classPathApplication bean: > > Loads the EJBs from the classpath just as when embedding OpenEJB via > the org.apache.openejb.client.LocalInitialContextFactory. All the > discovered > EJBs are imported into this context and available for injection here. > > I dont want to use @EJB annotation to get the local/remote ejb in my > servlet. I want to get it from spring so that I can call it everywhere in > my > web app. > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/how-to-get-local-remote-ejb-stored-in-spring-from-a-servlet-openejb-spring-integration-tp3647869p3647934.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
