incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jabbar Azam <aja...@gmail.com>
Subject Re: cannot start Cassandra on Windows7
Date Fri, 22 Mar 2013 15:42:30 GMT
Hello Marina,

I've downloaded a fresh copy of v1.2.3 and it's running fine on my Windows
7 64 bit PC. I am using jdk 1.6.0 u29 64 bit. I have local admin
permissions to my PC.


On 22 March 2013 15:36, Marina <ppine7@yahoo.com> wrote:

>
> >
> > Hi,
> > I have downloaded apache-cassandra-1.2.3-bin.tar.gz and un-zipped it on
> my
> > Windows7 machine (I did not find a Windows-specific distributable...).
> Then, I
> > tried to start Cassandra as following and got an error:
> >
> > C:\Marina\Tools\apache-cassandra-1.2.3\bin>cassandra.bat -f
> > Starting Cassandra Server
> > Exception in thread "main" java.lang.ExceptionInInitializerError
> > Caused by: java.lang.RuntimeException: Couldn't figure out log4j
> configuration:
> > log4j-server.properties
> >         at
> org.apache.cassandra.service.CassandraDaemon.initLog4j(CassandraDaemo
> > n.java:81)
> >         at org.apache.cassandra.service.CassandraDaemon.<clinit>
> (CassandraDaemon
> > .java:57)
> > Could not find the main class:
> org.apache.cassandra.service.CassandraDaemon.
> Pr
> > ogram will exit.
> >
> > C:\Marina\Tools\apache-cassandra-1.2.3\bin>
> >
> > It looks similar to the Cassandra issue that was already fixed:
> > https://issues.apache.org/jira/browse/CASSANDRA-2383
> >
> > however I am still getting this error....
> > I am an Administrator on my machine, and have access to all files in the
> apache-
> > cassandra-1.2.3\conf dir, including the log4j ones.
> >
> > Do I need to configure anything else on Winows ? I did not find any
> Windows-
> > specific installation/setup/startup instructions - if there are such
> documents
> > somewhere, please let me know!
> >
> > Thanks,
> > Marina
> >
> >
>
> In case it helps, I have added echo of CASSANDRA_CLASSPATH:
>
> C:\Marina\Tools\apache-cassandra-1.2.3\bin>cassandra.bat -f
> Starting Cassandra Server
> CASSANDRA_CLASSPATH="C:\Marina\Tools\DataStax
> Community\apache-cassandra\conf";"
> C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\antlr-3.2.jar";"C:\Marin
> a\Tools\DataStax
> Community\apache-cassandra\lib\apache-cassandra-1.2.2.jar";"C:\
> Marina\Tools\DataStax
> Community\apache-cassandra\lib\apache-cassandra-clientutil
> -1.2.2.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\apache-cass
> andra-thrift-1.2.2.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib
> \avro-1.4.0-fixes.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\
> avro-1.4.0-sources-fixes.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassand
> ra\lib\commons-cli-1.1.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra
> \lib\commons-codec-1.2.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra
> \lib\commons-lang-2.6.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\
> lib\compress-lzf-0.8.4.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra
> \lib\concurrentlinkedhashmap-lru-1.3.jar";"C:\Marina\Tools\DataStax
> Community\ap
> ache-cassandra\lib\guava-13.0.1.jar";"C:\Marina\Tools\DataStax
> Community\apache-
> cassandra\lib\high-scale-lib-1.1.2.jar";"C:\Marina\Tools\DataStax
> Community\apac
> he-cassandra\lib\jackson-core-asl-1.9.2.jar";"C:\Marina\Tools\DataStax
> Community
> \apache-cassandra\lib\jackson-mapper-asl-1.9.2.jar";"C:\Marina\Tools\DataStax
> Co
> mmunity\apache-cassandra\lib\jamm-0.2.5.jar";"C:\Marina\Tools\DataStax
> Community
> \apache-cassandra\lib\jbcrypt-0.3m.jar";"C:\Marina\Tools\DataStax
> Community\apac
> he-cassandra\lib\jline-1.0.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassa
> ndra\lib\json-simple-1.1.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassand
> ra\lib\libthrift-0.7.0.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra
> \lib\log4j-1.2.16.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\
> lz4-1.1.0.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\metrics-
> core-2.0.3.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\netty-3
> .5.9.Final.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\servlet
> -api-2.5-20081211.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\
> slf4j-api-1.7.2.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\sl
> f4j-log4j12-1.7.2.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\
> snakeyaml-1.6.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\snap
> py-java-1.0.4.1.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\lib\sn
> aptree-0.1.jar";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\build\class
> es\main";"C:\Marina\Tools\DataStax
> Community\apache-cassandra\build\classes\thri
> ft"
> Exception in thread "main" java.lang.ExceptionInInitializerError
> Caused by: java.lang.RuntimeException: Couldn't figure out log4j
> configuration:
> log4j-server.properties
>         at
> org.apache.cassandra.service.CassandraDaemon.initLog4j(CassandraDaemo
> n.java:81)
>         at
> org.apache.cassandra.service.CassandraDaemon.<clinit>(CassandraDaemon
> .java:57)
> Could not find the main class:
> org.apache.cassandra.service.CassandraDaemon.  Pr
> ogram will exit.
>
>
>
>
>


-- 
Thanks

Jabbar Azam

Mime
View raw message