(Fix) Youtrack 6.0 upgrade - Linux. YouTrack JAR as a Service

YouTrack 6.0 seems to have changed the required application startup parameters required for the Tanuki Java Service Wrapper when running YouTrack JAR as a service.

When upgrading a YouTrack 5 installation to YouTrack 6.0, you might receive the following error after replacing the YouTrack 5 JAR with the YouTrack 6.0 JAR:
Error: Unable to locate the class jetbrains.charisma.standalone.CharismaStandalone : java.lang.ClassNotFoundException: jetbrains.charisma.standalone.CharismaStandalone


To fix this, edit /home/youtrack/standalone/conf/wrapper.conf

change:
wrapper.app.parameter.1=jetbrains.charisma.standalone.CharismaStandalone

to:
wrapper.app.parameter.1=jetbrains.youtrack.standalone.YoutrackStandalone


Maybe someone from Jetbrains can confirm if this is correct.
0
2 comments
Same problem here.
I'm thinking of using the WrapperJarApp instead of the WrapperSimpleApp for the Service Wrapper.
Not sure if this is a good idea.

Also not sure about this parameters:
wrapper.java.additional.11=-Dcatalina.base=/home/user/youtrack
wrapper.java.additional.12=-Djetbrains.dnq.cachePercent=25
wrapper.java.additional.13=-Djetbrains.dnq.sharedCache=false
wrapper.java.additional.14=-Djetbains.webr.uiQueryCancellingPolicyTimeout=80000
wrapper.java.additional.15=-Djetbrains.dnq.fairLatches=false
wrapper.java.additional.16=-Djetbrains.dnq.readUncommittedForCachingThread=true

Are they fine for Youtrack 6?

Hope there will be some help from Jetbrains.
0
Maybe someone from Jetbrains can confirm if this is correct.


Yes, I can confirm that. Wrapper.conf samples for 6.X have been corrected to reflect this change as well.

Also not sure about this parameters:

wrapper.java.additional.11=-Dcatalina.base=/home/user/youtrack
wrapper.java.additional.12=-Djetbrains.dnq.cachePercent=25
wrapper.java.additional.13=-Djetbrains.dnq.sharedCache=false
wrapper.java.additional.14=-Djetbains.webr.uiQueryCancellingPolicyTimeout=80000
wrapper.java.additional.15=-Djetbrains.dnq.fairLatches=false
wrapper.java.additional.16=-Djetbrains.dnq.readUncommittedForCachingThread=true


As far as I know these parameters are still relevant for 6.0
0

Please sign in to leave a comment.