continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1956) javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory after it has been closed
Date Fri, 31 Oct 2008 14:11:51 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152573#action_152573
] 

Wendy Smoak commented on CONTINUUM-1956:
----------------------------------------

Can you provide more information on this?  Did you stop Continuum with 'bin/continuum stop'?
 Was the queue empty when you stopped it?

Possibly related to CONTINUUM-1421 (Admin task to shut down cleanly)

> javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory after it has
been closed
> --------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1956
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1956
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Continuum-1.3-SNAPSHOT, rev. 708424, Linux, MySQL, LDAP
>            Reporter: Jimmy Conway
>            Priority: Minor
>
> 2008-10-31 02:00:04,451 [Thread-16] INFO  continuum  - Stopping Continuum.
> 2008-10-31 02:00:04,451 [Thread-16] INFO  continuum  - Continuum stopped.
> 2008-10-31 02:00:05,104 [pool-1-thread-1] WARN  action#update-working-directory-from-scm
 - Error while updating the code for project: 'DemoPHP', id: '18' to '/home/continuum/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/18'
with branch/tag .
> 2008-10-31 02:00:05,104 [pool-1-thread-1] WARN  action#update-working-directory-from-scm
 - Command output: 
> 2008-10-31 02:00:05,104 [pool-1-thread-1] WARN  action#update-working-directory-from-scm
 - Provider message: The svn command failed.
> 2008-10-31 02:00:05,104 [pool-1-thread-1] ERROR action#update-working-directory-from-scm
 - Can't access or use PersistenceManagerFactory after it has been closed.
> javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory after it has
been closed.
> 	at org.jpox.AbstractPersistenceManagerFactory.assertIsOpen(AbstractPersistenceManagerFactory.java:141)
> 	at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:148)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:176)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:171)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:110)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:102)
> 	at org.apache.continuum.dao.ProjectDaoImpl.getProject(ProjectDaoImpl.java:58)
> 	at org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:144)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:435)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.updateWorkingDirectory(DefaultBuildController.java:407)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:133)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
> 	at java.lang.Thread.run(Thread.java:675)
> 2008-10-31 02:00:05,110 [Thread-18] ERROR taskQueueExecutor#build-project  - Error executing
task
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: javax.jdo.JDOUserException:
Can't access or use PersistenceManagerFactory after it has been closed.
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:130)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> Caused by: javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory
after it has been closed.
> 	at org.jpox.AbstractPersistenceManagerFactory.assertIsOpen(AbstractPersistenceManagerFactory.java:141)
> 	at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:148)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:176)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:171)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:110)
> 	at org.apache.continuum.dao.ProjectDaoImpl.getProjectWithAllDetails(ProjectDaoImpl.java:261)
> 	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:120)
> 	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:244)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:198)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
> 	at java.lang.Thread.run(Thread.java:675)
> 2008-10-31 02:00:05,121 [pool-1-thread-1] INFO  buildController  - Initializing build
> 2008-10-31 02:00:05,124 [Thread-18] ERROR taskQueueExecutor#build-project  - Error executing
task
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: javax.jdo.JDOUserException:
Can't access or use PersistenceManagerFactory after it has been closed.
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:130)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> Caused by: javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory
after it has been closed.
> 	at org.jpox.AbstractPersistenceManagerFactory.assertIsOpen(AbstractPersistenceManagerFactory.java:141)
> 	at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:148)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:176)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:171)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:110)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:102)
> 	at org.apache.continuum.dao.ProjectDaoImpl.getProject(ProjectDaoImpl.java:58)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.initializeBuildContext(DefaultBuildController.java:345)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:113)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
> 	at java.lang.Thread.run(Thread.java:675)
> 2008-10-31 02:00:05,125 [pool-1-thread-1] INFO  buildController  - Initializing build
> 2008-10-31 02:00:05,128 [Thread-18] ERROR taskQueueExecutor#build-project  - Error executing
task
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: javax.jdo.JDOUserException:
Can't access or use PersistenceManagerFactory after it has been closed.
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:130)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> Caused by: javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory
after it has been closed.
> 	at org.jpox.AbstractPersistenceManagerFactory.assertIsOpen(AbstractPersistenceManagerFactory.java:141)
> 	at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:148)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:176)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:171)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:110)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:102)
> 	at org.apache.continuum.dao.ProjectDaoImpl.getProject(ProjectDaoImpl.java:58)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.initializeBuildContext(DefaultBuildController.java:345)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:113)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
> 	at java.lang.Thread.run(Thread.java:675)
> 2008-10-31 02:00:05,129 [pool-1-thread-1] INFO  buildController  - Initializing build
> 2008-10-31 02:00:05,139 [Thread-18] ERROR taskQueueExecutor#build-project  - Error executing
task
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: javax.jdo.JDOUserException:
Can't access or use PersistenceManagerFactory after it has been closed.
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:130)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> Caused by: javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory
after it has been closed.
> 	at org.jpox.AbstractPersistenceManagerFactory.assertIsOpen(AbstractPersistenceManagerFactory.java:141)
> 	at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:148)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:176)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:171)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:110)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:102)
> 	at org.apache.continuum.dao.ProjectDaoImpl.getProject(ProjectDaoImpl.java:58)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.initializeBuildContext(DefaultBuildController.java:345)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:113)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
> 	at java.lang.Thread.run(Thread.java:675)
> 2008-10-31 02:00:05,140 [pool-1-thread-1] INFO  buildController  - Initializing build
> 2008-10-31 02:00:05,141 [Thread-18] ERROR taskQueueExecutor#build-project  - Error executing
task
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: javax.jdo.JDOUserException:
Can't access or use PersistenceManagerFactory after it has been closed.
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:130)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> Caused by: javax.jdo.JDOUserException: Can't access or use PersistenceManagerFactory
after it has been closed.
> 	at org.jpox.AbstractPersistenceManagerFactory.assertIsOpen(AbstractPersistenceManagerFactory.java:141)
> 	at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:148)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:176)
> 	at org.apache.continuum.dao.AbstractDao.getPersistenceManager(AbstractDao.java:171)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:110)
> 	at org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:102)
> 	at org.apache.continuum.dao.ProjectDaoImpl.getProject(ProjectDaoImpl.java:58)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.initializeBuildContext(DefaultBuildController.java:345)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:113)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
> 	at java.lang.Thread.run(Thread.java:675)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message