Access Keys:
Skip to content (Access Key - 0)

Community Forum Closure Notification

Adaptavist would like to extend our thanks to all of the forum visitors who have used the Adaptavist Community forums to post questions about our plugins.
In order to improve our plugin support, Adaptavist are upgrading the way that we deal with support queries. Since Monday the 25th February 2013, these forums were closed and will remain in read-only format. We will continue to deal with support queries via a contact form which will send all queries directly to our support engineers. If you have any questions or comments regarding this change, please reach out to us on plugin-support@adaptavist.com
Please keep a look out for our upcoming blogging area for updates and news on our plugins.

<< Back to Topics


Plugin Licensing Manager causes confluence to fail to start

Licensing Manager - Bug Report, made by Brett Ryan on Jun 14, 2011 02:13

Current Status: Awaiting Development

 

I first installed the PLM to allow the content formatting and rate plugins to work. All seemed fine after the first restart, then everything hit the fan about a day later.

What happened next was that Confluence got itself into a restart loop, there were over 1000 JAR files (ending in jar not .jar) in the confluence temp directory totalling over 1GB, I kept getting java.io.IOException: Too many open files reported in the log. My systems (Linux RHEL 5.5) ulimit was set to unlimited in this case.

I managed to restore from backup and remove the PLM, everything has been fine since.

PLM: 0.5.1, 0.6.1
Confluence: 3.5.5, 3.5.11
OS: Linux 2.6.18-92.1.22.el5
App Server: Apache Tomcat/6.0.32
JDK: Sun Microsystems Inc. 1.6.0_26

Please see the confluence log for what happens when Confluence is restarted after turning the PLM on, this was captured with PLM 0.6.1

Anyone else experienced this?

UPDATE: What is the status of this? I've provided logs and still nothing has been mentioned of a fix, this is getting extremely frustrating as nothing has been done. It's quite annoying to see that all adaptavist plugins suddenly require a beta plugin which has not been updated in quite some time.

I can't upgrade to confluence 4.x due to this bug, we will just have to drop the use of adaptavist plugins. Don't think we will ever consider an adaptavist pack in the future.


  1. Jun 14, 2011

    Jonathan Mort says:

    Hi Brett, That isn't something we have encountered before. I would be very inte...

    Hi Brett,

    That isn't something we have encountered before. I would be very interested in the log files produced during the problem. Please try again and email presales AT adaptavist.com or create an issue here https://tracker.adaptavist.com/browse/PRE with the logs attached.

    Jon

    1. Sep 20, 2011

      Brett Ryan says:

      The issue system does not allow me to create any tickets, please see my logs in ...

      The issue system does not allow me to create any tickets, please see my logs in my comment below.

    2. Sep 20, 2011

      Brett Ryan says:

      Test instance now completely screwed, if I can send logs I've got them now.

      Test instance now completely screwed, if I can send logs I've got them now.

  2. Jul 20, 2011

    Jeremy Wagor says:

    I have almost the exact same setup and have seen the same. PLM: 0.5.1 Confluence...

    I have almost the exact same setup and have seen the same.
    PLM: 0.5.1
    Confluence: 3.5.3
    OS: Linux 2.6.18-164.2.1.el5
    App Server: Apache Tomcat/6.0.32
    JDK: Sun Microsystems Inc. 1.6.0_17

    1. Sep 09, 2011

      Gareth Wilson says:

      Hi Jeremy and Brett - If you're interested, I have a pre-release of a new versio...

      Hi Jeremy and Brett - If you're interested, I have a pre-release of a new version of the PLM which you can try in your test environment to see if this avoids causing your prior issues.

      1. Sep 20, 2011

        Brett Ryan says:

        Sorry for not getting back sooner, I've just seen 0.6.1 come up in the updates a...

        Sorry for not getting back sooner, I've just seen 0.6.1 come up in the updates and will try this.

        My manager has asked me to prepare to get our site to 4.0. Can you give any indicator for when Adaptavist might have 4.0 support for your plugins? We only use bubbles.

      2. Sep 20, 2011

        Brett Ryan says:

        No go, went haywire again, log attached. 2011-09-20 15:39:27,919 INFO [Spring ...

        No go, went haywire again, log attached.

        2011-09-20 15:39:27,919 INFO [Spring executor 27] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.adaptavist.confluence.pageinfo
        2011-09-20 15:39:27,937 INFO [Spring executor 27] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.adaptavist.confluence.rate
        2011-09-20 15:39:27,943 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: checkforscaff; net.customware.confluence.plugin.scaffolding.actions.RedirectEditAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:27,944 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: alteditpage; com.atlassian.confluence.pages.actions.EditPageAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,094 INFO [Spring executor 27] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.adaptavist.confluence.bubbles
        2011-09-20 15:39:28,101 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: checkforscaff; net.customware.confluence.plugin.scaffolding.actions.RedirectEditAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,102 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: alteditpage; com.atlassian.confluence.pages.actions.EditPageAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,167 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: checkforscaff; net.customware.confluence.plugin.scaffolding.actions.RedirectEditAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,168 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: alteditpage; com.atlassian.confluence.pages.actions.EditPageAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,234 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: checkforscaff; net.customware.confluence.plugin.scaffolding.actions.RedirectEditAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,235 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: alteditpage; com.atlassian.confluence.pages.actions.EditPageAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,299 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: checkforscaff; net.customware.confluence.plugin.scaffolding.actions.RedirectEditAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:28,300 ERROR [Spring executor 27] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: alteditpage; com.atlassian.confluence.pages.actions.EditPageAction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:29,425 INFO [Spring executor 27] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'com.adaptavist.plm.plugin.plm-plugin': [].  Disabling...
        2011-09-20 15:39:29,426 INFO [Spring executor 27] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.adaptavist.plm.plugin.plm-plugin
        2011-09-20 15:39:36,006 ERROR [Spring executor 27] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Lock wait timeout exceeded; try restarting transaction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:36,008 ERROR [Spring executor 27] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:43,993 ERROR [Spring executor 27] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Lock wait timeout exceeded; try restarting transaction
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:43,994 ERROR [Spring executor 27] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        2011-09-20 15:39:44,001 ERROR [Spring executor 27] [plugin.osgi.factory.OsgiPlugin] onSpringContextFailed Unable to start the Spring context for plugin com.adaptavist.plm.plugin.plm-plugin-installer
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'plm-installer': Cannot create inner bean 'com.adaptavist.plm.installer.InstallerEntryPoint#2e0c532d' of type [com.adaptavist.plm.installer.InstallerEntryPoint] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.adaptavist.plm.installer.InstallerEntryPoint#2e0c532d' defined in URL [bundle://100.0:0/META-INF/spring/plugin-installer-context.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.atlassian.confluence.plugin.persistence.PluginData#18579458]; uncategorized SQLException for SQL []; SQL state [41000]; error code [1205]; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
        	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
        	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
        	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
        	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
        	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
        	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        	at java.lang.Thread.run(Thread.java:662)
        Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.adaptavist.plm.installer.InstallerEntryPoint#2e0c532d' defined in URL [bundle://100.0:0/META-INF/spring/plugin-installer-context.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.atlassian.confluence.plugin.persistence.PluginData#18579458]; uncategorized SQLException for SQL []; SQL state [41000]; error code [1205]; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
        	... 22 more
        Caused by: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.atlassian.confluence.plugin.persistence.PluginData#18579458]; uncategorized SQLException for SQL []; SQL state [41000]; error code [1205]; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:120)
        	at org.springframework.orm.hibernate.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:364)
        	at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:351)
        	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375)
        	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337)
        	at com.atlassian.confluence.setup.bandana.persistence.dao.hibernate.HibernateConfluenceBandanaRecordDao.getRecord(HibernateConfluenceBandanaRecordDao.java:48)
        	at com.atlassian.confluence.setup.bandana.ConfluenceDaoBandanaPersister.retrieve(ConfluenceDaoBandanaPersister.java:28)
        	at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy5.retrieve(Unknown Source)
        	at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:65)
        	at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32)
        	at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24)
        	at com.atlassian.confluence.plugin.BandanaPluginStateStore.load(BandanaPluginStateStore.java:29)
        	at com.atlassian.plugin.manager.DefaultPluginManager.getBuilder(DefaultPluginManager.java:1530)
        	at com.atlassian.plugin.manager.DefaultPluginManager.enablePluginState(DefaultPluginManager.java:1172)
        	at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyPluginEnabled(ConfluencePluginManager.java:91)
        	at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugins(DefaultPluginManager.java:1157)
        	at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugin(DefaultPluginManager.java:1167)
        	at com.atlassian.confluence.plugin.EventDispatchingPluginController.enablePlugin(EventDispatchingPluginController.java:50)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy12.enablePlugin(Unknown Source)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
        	at $Proxy151.enablePlugin(Unknown Source)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
        	at $Proxy151.enablePlugin(Unknown Source)
        	at com.adaptavist.plm.installer.DefaultBulkPluginControllerFactory$DefaultBulkPluginController.enableAll(DefaultBulkPluginControllerFactory.java:39)
        	at com.adaptavist.plm.installer.InstallerEntryPoint.perform(InstallerEntryPoint.java:51)
        	at com.adaptavist.plm.installer.InstallerEntryPoint.access$000(InstallerEntryPoint.java:14)
        	at com.adaptavist.plm.installer.InstallerEntryPoint$1.doInTransaction(InstallerEntryPoint.java:59)
        	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
        	at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88)
        	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
        	at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82)
        	at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
        	at $Proxy207.doInTransaction(Unknown Source)
        	at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
        	at $Proxy207.doInTransaction(Unknown Source)
        	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)
        	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
        	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
        	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy791.execute(Unknown Source)
        	at com.adaptavist.plm.installer.InstallerEntryPoint.afterPropertiesSet(InstallerEntryPoint.java:57)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        	... 27 more
        Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1072)
        	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3563)
        	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3495)
        	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
        	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
        	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2693)
        	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2102)
        	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2395)
        	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2313)
        	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2298)
        	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
        	at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
        	at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:462)
        	at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:436)
        	at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:37)
        	at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2447)
        	at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2433)
        	at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2390)
        	at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1819)
        	at net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1576)
        	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1541)
        	at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49)
        	at com.atlassian.confluence.setup.bandana.persistence.dao.hibernate.HibernateConfluenceBandanaRecordDao$1.doInHibernate(HibernateConfluenceBandanaRecordDao.java:56)
        	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)
        	... 115 more
        2011-09-20 15:39:44,006 ERROR [Spring executor 27] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.adaptavist.plm.plugin.plm-plugin-installer, config=osgibundle:/META-INF/spring/*.xml))
         -- referer: http://confluence-test.johnsands.com.au/plugins/servlet/upm | url: /rest/plugins/1.0/ | userName: admin
        org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'plm-installer': Cannot create inner bean 'com.adaptavist.plm.installer.InstallerEntryPoint#2e0c532d' of type [com.adaptavist.plm.installer.InstallerEntryPoint] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.adaptavist.plm.installer.InstallerEntryPoint#2e0c532d' defined in URL [bundle://100.0:0/META-INF/spring/plugin-installer-context.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.atlassian.confluence.plugin.persistence.PluginData#18579458]; uncategorized SQLException for SQL []; SQL state [41000]; error code [1205]; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
        	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
        	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
        	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
        	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
        	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
        	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        	at java.lang.Thread.run(Thread.java:662)
        Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.adaptavist.plm.installer.InstallerEntryPoint#2e0c532d' defined in URL [bundle://100.0:0/META-INF/spring/plugin-installer-context.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.atlassian.confluence.plugin.persistence.PluginData#18579458]; uncategorized SQLException for SQL []; SQL state [41000]; error code [1205]; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
        	... 22 more
        Caused by: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.atlassian.confluence.plugin.persistence.PluginData#18579458]; uncategorized SQLException for SQL []; SQL state [41000]; error code [1205]; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:120)
        	at org.springframework.orm.hibernate.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:364)
        	at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:351)
        	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375)
        	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337)
        	at com.atlassian.confluence.setup.bandana.persistence.dao.hibernate.HibernateConfluenceBandanaRecordDao.getRecord(HibernateConfluenceBandanaRecordDao.java:48)
        	at com.atlassian.confluence.setup.bandana.ConfluenceDaoBandanaPersister.retrieve(ConfluenceDaoBandanaPersister.java:28)
        	at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy5.retrieve(Unknown Source)
        	at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:65)
        	at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32)
        	at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24)
        	at com.atlassian.confluence.plugin.BandanaPluginStateStore.load(BandanaPluginStateStore.java:29)
        	at com.atlassian.plugin.manager.DefaultPluginManager.getBuilder(DefaultPluginManager.java:1530)
        	at com.atlassian.plugin.manager.DefaultPluginManager.enablePluginState(DefaultPluginManager.java:1172)
        	at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyPluginEnabled(ConfluencePluginManager.java:91)
        	at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugins(DefaultPluginManager.java:1157)
        	at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugin(DefaultPluginManager.java:1167)
        	at com.atlassian.confluence.plugin.EventDispatchingPluginController.enablePlugin(EventDispatchingPluginController.java:50)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy12.enablePlugin(Unknown Source)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
        	at $Proxy151.enablePlugin(Unknown Source)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
        	at $Proxy151.enablePlugin(Unknown Source)
        	at com.adaptavist.plm.installer.DefaultBulkPluginControllerFactory$DefaultBulkPluginController.enableAll(DefaultBulkPluginControllerFactory.java:39)
        	at com.adaptavist.plm.installer.InstallerEntryPoint.perform(InstallerEntryPoint.java:51)
        	at com.adaptavist.plm.installer.InstallerEntryPoint.access$000(InstallerEntryPoint.java:14)
        	at com.adaptavist.plm.installer.InstallerEntryPoint$1.doInTransaction(InstallerEntryPoint.java:59)
        	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
        	at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88)
        	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
        	at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82)
        	at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
        	at $Proxy207.doInTransaction(Unknown Source)
        	at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
        	at $Proxy207.doInTransaction(Unknown Source)
        	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)
        	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
        	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
        	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy791.execute(Unknown Source)
        	at com.adaptavist.plm.installer.InstallerEntryPoint.afterPropertiesSet(InstallerEntryPoint.java:57)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        	... 27 more
        Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
        	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1072)
        	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3563)
        	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3495)
        	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
        	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
        	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2693)
        	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2102)
        	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2395)
        	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2313)
        	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2298)
        	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
        	at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
        	at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:462)
        	at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:436)
        	at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:37)
        	at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2447)
        	at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2433)
        	at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2390)
        	at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1819)
        	at net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1576)
        	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1541)
        	at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49)
        	at com.atlassian.confluence.setup.bandana.persistence.dao.hibernate.HibernateConfluenceBandanaRecordDao$1.doInHibernate(HibernateConfluenceBandanaRecordDao.java:56)
        	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)
        	... 115 more
        
      3. Sep 20, 2011

        Brett Ryan says:

        Also, again, now another 114MB sitting in the TEMP directory. $ ls -halS /data...

        Also, again, now another 114MB sitting in the TEMP directory.

        $ ls -halS /data/confluence/temp/spool* ; du -csh /data/confluence/temp/spool-*|tail -n 1
        -rw-rw-r-- 1 confluence confluence  24M Sep 20 15:00 /data/confluence/temp/spool-5320152673305387486.tmp
        -rw-rw-r-- 1 confluence confluence  24M Sep 20 14:52 /data/confluence/temp/spool-6538437743839568764.tmp
        -rw-rw-r-- 1 confluence confluence  24M Sep 20 15:39 /data/confluence/temp/spool-9003878368019565665.tmp
        -rw-rw-r-- 1 confluence confluence  17M Sep 20 15:39 /data/confluence/temp/spool-7949635821147231168.tmp
        -rw-rw-r-- 1 confluence confluence 4.1M Sep 20 15:39 /data/confluence/temp/spool-2872375482256069259.tmp
        -rw-rw-r-- 1 confluence confluence 3.6M Sep 20 15:39 /data/confluence/temp/spool-5216900305953036707.tmp
        -rw-rw-r-- 1 confluence confluence 2.2M Sep 20 15:39 /data/confluence/temp/spool-5866400952521211991.tmp
        -rw-rw-r-- 1 confluence confluence 2.2M Sep 20 15:39 /data/confluence/temp/spool-894866442872600897.tmp
        -rw-rw-r-- 1 confluence confluence 1.8M Sep 20 15:39 /data/confluence/temp/spool-7407675978536230235.tmp
        -rw-rw-r-- 1 confluence confluence 1.8M Sep 20 15:39 /data/confluence/temp/spool-227861614291872152.tmp
        -rw-rw-r-- 1 confluence confluence 1.4M Sep 20 15:39 /data/confluence/temp/spool-5627743619894873549.tmp
        -rw-rw-r-- 1 confluence confluence 1.2M Sep 20 15:39 /data/confluence/temp/spool-8555949158051758372.tmp
        -rw-rw-r-- 1 confluence confluence 1.1M Sep 20 15:39 /data/confluence/temp/spool-136766153171176121.tmp
        -rw-rw-r-- 1 confluence confluence 977K Sep 20 15:39 /data/confluence/temp/spool-4053603922544462581.tmp
        -rw-rw-r-- 1 confluence confluence 850K Sep 20 15:39 /data/confluence/temp/spool-6408798725535299015.tmp
        -rw-rw-r-- 1 confluence confluence 842K Sep 20 15:39 /data/confluence/temp/spool-6250974144807432175.tmp
        -rw-rw-r-- 1 confluence confluence 823K Sep 20 15:39 /data/confluence/temp/spool-3674106617657342084.tmp
        -rw-rw-r-- 1 confluence confluence 823K Sep 20 15:39 /data/confluence/temp/spool-5612514536730914170.tmp
        -rw-rw-r-- 1 confluence confluence 810K Sep 20 15:39 /data/confluence/temp/spool-7842044089045112350.tmp
        -rw-rw-r-- 1 confluence confluence 701K Sep 20 15:39 /data/confluence/temp/spool-4414110698960043383.tmp
        -rw-rw-r-- 1 confluence confluence 625K Sep 20 15:39 /data/confluence/temp/spool-6530267945984209014.tmp
        -rw-rw-r-- 1 confluence confluence 573K Sep 20 15:39 /data/confluence/temp/spool-351766293530432400.tmp
        -rw-rw-r-- 1 confluence confluence 505K Sep 20 15:39 /data/confluence/temp/spool-5366975097244959649.tmp
        -rw-rw-r-- 1 confluence confluence 412K Sep 20 15:39 /data/confluence/temp/spool-7253215254790279555.tmp
        -rw-rw-r-- 1 confluence confluence 363K Sep 20 15:39 /data/confluence/temp/spool-6044147144250748922.tmp
        -rw-rw-r-- 1 confluence confluence 356K Sep 20 15:39 /data/confluence/temp/spool-8041458624808398869.tmp
        -rw-rw-r-- 1 confluence confluence 337K Sep 20 15:39 /data/confluence/temp/spool-3147376665044646958.tmp
        -rw-rw-r-- 1 confluence confluence 291K Sep 20 15:39 /data/confluence/temp/spool-4455634786670286779.tmp
        -rw-rw-r-- 1 confluence confluence 237K Sep 20 15:39 /data/confluence/temp/spool-2812507737464193.tmp
        -rw-rw-r-- 1 confluence confluence 206K Sep 20 15:39 /data/confluence/temp/spool-4647472127595907701.tmp
        -rw-rw-r-- 1 confluence confluence 204K Sep 20 15:39 /data/confluence/temp/spool-6116716426343825786.tmp
        -rw-rw-r-- 1 confluence confluence 197K Sep 20 15:39 /data/confluence/temp/spool-4489997714452053633.tmp
        -rw-rw-r-- 1 confluence confluence 179K Sep 20 15:39 /data/confluence/temp/spool-51989951445192879.tmp
        -rw-rw-r-- 1 confluence confluence 167K Sep 20 15:39 /data/confluence/temp/spool-7492584060417279289.tmp
        -rw-rw-r-- 1 confluence confluence 150K Sep 20 15:39 /data/confluence/temp/spool-8956336725917917746.tmp
        -rw-rw-r-- 1 confluence confluence 148K Sep 20 15:39 /data/confluence/temp/spool-2408404766636625487.tmp
        -rw-rw-r-- 1 confluence confluence 132K Sep 20 15:39 /data/confluence/temp/spool-3139778741275865525.tmp
        117M    total
        
        1. Sep 21, 2011

          Gareth Wilson says:

          Sorry to hear you're encountering further issues. I will refer this to one of ou...

          Sorry to hear you're encountering further issues. I will refer this to one of our developers and will get them to take a look at this.

        2. Sep 21, 2011

          Samael Bate says:

          Please check the database and remove the plm-installer. See the Atlassian docume...

          Please check the database and remove the plm-installer. See the Atlassian documentation for instructions on Removing Malfunctioning Plugins.

          1. Sep 22, 2011

            Brett Ryan says:

            PLM installer removed from plugindata, startup still causes same results.

            PLM installer removed from plugindata, startup still causes same results.

  3. Jul 21, 2011

    Kenn North says:

    The whole idea of having a license manager for free software is fundamentally fl...

    The whole idea of having a license manager for free software is fundamentally flawed.

    1. Jul 21, 2011

      Brett Ryan says:

      Couldn't agree more!

      Couldn't agree more!

    2. Jul 25, 2011

      Gareth Wilson says:

      Hi Kenn, Thanks for your feedback. I understand your point, but I don't agree ...

      Hi Kenn,

      Thanks for your feedback. I understand your point, but I don't agree that it's flawed. Our plugins, free or otherwise, have always been covered by a license. By generating a unique electronic license, end users are assured that they are not in breach of a products license and that the product being installed is genuine. This is useful for all users but is something that has been specifically requested by our enterprise users.

  4. Oct 12, 2011

    Charles Narbutas says:

    Hi did anyone managed to recover from this error? Deleting plugin in database st...

    Hi did anyone managed to recover from this error? Deleting plugin in database still does not fix the exact same issue for me.
    Installed this license manager this morning, installed the free license, but after 10 minutes of so, my confluence instance stopped working.

    deleted the plugin from database, but still no go.

  5. Oct 12, 2011

    Charles Narbutas says:

    Solved, Had to clean plugins-osgi-cache/felix/felix-cache dir Also confluence cr...

    Solved,
    Had to clean plugins-osgi-cache/felix/felix-cache dir
    Also confluence created plugin-cache-some_numbers directory, so i suppose plugin-cache should also be cleaned.

  6. Oct 18, 2011

    Richard Yale says:

    Charles Narbutas's solution worked for us also. Hopefully the PLM will not bring...

    Charles Narbutas's solution worked for us also. Hopefully the PLM will not bring down our Confluence again or we might have to uninstall all Adaptavist plugins. Please look into the cause of this issue!

  7. Oct 19, 2011

    Charles Narbutas says:

    i have installed PLM plugin again after this cleanup. Second time it did not cau...

    i have installed PLM plugin again after this cleanup. Second time it did not caused any problems for me.

  8. Apr 03, 2012

    Tim Eddelbuettel says:

    Any updates? We run into the same problem.

    Any updates? We run into the same problem.

    1. Apr 04, 2012

      Charles Narbutas says:

      clean plugins-osgi-cache/felix/felix-cache dir

      clean plugins-osgi-cache/felix/felix-cache dir

      1. Apr 04, 2012

        Brett Ryan says:

        Unfortunately this does not work for us all. I have cleaned everywhere and I sti...

        Unfortunately this does not work for us all. I have cleaned everywhere and I still face this issue. I have refrained from upgrading to anything that requires the PLM due to this.

      2. Apr 04, 2012

        Tim Eddelbuettel says:

        I have tried this and it doesn't work for me. Can it be a mistake between PLM an...

        I have tried this and it doesn't work for me.
        Can it be a mistake between PLM and some plugins from Customware (e.g. Scaffolding, Composition)?

        @Brett: Have you installed one of these plugins?

        1. Apr 04, 2012

          Gareth Wilson says:

          Please confirm the version of Confluence you are using, along with the Plugin Li...

          Please confirm the version of Confluence you are using, along with the Plugin Licensing Manager and provide a copy of your Confluence log from when you encountered the issue so that we can look in to your problem further Tim. Thanks.

          1. Apr 04, 2012

            Tim Eddelbuettel says:

            Confluence Version 4.0.5 Confluence Log function toggleAnswer(id) ...
            Confluence Version 4.0.5
            Confluence Log

            Confluence Log File

            Plugin License Manager 0.6.1

            What have i do?

            • Migrate Confluence 3.5.7 from production to development server
            • Change Confluence License to development
            • Update Confluence 3.5.7 to 4.0.5
              Log File showed no error. The migration process seems fine.
            • Reinstall dem PLM from home in case of a note about firewall repacking (link)
            • Remove the PLM License (production) and add a development license in case of a new server id (link)
            • Reinstall all Adaptavist plugins (content formating, label tools, footnotes, page information, create-page)
            • Changed the fs.file-max value to 1000000 (link)
            • Disabled the Confluence usage tracking plugin

            I have no idea what is the problem.

            If you need my template, i can provide it to you.

            Note: In case of a normal user can't upload a attachment, i put the logfile into the expand macro ;-o

            1. Apr 05, 2012

              Gareth Wilson says:

              Thanks for providing this, I'll pass it on to a developer to review.

              Thanks for providing this, I'll pass it on to a developer to review.

              1. Apr 18, 2012

                Gareth Wilson says:

                This error should now be resolved with use of the updated plugins currently avai...

                This error should now be resolved with use of the updated plugins currently available on EAP, if you have a test environment to try them with - Page Info, Create Page, Footnotes, Label Tools and Content Formatting.

  9. Apr 10, 2012

    Gareth Wilson says:

    Thanks for the new log Brett. The status of this is that we're still investigat...

    Thanks for the new log Brett.

    The status of this is that we're still investigating the cause of your problem. Providing a log gives us additional information to be able to look into your issue, which can be really helpful, but it doesn't necessarily give us anything to go on and certainly doesn't mean that there's enough to create a solution. The plugin isn't a beta and is successfully used by thousands of users. Unfortunately for a small handful there's something about your setups which is causing this issue and we're looking in to what it could be. Until a solution is found, I appreciate that this is frustrating and we will continue to work to get these free plugins working for you. Thanks.

    1. Aug 21, 2012

      Brett Ryan says:

      We thought we resolved this by deleting all temp and {(cache}} content in the CO...

      We thought we resolved this by deleting all temp and {(cache}} content in the CONFLUENCE_HOME directory, however it seems this has once again raised its ugly head.

      cd "$CONFLUENCE_HOME"
      rm -Rf *temp*/* *cache*/* *logs*/* backups/* 2>/dev/null
      

      Performing this gets our instance to start. Logs are still relevant as per that attached.

      Is there any update on a fix for this?

      1. Aug 21, 2012

        Mark Gibson says:

        Hi Brett, The problem was eventually tracked down to the way each plugin checked...

        Hi Brett,
        The problem was eventually tracked down to the way each plugin checked the license, and resulted in an update to most of our licensed plugins.

        What Adaptavist plugins (and versions) do you have installed?
        Have you updated them all to the latest versions?

        If you can supply this I can check to confirm if the fix was applied and released to marketplace.

        1. Aug 21, 2012

          Brett Ryan says:

          Aha, I think the culprit could be the Adaptavist Footnotes plugin, we have 2.0.1...

          Aha, I think the culprit could be the Adaptavist Footnotes plugin, we have 2.0.1 installed.

          All our plugins are as follows:

          • Adaptavist Content Formatting Macros: 2.0.2
          • Adaptavist Footnotes Plugin: 2.0.1
          • Adaptavist Rate Macro: 4.0.2 (disabled)
          • Community Bubbles: 2.0.1Beta
          • Plugin Licensing Manager Plugin: 0.6.1

          I know that bubbles has a newer beta, though we have had limited success with the installed version and fixed the CSS bugs and are hopeful of a 4.2/4.3 release to be available soon.

          1. Aug 21, 2012

            Mark Gibson says:

            Content Formatting and Footnotes are up to date. The latest Rate is 4.0.3 (altho...

            Content Formatting and Footnotes are up to date. The latest Rate is 4.0.3 (although 4.0.2 does content the licensing fix).
            It is Bubbles that is the culprit, that version doesn't contain the fix, and unfortunately we haven't had chance to release Bubbles since then. I'd recommend trying the latest beta version, it contains a few fixes for Confluence 4.2, it only remains in beta as we haven't had chance to fully test every feature yet.

            1. Aug 22, 2012

              Brett Ryan says:

              I've upgraded bubbles in the hopes of resolving this. I'm surprised to see that ...

              I've upgraded bubbles in the hopes of resolving this. I'm surprised to see that the CSS bugs are still present (i.e. use of the active class. My style fix as follows still works though:

              .active {
                background-repeat: no-repeat;
                background-image: none;
                width: auto;
                height: auto;
              }
              
              table.forum-table div.emoticon.active {
                background-image: url("/download/resources/com.adaptavist.confluence.bubbles:bubbles-forum-css/icons/fire.png");
                background-repeat: no-repeat;
              }
              

              I also had to rebuild the search index to get existing forum posts to appear as the lists kept coming up with only a few posts. Reindexing fixed this.

              Since 4.3 is around the corner and bubbles is still lacking in being maintained, would it be envisioned that bubbles might be opened to allow the community to help maintain it?

              1. Aug 23, 2012

                Alain Moran says:

                We are only too aware of the resource crunch that has led to the releases of bub...

                We are only too aware of the resource crunch that has led to the releases of bubbles lagging so heavily behind confluence, on the one hand this is good since the mass of paid work should provide the required funding to bring things back into line, on the other it's not such a simple process to locate developers that are upto the standard we require.

                If you know of any great java developers, ideally with atlassian-stack experience, then we would like to talk to them

or log in to vote and add or reply to topics.


Adaptavist Theme Builder Powered by Atlassian Confluence