Hi,
we have been using confluence in test for quiet sometime. But recently when we started confluence service, noticed some logs with the below error:
2012-04-03 10:40:13,972 ERROR [main] [internal.util.concurrent.RunnableTimedExecution] execute Closing runnable for context NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.extra.sharepoint, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2012-04-03 10:40:14,003 ERROR [main] [atlassian.plugin.manager.PluginEnabler] actualEnable Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.confluence.extra.sharepoint
2012-04-03 10:40:14,683 ERROR [main] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'Mapped Group Joining Login Listener' of plugin 'com.stepstonetech.confluence.plugins.ldap-dynamic-groups'. Disabling.
java.lang.NoClassDefFoundError: com/atlassian/confluence/event/EventListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.atlassian.plugin.classloader.PluginClassLoader.loadClassFromPlugin(PluginClassLoader.java:274)
at com.atlassian.plugin.classloader.PluginClassLoader.loadClass(PluginClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
The resolution that is suggested in the forums/confluence docs to configure the database to use the recommended isolation level is not helping to resolve the issue.
We are using confluence 3.5.6 version. And atlassian-confluence.log file is attached. ()
Please let me know if we need to take care of something else.
Community moderators have prevented the ability to post new answers.
The error seems to indicate that you are using the LDAP Dynamic Groups Plugin, which is a 3rd party (ie. non-Atlassian) plugin from the plugin exchange.
The details on the plugin exchange indicate this plugin is probably not compatible with Confluence 3.5.
Do you know if you have this plugin installed for any specific purpose? If not, the best option is to just un-install it from your Confluence server.
Thankyou for the response. uninstalled the LDAP plugin (it was disabled before but now we uninstalled). LDAP error is cleared, but rest of the errors still persists.
below is the log bit at confluence startup:
2012-04-11 11:12:51,828 ERROR [main] [internal.util.concurrent.RunnableTimedExecution] execute Closing runnable for context NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.extra.sharepoint, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2012-04-11 11:12:51,829 ERROR [main] [atlassian.plugin.manager.PluginEnabler] actualEnable Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.confluence.extra.sharepoint
2012-04-11 11:12:55,150 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:02:08.981
2012-04-11 11:12:55,239 ERROR [main] [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
2012-04-11 11:12:55,239 ERROR [main] [confluence.conveyor.config.ConveyorConfigurationProvider] addPackageOverride An action with the specified name already exists in the 'pages' package: alteditpage; com.atlassian.confluence.pages.actions.EditPageAction
2012-04-11 11:12:55,616 ERROR [Spring executor 23] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.extra.sharepoint, config=osgibundle:/META-INF/spring/*.xml))
java.lang.IllegalStateException: Invalid BundleContext.
at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:365)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:235)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There was a bug in earlier versions of Confluence 3.5 that could cause problems with plugins being unable to start-up when Confluence as starting. The JIRA issue is CONF-21986 and it looks quite similar to the problems you are having
The problem is fixed in Confluence 3.5.9 and later - I'd suggest that you should try upgrading to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joseph,
We are now in the process to evaluate 3.5.13 version and thank you for the response.
However as part of our evaluation process, I am trying to setup 3.5.13 version on dev machine (building from source code). While installing confluence from source code, end up in an error as soon as i enter license key and hit Evaluation button. (jars used from Confluence webapp/lib)
stack trace of System Error on confluence setup screen:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '__registration_bean': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'referralTaskQueue' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'referralManager' while setting bean property 'referralManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'referralManager' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'settingsManager' while setting bean property 'settingsManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsManager' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'upgradeManager' while setting bean property 'upgradeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource [upgradeSubsystemContext.xml]: Cannot resolve reference to bean 'contentPermissionConstraintsUpgradeTask' while setting bean property 'schemaUpgradeTasks' with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentPermissionConstraintsUpgradeTask' defined in class path resource [upgradeSubsystemContext.xml]:
Thanks again for the responses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just want to add another info that might be important. I already have 3.5.6 version installed from source code on the same dev machine where i am trying to install 3.5.13. In such cases is there something that i need to take care of? Any document that helps me with it?
I generally install Evaluation Installation with embedded db.
I would like to add confluence-development tag to this question. But couldn't find any option where i can edit tags of the question. Thanks in advance if someone adds tag for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, sometimes errors like this are in fact caused by other errors that happened earlier in the setup process. Would you be able to provide a copy of your full atlassian-confluence.log for examination? You can email it to me (jclark att atlassian dot com) if you don't want to share your log information online).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have this same problem when you run the downloadable WAR distribution for Confluence 3.5.13? http://www.atlassian.com/software/confluence/downloads/binary/confluence-3.5.13.tar.gz
That will at least help us identify if your problem is something specific to the source distribution or a more generalised problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I installed confluence3.5.13 successfully with binary distribution. But when i try to install from source-code, it throws an error. Also, there are no log files generated under confluence-3.5.13-source or the data directory, except for confluencedb.log. Errors and stack trace is displayed on installation screen and on eclipse console. (I setup source code in eclipsehelios and using tomcat6.0.33 version).
Update: Oops.. I installed 3.5.13 version with WAR distribution. But when i tried to browse a confluence page, i ended up in some System Error.
Error says as:
Cause
java.lang.RuntimeException: Error rendering template for decorator root
at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:205)
caused by: java.lang.RuntimeException: Error rendering template for decorator page
at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:205)
caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableLabel' in class com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLabel threw
caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLatestVersionsOfAttachments' in class com.atlassian.confluence.pages.Page threw exception net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection - no session or session was closed at getRenderedContent[line 1, column 15]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
caused by: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection - no session or session was closed
at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:209)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That error is probably caused by a problem that occurred earlier during start-up. Can you paste the entirety of your console output?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have sent the log file(error from war distribution) and eclispe console error(error from source code) to your mail.
I think I saw some memory leak errors when shutting down tomcat for the confluence installation from war distribution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just got your email, thanks! :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I could successfully build and install confluence from source code of 3.5.9. But the same error repeats for confluence 4.1 version too.
Confluence 3.5.6 and 3.5.9 are fine. But with 3.5.13 and 4.1 versions,I am facing errors, when I enter license key and hit evaluation button.
any ideas on this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.