Hi Ed.
Apparently my declaring the launch of usergrid error-free was a little
pre-mature. Following your instructions above I was able to perform a "sign
up" without getting an error message (it did however generate errors in the
log window), but I wasn't able to log in, again accompanied by message in
the log window.
The first set of errors immediately below were the ones generated when I
started up the program, followed by the errors that were generated when I
attempted to sign up, followed by the errors that were generated trying to
log in with the credentials that were created during the "sign up" process.
=== ERRORS logged during launch of program
2011-10-31 13:36:01,902 INFO (main) [org.usergrid.standalone.Server] -
Initializing Cassandra database
2011-10-31 13:36:01,957 ERROR (main)
[org.usergrid.persistence.cassandra.EntityManagerFactoryImpl] - Unable to
load properties: InvalidRequestException(why:Keyspace Usergrid does not
exist)
2011-10-31 13:36:01,957 ERROR (main)
[org.usergrid.persistence.cassandra.EntityManagerFactoryImpl] - Unable to
load properties: InvalidRequestException(why:Keyspace Usergrid does not
exist)
2011-10-31 13:36:01,957 INFO (main)
[org.usergrid.persistence.cassandra.Setup] - Initialize system keyspace
2011-10-31 13:36:01,964 INFO (main)
[org.usergrid.persistence.cassandra.CassandraService] - Creating keyspace:
Usergrid
2011-10-31 13:36:01,969 INFO (main)
[org.usergrid.persistence.cassandra.CassandraService] - Using strategy:
org.apache.cassandra.locator.SimpleStrategy
2011-10-31 13:36:11,276 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:role:admin equals UUID
2917a47a-5f8e-33ee-b431-67df72752cbe
2011-10-31 13:36:11,281 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:11,282 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:11,284 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:role:admin equals UUID
2917a47a-5f8e-33ee-b431-67df72752cbe
2011-10-31 13:36:11,360 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
role:*:admin equals UUID 70f39f36-1825-379d-8385-7a7fbe9ec74a
2011-10-31 13:36:11,385 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:role:default equals UUID
061ecf9f-e6cb-3c42-86a1-1e203c4fe711
2011-10-31 13:36:11,391 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:11,391 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:11,393 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:role:default equals UUID
061ecf9f-e6cb-3c42-86a1-1e203c4fe711
2011-10-31 13:36:11,485 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:role:guest equals UUID
f080ed6a-d20e-3946-b1b4-69d4c2b2b855
2011-10-31 13:36:11,491 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:11,491 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:11,496 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:role:guest equals UUID
f080ed6a-d20e-3946-b1b4-69d4c2b2b855
2011-10-31 13:36:12,197 INFO (main)
[org.usergrid.services.groups.GroupsService] - /groups
2011-10-31 13:36:12,197 INFO (main) [org.usergrid.services.ServiceManager]
- Returning service instance: class
org.usergrid.services.groups.GroupsService
2011-10-31 13:36:12,233 ERROR (main)
[org.usergrid.security.shiro.utils.SubjectUtils] - Attempt to use Shiro
prior to initialization
2011-10-31 13:36:12,261 ERROR (main)
[org.usergrid.security.shiro.utils.SubjectUtils] - Attempt to use Shiro
prior to initialization
null
2011-10-31 13:36:12,263 INFO (main) [org.usergrid.services.ServiceManager]
- Looking up service pattern: /groups/*/activities
2011-10-31 13:36:12,265 INFO (main) [org.usergrid.services.ServiceManager]
- Returning service instance: class
org.usergrid.services.groups.activities.ActivitiesService
2011-10-31 13:36:12,266 ERROR (main)
[org.usergrid.security.shiro.utils.SubjectUtils] - Attempt to use Shiro
prior to initialization
2011-10-31 13:36:12,488 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
f87a3e16-03ff-11e1-8dc7-95ede8d22bb2:activities:f8c047cc-03ff-11e1-8dc7-95e de8d22bb2
equals UUID 7dd740ea-3e86-3ee8-91cb-099cfd17ae58
2011-10-31 13:36:12,887 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
f91349d3-03ff-11e1-8dc7-95ede8d22bb2:role:admin equals UUID
3a32b469-8bb1-3422-ad30-3c60a07d0889
2011-10-31 13:36:12,893 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:12,893 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:12,893 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:12,893 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:12,900 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
f91349d3-03ff-11e1-8dc7-95ede8d22bb2:role:admin equals UUID
3a32b469-8bb1-3422-ad30-3c60a07d0889
2011-10-31 13:36:12,969 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
f91349d3-03ff-11e1-8dc7-95ede8d22bb2:role:default equals UUID
5faca226-599d-34a1-bcce-0aa7071936c6
2011-10-31 13:36:12,983 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:12,983 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:12,983 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:12,983 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:12,986 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
f91349d3-03ff-11e1-8dc7-95ede8d22bb2:role:default equals UUID
5faca226-599d-34a1-bcce-0aa7071936c6
2011-10-31 13:36:13,043 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
f91349d3-03ff-11e1-8dc7-95ede8d22bb2:role:guest equals UUID
b2699ca0-8857-3499-b807-e8928f60ed24
2011-10-31 13:36:13,055 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:13,055 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:13,055 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:13,055 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:13,059 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
f91349d3-03ff-11e1-8dc7-95ede8d22bb2:role:guest equals UUID
b2699ca0-8857-3499-b807-e8928f60ed24
2011-10-31 13:36:13,110 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:application_info:test-app equals UUID
edf5f833-54c1-3343-8d1a-b95ba441e2dc
2011-10-31 13:36:13,130 ERROR (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, throwing exception...
2011-10-31 13:36:13,130 WARN (main)
[me.prettyprint.cassandra.serializers.PrefixedSerializer] - Unprefixed
value received, discarding...
2011-10-31 13:36:13,131 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
00000000-0000-0000-0000-000000000001:application_info:test-app equals UUID
edf5f833-54c1-3343-8d1a-b95ba441e2dc
2011-10-31 13:36:13,269 ERROR (main)
[org.usergrid.security.shiro.utils.SubjectUtils] - Attempt to use Shiro
prior to initialization
2011-10-31 13:36:13,294 INFO (main) [org.usergrid.services.ServiceManager]
- Looking up service pattern: /groups
2011-10-31 13:36:13,295 INFO (main) [org.usergrid.services.ServiceManager]
- Returning service instance: class
org.usergrid.services.groups.GroupsService
2011-10-31 13:36:13,295 ERROR (main)
[org.usergrid.security.shiro.utils.SubjectUtils] - Attempt to use Shiro
prior to initialization
2011-10-31 13:36:13,297 ERROR (main)
[org.usergrid.security.shiro.utils.SubjectUtils] - Attempt to use Shiro
prior to initialization
null
2011-10-31 13:36:13,297 INFO (main) [org.usergrid.services.ServiceManager]
- Looking up service pattern: /groups/*/activities
2011-10-31 13:36:13,303 INFO (main) [org.usergrid.services.ServiceManager]
- Returning service instance: class
org.usergrid.services.groups.activities.ActivitiesService
2011-10-31 13:36:13,303 ERROR (main)
[org.usergrid.security.shiro.utils.SubjectUtils] - Attempt to use Shiro
prior to initialization
2011-10-31 13:36:13,381 INFO (main)
[org.usergrid.persistence.cassandra.CassandraPersistenceUtils] - Key
...
read more »