Plugin Version: 0.6.1
Confluence Version: 3.5.13
We are stuck using a previous version of the PLM. It's asking us to update it, but whenever we update it, it breaks associated plugins with it, such as the align macro in the content formatting plugin. It will complain about needing to install the PLM. The newer one says that it should be uninstalled if the system disables it, which it does. For now we are just leaving the previous PLM installed because things seem to work that way. It would be nice to know what the problem is though so we can update it. Any help with this would be great!
When we try to update PLM we get this:
2012-02-08 01:57:49,005 ERROR [Spring executor 9] [plugin.osgi.factory.OsgiPlugin] onSpringContextFailed Unable to start the Spring context for plugin com.adaptavist.plm.plugin.plm-plugin-installer
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'plm-installer': Cannot create inner bean 'com.adaptavist.plm.installer.InstallerEntryPoint#60ae00f7' 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#60ae00f7' defined in URL bundle://89.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 update: [com.atlassian.confluence.setup.bandana.ConfluenceBandanaRecord#2]; 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)









Comments (6)
Feb 09
Gareth Wilson says:
Thanks for reporting your issue. So that you understand the issue I'll provide s...Thanks for reporting your issue. So that you understand the issue I'll provide some background - Atlassian's plugin system has a few bugs. To work around these v0.6.1 of the Plugin Licensing Manager (PLM) has its own installer. So what happens is that the plugin you install is actually the PLM installer, and when you upload that it tries to install the PLM itself. The error you pasted shows that the PLM installer is getting blocked from installing the PLM. This is why you then see complaints about needing to install the PLM - the plugin you are seeing listed asking to be uninstalled if it is disabled is the PLM installer.
There's isn't enough of the stack trace or logging context to be able to state the cause of your problem. However, that usually happens when the installer isn't removed and Confluence is rebooted. I'd recommend uninstalling the current PLM, rebooting, then installing the latest version of the PLM, ensuring that the PLM has successfully installed. To be able to look in to your issue further we will require your Confluence log file so that we can see the full error in context.
Feb 09
Reed Quinn says:
Thanks, Gareth. We did try something similar to what you are suggesting, but no...Thanks, Gareth. We did try something similar to what you are suggesting, but not exactly what you say. I will need to get permission to reboot that server again at a decent time. In the meantime, I am happy to send you the catalina.out logs from the day we were attempting this. Should I send them to you at your email address?
Feb 11
Reed Quinn says:
Hi Gareth, I do have your email address. I sent you something that may be help...Hi Gareth,
I do have your email address. I sent you something that may be helpful.
Thanks!!
Feb 13
Gareth Wilson says:
Thanks Reed. I've passed this on to our developers to look at.Thanks Reed. I've passed this on to our developers to look at.
Feb 18
Reed Quinn says:
Hi Gareth, I was able to get a maintenance window and did what you suggested. ...Hi Gareth,
I was able to get a maintenance window and did what you suggested. I removed the plugin, rebooted and then installed the new one and it took it. I guess we just had to do it in that order. Thanks for your kind and generous help.
Feb 20
Gareth Wilson says:
Glad you got it sorted!Glad you got it sorted!