I am trying to configure confluence 4.0 to use our existing JIRA installation (version 4.2.2) for user managment. I'm following the instructions on this page: http://confluence.atlassian.com/display/DOC/Connecting+to+JIRA+4.2+or+Earlier+for+User+Management
In step #5 I hit the 'Test Settings' button and get the following error message:
Connection test failed. Response from the server:
org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [select count(*) from userbase]; nested exception is java.sql.SQLException: Invalid object name 'userbase'.
This message looks like it is connecting OK to my JiraDS datasource (which is SQL Server 2005) but can't find the object 'userbase'. I've check the SQL server database and the table userbase exists under the schema 'jiraschema'.
Anybody have an idea of what might be wrong?
Hi Ray,
It looks most likely to be an issue with the schema names being inconsistent between Confluence and JIRA configuration files.
As per the article:
atlassian-jira/WEB-INF/classes/entity-engines.xml
. Note the schema name. It is likely 'jiraschema'.conf/server.xml
. Notice the schema name.To fix:
Change the schema in SQL Server to match the settings in server.xml and entity-engines.xml
Hope this helps.
Regards
Vincent Choy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.