Hi Malaka,

I've had a look at the link you sent, and the authentication details are
set up correctly in the properties file. I think the problem is that the
properties file isn't being picked up

Cheers

Martin


On Wed, Apr 30, 2014 at 4:31 PM, Malaka Mahanama <
[email protected]> wrote:

> Hi Martin,
>
> Since you see ' cassandraAvailable is false' maybe there is an
> authentication issue? Just check if
> https://issues.apache.org/jira/browse/USERGRID-126 relates to your issue.
> If so the suggested option at the end might help.
>
>
> Thanks and Regards,
> Malaka Mahanama
> Virtusa ~ Sri-Lanka
>
>
> On Wed, Apr 30, 2014 at 3:43 PM, Martin Harris <
> [email protected]> wrote:
>
> > Hi Folks,
> >
> > I'm having a little trouble getting usergrid to pick up the properties
> > file. If I build the .war from the latest code on github then it only
> gets
> > picked up if I copy it to lib/usergrid-custom.properties[1] (but not to
> > lib/usergrid.properties or lib/usergrid-deployment.properties). If I
> > download the war from maven (as suggested by Ed), then it doesn't seem to
> > get picked up from lib/usergrid.properties,
> lib/usergrid-custom.properties
> > or lib/usergrid-deployment.properties
> >
> > I'm assuming that the problem is that the properties file isn't being
> > picked up, the actual problem is as follows:
> >
> >    - Building the .war from github and using
> >    lib/usergrid-custom.properties, everthing works fine on both localhost
> > and
> >    a pair of cloud hosts
> >    - Using the same deployment mechanism[2], and .war, if I deploy to the
> >    cloud with the properties file in lib/usergrid-custom.properties the
> > status
> >    shows as cassandraAvailable: false, however if I deploy locally
> >    cassandraAvailable is true, but the login and password in the
> properties
> >    file don't work. I'm assuming the cassandra URL defaults to
> > localhost:9160
> >    if no properties file is loaded?
> >    - If I use the .war from maven, cassandraAvailable is false on both
> >    localhost and the cloud, and with the properties file in both -custom
> > and
> >    -deployment
> >
> > I hope this makes sense... any help would be appreciated
> >
> > Cheers
> >
> > [1]:
> > https://github.com/usergrid/usergrid/blob/master/stack/config/README.txt
> > [2]: https://github.com/cloudsoft/brooklyn-usergrid (WIP!)
> >
> > --
> > Martin Harris
> > Lead Software Engineer
> > Cloudsoft Corporation Ltd
> > www.cloudsoftcorp.com
> >
>



-- 
Martin Harris

Reply via email to