[OpenLayers-Users] How to get WPServer to work behind Tomcat/Jython

Christopher Schmidt crschmidt at metacarta.com
Tue Jan 20 19:08:25 EST 2009


On Mon, Jan 19, 2009 at 07:24:08PM -0800, Ming Ya Jiang wrote:
> Sorry about intrusion on to this forum,  but I was unable to find a specific 
> forum on WPServer/FeatureServer, and I find this forum to be tangentially related.

http://openlayers.org/mailman/listinfo/featureserver

> I am looking at your wonderful WPServer to achieve the goal of doing
> some basic processing of geojson features like buffering and
> intersection. 
> 
> I need to get WPserver to work behind tomcat /Jython.

Good luck. I've never run Tomcat, have no experience with it, and don't
have any advice.

>    I saw a
> older blog of yours (technical ramblings) that talked about Jython and
> featureserver that talked about that it is relatively easy to achieve
> this.  

FeatureServer and WPServer are different, in that the 'core'
functionality of WPServer primarily depends on C code (in GDAL), though
if you wrote pure-Python actions, they could work under jython, I
suppose. I suppose you could also write JTS bindings, I assume. 

> I was able to install Jython, and got basic Python servlet example
> working, so I know that my Jython and servlet installation is working
> with tomcat.  
> 
> I also was able to get wpsdemo to work behind tomcat, so I know that
> my python and GDAL installation is working. 
> 
> Now the question is how do I get it to run in tomcat, perhaps there is
> a simple handler python script that need to be built ? 

I have no idea. 

> Being a complete novice in Python/Jython, I'd like to get some quick pointers on how to do that.

At this point, you have about an order of magnitude more experience than
me in Jython working with Tomcat, so I think you're on your own. Best of
luck.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list