Serving Layers From Pre-Cached ArcGIS Tiling Schemes?

Serving Layers From Pre-Cached ArcGIS Tiling Schemes?

GeoWebCache has instructions on how to utilize ArcGIS cached layers[1]. Is this possible to do within GeoServer? I tried to edit the geowebcache.xml as it instructs but I just get a bunch of stack traces then when I start GeoServer. Any ideas? Thanks!!

Re: Serving Layers From Pre-Cached ArcGIS Tiling Schemes?

Any info on this? I would like to server ArcGIS cached layers via GeoServer. Do I just need to set up a standalone instance of GeoWebCache for this capability? Thanks!

mortac8 wrote

GeoWebCache has instructions on how to utilize ArcGIS cached layers[1]. Is this possible to do within GeoServer? I tried to edit the geowebcache.xml as it instructs but I just get a bunch of stack traces then when I start GeoServer. Any ideas? Thanks!!

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may_______________________________________________
Geoserver-users mailing list
[hidden email]https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Serving Layers From Pre-Cached ArcGIS Tiling Schemes?

Thanks Andrea! I tried adding that .jar but it didn't work :(

I see in the GWC war there is a geowebcache-arcgiscache-content.xml and a geowebcache-servlet.xml that reference the arcgiscache classes. Any idea on if/how those Bean configuration files need to get into my GeoServer deployment?

> Any info on this? I would like to server ArcGIS cached layers via
> GeoServer.
> Do I just need to set up a standalone instance of GeoWebCache for this
> capability? Thanks!
>

I believe you might. Not sure, never tried doing with the embedded one, but
also that one has a geowebcache.xml file, so maybe editing it manually
to add the ArcGIS cache reference and restarting GeoServer will do the trick
(ah, you might also have to bring in the arcgis tile cache jar from
GeoWebCache,
not sure we have it in the GeoServer distribution)

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may_______________________________________________
Geoserver-users mailing list
[hidden email]https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Serving Layers From Pre-Cached ArcGIS Tiling Schemes?

I see in the GWC war there is a geowebcache-arcgiscache-content.xml and a
geowebcache-servlet.xml that reference the arcgiscache classes. Any idea on
if/how those Bean configuration files need to get into my GeoServer
deployment?

Ah, not off the top of my head. You are right, GeoServer has its own Spring files

to bind GeoWebCache, I guess the arcgiscache ones must be wired there somehow

to work.

I guess, look at how the wiring is done in vanilla GeoWebCache appcontext files,

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may_______________________________________________
Geoserver-users mailing list
[hidden email]https://lists.sourceforge.net/lists/listinfo/geoserver-users

2) Updated applicationContext.xml in gwc-arcgiscache-1.4-SNAPSHOT.jar to have an entry for the arcgiscache like all of the other beans.
<bean id="arcGisLayerConfigurationExtentionInterceptorEnabledCheck" class="org.geoserver.gwc.config.GWCServiceEnablementInterceptor"> <constructor-arg ref="gwcFacade" /></bean>

> Thanks Andrea! I tried adding that .jar but it didn't work :(
>
> I see in the GWC war there is a geowebcache-arcgiscache-content.xml and a
> geowebcache-servlet.xml that reference the arcgiscache classes. Any idea
> on
> if/how those Bean configuration files need to get into my GeoServer
> deployment?
>

Ah, not off the top of my head. You are right, GeoServer has its own Spring
files
to bind GeoWebCache, I guess the arcgiscache ones must be wired there
somehow
to work.
I guess, look at how the wiring is done in vanilla GeoWebCache appcontext
files,
and try to repeat the same in GeoServer

Problem with GeoServer Migration

We have two servers, one is test server and the other is production server. I use tomcat as application server. I want to set up geoserver on both server with exactly the same configuration.

I searched geoserver documention, it is said that we just need to copy the data directory over and it should work. I tried but it is not working.

On the test server, I deployed geoserver.war , and configured D:\GeoServer_Data as external data directory, then I created workspaces and layers. I deployed the same geoserver.war to prod server, copy D:\GeoServer_Data from test server to production server, and also D:\GeoServer_Data as external data directory on production server. But it is not working on production server. Tomcat can’t be started. I checked the log, I see this error message:

Re: Problem with GeoServer Migration

We have two servers, one is test server and the other is production server. I use tomcat as application server. I want to set up geoserver on both server with exactly the same configuration.

I searched geoserver documention, it is said that we just need to copy the data directory over and it should work. I tried but it is not working.

On the test server, I deployed geoserver.war , and configured D:\GeoServer_Data as external data directory, then I created workspaces and layers. I deployed the same geoserver.war to prod server, copy D:\GeoServer_Data from test server to production server, and also D:\GeoServer_Data as external data directory on production server. But it is not working on production server. Tomcat can’t be started. I checked the log, I see this error message:

…….

ERROR [geoserver.global] -GEOSERVER_DATA_DIR:

………

The message is at error level just to ensure the data dir gets printed, however it seems that on this machine it is not set?

You should have something like:

ERROR [geoserver.global] -GEOSERVER_DATA_DIR: D:\GeoServer_Data

instead.

Also, look at the entire log, another common reason for the server not being able to start is the port Tomcat is normally using

(8080 by default) being already busy, one common culprit using that port is the Oracle administration UI.

Re: Problem with GeoServer Migration

After GeoServer was installed, I copied the default data directory (TOMCAT_HOME\webapps\geoserver\data) as D:\GeoServer_Data and configure web.xml. Tomcat and GeoServer can start. I can view the page http://lolcahost:8080/geoserver/

Then I deleted GeoServer_Data directory and copied GeoServer_Data directory from testserver, tomcat can’t start. As below is the full log.

We have two servers, one is test server and the other is production server. I use tomcat as application server. I want to set up geoserver on both server with exactly the same configuration.

I searched geoserver documention, it is said that we just need to copy the data directory over and it should work. I tried but it is not working.

On the test server, I deployed geoserver.war , and configured D:\GeoServer_Data as external data directory, then I created workspaces and layers. I deployed the same geoserver.war to prod server, copy D:\GeoServer_Data from test server to production server, and also D:\GeoServer_Data as external data directory on production server. But it is not working on production server. Tomcat can’t be started. I checked the log, I see this error message:

…….

ERROR [geoserver.global] -GEOSERVER_DATA_DIR:

………

The message is at error level just to ensure the data dir gets printed, however it seems that on this machine it is not set?

You should have something like:

ERROR [geoserver.global] -GEOSERVER_DATA_DIR: D:\GeoServer_Data

instead.

Also, look at the entire log, another common reason for the server not being able to start is the port Tomcat is normally using

(8080 by default) being already busy, one common culprit using that port is the Oracle administration UI.

Re: Problem with GeoServer Migration

After GeoServer was installed, I copied the default data directory (TOMCAT_HOME\webapps\geoserver\data) as D:\GeoServer_Data and configure web.xml. Tomcat and GeoServer can start. I can view the page http://lolcahost:8080/geoserver/

Then I deleted GeoServer_Data directory and copied GeoServer_Data directory from testserver, tomcat can’t start. As below is the full log.

Hum... the log does not contain anything that might lead to think there is a startup issue, these messages are to be seen also

Re: Serving Layers From Pre-Cached ArcGIS Tiling Schemes?

hello ,thanks for the help your given steps worked for me but its not working
in geoserver 2.15.1 which is latest version.
second I need urgent help regarding ARCGIS pre cached layers which is being
renderd in geosever now but when I click to seed the layers its doing
nothing simple "none " is written .on log checking Its giving error of
"notsupportedoperation ". please anybody tell me how can I get them seed in
geoserver native tile caching.
third I also tried to access "cascade WMS" from "stores"..which is fetching
ArcGIS server published wms layer capabilities xml and I published it in
geoserver and also did seed successfully but ...still problem is that when
stop ArcGIS server its stops rendering even its tile are seeded in geoserver
directory its not re rending independently the tiled layer.