Confluence Installation Error - JavaScript unable to load

Gary Williams December 7, 2012

During installation of Confluence everything goes fine until I try to connect and import users from Jira. It appears that all requests on localhost:8090 are being redirected to:

http://localhost:8090/setup/connecttojirasyncdirectory-start.action

This includes images and JavaScript preventing the step from ever being completed. Any idea if I am missing some required module / component to cause this?

2 answers

1 accepted

1 vote
Answer accepted
Ryan Goodwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 10, 2012

Hi Logicbomb,

I think we're going to need more than just that snippet from the logs to figure out what's going on. Confluence installation/installer/setup wizard works fine out of the box which leads me to believe there is something environmental going on. Please head over to support.atlassian.com and create an issue there (JIRA instance). Assign to Confluence project and we'll pick it up there. Please attach the full logs from confluence.home/logs and confluence-install/logs so we can review.

Gary Williams December 16, 2012

I will comment on this thread and post the final solution when we have resolved.

Gary Williams December 17, 2012

Had excellent support from Atlassian. We really never discovered what was happening but when going through the installer we skipped the Jira link and did it manually once Confluence started up.

1 vote
Ryan Goodwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2012

Hi LogicBomb,

It's hard to say exactly why this is happening without some more detailed information. If you check the confluence.home/logs/atlassian-confluence.log, are there any relevant messages at the end of the file?

The lack of image in the top left hand of the screen is troubling as well. That should have no problems rendering. Do you have any special plugins/extensions installed that would prohibit things being loaded from the filesystem to the page?

Best Regards,

Ryan Goodwin

Confluence/Crowd Support

Atlassian - San Francisco

Gary Williams December 10, 2012

Ryan,

I went carefully through the installation again and found that the first moment I get the broken logo image is right after I provide my MySQL direct connection information. I cleared the log just before this step and this is what was there after it completed:

2012-12-11 07:53:27,537 INFO [http-8090-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
2012-12-11 07:53:30,009 INFO [http-8090-1] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
2012-12-11 07:53:42,044 INFO [http-8090-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 14506 ms
2012-12-11 07:53:42,786 WARN [http-8090-1] [atlassian.confluence.setup.DefaultHibernateConfigurator] executeAdditionalSql Error executing SQL during schema changes: drop table CONTENTLOCK, StatementCallback; bad SQL grammar [drop table CONTENTLOCK]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'CONTENTLOCK'
 -- referer: http://192.168.1.150:8090/setup/setupstandarddb-start.action?database=mysql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb
2012-12-11 07:54:16,590 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2012-12-11 07:54:16,661 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system

Gary Williams December 10, 2012

2012-12-11 07:54:36,948 ERROR [Spring executor 8] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] logWrongState Expecting state (resolving-dependencies) not (dependencies-resolved) for context [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.oauth.atlassian-oauth-service-provider-plugin, config=osgibundle:/META-INF/spring/*.xml)]; assuming an interruption and bailing out
 -- referer: http://192.168.1.150:8090/setup/setupstandarddb-start.action?database=mysql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb
2012-12-11 07:54:44,375 WARN [http-8090-1] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead.
 -- referer: http://192.168.1.150:8090/setup/setupstandarddb-start.action?database=mysql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb
2012-12-11 07:54:45,866 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:29.205

Now, it did 'complete' landing me on the 'Load Content' step of the installation wizard. However, the image is broken in the top left starting at this point and looking at the network tab reveals all external assets are being redirected.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events