[jboss-user] [EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3
ragavgomatam
do-not-reply at jboss.com
Tue Jan 1 10:18:22 EST 2008
Yes....Correct....When you deploy after the server is started, I get no ejb 3 errors....I still get errors but these are related to spring deployer being bound to jndi...I have shown the errors belo.w..I will post it at spring-ejb3 forums...
08:41,938 INFO [SpringInjectionInterceptor] Instantiating SpringInjectionInterceptor
| 08:45,375 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=Ejb3.ear,jar=Ejb3.jar,name=CalculatorBean,service=EJB3 with dependencies:
| 08:45,375 INFO [MCKernelAbstraction] and supplies:
| 08:45,375 INFO [MCKernelAbstraction] Class:com.ejb3.interfaces.Calculator
| 08:47,719 INFO [EJBContainer] STARTED EJB: com.ejb3.beans.CalculatorBean ejbName: CalculatorBean
| 08:48,203 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=Ejb3.ear,jar=Ejb3.jar,name=SayHelloBean,service=EJB3 with dependencies:
| 08:48,203 INFO [MCKernelAbstraction] and supplies:
| 08:48,203 INFO [MCKernelAbstraction] Class:com.ejb3.interfaces.SayHello
| 08:50,062 INFO [EJBContainer] STARTED EJB: com.ejb3.beans.SayHelloBean ejbName: SayHelloBean
| 08:50,828 INFO [NamedXmlApplicationContext] Refreshing org.jboss.spring.factory.NamedXmlApplicationContext at 142781b: display name [org.jboss.spring.factory.NamedXmlApplicationContext at 142781b]; startup date [Tue Jan 01 10:08:50 EST 2008]; root of context hierarchy
| 08:51,203 INFO [NamedXmlBeanDefinitionReader] Loading XML bean definitions from URL [vfsfile:/C:/jboss-5.0.0.Beta3/server/default/deploy/Ejb3.ear/spring-inject.jar/META-INF/jboss-spring.xml]
| 08:52,547 INFO [NamedXmlApplicationContext] Bean factory for application context [org.jboss.spring.factory.NamedXmlApplicationContext at 142781b]: org.springframework.beans.factory.support.DefaultListableBeanFactory at 1eb1b28
| 08:52,578 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory at 1eb1b28: defining beans [person]; root of factory hierarchy
| 08:52,891 INFO [TomcatDeployment] deploy, ctxPath=/ejb3, vfsUrl=Ejb3.ear/Ejb3.war
| 08:53,500 INFO [ContextLoaderPlugIn] ContextLoaderPlugIn for Struts ActionServlet 'action, module '': initialization started
| 08:53,516 INFO [[/ejb3]] Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
| 08:53,516 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext at 1578c50: display name [WebApplicationContext for namespace 'action-servlet']; startup date [Tue Jan 01 10:08:53 EST 2008]; root of context hierarchy
| 08:53,828 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-ejb3.xml]
| 08:54,000 INFO [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext at 1578c50]: org.springframework.beans.factory.support.DefaultListableBeanFactory at 15d7a6a
| 08:54,016 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory at 15d7a6a: defining beans [/home,ejbLocalIntf]; root of factory hierarchy
| 08:54,266 ERROR [STDERR] java.lang.RuntimeException: javax.naming.NameNotFoundException: spring-inject not bound
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:727)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.createBeanContext(StatefulContainer.java:103)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.pool.AbstractPool.createBeanContext(AbstractPool.java:130)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:79)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:58)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:113)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:351)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.createSession(StatefulContainer.java:296)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.session.SessionContainer.createSession(SessionContainer.java:457)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxyFactory.createProxy(StatefulLocalProxyFactory.java:148)
| 08:54,266 ERROR [STDERR] at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:55)
| 08:54,266 ERROR [STDERR] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
| 08:54,266 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1312)
| 08:54,266 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1329)
| 08:54,266 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:765)
| 08:54,266 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
| 08:54,266 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:392)
| 08:54,266 ERROR [STDERR] at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
| 08:54,266 ERROR [STDERR] at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
| 08:54,266 ERROR [STDERR] at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
| 08:54,266 ERROR [STDERR] at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
| 08:54,266 ERROR [STDERR] at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:93)
Alright Andy do we have any clues here ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116251#4116251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116251
More information about the jboss-user
mailing list