Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Configuring GeoServer for GeoMesa

Thanks Hunter!

 

BTW, the .tar file was just a typo, but I’ll try using THESE .jars and see what happens.

 

From: geomesa-users-bounces@xxxxxxxxxxxxxxxx [mailto:geomesa-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Hunter Provyn
Sent: Wednesday, May 21, 2014 11:33 AM
To: geomesa-users@xxxxxxxxxxxxxxxx
Subject: Re: [geomesa-users] Configuring GeoServer for GeoMesa

 

Bob,

I think you will need:

accumulo-core.jar
hadoop-common-2.2.0.jar
hadoop-mapreduce-client-core-2.2.0.jar
libthrift-0.9.0.jar
zookeeper-3.4.2.jar

You do not need the geomesa-dist in your geoserver/WEB-INF/lib

We are planning to update the documentation with our next release, thanks for bearing with us in the meantime.

Hunter

On 05/21/2014 02:00 PM, Barnhart, Bob M. wrote:

I am trying to configure GeoServer to work with GeoMesa as described in http://geomesa.github.io/2014/04/17/geomesa-gdelt-analysis/.

 

I installed GeoServer and copied the following jar files to $GEOMESA_HOME/webapps/geoserver/WEB-INF/lib:

 

-rw-rw-r--. 1 barnhartr barnhartr 145182720 May  9 10:13 geomesa-dist-1.0.0-SNAPSHOT-distribution.tar

-rw-rw-r--. 1 barnhartr barnhartr  18352705 May 21 09:52 geomesa-plugin-1.0.0-SNAPSHOT-geoserver-plugin.jar

-rw-r--r--. 1 barnhartr barnhartr   3736955 May 21 10:24 accumulo-core.jar

drwxr-xr-x. 2 barnhartr barnhartr     12288 May 21 10:27 .

-rw-rw-r--. 1 barnhartr barnhartr   1340305 May 21 10:27 zookeeper-3.4.6.jar

 

However, when I start GeoServer, I’m getting the following exception:

 

INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@4019eb89 via org.mortbay.log.Slf4jLog

367 [main] WARN org.mortbay.log - Deprecated configuration used for /usr/local/geoserver-2.5/webapps

417 [main] INFO org.mortbay.log - jetty-6.1.8

log4j:WARN File option not set for appender [geoserverlogfile].

log4j:WARN Are you using FileAppender instead of ConsoleAppender?

3659 [main] INFO /geoserver - Initializing Spring root WebApplicationContext

May 21, 2014 10:29:49 AM org.geoserver.platform.GeoServerExtensions checkContext

WARNING: Extension lookup occured, but ApplicationContext is unset.

May 21, 2014 10:29:52 AM org.geotools.factory.FactoryRegistry scanForPlugins

WARNING: Can't load a service for category "DataStoreFactorySpi". Cause is "ServiceConfigurationError: org.geotools.data.DataStoreFactorySpi: Provider geomesa.core.data.AccumuloDataStoreFactory could not be instantiated".

java.util.ServiceConfigurationError: org.geotools.data.DataStoreFactorySpi: Provider geomesa.core.data.AccumuloDataStoreFactory could not be instantiated

                at java.util.ServiceLoader.fail(ServiceLoader.java:224)

                at java.util.ServiceLoader.access$100(ServiceLoader.java:181)

                at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)

                . . .

 

The tutorial says that “Your local Accumulo and Zookeepers JARs also need to be available within your GeoServer’s lib directory.”.

 

The GeoMesa “Getting Started” document also says:

 

Note that you will also need other JAR files, particularly those pertaining to: accumulo-core; hadoop-core; zookeeper; libthrift; and cloudtrace. These are support services that are referenced by GeoMesa, yet are part of your base infrastructure.

 

Which other .jar files are required for GeoServer+GeoMesa and where must they be installed?

 

Thanks,

 

Bob Barnhart

Chief Systems Engineer | 858 826 5596 (Office) | 619 972 9489 (Mobile) | Robert.M.Barnhart@xxxxxxxxxx

 

 




_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
http://www.locationtech.org/mailman/listinfo/geomesa-users

 


Back to the top