Upsource 2020.1 Help

Cassandra database won't start when Upsource launches

Cause #1: insufficient memory for the Cassandra database

Solution

Increase heap size to Cassandra process as follows:

  1. Stop Upsource: <upsource_home>\bin\upsource.bat stop

  2. Run the following command:

    <upsource_home>\apps\cassandra\bin\cassandra.bat configure -J-Xmx5000m

  3. Start Upsource: <upsource_home>\bin\upsource.bat start

Cause #2: conflicting JNA versions

java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native

Solution

Disable JNA before starting Upsourceā€”run the following command:

<upsource_home>/apps/cassandra/bin/cassandra.bat configure -J-Djna.nosys=true
Last modified: 02 April 2021