[Geoserver-users] GEOSERVER_DATA_DIR upgrade - REST not enabled

Hi list,

I have a GEOSERVER_DATA_DIR that I have upgraded from V2.0
to V2.4.0. Any attempt to access http://localhost:8080/geoserver/rest
gives a 404 error.
If I remove my data dir and use the default in the WAR file,
then http://localhost:8080/geoserver/rest works OK.

This leads me to the assumption that the upgrade process is
not enabling REST correctly.
What do I need to modify in my upgraded data dir to enable REST?

Thanks,

Chris

--
____________________________________________________________

Chris Morgan
  Director of Information Technology
Lynx Information Systems Ltd
Tel: +44 (0)20 8780 2634
Email: chris@anonymised.com
Web: http://www.lynxinfo.co.uk
____________________________________________________________

------------------------------------------------------------
Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88

Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.
------------------------------------------------------------

I guess you need to update the rest.properties file inside the GEOSERVER_DATA_DIR. This file controls the Rest access constraints.

http://docs.geoserver.org/latest/en/user/security/rest.html

···

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

Ing. Alessio Fabiani
@alfa7691
Founder/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 331 6233686

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


On Wed, Nov 13, 2013 at 1:45 PM, Chris Morgan <chris@anonymised.com> wrote:

Hi list,

I have a GEOSERVER_DATA_DIR that I have upgraded from V2.0
to V2.4.0. Any attempt to access http://localhost:8080/geoserver/rest
gives a 404 error.
If I remove my data dir and use the default in the WAR file,
then http://localhost:8080/geoserver/rest works OK.

This leads me to the assumption that the upgrade process is
not enabling REST correctly.
What do I need to modify in my upgraded data dir to enable REST?

Thanks,

Chris


Chris Morgan

Director of Information Technology
Lynx Information Systems Ltd
Tel: +44 (0)20 8780 2634
Email: chris@anonymised.com
Web: http://www.lynxinfo.co.uk



Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88

Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.


DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk


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

Hi Alessio,
Sorry, I didn't see your reply earlier.

I have the rest.properties file in my upgraded geoserver_data_dir, and it is identical
to the one that is automatically created in a new 2.4 geoserver_data_dir.

Are there any other config files I may be missing?

Thanks,

Chris

On 13/11/2013 13:08, Alessio Fabiani wrote:

I guess you need to update the rest.properties file inside the GEOSERVER_DATA_DIR. This file controls the Rest access constraints.

http://docs.geoserver.org/latest/en/user/security/rest.html

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

Ing. Alessio Fabiani
@alfa7691
Founder/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 331 6233686

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

-------------------------------------------------------

On Wed, Nov 13, 2013 at 1:45 PM, Chris Morgan <chris@anonymised.com <mailto:chris@anonymised.com>> wrote:

    Hi list,

    I have a GEOSERVER_DATA_DIR that I have upgraded from V2.0
    to V2.4.0. Any attempt to access http://localhost:8080/geoserver/rest
    gives a 404 error.
    If I remove my data dir and use the default in the WAR file,
    then http://localhost:8080/geoserver/rest works OK.

    This leads me to the assumption that the upgrade process is
    not enabling REST correctly.
    What do I need to modify in my upgraded data dir to enable REST?

    Thanks,

    Chris

    --
    ____________________________________________________________

    Chris Morgan

    Director of Information Technology
    Lynx Information Systems Ltd
    Tel: +44 (0)20 8780 2634 <tel:%2B44%20%280%2920%208780%202634>
    Email: chris@anonymised.com <mailto:chris@anonymised.com>
    Web: http://www.lynxinfo.co.uk
    ____________________________________________________________

    ------------------------------------------------------------
    Lynx Information Systems Ltd
    93-99 Upper Richmond Rd
    London SW15 2TG
    United Kingdom
    Web: http://www.lynxinfo.co.uk
    Email: lynx@anonymised.com <mailto:lynx@anonymised.com>
    Tel: +44 (0)20 8780 2634 <tel:%2B44%20%280%2920%208780%202634>
    Fax: +44 (0)20 8780 0931 <tel:%2B44%20%280%2920%208780%200931>

    Registered in England Number 2454130
    VAT Number GB 561 8979 88

    Incoming and outgoing emails are checked for viruses
    by Sophos AntiVirus.

    This email may contain confidential information which is
    intended for the named recipient(s) only. If you are
    not the named recipient you should not take any action in
    relation to this email, other than to notify us that you
    have received it in error.
    ------------------------------------------------------------

    ------------------------------------------------------------------------------
    DreamFactory - Open Source REST & JSON Services for HTML5 & Native
    Apps
    OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
    Free app hosting. Or install the open source package on any LAMP
    server.
    Sign up and see examples for AngularJS, jQuery, Sencha Touch and
    Native!
    http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------
Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88

Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.
------------------------------------------------------------

Hello Chris,
nothing that I can recall right now.

Can you send me the rest.properties files just to be sure that everything is ok?

I would also point out that in the latest GeoServer versions only the Administrators can access the internal resources due to a different security subsystem.

···

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

Ing. Alessio Fabiani
@alfa7691
Founder/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 331 6233686

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


On Mon, Nov 18, 2013 at 10:24 AM, Chris Morgan <chris@anonymised.com> wrote:

Hi Alessio,
Sorry, I didn’t see your reply earlier.

I have the rest.properties file in my upgraded geoserver_data_dir, and it is identical
to the one that is automatically created in a new 2.4 geoserver_data_dir.

Are there any other config files I may be missing?

Thanks,

Chris

On 13/11/2013 13:08, Alessio Fabiani wrote:

I guess you need to update the rest.properties file inside the GEOSERVER_DATA_DIR. This file controls the Rest access constraints.

http://docs.geoserver.org/latest/en/user/security/rest.html

------------------------------------------------------------
Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: [http://www.lynxinfo.co.uk](http://www.lynxinfo.co.uk)
Email: [lynx@anonymised.com](mailto:lynx@anonymised.com)
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88

Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.
------------------------------------------------------------

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

Ing. Alessio Fabiani
@alfa7691
Founder/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 331 6233686

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


On Wed, Nov 13, 2013 at 1:45 PM, Chris Morgan <chris@anonymised.com> wrote:

Hi list,

I have a GEOSERVER_DATA_DIR that I have upgraded from V2.0
to V2.4.0. Any attempt to access http://localhost:8080/geoserver/rest
gives a 404 error.
If I remove my data dir and use the default in the WAR file,
then http://localhost:8080/geoserver/rest works OK.

This leads me to the assumption that the upgrade process is
not enabling REST correctly.
What do I need to modify in my upgraded data dir to enable REST?

Thanks,

Chris


Chris Morgan

Director of Information Technology
Lynx Information Systems Ltd
Tel: +44 (0)20 8780 2634
Email: chris@anonymised.com
Web: http://www.lynxinfo.co.uk



Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88

Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.


DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk


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