Re: [Geoserver-devel] plugin problem

2009-03-05 Thread Justin Deoliveira
Hi, a couple of questions: 1) How are you deploying the plugin? Have you copied it into WEB-INF/lib on a running geoserver? 2) Is the applicationContext.xml at the root of the package structure? Or is it in the org.geoserver.hello package? It must be at the root to get picked up. Hopefully wi

[Geoserver-devel] plugin problem

2009-03-05 Thread bishal shrestha
hi all, i am trying to develop a plugin for geoserver and followed the guide to writing plugins http://geoserver.org/display/GEOSDOC/3+A+Simple+PlugIn but it is not working when i give the url http://localhost:8080/geoserver/ows?request=sayHello&service=hello&version=1.0.0 i get following error m

Re: [Geoserver-devel] plugin problem

2008-06-11 Thread Andrea Aime
GeoUser ha scritto: > The solution was to modify the canProcess from oracle plugin so it rejects > datastores that were generated with my plugin. Hum, a better solution would be to have your plugin to use a different "dbtype". This is what we use to avoid jdbc datastores to trip on each other, s

Re: [Geoserver-devel] plugin problem

2008-06-10 Thread GeoUser
The solution was to modify the canProcess from oracle plugin so it rejects datastores that were generated with my plugin. -- View this message in context: http://www.nabble.com/plugin-problem-tp17732424p17752935.html Sent from the GeoServer - Dev mailing list archive at Nabble.com. ---

Re: [Geoserver-devel] plugin problem

2008-06-10 Thread GeoUser
I think i found the problem. In the: public static DataStoreFactorySpi aquireFactory(Map params) there's a line: if (factory.canProcess(params)) And the problem is that both (oracle plugin and my plugin) can handle this FeatureType (it has same number and types of params). And in debug mode,

Re: [Geoserver-devel] plugin problem

2008-06-09 Thread Justin Deoliveira
Interesting... can you include the entire stack trace of the exception? Also is there any chance you can post your code so that we could try it out to try and diagnose the problem. -Justin GeoUser wrote: > Hello all! > > This is the situation: > > I wrote a geotools plugin for GeoServer 1.6.3

[Geoserver-devel] plugin problem

2008-06-09 Thread GeoUser
Hello all! This is the situation: I wrote a geotools plugin for GeoServer 1.6.3 that is almost identical to Oracle Spatial plugin. I renamed all the classes so there wouldn't be any problems with Oracle plugin. I also changed DataStoreFactorySpi in the plugin.jar. I've loaded GS 1.6.3 into Ecl