I have created a database called CrowdTest. Given below the link to start
step4 Database configuration
Tried JDBC Connection and JNDI data source. In both instances following errors pop up.
Appreciate any assistance to proceed fro this step.
Could not connect to the database: java.sql.SQLException: Network error IOException: Connection refused: connect
Error accessing datasource: Could not locate datasource: jdbc/CrowdTest
In the first screenshot, when the direct JDBC option was chosen, the Crowd database name, CrowdTest should be at the end of the JDBC URL instead of "Crowd"
To use the datasource option it is necessary to first have the datasource defined in the <crowd_install>/apache-tomcat/conf/server.xml file. The JNDI name matches the datasource name in the server.xml.
Direct JDBC connections are easier to administer; especially since this seems to be a test instance I recommend using the Direct JDBC option and changing the database name at the end of the JDBC URL.
I look forward to hearing whether you can connect that way.
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs