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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

747 views 33 5
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