Confluence Installation Error - JavaScript unable to load
Asked by Gary Williams:

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?

![](http://imageshack.us/scaled/landing/838/screenshotloadusersandg.png)


Answers:
author: Ryan Goodwin
body: 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](http://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.

comments: author: Gary Williams
body: I will comment on this thread and post the final solution when we have resolved.


author: Gary Williams
body: 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.


author: Ryan Goodwin
body: 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

comments: author: Gary Williams
body: 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 started2012-12-11 07:53:30,009 INFO [http-8090-1] [com.atlassian.confluence.lifecycle] &lt;init&gt; Loading EhCache cache manager2012-12-11 07:53:42,044 INFO [http-8090-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 14506 ms2012-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: setupstandarddb2012-12-11 07:54:16,590 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system2012-12-11 07:54:16,661 INFO [http-8090-1] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
```


author: Gary Williams
body: ```
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: setupstandarddb2012-12-11 07:54:44,375 WARN [http-8090-1] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] &lt;init&gt; 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: setupstandarddb2012-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.


Tags: install

javascript

redirect