Hi,
I'm developing a GeoServer application that connects to a PostGIS database
for all the data (Only vector data).
The server is WindowsXP running on VirtualBox. PostgreSQL and GeoServer are
running on the WindowsXP machine.
The problem was that my PostGIS store in GeoServer is disabled after every
reboot. I had to go to the "Edit Vector Data Source" page and recheck the
'Enabled' checkbox after every reboot.
To overcome this by adding a dependency to the geoserver service in the
Windows registry so that it waits for the postgresql database service.
Procedure:
1. Open the registry editor and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Geo
Server<version>
2. Right click on it and create a new multi string value. Name it
'DependOnService' without the quotes. It will be of type REG_MULTI_SZ.
3. Modify this to add the name of the database service. In my case, it was
'postgresql-8.4'.
Note: I have to remember to update this when ever there is a change in
GeoServer or PostgreSQL installation.
Why is GeoServer disabling the PostGIS store? Does it have to? Couldn't it
be a temporary problem if it couldn't connect to the database?
--
Best regards,
Chaitanya kumar CH.
+91-9494447584
17.2416N 80.1426E
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users