What is the datasoucename?

Hi, Confluence was installed on a Linux server, linked to a SQL database. The Linux server had an issue and Confluence will no longer run. We are getting away from Linux and have no experience in managing it. Have decided to move Confluence to a Windows 2012 server, but I am stuck at the "datasourcename".

2 answers

Datasource Name — The JNDI name of the datasource, as configured in the application server.
Note: Some servers will have JNDI names like jdbc/datasourcename; others will be of the formjava:comp/env/jdbc/datasourcename. Consult your application-server documentation.

For example: Datasource names will be decide in <install-dir>/conf/server.xml

In that we have like <Resourcename="jdbc/myDS"

auth="Container"
type="javax.sql.DataSource"
username="confluence"
password="confluence"
maxActive="100"
maxIdle="10"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://localhost:5432/mydatabase"
validationQuery="Select 1"
/>
Then here "myDS" is the data source name. See
Thanks,
Patina

Feel free to mark it as answer if the answer helps you.

Thanks Patina, I'm not sure if this helps or not, i'm not knowleable on Linux or Confluence, so this answer might as well be written in another language.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,945 views 27 12
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you