<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Cassandra 1.1.6 throws error while starting ...</title>
		<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 02:42:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/cassandra-116-throws-error-while-starting" rel="self" type="application/rss+xml" />

		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting/page/2#post-7854</link>
			<pubDate>Thu, 06 Dec 2012 12:31:34 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7854@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Sure Sven, please contact me directly.&#60;br /&#62;
Thanks a lot for helping me out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting/page/2#post-7845</link>
			<pubDate>Thu, 06 Dec 2012 00:55:39 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7845@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;OK, any chance I can get remote access to that machine? Clearly something funky is going on. The *.jar should have been expanded to the actual jars. With the recent changes you should have gotten no C;C: mixup, and spaces in the path shouldn't matter (that was more for my benefit, as your not having any).&#60;/p&#62;
&#60;p&#62;If you are ok with it, I can get your email address and contact you directly. Don't want to post mine or yours here (spammers are watching ;-).&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting/page/2#post-7844</link>
			<pubDate>Thu, 06 Dec 2012 00:17:41 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7844@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Sven, &#60;/p&#62;
&#60;p&#62;This also didn't work. &#60;/p&#62;
&#60;p&#62;Sujoy@Lorien ~/RnD/VideoDownload&#60;br /&#62;
$ cassandra&#60;br /&#62;
xss =  -ea -javaagent:C:\Sujoy\Apps\apache-cassandra-1.1.6/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1024M -Xmx1024M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError&#60;br /&#62;
Classpath:C:\Sujoy\Apps\apache-cassandra-1.1.6/conf:C:\Sujoy\Apps\apache-cassandra-1.1.6/build/classes/main:C:\Sujoy\Apps\apache-cassandra-1.1.6/build/classes/thrift:C:\Sujoy\Apps\apache-cassandra-1.1.6/lib/*.jar&#60;br /&#62;
Include:/cygdrive/c/Sujoy/Apps/apache-cassandra-1.1.6/bin/cassandra.in.sh&#60;/p&#62;
&#60;p&#62;Sujoy@Lorien ~/RnD/VideoDownload&#60;br /&#62;
$ java.lang.NoClassDefFoundError: org/apache/cassandra/thrift/CassandraDaemon&#60;br /&#62;
Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.thrift.CassandraDaemon&#60;br /&#62;
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)&#60;br /&#62;
        at java.security.AccessController.doPrivileged(Native Method)&#60;br /&#62;
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&#60;br /&#62;
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&#60;br /&#62;
Could not find the main class: org.apache.cassandra.thrift.CassandraDaemon.  Program will exit.&#60;br /&#62;
^C&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
~Sujoy
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting/page/2#post-7790</link>
			<pubDate>Tue, 04 Dec 2012 05:24:07 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7790@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Interesting... I don't know whether this ever worked properly. This seems to be an issue with spaces in the Path, but also with cygpath conversion.&#60;/p&#62;
&#60;p&#62;Can you please comment out the entire CYGWIN case statement in the cassandra script.&#60;/p&#62;
&#60;p&#62;Then add this into the cassandar.in.sh after the initial two initializations of these variables:&#60;/p&#62;
&#60;p&#62;CASSANDRA_SEP=':'&#60;br /&#62;
case &#34;&#60;code&#62;uname&#60;/code&#62;&#34; in&#60;br /&#62;
    CYGWIN*)&#60;br /&#62;
        CASSANDRA_HOME=&#60;code&#62;cygpath -s -m &#38;quot;$CASSANDRA_HOME&#38;quot;&#60;/code&#62;&#60;br /&#62;
        CASSANDRA_CONF=&#60;code&#62;cygpath -s -m &#38;quot;$CASSANDRA_CONF&#38;quot;&#60;/code&#62;&#60;br /&#62;
        CASSANDRA_SEP=';'&#60;br /&#62;
    ;;&#60;br /&#62;
esac&#60;/p&#62;
&#60;p&#62;Finally, change the CLASSPATH setting variable in the for loop at the bottom to:&#60;/p&#62;
&#60;p&#62; CLASSPATH=&#34;$CLASSPATH$CASSANDRA_SEP$jar&#34;&#60;/p&#62;
&#60;p&#62;Let me know if this is too complicated and I can see about getting you the raw scripts.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7785</link>
			<pubDate>Mon, 03 Dec 2012 20:04:06 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7785@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Sven,&#60;br /&#62;
Please see this output below. &#60;/p&#62;
&#60;p&#62;$ ./cassandraClassPath.sh&#60;br /&#62;
Test&#60;br /&#62;
CLASSPATH1=&#60;br /&#62;
CASSANDRA_HOME= C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra&#60;br /&#62;
CASSANDRA_HOME= C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra&#60;br /&#62;
CASSANDRA_CONF=&#60;br /&#62;
CASSANDRA_CONF= C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/conf&#60;br /&#62;
CLASSPATH2= C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/conf:C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/build/classes/main:C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/build/classes/thrift&#60;br /&#62;
./cassandraClassPath.sh: line 35: C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/lib/*.jar: No such file or directory&#60;br /&#62;
CLASSPATH4= C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/conf:C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/build/classes/main:C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra/build/classes/thrift&#60;br /&#62;
=========================================================================&#60;br /&#62;
Cygwin is not converting the C:\ paths to /cygdrive/c/..&#60;br /&#62;
and this is what I am not comfortable with. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
~Sujoy
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7775</link>
			<pubDate>Mon, 03 Dec 2012 16:53:29 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7775@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Just save the file to any filename and run it as a shell script by itself. It will just print out what it discovers as it builds the CLASSPATH variable.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7771</link>
			<pubDate>Mon, 03 Dec 2012 14:05:34 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7771@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Sven, &#60;/p&#62;
&#60;p&#62;Thanks for helping me.&#60;br /&#62;
I am sorry that I didn't understand what to do here.&#60;br /&#62;
Should I replace the &#34;..\DataStaxCommunityEdition\apache-cassandra\tools\bin\cassandra.in.sh&#34; with your content and then run cassandra.bat?&#60;br /&#62;
Please clarify. &#60;/p&#62;
&#60;p&#62;And here is the output of all the env.&#60;br /&#62;
I don't have CLASSPATH and CASSANDRA_CONF set up. &#60;/p&#62;
&#60;p&#62;$ env &#124; sort&#60;br /&#62;
!::=::\&#60;br /&#62;
_=/usr/bin/env&#60;br /&#62;
ALLUSERSPROFILE=C:\ProgramData&#60;br /&#62;
ANT_HOME=C:\Sujoy\Softwares\ApacheSoftwareFoundation\apache-ant-1.8.4&#60;br /&#62;
APPDATA=C:\Users\sujoy.choudhury\AppData\Roaming&#60;br /&#62;
CASSANDRA_HOME=C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra&#60;br /&#62;
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files&#60;br /&#62;
COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files&#60;br /&#62;
CommonProgramW6432=C:\Program Files\Common Files&#60;br /&#62;
COMPUTERNAME=PABET-HJR5FS1&#60;br /&#62;
COMSPEC=C:\Windows\system32\cmd.exe&#60;br /&#62;
DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection&#60;br /&#62;
DellClientSystemUpdatePath=C:\Program Files (x86)\Dell\ClientSystemUpdate\&#60;br /&#62;
DSCINSTALLDIR=C:\Sujoy\Softwares\DataStaxCommunityEdition\&#60;br /&#62;
FP_NO_HOST_CHECK=NO&#60;br /&#62;
HOME=/home/Sujoy.Choudhury&#60;br /&#62;
HOMEDRIVE=C:&#60;br /&#62;
HOMEPATH=\Users\sujoy.choudhury&#60;br /&#62;
HOSTNAME=PABET-HJR5FS1&#60;br /&#62;
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:&#60;br /&#62;
JAVA_HOME=C:\Sujoy\Softwares\Java\JDK160_37&#60;br /&#62;
LANG=en_US.UTF-8&#60;br /&#62;
LOCALAPPDATA=C:\Users\sujoy.choudhury\AppData\Local&#60;br /&#62;
LOGONSERVER=\\NJBRISZWDC96P&#60;br /&#62;
M2_HOME=C:\Sujoy\Softwares\ApacheSoftwareFoundation\apache-maven-3.0.4&#60;br /&#62;
MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man&#60;br /&#62;
MAVEN_OPTS=-Xms256m -Xmx512m -Dmaven.artifact.threads=3&#60;br /&#62;
NUMBER_OF_PROCESSORS=4&#60;br /&#62;
OLDPWD=/cygdrive/c/Sujoy/Synchronoss/Projects/ri-gateway&#60;br /&#62;
OPSCENTERD_CONFIG_DIR=C:\Sujoy\Softwares\DataStaxCommunityEdition\opscenter\conf\&#60;br /&#62;
OS=Windows_NT&#60;br /&#62;
PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Sujoy/Softwares/DataStaxCommunityEdition/python:/cygdrive/c/Sujoy/Softwares/Python33:/cygdrive/c/Program Files (x86)/Nice Systems/NICE Player Codec Pack:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Oracle/product/11.2.0/client_1/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/Services/IPT:/cygdrive/c/Program Files (x86)/NICE Systems/NICE Player Release 3:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Sujoy/Softwares/Java/JDK160_37/bin:/cygdrive/c/Sujoy/Softwares/ApacheSoftwareFoundation/apache-maven-3.0.4/bin:/cygdrive/c/Sujoy/Softwares/ApacheSoftwareFoundation/apache-ant-1.8.4/bin:/cygdrive/c/Sujoy/Softwares/DataStaxCommunityEdition/apache-cassandra/bin:/usr/lib/lapack&#60;br /&#62;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC&#60;br /&#62;
PRINTER=\\njbriszprt01p\njbri-dev03&#60;br /&#62;
PROCESSOR_ARCHITECTURE=x86&#60;br /&#62;
PROCESSOR_ARCHITEW6432=AMD64&#60;br /&#62;
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel&#60;br /&#62;
PROCESSOR_LEVEL=6&#60;br /&#62;
PROCESSOR_REVISION=2a07&#60;br /&#62;
ProgramData=C:\ProgramData&#60;br /&#62;
ProgramFiles(x86)=C:\Program Files (x86)&#60;br /&#62;
PROGRAMFILES=C:\Program Files (x86)&#60;br /&#62;
ProgramW6432=C:\Program Files&#60;br /&#62;
PRUNMGR=C:\Sujoy\Softwares\DataStaxCommunityEdition\utils\prunmgr.exe&#60;br /&#62;
PRUNSRV=C:\Sujoy\Softwares\DataStaxCommunityEdition\utils\prunsrv.exe&#60;br /&#62;
PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$&#60;br /&#62;
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\&#60;br /&#62;
PUBLIC=C:\Users\Public&#60;br /&#62;
PWD=/cygdrive/c/Sujoy/Installers&#60;br /&#62;
PYTHONPATH=C:\Sujoy\Softwares\DataStaxCommunityEdition\opscenter\src\lib\python2.7\site-packages;C:\Sujoy\Softwares\DataStaxCommunityEdition\opscenter\lib\py;C:\Sujoy\Softwares\DataStaxCommunityEdition\opscenter\lib\py-win32\2.7;&#60;br /&#62;
QMAKESPEC=cygwin-g++&#60;br /&#62;
SESSIONNAME=Console&#60;br /&#62;
SHELL=/bin/bash&#60;br /&#62;
SHLVL=1&#60;br /&#62;
SYSTEMDRIVE=C:&#60;br /&#62;
SYSTEMROOT=C:\Windows&#60;br /&#62;
TEMP=/tmp&#60;br /&#62;
temp=C:\Users\SUJOY~1.CHO\AppData\Local\Temp&#60;br /&#62;
TERM=xterm&#60;br /&#62;
TMP=/tmp&#60;br /&#62;
tmp=C:\Users\SUJOY~1.CHO\AppData\Local\Temp&#60;br /&#62;
TZ=America/New_York&#60;br /&#62;
USER=Sujoy.Choudhury&#60;br /&#62;
USERDNSDOMAIN=SYNCHRONOSS.NET&#60;br /&#62;
USERDOMAIN=SYNCHRONOSS&#60;br /&#62;
USERNAME=sujoy.choudhury&#60;br /&#62;
USERPROFILE=C:\Users\sujoy.choudhury&#60;br /&#62;
VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection&#60;br /&#62;
WCDHOME=/home/Sujoy.Choudhury/.wcd&#60;br /&#62;
WINDIR=C:\Windows&#60;br /&#62;
---------------------------------------------------------------------------------
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7720</link>
			<pubDate>Fri, 30 Nov 2012 03:40:16 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7720@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;My pleasure, thanks for your patience :-).&#60;/p&#62;
&#60;p&#62;So that seems wrong to me. Is CLASSPATH already set on your system? Or are CASSANDRA_HOME or CASSANDRA_CONF? In your cygwin shell, type 'env &#124; sort' and see if ay of those show up.&#60;/p&#62;
&#60;p&#62;Here is a customized version of the .in file (instead of me making you tweak it one by one :-).&#60;/p&#62;
&#60;p&#62;Just run this in your shell and paste the output here:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo &#38;quot;Test&#38;quot;
echo &#38;quot;CLASSPATH1= $CLASSPATH&#38;quot;
echo &#38;quot;CASSANDRA_HOME= $CASSANDRA_HOME&#38;quot;
if [ &#38;quot;x$CASSANDRA_HOME&#38;quot; = &#38;quot;x&#38;quot; ]; then
    CASSANDRA_HOME=&#38;lt;code&#38;gt;dirname $0&#38;lt;/code&#38;gt;/..
fi
echo &#38;quot;CASSANDRA_HOME= $CASSANDRA_HOME&#38;quot;

# The directory where Cassandra&#38;#039;s configs live (required)
echo &#38;quot;CASSANDRA_CONF= $CASSANDRA_CONF&#38;quot;
if [ &#38;quot;x$CASSANDRA_CONF&#38;quot; = &#38;quot;x&#38;quot; ]; then
    CASSANDRA_CONF=$CASSANDRA_HOME/conf
fi
echo &#38;quot;CASSANDRA_CONF= $CASSANDRA_CONF&#38;quot;

# This can be the path to a jar file, or a directory containing the
# compiled classes. NOTE: This isn&#38;#039;t needed by the startup script,
# it&#38;#039;s just used here in constructing the classpath.
cassandra_bin=$CASSANDRA_HOME/build/classes/main
cassandra_bin=$cassandra_bin:$CASSANDRA_HOME/build/classes/thrift
#cassandra_bin=$cassandra_home/build/cassandra.jar

# JAVA_HOME can optionally be set here
#JAVA_HOME=/usr/local/jdk6

# The java classpath (required)
CLASSPATH=$CASSANDRA_CONF:$cassandra_bin

echo &#38;quot;CLASSPATH2= $CLASSPATH&#38;quot;
for jar in $CASSANDRA_HOME/lib/*.jar; do
echo &#38;quot;CLASSPATH3= $CLASSPATH&#38;quot;
    CLASSPATH=$CLASSPATH:$jar
done
echo &#38;quot;CLASSPATH4= $CLASSPATH&#38;quot;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7719</link>
			<pubDate>Fri, 30 Nov 2012 03:20:51 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7719@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Sven, &#60;/p&#62;
&#60;p&#62;Please see below:&#60;br /&#62;
Classpath:C;C:\Sujoy\Apps\apache-cassandra-1.1.6\conf;C;C:\Sujoy\Apps\apache-cassandra-1.1.6\build\classes\main;C;C:\Sujoy\Apps\apache-cassandra-1.1.6\build\classes\thrift;C;C:\Sujoy\Apps\apache-cassandra-1.1.6\lib\*.jar&#60;br /&#62;
Include:/cygdrive/c/Sujoy/Apps/apache-cassandra-1.1.6/bin/cassandra.in.sh&#60;/p&#62;
&#60;p&#62;This is from my laptop where it worked for the first time and now I see C; suddenly.&#60;br /&#62;
Include is the same which you stated earlier. &#60;/p&#62;
&#60;p&#62;Thanks for helping me.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7695</link>
			<pubDate>Wed, 28 Nov 2012 19:52:55 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7695@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Is the above from the batch file or the shell script? I was hoping for the CLASSPATH from the shell bash script right before the cygwin conversion (mostly to see if there is anything funky in there that may throw off cygpath). I agree, the extra C; components are strange and likely part of the problem.&#60;/p&#62;
&#60;p&#62;Please also put an echo $include in front of the . &#34;$include&#34; statement in the cassandra script. I am curious which config file is read (it should be ./cassandra.in.sh. That is where the CLASSPATH is composed, so it seems like there is something strange going on in there.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7689</link>
			<pubDate>Wed, 28 Nov 2012 15:00:27 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7689@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Sven, &#60;/p&#62;
&#60;p&#62;Here is the classpath when I run from DOS prompt. &#60;/p&#62;
&#60;p&#62;-cp &#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\conf&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\antlr-3.2.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\apache-cassandra-1.1.6.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\apache-cassandra-clientutil-1.1.6.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\apache-cassandra-thrift-1.1.6.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\avro-1.4.0-fixes.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\avro-1.4.0-sources-fixes.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\commons-cli-1.1.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\commons-codec-1.2.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\commons-lang-2.4.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\compress-lzf-0.8.4.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\concurrentlinkedhashmap-lru-1.3.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\guava-r08.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\high-scale-lib-1.1.2.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jackson-core-asl-1.9.2.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jackson-mapper-asl-1.9.2.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jamm-0.2.5.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jline-0.9.94.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\json-simple-1.1.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\libthrift-0.7.0.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\log4j-1.2.16.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\metrics-core-2.0.3.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\servlet-api-2.5-20081211.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\slf4j-api-1.6.1.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\slf4j-log4j12-1.6.1.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\snakeyaml-1.6.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\snappy-java-1.0.4.1.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\snaptree-0.1.jar&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\build\classes\main&#34;;&#34;C:\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\build\classes\thrift&#34; &#34;org.apache.cassandra.thrift.CassandraDaemon&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7678</link>
			<pubDate>Mon, 26 Nov 2012 21:03:26 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7678@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Great, glad it at least works from the windows prompt. If you would be so kind to print the CLASSPATH before the cygpath conversion as well. &#60;/p&#62;
&#60;p&#62;The resulting CLASSPATH can not be -u, as the jvm is not aware of cygwin's special style of doing paths.&#60;/p&#62;
&#60;p&#62;And yes, the C; in there would indicate an issue in the path conversion. You could use -m instead of -w, which will cause windows style but with forward slashes (more cygwin friendly that way). Sorry, I don't have a valid cygwin setup handy right now to try (but if you get me the original CLASSPATH, we may see why you end up with the C;).&#60;/p&#62;
&#60;p&#62;Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7677</link>
			<pubDate>Mon, 26 Nov 2012 19:42:37 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7677@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The problem is definitely with Cygwin classpath.&#60;br /&#62;
I could start Cassandra from DOS and connected to it also. &#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sujoy on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7676</link>
			<pubDate>Mon, 26 Nov 2012 19:31:17 +0000</pubDate>
			<dc:creator>Sujoy</dc:creator>
			<guid isPermaLink="false">7676@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi sdelmas, &#60;/p&#62;
&#60;p&#62;1. I didn't change Cygwin version between attempts. I first installed Cygwin and then Cassandra.  &#60;/p&#62;
&#60;p&#62;$ cygcheck -V&#60;br /&#62;
cygcheck (cygwin) 1.7.15&#60;br /&#62;
System Checker for Cygwin&#60;br /&#62;
Copyright (C) 1998 - 2012 Red Hat, Inc.&#60;br /&#62;
This is free software; see the source for copying conditions.  There is NO&#60;br /&#62;
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&#60;/p&#62;
&#60;p&#62;2. $ echo $CLASSPATH&#60;/p&#62;
&#60;p&#62;3. I am starting from Cygwin shell in the ../bin/cassandra&#60;br /&#62;
The classpath before starting Cassandra is like this:&#60;br /&#62;
C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\conf;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\build\classes\main;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\build\classes\thrift;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\antlr-3.2.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\apache-cassandra-1.1.6.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\apache-cassandra-clientutil-1.1.6.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\apache-cassandra-thrift-1.1.6.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\avro-1.4.0-fixes.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\avro-1.4.0-sources-fixes.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\commons-cli-1.1.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\commons-codec-1.2.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\commons-lang-2.4.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\compress-lzf-0.8.4.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\concurrentlinkedhashmap-lru-1.3.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\guava-r08.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\high-scale-lib-1.1.2.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jackson-core-asl-1.9.2.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jackson-mapper-asl-1.9.2.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jamm-0.2.5.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\jline-0.9.94.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\json-simple-1.1.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\libthrift-0.7.0.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\log4j-1.2.16.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\metrics-core-2.0.3.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\servlet-api-2.5-20081211.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\slf4j-api-1.6.1.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\slf4j-log4j12-1.6.1.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\snakeyaml-1.6.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\snappy-java-1.0.4.1.jar;C;C:\Sujoy\Softwares\Cygwin\Sujoy\Softwares\DataStaxCommunityEdition\apache-cassandra\lib\snaptree-0.1.jar&#60;/p&#62;
&#60;p&#62;Now I think this C; is giving this problem and I don't know how to fix this.&#60;br /&#62;
The classpath should be like /cygwin/c/ in unix style. I tried to change this line&#60;br /&#62;
in cassandra.sh but that didn't help too. &#60;/p&#62;
&#60;p&#62;# Special-case path variables.&#60;br /&#62;
case &#34;&#60;code&#62;uname&#60;/code&#62;&#34; in&#60;br /&#62;
    CYGWIN*)&#60;br /&#62;
        #CLASSPATH=&#60;code&#62;cygpath -p -w &#38;quot;$CLASSPATH&#38;quot;&#60;/code&#62;&#60;br /&#62;
        CLASSPATH=&#60;code&#62;cygpath -p -u &#38;quot;$CLASSPATH&#38;quot;&#60;/code&#62;&#60;br /&#62;
        CASSANDRA_CONF=&#60;code&#62;cygpath -p -w &#38;quot;$CASSANDRA_CONF&#38;quot;&#60;/code&#62;&#60;br /&#62;
    ;;&#60;br /&#62;
esac&#60;/p&#62;
&#60;p&#62;Thanks for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Cassandra 1.1.6 throws error while starting ..."</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-116-throws-error-while-starting#post-7675</link>
			<pubDate>Mon, 26 Nov 2012 17:26:41 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7675@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;- What version of cygwin are you using (has that changed between attempts)?&#60;br /&#62;
- What is your CLASSPATH?&#60;br /&#62;
- Are you starting cassandra from the cygwin shell using cassandra, or from a dos shell using cassandra.bat?&#60;/p&#62;
&#60;p&#62;In whatever script you use, see about adding an echo of the CLASSPATH right before the jvm gets actually started.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
