Can't edit a page
Asked by Paul:

Hi, I've installed Confluence as the download version - details as follows:

|------------------------|-------|
| **Confluence Version** | 4.2.3 |
| **Build Number**       | 3280  |

|------------------------|------------------------|
| **Operating System**   | Linux 3.2.0-24-virtual |
| **OS Architecture**    | amd64                  |
| **Application Server** | Apache Tomcat/6.0.32   |
| **Servlet Version**    | 2.5                    |
| **Java Version**       | 1.6.0_26               |

But for the life of me, I can't get the TinyMCE plugin to enable. After turning up the logging I see the following error message in the catalina.out logfile:

2012-06-11 10:45:21,923 INFO \[http-8090-2\] \[atlassian.confluence.plugin.PluginEventLogger\] handleEvent Processing plugin event: com.atlassian.confluence.event.events.plugin.PluginEnableEvent(com.atlassian.confluence.tinymceplugin)

2012-06-11 10:45:21,924 DEBUG \[http-8090-2\] \[search.v2.lucene.CacheBackedLuceneSearchMapperRegistry\] synchronizeModuleDescriptorsCache Synchronising LuceneSearchMapper registry cache

2012-06-11 10:45:21,939 DEBUG \[http-8090-2\] \[net.sf.hibernate.SQL\] log update BANDANA set BANDANACONTEXT=?, BANDANAKEY=?, BANDANAVALUE=? where BANDANAID=?

2012-06-11 10:45:21,941 DEBUG \[http-8090-2\] \[net.sf.hibernate.SQL\] log select confluence0_.BANDANAID as BANDANAID, confluence0_.BANDANACONTEXT as BANDANAC2_, confluence0_.BANDANAKEY as BANDANAKEY, confluence0_.BANDANAVALUE as BANDANAV4_ from BANDANA confluence0_ where (confluence0_.BANDANACONTEXT=? )and(confluence0_.BANDANAKEY=? )

2012-06-11 10:45:21,944 DEBUG \[http-8090-2\] \[net.sf.hibernate.SQL\] log select confluence0_.BANDANAID as BANDANAID, confluence0_.BANDANACONTEXT as BANDANAC2_, confluence0_.BANDANAKEY as BANDANAKEY, confluence0_.BANDANAVALUE as BANDANAV4_ from BANDANA confluence0_ where (confluence0_.BANDANACONTEXT=? )and(confluence0_.BANDANAKEY=? )

2012-06-11 10:45:21,946 DEBUG \[http-8090-2\] \[net.sf.hibernate.SQL\] log select confluence0_.BANDANAID as BANDANAID, confluence0_.BANDANACONTEXT as BANDANAC2_, confluence0_.BANDANAKEY as BANDANAKEY, confluence0_.BANDANAVALUE as BANDANAV4_ from BANDANA confluence0_ where (confluence0_.BANDANACONTEXT=? )and(confluence0_.BANDANAKEY=? )

2012-06-11 10:45:21,948 DEBUG \[http-8090-2\] \[net.sf.hibernate.SQL\] log select confluence0_.BANDANAID as BANDANAID, confluence0_.BANDANACONTEXT as BANDANAC2_, confluence0_.BANDANAKEY as BANDANAKEY, confluence0_.BANDANAVALUE as BANDANAV4_ from BANDANA confluence0_ where (confluence0_.BANDANACONTEXT=? )and(confluence0_.BANDANAKEY=? )

2012-06-11 10:45:22,706 INFO \[http-8090-2\] \[atlassian.upm.log.PluginSettingsAuditLogService\] logI18nMessageWithUsername Mon Jun 11 10:45:21 BST 2012 admin: Failed to enable plugin TinyMCE Editor Plugin (com.atlassian.confluence.tinymceplugin)

2012-06-11 10:45:22,708 DEBUG \[http-8090-2\] \[net.sf.hibernate.SQL\] log update BANDANA set BANDANACONTEXT=?, BANDANAKEY=?, BANDANAVALUE=? where BANDANAID=?  
Does anyone know what the problem may be? I'm stuck. Originally I thought it may be a Java version issue as per this thread:  
<https://answers.atlassian.com/questions/16075/rich-text-editor-disabled>

But that doesn't seem to be the case as Confluence is using JDK 1.6.

Paul


Answers:
author: HuseinA
body: This issue was resolved by:

1. Correcting the [Server Base URL](https://confluence.atlassian.com/display/DOC/Configuring+the+Server+Base+URL) to match the URL you're accessing Confluence instance.
2. Clearing plugin cache directories by removing the following directories:  
   This will only remove the plugin cache files only. It won't remove any installed plugins. These directories will be created automatically on the next Confluence startup.

*
  * \<confluence-home\>/bundled-plugins
  * \<confluence-home\>/plugin-cache
  * \<confluence-home\>/plugins-osgi-cache
  * \<confluence-home\>/plugins-temp
  * \<confluence-home\>/bundled-plugins_language  

Then restart Confluence and all should be good by now.


Tags: tiny-mce