Running WPS on tomcat from sources

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Running WPS on tomcat from sources

Mickael BEAUFILS
Hello,

I successfully managed to build the sources of WPS according to this tutorial : https://wiki.52north.org/bin/view/Geoprocessing/TutorialWpsEclipseIndigoGit
However I don't manage to go further.

I think the next step is to run it on tomcat, but I don't know how to do it.

Can anybody help me ?

Regards,

Mickael

_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Running WPS on tomcat from sources

BenjaminPross
Hello Mickael,

In order to run the WPS in Tomcat, you could copy the .war file that
should exist in the folder 52n-wps-webapp/target to the folder
%Tomcat_path%/webapps.
Alternatively, you could create a file named e.g. wps.xml in the folder
%Tomcat_path%/conf/Catalina/localhost. An example how the content needs
to look like:

<Context path="/wps"
docBase="D:\dev\WPS\52n-wps-webapp\target\52n-wps-webapp-3.3.2-SNAPSHOT" />

Hope this helps.

Cheers,

Benjamin

Am 17.03.2015 um 12:34 schrieb Mickael Beaufils:

> Hello,
>
> I successfully managed to build the sources of WPS according to this tutorial : https://wiki.52north.org/bin/view/Geoprocessing/TutorialWpsEclipseIndigoGit
> However I don't manage to go further.
>
> I think the next step is to run it on tomcat, but I don't know how to do it.
>
> Can anybody help me ?
>
> Regards,
>
> Mickael
>
> _______________________________________________
> Geoprocessingservices mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/geoprocessingservices
> http://geoprocessing.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines


--
Benjamin Proß
Software Engineer
52°North Geoprocessing Community

52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
Fon: +49-(0)-251–396371-42
Fax: +49-(0)-251–396371-11
[hidden email]
http://52north.org/

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849

_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Running WPS on tomcat from sources

Mickael BEAUFILS
In reply to this post by Mickael BEAUFILS
Hello Benjamin,

Thanks for your help

Actually I managed to make it work.

The problem was I had an old Eclipse already set up with mongrel for an old wps version (3.2).
Using a new eclipse makes it work properly.

Regards,

Mickael

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


Hello Mickael,

In order to run the WPS in Tomcat, you could copy the .war file that should exist in the folder 52n-wps-webapp/target to the folder %Tomcat_path%/webapps.
Alternatively, you could create a file named e.g. wps.xml in the folder %Tomcat_path%/conf/Catalina/localhost. An example how the content needs to look like:

<Context path="/wps"
docBase="D:\dev\WPS\52n-wps-webapp\target\52n-wps-webapp-3.3.2-SNAPSHOT" />

Hope this helps.

Cheers,

Benjamin

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

Am 17.03.2015 um 12:34 schrieb Mickael Beaufils:

> Hello,
>
> I successfully managed to build the sources of WPS according to this
> tutorial :
> https://wiki.52north.org/bin/view/Geoprocessing/TutorialWpsEclipseIndi
> goGit
> However I don't manage to go further.
>
> I think the next step is to run it on tomcat, but I don't know how to do it.
>
> Can anybody help me ?
>
> Regards,
>
> Mickael
>
> _______________________________________________

_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines