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".
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 <
Resource
name
=
"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"
/>
Feel free to mark it as answer if the answer helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.