java.lang.ClassNotFoundException: jetbrains.charisma.standalone.CharismaStandalone

I followed the documentation here. But when I try to start YouTrack it cannot find the jetbrains.charisma.standalone.CharismaStandalone class.

log outputSTATUS | wrapper  | 2013/08/22 21:06:59 | –> Wrapper Started as Daemon
STATUS | wrapper  | 2013/08/22 21:06:59 | Java Service Wrapper Community Edition 64-bit 3.5.6
STATUS | wrapper  | 2013/08/22 21:06:59 |   Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2013/08/22 21:06:59 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2013/08/22 21:06:59 |
STATUS | wrapper  | 2013/08/22 21:06:59 | Launching a JVM...
INFO   | jvm 1    | 2013/08/22 21:06:59 | WrapperManager: Initializing...
INFO   | jvm 1    | 2013/08/22 21:06:59 | WrapperSimpleApp Error: Unable to locate the class jetbrains.charisma.standalone.CharismaStandalone : java.lang.ClassNotFoundException: jetbrains.charisma.standalone.CharismaStandalone
INFO   | jvm 1    | 2013/08/22 21:06:59 |
INFO   | jvm 1    | 2013/08/22 21:06:59 | WrapperSimpleApp Usage:
INFO   | jvm 1    | 2013/08/22 21:06:59 |   java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class{/app_method}} [app_arguments]
INFO   | jvm 1    | 2013/08/22 21:06:59 |
INFO   | jvm 1    | 2013/08/22 21:06:59 | Where:
INFO   | jvm 1    | 2013/08/22 21:06:59 |   app_class:      The fully qualified class name of the application to run.
INFO   | jvm 1    | 2013/08/22 21:06:59 |   app_arguments:  The arguments that would normally be passed to the
INFO   | jvm 1    | 2013/08/22 21:06:59 |    applictiion.
ERROR  | wrapper  | 2013/08/22 21:07:01 | JVM exited while loading the application.


Is that still a valid class? There aren't any other files to find besides youtrack.jar...

I've linked the output and configs in this gist.

Would appreciate some help.
0
11 comments
Hi Vye,
Sorry for the delay with answer.
I can't reproduce this issue. Could you please tell me what operating system do you run?
0
CentOS 6.4 x86_64.
0
I can't reproduce this issue on CentOS too.
But I noticed that you use openjdk. Please, try oracle jdk instead.
0
I installed fresh CentOS and tried with openjdk too. And all works fine.
Please, check if your init script is correct:
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre

In my case correct path is /usr/lib/jvm/jre-1.6.0-openjdk.x86_64 (without suffix /jre)
0
Hi Alex,

Thanks for the reply.

Based on the class not found it seems to be something wrong with the youtrack.jar or something missing from it? The path you're using is a symlink to the directory I'm using.

ls -la /usr/lib/jvm/jre-1.6.0-openjdk.x86_64
lrwxrwxrwx 1 root root 37 Aug 22 17:32 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64 -> java-1.6.0-openjdk-1.6.0.0.x86_64/jre

I just downloaded the jar from the site again and realized the latest available version was now 5.0.2. Is that the version you've been testing? I dropped 5.0.2 in my setup and it worked just fine. It seems like 5.0.1 was released with some issues. It would be nice if you could confirm, in case anyone else is trying to use that version.

Thanks.
0
Hi Vye,
You are right about symlink, sorry.
What about version, actually I tested this with version 5.0.1. So, I think your jar file was corrupt...
Anyway, I glad to hear that you've managed to start YT :)
0
Alex,

Feature request: place hash of jar files on the website to verify the download (MD5 or SHA1). I would also like a direct link link that I could wget.

Thanks for your help!
0
Avatar
Permanently deleted user
I downloaded 5.0.3 jar version - it has another structure in contrast to 5.0. But in MANIFEST main class is declared for old structure, and in installation manual the same situation.

So I met the same problem as topicstarter with 5.0.3.jar. With 5.0 which I downloaded here
http://confluence.jetbrains.com/display/TSYSPUB/YouTrack+Release+Downloads+Archive#YouTrackReleaseDownloadsArchive-YouTrack5.x
no such a problem.

PS Sorry for my English.
0
Hi amox,
Could you please clarify what did you mean about structure of MANIFEST and documentation.
The MANIFEST file for 5.0 and 5.0.3 has no difference.
0
Avatar
Permanently deleted user
Hello!

Size of 5.0.3 was near 30MB and 5.0.0/5.0.5 were near 65MB so I think that it was compilation or any other mistake of InteliJ Team.
0
Hi,
It seems, there were some network problems... So, you had a partially downloaded file.
$ du -h youtrack-5.0.3.jar && md5sum youtrack-5.0.3.jar 
64M    youtrack-5.0.3.jar
d5d8e7d1fedf1cffd9cdb8c69566ad4b  youtrack-5.0.3.jar
0

Please sign in to leave a comment.