Upsource 2018.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: 13 August 2018