This discussion is archived
2 Replies Latest reply: Jan 23, 2008 1:42 AM by 807581 RSS

"__TimerPool not found" in clustered mode

807581 Newbie
Currently Being Moderated
Hi,

I keep hitting on the following error when running in clustered mode:
[#|2007-12-28T08:12:42.500+0800|WARNING|sun-appserver9.1|javax.enterprise.system.container.ejb.entity.lifecycle|_ThreadID=57;_ThreadName=p: thread-pool-1; w: 36;_RequestID=ec45ba68-d015-4dbc-9565-93d9c55b8621;|JDO74004: Bean 'TimerMigrationBean' method setEntityContext:
com.sun.jdo.api.persistence.support.JDOFatalUserException: JDO76604: JNDI lookup for cmp-resource 'jdbc/__TimerPool' failed.
NestedException: javax.naming.NameNotFoundException: __TimerPool not found
        at com.sun.jdo.spi.persistence.support.sqlstore.ejb.SunContainerHelper.getPersistenceManagerFactory(SunContainerHelper.java:330)
        at com.sun.jdo.spi.persistence.support.sqlstore.ejb.CMPHelper.getPersistenceManagerFactory(CMPHelper.java:218)
        at com.sun.ejb.containers.TimerMigrationBean649625130_ConcreteImpl.jdoLookupPersistenceManagerFactory(TimerMigrationBean649625130_ConcreteImpl.java:243)
        at com.sun.ejb.containers.TimerMigrationBean649625130_ConcreteImpl.setEntityContext(TimerMigrationBean649625130_ConcreteImpl.java:194)
        at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(EntityContainer.java:2515)
        at com.sun.ejb.containers.util.pool.NonBlockingPool.preload(NonBlockingPool.java:280)
        at com.sun.ejb.containers.util.pool.NonBlockingPool.doResize(NonBlockingPool.java:507)
        at com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.run(NonBlockingPool.java:605)
        at com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.service(NonBlockingPool.java:597)
        at com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:75)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)

NestedStackTrace:
javax.naming.NameNotFoundException: __TimerPool not found
        at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:216)
        at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:188)
        at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:192)
        at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:74)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:398)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.jdo.spi.persistence.support.sqlstore.ejb.SunContainerHelper.getPersistenceManagerFactory(SunContainerHelper.java:299)
        at com.sun.jdo.spi.persistence.support.sqlstore.ejb.CMPHelper.getPersistenceManagerFactory(CMPHelper.java:218)
        at com.sun.ejb.containers.TimerMigrationBean649625130_ConcreteImpl.jdoLookupPersistenceManagerFactory(TimerMigrationBean649625130_ConcreteImpl.java:243)
        at com.sun.ejb.containers.TimerMigrationBean649625130_ConcreteImpl.setEntityContext(TimerMigrationBean649625130_ConcreteImpl.java:194)
        at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(EntityContainer.java:2515)
        at com.sun.ejb.containers.util.pool.NonBlockingPool.preload(NonBlockingPool.java:280)
        at com.sun.ejb.containers.util.pool.NonBlockingPool.doResize(NonBlockingPool.java:507)
        at com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.run(NonBlockingPool.java:605)
        at com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.service(NonBlockingPool.java:597)
        at com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:75)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
When I check on the __TimerPool JDBC resource under the Resources tab, it's enabled for the default "server" target. I cannot add my cluster configuration as one of the targets as it would give me an error "Creation or deletion of the system resource reference jdbc/__TimerPool is not allowed.".

Can I know what does this error mean and what are its implications? I guess how to fix it would be pretty useful as well :)

Thanks!
Wong