I am trying to upgrade confluence from 5.1.4 TO 5.4.3. I have confluence 5.1.4 running on Tomcat 6. Before, i actually do the upgrade, I wanted to test it on the my test-server. I installed confluence 5.4.3 version. I made a copy of existing database in mysql and confluence home_directory, and linked with the new version 5.4.3. I followed the steps from the attlassian guideline provided online but, i cant find the solutioin for the following error;
when i start the tomcat server, i am getting the following error;
Mar 06, 2014 8:36:02 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8089
Mar 06, 2014 8:36:03 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Mar 06, 2014 8:36:03 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8089
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/var/lib/tomcat6/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/var/lib/tomcat6/common], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/var/lib/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/var/lib/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/var/lib/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:05 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/var/lib/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 06, 2014 8:36:06 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8089
Mar 06, 2014 8:36:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 624 ms
Mar 06, 2014 8:36:06 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 06, 2014 8:36:06 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Mar 06, 2014 8:36:06 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor confluence-test.xml
2014-03-06 20:36:08,075 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.4.3 [build 4732 based on commit hash f543bd9a3bbc12daed85f6f5e5cba84282599932]
Mar 06, 2014 8:36:12 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 06, 2014 8:36:12 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/confluence-test] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Mar 06, 2014 8:36:12 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor probe5.xml
Mar 06, 2014 8:36:17 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8089
Mar 06, 2014 8:36:17 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8019
Mar 06, 2014 8:36:17 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32 config=null
Mar 06, 2014 8:36:17 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10800 ms
Hi Samar,
Take a look at this KB also the resolution. Please take a backup from your database before you procees with the resolutions.
Cheers,
Saleh
Those errors are often thrown if you've installed a newer Tomcat over an old one, instead of installing it "clean".
Did you start with a completely empty installation directory for the new system?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Saleh!! yes, it was the issue with collation_name =
'utf8_bin
I already fixed it though. Thanks again for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samar,
Glad to hear that. You are most welcome
Regards,
Saleh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, i already verified the permission for the directory. I also cleared the pugin cash but still getting the following error;
2014-03-10 10:19:51,743 INFO [Thread-48] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2014-03-10 10:19:51,805 INFO [Thread-48] [com.atlassian.confluence.lifecycle] destroy Shutting down long running task service
2014-03-10 10:19:54,222 INFO [Thread-48] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2014-03-10 10:28:47,085 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.4.3 [build 4732 based on commit hash f543bd9a3bbc12daed85f6f5e5cba84282599932]
2014-03-10 10:28:50,225 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
2014-03-10 10:28:54,087 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
2014-03-10 10:29:10,291 WARN [main] [org.springframework.beans.TypeConverterDelegate] findDefaultEditor PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager
2014-03-10 10:29:21,206 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 30980 ms
2014-03-10 10:29:21,711 ERROR [main] [atlassian.confluence.setup.BootstrapApplicationStartupListener] checkConfigurationOnStartup Detected tables with non-default collation. See https://confluence.atlassian.
2014-03-10 10:29:21,949 WARN [main] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextInitialized Not starting full plugin system due to upgrade or licensing errors
2014-03-10 10:29:23,675 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samar,
Don't worry we are here to help.
Check the permission of the directory and grant writable permission to your directory. I would also recommend you to clear the plugin cash.
Cheers,
Saleh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can someone plz help me out? I am now getting the following error now. I am fighting with this issue all day
2014-03-07 18:39:13,577 INFO [Thread-43] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2014-03-07 18:39:13,619 INFO [Thread-43] [com.atlassian.confluence.lifecycle] destroy Shutting down long running task service
2014-03-07 18:39:15,496 INFO [Thread-43] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2014-03-07 18:39:21,440 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.4.3 [build 4732 based on commit hash f543bd9a3bbc12daed85f6f5e5cba84282599932]
2014-03-07 18:39:23,996 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
2014-03-07 18:39:27,682 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
2014-03-07 18:39:39,855 WARN [main] [org.springframework.beans.TypeConverterDelegate] findDefaultEditor PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager
2014-03-07 18:39:48,213 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 24217 ms
2014-03-07 18:39:48,603 ERROR [main] [atlassian.confluence.setup.BootstrapApplicationStartupListener] checkConfigurationOnStartup Detected tables with non-default collation. See https://confluence.atlassian.
2014-03-07 18:39:48,842 WARN [main] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextInitialized Not starting full plugin system due to upgrade or licensing errors
2014-03-07 18:39:50,621 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Saleh,
Please find below the atlassian confluence.log, I tried to attached it but its not working. So i paste it here. I also checked my database information and its pointing to right one.
Request Information
--------------------------
URL: http://*******/500page.jsp
Scheme: http
Server: ******
Port: 8089
URI: /confluence-test/500page.jsp
Context Path: /confluence-test
Servlet Path: /500page.jsp
Path Info: null
Query String: null
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /confluence-test/
javax.servlet.forward.context_path: /confluence-test
javax.servlet.forward.servlet_path: /index.action
javax.servlet.forward.path_info: /500page.jsp
os_securityfilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp
javax.servlet.error.status_code: 500
javax.servlet.error.servlet_name: action
loginfilter.already.filtered: true
javax.servlet.error.message:
com.opensymphony.sitemesh.APPLIED_ONCE: true
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
javax.servlet.error.exception: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
javax.servlet.error.request_uri: /confluence-test/
--------------------------
Parameters
--------------------------
caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
caused by: java.lang.NullPointerException
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samar,
Catalina.log doesn't show reasons of problem. Please attach atlassian-confluence.log located on <confluence-home>\logs or look for error there.
I would also recommend you to check database information on <confluence-home>\confluence.cfg . Ensure that all your database elements are correctly informed.
Cheers,
Saleh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.