[Geoserver-users] problem adding layer

hi
I’ve setup geoserver 2.2.4 on windows 7 64 bit machine. Everything works fine with the builtin data.
However, if I try to add a new layer, following the tutorial, the new layer doesn’t appear on the layers list.
I’ve created a workspace, data store for my data. after the store is created, I try to create a new layer. In the new layer page, I set the projection and bbox and click save. There are no errors. When I go to the layers page, my new layer is missing.
I’ve tried that for both shapefiles and geotiff rasters.
The same procedure worked on a 32 bit machine.

Thanks
Yehiyam Livneh

Sent by emoze push mail


This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE SYSTEMS LTD. (hereinafter “RAFAEL”) contains confidential information intended for a specific individual and purpose, may constitute information that is privileged or confidential or otherwise protected from disclosure. If you are not the intended recipient, you should contact us immediately and thereafter delete this message from your system. You are hereby notified that any disclosure, copying, dissemination, distribution or forwarding of this message, or the taking of any action based on it, is strictly prohibited. If you have received this e-mail in error, please notify us immediately by e-mail mailto:lawraf@…5415… and completely delete or destroy any and all electronic or other copies of the original message and any attachments thereof.

Yehiyam
could you kindly attach the geoserver log (containing store creation and layer visualization)?Cheers,
Carlo

2013/2/10 Livneh Yehiyam <yehil@anonymised.com5…>

hi
I’ve setup geoserver 2.2.4 on windows 7 64 bit machine. Everything works fine with the builtin data.
However, if I try to add a new layer, following the tutorial, the new layer doesn’t appear on the layers list.
I’ve created a workspace, data store for my data. after the store is created, I try to create a new layer. In the new layer page, I set the projection and bbox and click save. There are no errors. When I go to the layers page, my new layer is missing.
I’ve tried that for both shapefiles and geotiff rasters.
The same procedure worked on a 32 bit machine.

Thanks
Yehiyam Livneh

Sent by emoze push mail


This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE SYSTEMS LTD. (hereinafter “RAFAEL”) contains confidential information intended for a specific individual and purpose, may constitute information that is privileged or confidential or otherwise protected from disclosure. If you are not the intended recipient, you should contact us immediately and thereafter delete this message from your system. You are hereby notified that any disclosure, copying, dissemination, distribution or forwarding of this message, or the taking of any action based on it, is strictly prohibited. If you have received this e-mail in error, please notify us immediately by e-mail mailto:lawraf@anonymised.com and completely delete or destroy any and all electronic or other copies of the original message and any attachments thereof.


Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
mobile: +39 3371094494
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Sun, Feb 10, 2013 at 4:43 PM, Livneh Yehiyam <yehil@anonymised.com> wrote:

hi
I’ve setup geoserver 2.2.4 on windows 7 64 bit machine. Everything works fine with the builtin data.
However, if I try to add a new layer, following the tutorial, the new layer doesn’t appear on the layers list.
I’ve created a workspace, data store for my data. after the store is created, I try to create a new layer. In the new layer page, I set the projection and bbox and click save. There are no errors. When I go to the layers page, my new layer is missing.
I’ve tried that for both shapefiles and geotiff rasters.
The same procedure worked on a 32 bit machine.

Hum… I have vague memories of Windows 7 undoing changes made in c:\program files as a way
to protect programs, or something like that.
If the data dir is in c:\program files\geoserver it may well be that’s the operating system playing tricks
on you

See here:
http://serverfault.com/questions/165278/windows-7-and-program-files-protection

I believe that the windows installer should be reworked to put configuration files in the Windows
mandated places… Not sure, haven’t been using Windows in a long time, the current installer
I believe was created by Mike (cc’ed) a long time ago (Windows XP times if memory serves me rigth)

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.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


Just for detail's sake:

The way we're doing things right now isn't Windows-approved (the data_dir is in %PROGRAMFILES% when it really "should" be in %USERPROFILE%) but it should still work. Running as a service gives you full write permissions to the %PROGRAMFILES% directory.

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

On 2/11/2013 4:01 AM, Andrea Aime wrote:

On Sun, Feb 10, 2013 at 4:43 PM, Livneh Yehiyam <yehil@anonymised.com> wrote:

hi
I've setup geoserver 2.2.4 on windows 7 64 bit machine. Everything works
fine with the builtin data.
However, if I try to add a new layer, following the tutorial, the new
layer doesn't appear on the layers list.
I've created a workspace, data store for my data. after the store is
created, I try to create a new layer. In the new layer page, I set the
projection and bbox and click save. There are no errors. When I go to the
layers page, my new layer is missing.
I've tried that for both shapefiles and geotiff rasters.
The same procedure worked on a 32 bit machine.

Hum.. I have vague memories of Windows 7 undoing changes made in

c:\program files as a way
to protect programs, or something like that.
If the data dir is in c:\program files\geoserver it may well be that's the
operating system playing tricks
on you

See here:
http://serverfault.com/questions/165278/windows-7-and-program-files-protection

I believe that the windows installer should be reworked to put
configuration files in the Windows
mandated places... Not sure, haven't been using Windows in a long time, the
current installer
I believe was created by Mike (cc'ed) a long time ago (Windows XP times if
memory serves me rigth)

Cheers
Andrea

On Tue, Feb 12, 2013 at 1:33 AM, Mike Pumphrey <mike@anonymised.com> wrote:

Just for detail’s sake:

The way we’re doing things right now isn’t Windows-approved (the data_dir is in %PROGRAMFILES% when it really “should” be in %USERPROFILE%) but it should still work. Running as a service gives you full write permissions to the %PROGRAMFILES% directory.

Ah, interesting, so it seems the changes are going to be rolled back only if GeoServer is started interactively…
which is probably how people start it if they are just testing it, as opposed to trying to run it in production.

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.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


geowolf wrote

On Tue, Feb 12, 2013 at 1:33 AM, Mike Pumphrey &lt;

mike@

&gt; wrote:

Just for detail's sake:

The way we're doing things right now isn't Windows-approved (the data_dir
is in %PROGRAMFILES% when it really "should" be in %USERPROFILE%) but it
should still work. Running as a service gives you full write permissions
to
the %PROGRAMFILES% directory.

Ah, interesting, so it seems the changes are going to be rolled back only
if GeoServer is started interactively...
which is probably how people start it if they are just testing it, as
opposed to trying to run it in production.

Cheers
Andrea

Bingo. Maybe this can be added to the documentation/download page? It's not
the most known thing to the average windows user & certain users security
setups can make it worse. I've run into this sort of thing making desktop
apps. Silly, Microsoft.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/problem-adding-layer-tp5033308p5034001.html
Sent from the GeoServer - User mailing list archive at Nabble.com.