I've now got the proper Java (V1.6.0_18) in place, but still no joy. I'm new to Java, otherwise I may have been able to figure out what is wrong and the baby would be crawling at least.

I installed JDK 1.6.0_18 at the system level rather than the Solaris flavor that permits an individual non-root user directory install.

I confirmed that the default "storage" and log dirs (/var/lib/cassandra and /var/log/cassandra) are writeable via a 'touch' command even though the error output below doesn't suggest a problem in this area.

[...@test1:~/temp/apache-cassandra-incubating-0.5.0-src]$ /bin/java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
[...@test1:~/temp/apache-cassandra-incubating-0.5.0-src]$ sh -x bin/cassandra -f

***
lots of stuff snipped out here to reduce email glut; full text at http://easy48.com/cassandra/fail1.txt
***

Listening for transport dt_socket at address: 8888
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
+ return 1
+ exit 1
[...@test1:~/temp/apache-cassandra-incubating-0.5.0-src]$

Thanks,

Lee 

Reply via email to