Main Class not found when running database access speed test

This question is in reference to Atlassian Documentation: Testing database access speed


when trying to run the test from this article under Ubuntu i run into the following problem:


/opt/atlassian/jira/jre/bin/java -cp /data/AS-4339/atlassian-log-analysis-0.1.1.jar:/opt/atlassian/jira/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar \
com.atlassian.util.benchmark.JIRASQLPerformance \
jira asdfasdfasfas \
'jdbc:postgresql://localhost:5432/jiradb' org.postgresql.Driver

when i run it i get 

Fehler: Hauptklasse com.atlassian.util.benchmark.JIRASQLPerformance jira konnte nicht gefunden oder geladen werden

roughly translated:

Errror: Main class  com.atlassian.util.benchmark.JIRASQLPerformance jira could not ne found or loaded

java seems to regard the parameter for the database user name as part of the classname (marked in bold).

how do i fix that?

1 answer

1 accepted

This widget could not be displayed.

Okay sometimes you just have to replace the spaces you copied from atlassians article manually.

Please, would it be possible to elaborate a bit on this solution? I encounter the same error and I can't find the mistake when running this command. What spaces you mean? Thanks in advance.

Hey, i dont remember exactly but i think it was the space after the last "e" here:


JIRASQLPerformance \

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

37 views 0 1
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