[jboss-user] [EJB3] - Re: Random NameNotFoundException in jboss 6.1-SNAPSHOT

legae do-not-reply at jboss.com
Fri Apr 29 09:37:45 EDT 2011


legae [http://community.jboss.org/people/legae] created the discussion

"Re: Random NameNotFoundException in jboss 6.1-SNAPSHOT"

To view the discussion, visit: http://community.jboss.org/message/602714#602714

--------------------------------------------------------------
@javax.ejb.Startup
@javax.ejb.Singleton
public class DependsService {
 
   @javax.ejb.EJB
   @org.jboss.ejb3.annotation.Depends("jboss.j2ee:ear=SimpleTests.ear,jar=SimpleTests.jar,service=EJB3,name=ZBean")
   ZBeanLocal zBean;
 
   @PostConstruct
   public void create(){
       System.out.println("ZBeanLocal: "+zBean);
       List<ZEntity> list = zBean.findAll();
       System.out.println("list: "+list.size());
   }
 
}


@javax.ejb.Local
public interface ZBeanLocal {
    public List<ZEntity> findAll();
}


@javax.ejb.Stateless
public class ZBean  implements ZBeanLocal{
 
    @PersistenceContext(unitName = "TestPU")
    private EntityManager em = null;
 
    @Resource(mappedName = "java:/JmsXA")
    javax.jms.ConnectionFactory connFactory;
    @Resource(mappedName = "queue/TestQueue")
    javax.jms.Queue  q1;
 
 
    public List<ZEntity> findAll(){        
        Query q = em.createNamedQuery("findAll");
        return (List<ZEntity>)q.getResultList(); 
    }
}

hornetq-jms.xml
<queue name="TestQueue">
        <entry name="queue/TestQueue"/>
    </queue>

Application was written for jboss 4.2.3 and now is porting to jboss 6.1-SNAPSHOT because problems with loading queues were occuring  http://community.jboss.org/message/600965#600965 http://community.jboss.org/message/600965#600965 on jboss 6.0.0Final
Now when DependsService starts I see in logs:
15:20:04,501 INFO  [STDOUT] ZBeanLocal: Proxy to jboss.j2ee:ear=SimpleTests.ear,jar=SimpleTests.jar,name=ZBean,service=EJB3 implementing [interface co
m.test.beans.ZBeanLocal]
but when findAll method is called exception is thrown.

10:48:26,197 ERROR [CMTTxInterceptor] javax.ejb.EJBTransactionRolledbackException: javax.naming.NameNotFoundException: com.test.beans.ZBean not bound

10:48:26,204 INFO  [STDOUT] 10:48:26,201 ERROR [DependsService]

10:48:26,205 INFO  [STDOUT] javax.ejb.EJBTransactionRolledbackException: javax.naming.NameNotFoundException: com.test.beans.ZBean not bound

10:48:26,209 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:148)

10:48:26,211 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:227)

10:48:26,214 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(CMTTxInterceptor.java:353)

10:48:26,216 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209)

10:48:26,218 INFO  [STDOUT]     at org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52)

10:48:26,220 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,222 INFO  [STDOUT]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

10:48:26,223 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,225 INFO  [STDOUT]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

10:48:26,228 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,230 INFO  [STDOUT]     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)

10:48:26,232 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,234 INFO  [STDOUT]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)

10:48:26,235 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,238 INFO  [STDOUT]     at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)

10:48:26,241 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,243 INFO  [STDOUT]     at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)



10:48:26,247 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,249 INFO  [STDOUT]     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)

10:48:26,252 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,254 INFO  [STDOUT]     at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)

10:48:26,257 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,260 INFO  [STDOUT]     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:333)

10:48:26,262 INFO  [STDOUT]     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:390)

10:48:26,265 INFO  [STDOUT]     at sun.reflect.GeneratedMethodAccessor437.invoke(Unknown Source)

10:48:26,266 INFO  [STDOUT]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

10:48:26,268 INFO  [STDOUT]     at java.lang.reflect.Method.invoke(Method.java:597)

10:48:26,270 INFO  [STDOUT]     at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalContainerInvocation.invokeTarget(

SessionLocalProxyInvocationHandler.java:184)

10:48:26,274 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)

10:48:26,276 INFO  [STDOUT]     at org.jboss.ejb3.async.impl.interceptor.AsynchronousClientInterceptor.invoke(AsynchronousClientInterceptor.java:143)

10:48:26,279 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,281 INFO  [STDOUT]     at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler$LocalInvokableContextHandler.invoke(Se

ssionLocalProxyInvocationHandler.java:159)

10:48:26,285 INFO  [STDOUT]     at $Proxy258.invoke(Unknown Source)

10:48:26,288 INFO  [STDOUT]     at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBas

e.java:185)

10:48:26,291 INFO  [STDOUT]     at $Proxy302.findAll(Unknown Source)

10:48:26,294 INFO  [STDOUT]     at com.test.service.DependsService.create(DependsService.java:25)

10:48:26,297 INFO  [STDOUT]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

10:48:26,299 INFO  [STDOUT]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

10:48:26,302 INFO  [STDOUT]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

10:48:26,304 INFO  [STDOUT]     at java.lang.reflect.Method.invoke(Method.java:597)

10:48:26,306 INFO  [STDOUT]     at org.jboss.ejb3.interceptors.aop.LifecycleCallbackBeanMethodInterceptor.invoke(LifecycleCallbackBeanMethodIntercepto

r.java:69)

10:48:26,310 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,313 INFO  [STDOUT]     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.ja

va:56)

10:48:26,320 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,322 INFO  [STDOUT]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

10:48:26,325 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,327 INFO  [STDOUT]     at org.jboss.ejb3.singleton.aop.impl.ConstructionInvocationContextAdapter.proceed(ConstructionInvocationContextAdapter

.java:106)

10:48:26,331 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:247)

10:48:26,332 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:392)

10:48:26,334 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:211)

10:48:26,336 INFO  [STDOUT]     at org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52)

10:48:26,338 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,340 INFO  [STDOUT]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

10:48:26,343 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,345 INFO  [STDOUT]     at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)



10:48:26,348 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,350 INFO  [STDOUT]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:90)

10:48:26,352 INFO  [STDOUT]     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_19778444.invoke(Invocatio

nContextInterceptor_z_setup_19778444.java)

10:48:26,355 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,357 INFO  [STDOUT]     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)

10:48:26,359 INFO  [STDOUT]     at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:80)

10:48:26,362 INFO  [STDOUT]     at org.jboss.ejb3.singleton.aop.impl.AOPBasedSingletonContainer.invokeCallback(AOPBasedSingletonContainer.java:1059)

10:48:26,364 INFO  [STDOUT]     at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:1396)

10:48:26,366 INFO  [STDOUT]     at org.jboss.ejb3.singleton.aop.impl.AOPBasedSingletonContainer.postConstruct(AOPBasedSingletonContainer.java:760)

10:48:26,367 INFO  [STDOUT]     at org.jboss.ejb3.singleton.impl.container.SingletonEJBInstanceManagerImpl.create(SingletonEJBInstanceManagerImpl.java

:133)

10:48:26,371 INFO  [STDOUT]     at org.jboss.ejb3.singleton.impl.container.SingletonEJBInstanceManagerImpl.get(SingletonEJBInstanceManagerImpl.java:15

2)

10:48:26,375 INFO  [STDOUT]     at org.jboss.ejb3.singleton.deployer.StartupSingletonInitiator.start(StartupSingletonInitiator.java:84)

10:48:26,378 INFO  [STDOUT]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

10:48:26,381 INFO  [STDOUT]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

10:48:26,383 INFO  [STDOUT]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

10:48:26,387 INFO  [STDOUT]     at java.lang.reflect.Method.invoke(Method.java:597)

10:48:26,390 INFO  [STDOUT]     at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)

10:48:26,395 INFO  [STDOUT]     at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)

10:48:26,398 INFO  [STDOUT]     at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

10:48:26,401 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelController

ContextAction.java:257)

10:48:26,405 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

10:48:26,407 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextA

ction.java:125)

10:48:26,411 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.j

ava:72)

10:48:26,415 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)

10:48:26,417 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

10:48:26,418 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

10:48:26,422 INFO  [STDOUT]     at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction

.java:62)

10:48:26,426 INFO  [STDOUT]     at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

10:48:26,428 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

10:48:26,432 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

10:48:26,435 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

10:48:26,437 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

10:48:26,439 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

10:48:26,441 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

10:48:26,443 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

10:48:26,445 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)

10:48:26,447 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)

10:48:26,450 INFO  [STDOUT]     at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182)

10:48:26,453 INFO  [STDOUT]     at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)

10:48:26,455 INFO  [STDOUT]     at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:

63)

10:48:26,459 INFO  [STDOUT]     at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

10:48:26,461 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

10:48:26,463 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)

10:48:26,465 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)

10:48:26,467 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571)

10:48:26,470 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603)

10:48:26,472 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)

10:48:26,474 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

10:48:26,477 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

10:48:26,479 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

10:48:26,481 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

10:48:26,484 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

10:48:26,486 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

10:48:26,489 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)

10:48:26,491 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)

10:48:26,493 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)

10:48:26,496 INFO  [STDOUT]     at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)

10:48:26,498 INFO  [STDOUT]     at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)

10:48:26,500 INFO  [STDOUT]     at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)

10:48:26,504 INFO  [STDOUT]     at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java

:143)

10:48:26,508 INFO  [STDOUT]     at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151)

10:48:26,510 INFO  [STDOUT]     at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94)

10:48:26,514 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

10:48:26,516 INFO  [STDOUT]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

10:48:26,518 INFO  [STDOUT]     at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction

.java:62)

10:48:26,522 INFO  [STDOUT]     at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

10:48:26,524 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

10:48:26,527 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

10:48:26,529 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

10:48:26,532 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

10:48:26,534 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

10:48:26,536 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

10:48:26,539 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

10:48:26,541 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)

10:48:26,543 INFO  [STDOUT]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)

10:48:26,546 INFO  [STDOUT]     at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.

java:190)

10:48:26,549 INFO  [STDOUT]     at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87)

10:48:26,551 INFO  [STDOUT]     at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215)

10:48:26,554 INFO  [STDOUT]     at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159)

10:48:26,557 INFO  [STDOUT]     at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:11

2)

10:48:26,560 INFO  [STDOUT]     at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87)

10:48:26,563 INFO  [STDOUT]     at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91)

10:48:26,565 INFO  [STDOUT]     at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.ja

va:132)

10:48:26,569 INFO  [STDOUT]     at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.ja

va:56)

10:48:26,573 INFO  [STDOUT]     at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)

10:48:26,575 INFO  [STDOUT]     at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)

10:48:26,577 INFO  [STDOUT]     at java.lang.Thread.run(Thread.java:619)

10:48:26,579 INFO  [STDOUT] Caused by: org.jboss.injection.manager.spi.InjectionException: javax.naming.NameNotFoundException: com.test.beans.ZBean not bound

10:48:26,583 INFO  [STDOUT]     at org.jboss.injection.injector.EEInjector.inject(EEInjector.java:86)

10:48:26,585 INFO  [STDOUT]     at org.jboss.injection.manager.core.DefaultInjectionContext.proceed(DefaultInjectionContext.java:58)

10:48:26,588 INFO  [STDOUT]     at org.jboss.injection.manager.core.DefaultInjectionManager.inject(DefaultInjectionManager.java:58)

10:48:26,590 INFO  [STDOUT]     at org.jboss.injection.manager.core.DefaultInjectionManager.inject(DefaultInjectionManager.java:64)

10:48:26,592 INFO  [STDOUT]     at org.jboss.ejb3.injection.InjectionInvocation.invokeTarget(InjectionInvocation.java:140)

10:48:26,595 INFO  [STDOUT]     at org.jboss.ejb3.injection.InjectionInvocation.invokeNext(InjectionInvocation.java:125)

10:48:26,597 INFO  [STDOUT]     at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)



10:48:26,601 INFO  [STDOUT]     at org.jboss.ejb3.injection.InjectionInvocation.invokeNext(InjectionInvocation.java:116)

10:48:26,603 INFO  [STDOUT]     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)

10:48:26,605 INFO  [STDOUT]     at org.jboss.ejb3.injection.InjectionInvocation.invokeNext(InjectionInvocation.java:116)

10:48:26,607 INFO  [STDOUT]     at org.jboss.ejb3.EJBContainer.injectBeanContext(EJBContainer.java:1363)

10:48:26,610 INFO  [STDOUT]     at org.jboss.ejb3.stateless.StatelessContainer.createBeanContext(StatelessContainer.java:139)

10:48:26,613 INFO  [STDOUT]     at org.jboss.ejb3.pool.AbstractPool.createBeanContext(AbstractPool.java:94)

10:48:26,615 INFO  [STDOUT]     at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:81)

10:48:26,618 INFO  [STDOUT]     at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:62)

10:48:26,620 INFO  [STDOUT]     at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:57)

10:48:26,622 INFO  [STDOUT]     at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:54)

10:48:26,624 INFO  [STDOUT]     at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:86)

10:48:26,626 INFO  [STDOUT]     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:58)

10:48:26,629 INFO  [STDOUT]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

10:48:26,631 INFO  [STDOUT]     at org.jboss.ejb3.core.context.SessionInvocationContextAdapter.proceed(SessionInvocationContextAdapter.java:95)

10:48:26,634 INFO  [STDOUT]     at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:223)

10:48:26,636 INFO  [STDOUT]     ... 141 more

10:48:26,639 INFO  [STDOUT] Caused by: javax.naming.NameNotFoundException: com.test.beans.ZBean not bound

10:48:26,641 INFO  [STDOUT]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)

10:48:26,644 INFO  [STDOUT]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)

10:48:26,646 INFO  [STDOUT]     at org.jnp.server.NamingServer.getObject(NamingServer.java:785)

10:48:26,649 INFO  [STDOUT]     at org.jnp.server.NamingServer.lookup(NamingServer.java:396)

10:48:26,651 INFO  [STDOUT]     at org.jnp.server.NamingServer.lookup(NamingServer.java:399)

10:48:26,653 INFO  [STDOUT]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)

10:48:26,655 INFO  [STDOUT]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:835)

10:48:26,657 INFO  [STDOUT]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)

10:48:26,659 INFO  [STDOUT]     at javax.naming.InitialContext.lookup(InitialContext.java:392)

10:48:26,661 INFO  [STDOUT]     at org.jboss.injection.injector.EEInjector.lookup(EEInjector.java:152)
 10:48:26,663 INFO  [STDOUT]     at org.jboss.injection.injector.EEInjector.inject(EEInjector.java:132)
 10:48:26,666 INFO  [STDOUT]     at org.jboss.injection.injector.EEInjector.inject(EEInjector.java:81)
 10:48:26,668 INFO  [STDOUT]     ... 162 more 


When I remove from ZBean queue loading everything is ok. Additionally when my application is small everything is ok, but when I try to deploy a huge application above exception is thrown
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/602714#602714]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110429/aed8eabb/attachment-0001.html 


More information about the jboss-user mailing list