Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] CassandraDataStoreFactory could not be instantiated

Can you post the list of jars you have in your WEB-INF/lib? We can compare to a known working install.

You should just need to copy the plugin files and the cassandra lib files.

Thanks,

Emilio

On 02/16/2017 09:38 AM, Kristian Nygaard Jensen wrote:

Hi Emilio,

I have tried to only extract the files from the plugin into WEB-INF/lib.

I have also tried extracting the plugin and copying cassandra jars.

Finally I have tried copying jar files from plugin, cassandra and geomesa-cassandra.

Cheers

Kristian Nygaard Jensen


On 2017-02-16 15:07, Emilio Lahr-Vivaz wrote:
Hi Kristian,

Did you also copy in the cassandra jars from cassandra's lib folder? You will need to do that.

Thanks,

Emilio

On 02/16/2017 05:51 AM, Kristian Nygaard Jensen wrote:

Found the factory in the jar sorry about the noise.

But I still cant instantiate CassandraDataStoreFactory.

Any ideas on how to proceed?


Cheers

Kristian


On 2017-02-16 11:46, Kristian Nygaard Jensen wrote:

Both

https://repo.locationtech.org/content/repositories/geomesa-releases/org/locationtech/geomesa/geomesa-cassandra-dist_2.11/1.3.0/geomesa-cassandra-dist_2.11-1.3.0-bin.tar.gz

and the archive

dist/gs-plugins/geomesa-cassandra-gs-plugin_2.11-1.3.0-install.tar.gz

contained within, contains the jar:

geomesa-cassandra-datastore_2.11-1.3.0.jar

But I cant seem to find a geomesa-cassandra-datastore-factory_2.11-1.3.0.jar anywhere.



On 2017-02-16 11:18, Kristian Nygaard Jensen wrote:

Do I need to define:

geomesa.cassandra.contact.point

geomesa.cassandra.keyspace

namespace

geomesa.cassandra.catalog.table


or other configs somewhere before I start geoserver?


On 2017-02-10 16:22, Jim Hughes wrote:
Hi Kristian,

On the logging front, that's a great idea; sadly, GeoTools shallows ClassNotFound exceptions (1) since they can be quite common (and in many classes are not an critical error).

I tried to come up with a 'short' list of jars from the Cassandra lib directory which would need to be copied into GeoServer's WEB-INF/lib directory.  It looks like the list would include *cassandra*, *metrics*, and some subset of the logs, and at least one more jar which I couldn't identify during my layover.:(

As a quick solution, I can confirm that copying all the jars from the Cassandra lib directory over to WEB-INF/lib does work.  Can you give that a try?

Cheers,

Jim

1. https://github.com/geotools/geotools/blob/master/modules/library/metadata/src/main/java/org/geotools/factory/FactoryRegistry.java#L830-L837

On 2/10/2017 9:02 AM, Kristian Nygaard Jensen wrote:
Here is my current log config


On 2017-02-10 14:36, Kristian Nygaard Jensen wrote:
On 2017-02-09 21:25, Eric Talbot wrote:
Hello Kristian,

We've done all of our testing with Cassandra 3.9. It might be worth upgrading your cassandra and then trying again. Just make sure to copy the upgraded Cassandra jars in geomesa/WEB-INF/lib.

Eric

I have now tried to change the cassandra libs to the official apache cassandra 3.9, and get the same result. Do you know how to make geotools logs more verbose?


_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users




_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users


Back to the top