On Thu, May 30, 2013 at 10:39 PM, Meichun Li <[email protected]> wrote:
> Hi,******
> 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.
Cheers
Andrea
--
==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users