Hi,
I'm trying to run command for testing database performance on our Jira Data Center (8.13.19). Our data center is installed on Linux plattform. I have followed the instructions which is described here: https://confluence.atlassian.com/jirakb/test-database-performance-for-jira-server-54362302.html
When I run the code (with variables filled out):
java -cp PATH_TO_THE/atlassian-log-analysis-0.1.1.jar:PATH_TO_YOUR_JDBC_DRIVER_JAR \
com.atlassian.util.benchmark.JIRASQLPerformance \
YOUR_DB_USERNAME YOUR_DB_PASSWORD \
JDBC_CONNECTION_STRING JDBC_DRIVER_CLASS \
> db-perf-test.txt
I get the following error:
Error: Could not find or load main class com.atlassian.util.benchmark.JIRASQLPerformance
Caused by: java.lang.ClassNotFoundException: com.atlassian.util.benchmark.JIRASQLPerformance
What am I doing wrong?
Cheers,
Peder
I found out the problem that was causing the error. I forgot forward slash in the beginning of the path for both the atlassian-log-analysis.jar and the jdb_driver_jar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.