1

Can I move the GeoServer folder app directory to the Tomcat webapps directory to migrate it to Tomcat? I do not want to update GeoServer version or do any configuration change, only migrate it to Tomcat.

1 Answer 1

2

The location of the app folder is not important to Tomcat, you can have it anywhere.

You just need to edit the Tomcat server.xml file to point to the location.

Tomcat on a Windows server with the GeoServer application at a location like C:\apps\GeoServer\gs2_13-2 can be accessed by Tomcat by having the following in the server.xml file

<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
     Context
        path="/gs213"
        docBase="C:\apps\GeoServer\gs2_13-2" 
        crossContext="true"
        reloadable="false"
        useRelativeRedirects="true" />

For a service accessed as:

http://localhost:8080/gs213/ows?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.