jboss - Random "comp not bound" error (JBoss4/EJB3) -
i have odd error. ear deployed fine. error appears during jobs (like background tasks) , complains not being able instantiate components used fine seconds earlier same code. nothing expired (session or transaction) far can tell, time when appears random , can't reproduce error each time.
jboss4.2.3, jdk7, seam 2.2.0ga, ejb3.
javax.ejb.ejbexception: org.jboss.seam.instantiationexception: not instantiate seam component: translationservice @ org.jboss.ejb3.tx.ejb3txpolicy.handleexceptioninourtx(ejb3txpolicy.java:63) @ org.jboss.aspects.tx.txpolicy.invokeinourtx(txpolicy.java:83) @ org.jboss.aspects.tx.txinterceptor$requiresnew.invoke(txinterceptor.java:253) @ org.jboss.aop.joinpoint.methodinvocation.invokenext(methodinvocation.java:101) @ org.jboss.aspects.tx.txpropagationinterceptor.invoke(txpropagationinterceptor.java:95) @ org.jboss.aop.joinpoint.methodinvocation.invokenext(methodinvocation.java:101) @ org.jboss.ejb3.stateless.statelessinstanceinterceptor.invoke(statelessinstanceinterceptor.java:62) @ org.jboss.aop.joinpoint.methodinvocation.invokenext(methodinvocation.java:101) @ org.jboss.aspects.security.authenticationinterceptor.invoke(authenticationinterceptor.java:77) @ org.jboss.ejb3.security.ejb3authenticationinterceptor.invoke(ejb3authenticationinterceptor.java:110) @ org.jboss.aop.joinpoint.methodinvocation.invokenext(methodinvocation.java:101) @ org.jboss.ejb3.encpropagationinterceptor.invoke(encpropagationinterceptor.java:46) @ org.jboss.aop.joinpoint.methodinvocation.invokenext(methodinvocation.java:101) @ org.jboss.ejb3.asynchronous.asynchronousinterceptor.invoke(asynchronousinterceptor.java:106) @ org.jboss.aop.joinpoint.methodinvocation.invokenext(methodinvocation.java:101) @ org.jboss.ejb3.stateless.statelesscontainer.localinvoke(statelesscontainer.java:240) @ org.jboss.ejb3.stateless.statelesscontainer.localinvoke(statelesscontainer.java:210) @ org.jboss.ejb3.stateless.statelesslocalproxy.invoke(statelesslocalproxy.java:84) @ $proxy1264.runintransaction(unknown source) @ sun.reflect.generatedmethodaccessor4421.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:601) @ org.jboss.seam.util.reflections.invoke(reflections.java:22) @ org.jboss.seam.intercept.rootinvocationcontext.proceed(rootinvocationcontext.java:32) @ org.jboss.seam.intercept.clientsideinterceptor$1.proceed(clientsideinterceptor.java:76) @ org.jboss.seam.intercept.seaminvocationcontext.proceed(seaminvocationcontext.java:56) @ org.jboss.seam.intercept.rootinterceptor.invoke(rootinterceptor.java:107) @ org.jboss.seam.intercept.clientsideinterceptor.invoke(clientsideinterceptor.java:54) ... caused by: javax.naming.namenotfoundexception: comp not bound @ org.jnp.server.namingserver.getbinding(namingserver.java:529) @ org.jnp.server.namingserver.getbinding(namingserver.java:537) @ org.jnp.server.namingserver.getobject(namingserver.java:543) @ org.jnp.server.namingserver.lookup(namingserver.java:267) @ org.jnp.interfaces.namingcontext.lookup(namingcontext.java:667) @ org.jnp.interfaces.namingcontext.lookup(namingcontext.java:627) @ javax.naming.initialcontext.lookup(initialcontext.java:411) @ org.jboss.seam.component.instantiatesessionbean(component.java:1400) @ org.jboss.seam.component.instantiate(component.java:1364) @ org.jboss.seam.component.newinstance(component.java:2122) ... 300 more
sometimes error changes to: caused by: javax.naming.namenotfoundexception: comp.ejb3 not bound
Comments
Post a Comment