[Geoserver-users] Python WPS scripting broken in Geoserver 2.3.x

Hi Guys,

Thank you very much for the new geoserver release. Lot's of great functionality.

One regression I found so far:
The python scripting seems to be broken in 2.3.x

Steps to reproduce:
Install:
http://gridlock.opengeo.org/geoserver/2.3.x/geoserver-2.3.x-latest-war.zip
http://gridlock.opengeo.org/geoserver/2.3.x/ext-latest/geoserver-2.3-SNAPSHOT-wps-plugin.zip
http://gridlock.opengeo.org/geoserver/2.3.x/community-latest/geoserver-2.3-SNAPSHOT-python-plugin.zip

add buffer WPS according to manual in ./scripts/wps :
http://docs.geoserver.org/stable/en/user/community/scripting/hooks.html
and try to request the WPS service.

Geoserver complaints about a NoClassDefFound: SimpleProcessingCollection

Exactly the same steps with 2.2 give good results.

Regards,
  Tom

Hi Tom,

Can you confirm that you have the wps extension installed in the 2.3 version?

-Justin

···

On Tue, Mar 26, 2013 at 9:57 AM, Tom van Tilburg <tom.van.tilburg@anonymised.com…84…> wrote:

Hi Guys,

Thank you very much for the new geoserver release. Lot’s of great
functionality.

One regression I found so far:
The python scripting seems to be broken in 2.3.x

Steps to reproduce:
Install:
http://gridlock.opengeo.org/geoserver/2.3.x/geoserver-2.3.x-latest-war.zip
http://gridlock.opengeo.org/geoserver/2.3.x/ext-latest/geoserver-2.3-SNAPSHOT-wps-plugin.zip
http://gridlock.opengeo.org/geoserver/2.3.x/community-latest/geoserver-2.3-SNAPSHOT-python-plugin.zip

add buffer WPS according to manual in ./scripts/wps :
http://docs.geoserver.org/stable/en/user/community/scripting/hooks.html
and try to request the WPS service.

Geoserver complaints about a NoClassDefFound: SimpleProcessingCollection

Exactly the same steps with 2.2 give good results.

Regards,
Tom


Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel’s independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d


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


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Yes, I can see the WPS among the WCS/WFS/WMS services in the left of the menu and my handcrafted python process that I have put in ./data/scripts/wps/ is displayed in the list of WPS processes (py:mybuffer)

By the way, I have OpenJDK installed.
At the moment I'm testing with Oracle 1.7 JDK and that gives me a
javax.script.ScriptException: ImportError: cannot import name process in /var/data/tomcat7/webapps/geoserver/data/scripts/wps/mybuffer.py at line number 1
It's a slightly different server though with Oracle JDK, so I'm testing some more.

Chrs, Tom

On 27-3-2013 14:53, Justin Deoliveira wrote:

Hi Tom,

Can you confirm that you have the wps extension installed in the 2.3 version?

-Justin

On Tue, Mar 26, 2013 at 9:57 AM, Tom van Tilburg <tom.van.tilburg@anonymised.com <mailto:tom.van.tilburg@anonymised.com>> wrote:

    Hi Guys,

    Thank you very much for the new geoserver release. Lot's of great
    functionality.

    One regression I found so far:
    The python scripting seems to be broken in 2.3.x

    Steps to reproduce:
    Install:
    http://gridlock.opengeo.org/geoserver/2.3.x/geoserver-2.3.x-latest-war.zip
    http://gridlock.opengeo.org/geoserver/2.3.x/ext-latest/geoserver-2.3-SNAPSHOT-wps-plugin.zip
    http://gridlock.opengeo.org/geoserver/2.3.x/community-latest/geoserver-2.3-SNAPSHOT-python-plugin.zip

    add buffer WPS according to manual in ./scripts/wps :
    http://docs.geoserver.org/stable/en/user/community/scripting/hooks.html
    and try to request the WPS service.

    Geoserver complaints about a NoClassDefFound:
    SimpleProcessingCollection

    Exactly the same steps with 2.2 give good results.

    Regards,
      Tom

    ------------------------------------------------------------------------------
    Own the Future-Intel&reg; Level Up Game Demo Contest 2013
    Rise to greatness in Intel's independent game demo contest.
    Compete for recognition, cash, and the chance to get your game
    on Steam. $5K grand prize plus 10 genre and skill prizes.
    Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.