<?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; User Favorites: rclark</title>
		<link><a href='http://www.datastax.com/support-forums/profile/rclark'>rclark</a></link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 03:35:30 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>rclark on "Problems using SimpleAuthority on Windows machine"</title>
			<link>http://www.datastax.com/support-forums/topic/problems-using-simpleauthority-on-windows-machine#post-8608</link>
			<pubDate>Wed, 23 Jan 2013 17:46:27 +0000</pubDate>
			<dc:creator>rclark</dc:creator>
			<guid isPermaLink="false">8608@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;This was my fault.  My java code had some extra double quotes around the parameters to create the cluster.  The error message led me off to the wrong path.  I have it working now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rclark on "Problems using SimpleAuthority on Windows machine"</title>
			<link>http://www.datastax.com/support-forums/topic/problems-using-simpleauthority-on-windows-machine#post-8607</link>
			<pubDate>Wed, 23 Jan 2013 15:41:15 +0000</pubDate>
			<dc:creator>rclark</dc:creator>
			<guid isPermaLink="false">8607@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I tried setting everything up for Simple Authentication with Cassandra locally on my PC but I can't get everything just right so that it works.&#60;/p&#62;
&#60;p&#62;I have authenticator: org.apache.cassandra.auth.SimpleAuthenticator&#60;br /&#62;
and authority: org.apache.cassandra.auth.SimpleAuthority specified in the cassandra.yaml file.&#60;/p&#62;
&#60;p&#62;I changed the JAVA_OPTS in the cassandra.bat file as follows:&#60;/p&#62;
&#60;p&#62;REM ***** JAVA options *****&#60;br /&#62;
set JAVA_OPTS=^&#60;br /&#62;
 -ea^&#60;br /&#62;
 -javaagent:&#34;%CASSANDRA_HOME%\lib\jamm-0.2.2.jar&#34;^&#60;br /&#62;
 -Xms1G^&#60;br /&#62;
 -Xmx1G^&#60;br /&#62;
 -XX:+HeapDumpOnOutOfMemoryError^&#60;br /&#62;
 -XX:+UseParNewGC^&#60;br /&#62;
 -XX:+UseConcMarkSweepGC^&#60;br /&#62;
 -XX:+CMSParallelRemarkEnabled^&#60;br /&#62;
 -XX:SurvivorRatio=8^&#60;br /&#62;
 -XX:MaxTenuringThreshold=1^&#60;br /&#62;
 -XX:CMSInitiatingOccupancyFraction=75^&#60;br /&#62;
 -XX:+UseCMSInitiatingOccupancyOnly^&#60;br /&#62;
 -Dcom.sun.management.jmxremote.port=7199^&#60;br /&#62;
 -Dcom.sun.management.jmxremote.ssl=false^&#60;br /&#62;
 -Dcom.sun.management.jmxremote.authenticate=false^&#60;br /&#62;
 -Dlog4j.configuration=log4j-server.properties^&#60;br /&#62;
 -Dlog4j.defaultInitOverride=true^&#60;br /&#62;
 -Dpasswd.properties=%CASSANDRA_HOME%\conf\passwd.properties^&#60;br /&#62;
 -Daccess.properties=%CASSANDRA_HOME%\conf\access.properties&#60;/p&#62;
&#60;p&#62;I have access.properties set up as this:&#60;/p&#62;
&#60;p&#62;# Access to Keyspace1 (add/remove column families, etc).&#60;br /&#62;
BullfrogArticle.&#38;lt;ro&#38;gt;=toadforcloud&#60;br /&#62;
BullfrogArticle.&#38;lt;rw&#38;gt;=evolve24&#60;br /&#62;
BullfrogImage.&#38;lt;ro&#38;gt;=toadforcloud&#60;br /&#62;
BullfrogImage.&#38;lt;rw&#38;gt;=evolve24&#60;br /&#62;
ChartData.&#38;lt;ro&#38;gt;=toadforcloud&#60;br /&#62;
ChartData.&#38;lt;rw&#38;gt;=evolve24&#60;/p&#62;
&#60;p&#62;# Access to Standard1 (keyspace Keyspace1)&#60;br /&#62;
# Keyspace1.Standard1.&#38;lt;rw&#38;gt;=toadforcloud,evolve24&#60;/p&#62;
&#60;p&#62;And passwd.properties set up like this:&#60;/p&#62;
&#60;p&#62;toadforcloud=password&#60;br /&#62;
evolve24=adminpwd&#60;/p&#62;
&#60;p&#62;When I run it I get this:&#60;/p&#62;
&#60;p&#62;ERROR [pool-2-thread-1] 2013-01-23 09:35:01,454 Cassandra.java (line 2917) Internal error processing login&#60;br /&#62;
java.lang.RuntimeException: Unexpected authentication problem&#60;br /&#62;
	at org.apache.cassandra.auth.SimpleAuthenticator.authenticate(SimpleAuthenticator.java:123)&#60;br /&#62;
	at org.apache.cassandra.service.ClientState.login(ClientState.java:85)&#60;br /&#62;
	at org.apache.cassandra.thrift.CassandraServer.login(CassandraServer.java:784)&#60;br /&#62;
	at org.apache.cassandra.thrift.Cassandra$Processor$login.process(Cassandra.java:2911)&#60;br /&#62;
	at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)&#60;br /&#62;
	at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)&#60;br /&#62;
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&#60;br /&#62;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&#60;br /&#62;
	at java.lang.Thread.run(Thread.java:662)&#60;br /&#62;
Caused by: AuthenticationException(why:Given password in password mode PLAIN could not be validated for user &#34;evolve24&#34;)&#60;br /&#62;
	at org.apache.cassandra.auth.SimpleAuthenticator.authenticate(SimpleAuthenticator.java:104)&#60;br /&#62;
	... 8 more&#60;/p&#62;
&#60;p&#62;I have set a break point in my code so I know that the password is being passed in correctly to create the Cluster.  Do you have any ideas what I could have set up wrong?&#60;/p&#62;
&#60;p&#62;Thank You
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
