Hi Ammar,
if you have created a windows service you can edit this using the command
below:
{your_tomcat_path}\bin\tomcat7w //ES/{your_service_name}
here <http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html>
some useful documentation about that.
Regards,
Tobia Di Pisa
*==GeoServer Professional Services from the experts!
Visithttp://goo.gl/NWWaa2 <http://goo.gl/NWWaa2> for more information.==*
Dott. Ing. Tobia Di Pisa
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
-------------------------------------------------------
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
2014-10-08 15:06 GMT+02:00 Ammar <ammar8...@yahoo.com>:
> Hi Tobia,
>
> Thanks for your reply. I am afraid I don't quite understand what you mean!
> The Tomtcat is in fact installed as a Windows Server but I can not see any
> Java options in its properties!
>
> Regards,
> Ammar
> ------------------------------
> *From:* Tobia Di Pisa <tobia.dip...@geo-solutions.it>
> *To:* Ammar <ammar8...@yahoo.com>
> *Cc:* "geoserver-users@lists.sourceforge.net" <
> geoserver-users@lists.sourceforge.net>
> *Sent:* Wednesday, October 8, 2014 2:08 PM
> *Subject:* Re: [Geoserver-users] Changing GEOSERVER_DATA_DIR problem
>
> Hi Ammar,
>
> if you have installed Tomcat as a Windows service I suggest to set the
> GEOSERVER_DATA_DIR
> inside your service properties -> Java -> Java Options. I hope this can
> help you.
>
> Regards,
> Tobia Di Pisa
>
>
>
>
> *==GeoServer Professional Services from the experts!
> Visithttp://goo.gl/NWWaa2 <http://goo.gl/NWWaa2> for more information.==*
>
> Dott. Ing. Tobia Di Pisa
> Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
> Call
> Send SMS
> Add to Skype
> You'll need Skype CreditFree via Skype
> -------------------------------------------------------
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> 2014-10-08 12:50 GMT+02:00 Ammar <ammar8...@yahoo.com>:
>
>
>
> Hello
>
> I have GeoServer 2.4.1 installed on Windows Server 2008 R2 in a Tomtcat
> 7.0 container. I am trying to change the location of the GEOSERVER_DATA_DIR
> but I am losing all the configurations (layers, datasources, workspaces,
> etc) when doing so. The GEOSERVER_DATA_DIR parameter in the web.xml is
> commented out and instead a Windows environment variable has been created
> that points to a location in the local disk drive. The steps that I have
> been doing are:
> 1. Copy the entire folder that contains the GEOSERVER_DATA_DIR to the new
> target location.
> 2. Change the GEOSERVER_DATA_DIR Windows environment variable from the
> current location to the new desired one.
> 3. Restart Tomtcat 7.0 service.
>
> When I log on to GeoServer, I find that all the configuration has been
> deleted and instead I get the default workspaces, layers, etc that come by
> default with GeoServer!
>
> What am I doing wrong? Any solutions for this problem?
>
> Regards,
> Ammar
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users