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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

866 views 23 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