Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What are the settings for the Setup Wizard for Crowd when connecting to postgresql?

I am trying to connect a newly installed Crowd instance on a CentOS server to a postgresql database. I cannot complete the setup wizard due to not being able to figure out the driver class name and the URL.

The "Running the Setup Wizard", "Connecting Crowd to a Database", and "Database JDBC Drivers" wikis are not very helpful. The level of detail is insufficient.

It is convenient that the postgresql-9.2-1003-jdbc4.jar file comes with Crowd. But, the driver name that the installer requires is not supplied. It sure would be nice if the driver name was in a drop-down list. I tried a number of guesses which all resulted in: "The specified class was not found in the class path."

Answers to similar questions in the community suggested looking in the log files for clues. Well, which log files are those? I could find no "<some driver name> class not found" messages in any of the logs I dug through.

 find /opt/crowd /var/log -type f -exec grep "not found" {} \; -print

----

I defined a postgresql database as per the setup instructions. I can access the crowdb database using pgAdmin with the address http://<db server IP>, specifying port 5432, and selecting the crowddb database. 

The example provided for connecting via JDBC is "jdbc:jtds:sqlserver://localhost:1433/crowd". How to translate this for use with postgresql use is not evident.

The wiki for connecting to Confluence suggests this form: jdbc:postgresql://localhost:5432/confluence. In absence of clear instructions, I could make a guess that this might work.

Would "jdbc:postgresql://<db server IP>:5432/crowddb" be the correct URL to use?

 

1 answer

1 accepted

1 vote
Answer accepted
AnnWorley Atlassian Team Nov 03, 2017

Hi, I understand you are not sure what parameters to use while setting up your database connection for CRowd.

If you are seeing JDBC URL "jdbc:jtds:sqlserver://localhost:1433/crowd" there's a possibility that Microsoft SQL server was chosen in the Database field. You should not have to change anything on the JDBC URL except the database host and database name. You may leave driver class name as org.postgresql.Driver

The setup for PostgreSQL should look like:

Screen Shot 2017-11-03 at 1.54.07 PM.png

Thank you, Ann.

The information you provided is very detailed.  Just what I needed. Thanks for helping me with this dragon.  I'll see if I can finish it up from here.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

307 views 9 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you