Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×This question is in reference to Atlassian Documentation: Testing database access speed
Hi,
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, i dont remember exactly but i think it was the space after the last "e" here:
JIRASQLPerformance \
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For postgresql.Hope this will help someone.
java -cp ./atlassian-log-analysis-0.1.1.jar:/u0/tom/postgresql-9.4.1212.jar com.atlassian.util.benchmark.JIRASQLPerformance user passwd 'jdbc:postgresql://xyz.com:5432/jira?autoReconnect=true&useUnicode=true&characterEncoding=UTF8' org.postgresql.Driver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.