[Ala-portal] getting started issues

Miguel Carboni mcarboni at mincyt.gob.ar
Wed Jun 18 18:50:28 CEST 2014


Hi!

I'm following the getting started page from:
https://code.google.com/p/ala-portal/wiki/GettingStarted

And had a couple of minor issues:

- When I try to download cassandra and solr, the cited releases aren't
available in mirror sites. I've downloaded this ones:
http://apache.dattatec.com/cassandra/1.2.16/apache-cassandra-1.2.16-bin.tar.gz
http://apache.dattatec.com/lucene/solr/4.8.1/solr-4.8.1.tgz

I also had a little issue "unzip" the taxon.tgz. It looks like if it
weren't zipped, just tared.

$ tar xf taxon.tgz

Will do.

For the biocache service, the
http://ala-portal.googlecode.com/svn/trunk/biocache-service/biocache-config/applicationContext.xml.empty download link was broken. Is this a valid one?
http://ala-portal.googlecode.com/svn/trunk/biocache-service/config/applicationContext.xml.empty

Is this properties file correct?
http://ala-portal.googlecode.com/svn/trunk/biocache-service/config/biocache-config.properties

I've found many references to remote servers. I've already changed the
solrHome. Should I change any other?

When I get to the biocache cli. If i press Enter or call any command I
get 

$ java -cp .:biocache.jar -Xmx2g -Xms2g  au.org.ala.util.CommandLineTool
----------------------------
| Biocache management tool |
----------------------------

Please supply a command or hit ENTER to view command list. 
biocache> healthcheck
BANG! Guice exceptions! The full exception is in the attached file.

Any clue? Is there any jar missing in the classpath or any configuration
file missing?

Thank you very much in advance and best regards,
Miguel

-------------- next part --------------
$ java -cp .:biocache.jar -Xmx2g -Xms2g  au.org.ala.util.CommandLineTool
----------------------------
| Biocache management tool |
----------------------------

Please supply a command or hit ENTER to view command list. 
biocache> healthcheck
Exception in thread "main" java.lang.ExceptionInInitializerError
	at au.org.ala.biocache.DataLoader$class.$init$(dataimport.scala:56)
	at au.org.ala.util.Loader.<init>(Loader.scala:31)
	at au.org.ala.util.CMD$.executeCommand(CommandLineTool.scala:75)
	at au.org.ala.util.CommandLineTool$.main(CommandLineTool.scala:26)
	at au.org.ala.util.CommandLineTool.main(CommandLineTool.scala)
Caused by: com.google.inject.CreationException: Guice creation errors:

1) No implementation for java.lang.Integer annotated with @com.google.inject.name.Named(value=cassandraMaxConnections) was bound.
  while locating java.lang.Integer annotated with @com.google.inject.name.Named(value=cassandraMaxConnections)
    for parameter 4 at au.org.ala.biocache.CassandraPersistenceManager.<init>(persistence.scala:332)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:157)

2) No implementation for java.lang.Integer annotated with @com.google.inject.name.Named(value=cassandraMaxRetries) was bound.
  while locating java.lang.Integer annotated with @com.google.inject.name.Named(value=cassandraMaxRetries)
    for parameter 5 at au.org.ala.biocache.CassandraPersistenceManager.<init>(persistence.scala:332)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:157)

3) No implementation for java.lang.Integer annotated with @com.google.inject.name.Named(value=cassandraPort) was bound.
  while locating java.lang.Integer annotated with @com.google.inject.name.Named(value=cassandraPort)
    for parameter 1 at au.org.ala.biocache.CassandraPersistenceManager.<init>(persistence.scala:332)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:157)

4) No implementation for java.lang.Integer annotated with @com.google.inject.name.Named(value=thriftOperationTimeout) was bound.
  while locating java.lang.Integer annotated with @com.google.inject.name.Named(value=thriftOperationTimeout)
    for parameter 6 at au.org.ala.biocache.CassandraPersistenceManager.<init>(persistence.scala:332)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:157)

5) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=cassandraHosts) was bound.
  while locating java.lang.String annotated with @com.google.inject.name.Named(value=cassandraHosts)
    for parameter 0 at au.org.ala.biocache.CassandraPersistenceManager.<init>(persistence.scala:332)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:157)

6) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=cassandraKeyspace) was bound.
  while locating java.lang.String annotated with @com.google.inject.name.Named(value=cassandraKeyspace)
    for parameter 3 at au.org.ala.biocache.CassandraPersistenceManager.<init>(persistence.scala:332)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:157)

7) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=cassandraPoolName) was bound.
  while locating java.lang.String annotated with @com.google.inject.name.Named(value=cassandraPoolName)
    for parameter 2 at au.org.ala.biocache.CassandraPersistenceManager.<init>(persistence.scala:332)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:157)

8) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=excludeSensitiveValuesFor) was bound.
  while locating java.lang.String annotated with @com.google.inject.name.Named(value=excludeSensitiveValuesFor)
    for parameter 1 at au.org.ala.biocache.SolrIndexDAO.<init>(indexdao.scala:622)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:140)

9) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=extraMiscFields) was bound.
  while locating java.lang.String annotated with @com.google.inject.name.Named(value=extraMiscFields)
    for parameter 2 at au.org.ala.biocache.SolrIndexDAO.<init>(indexdao.scala:622)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:140)

10) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=solrHome) was bound.
  while locating java.lang.String annotated with @com.google.inject.name.Named(value=solrHome)
    for parameter 0 at au.org.ala.biocache.SolrIndexDAO.<init>(indexdao.scala:622)
  at au.org.ala.biocache.ConfigModule.configure(config.scala:140)

10 errors
	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:354)
	at com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:152)
	at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
	at com.google.inject.Guice.createInjector(Guice.java:92)
	at com.google.inject.Guice.createInjector(Guice.java:69)
	at com.google.inject.Guice.createInjector(Guice.java:59)
	at au.org.ala.biocache.Config$.<init>(config.scala:20)
	at au.org.ala.biocache.Config$.<clinit>(config.scala)
	... 5 more






More information about the Ala-portal mailing list