Manish please,
keep the ML into the loop.
In that tutorial I see:
Note
A common pitfall is to bundle an extension without the
applicationContext.xml file. If you receive the error message "No service:
( hello )" this is potentially the case. To ensure the file is present
inspect the contents of the hello jar present in the target directory of
the hello module.
Is this the case?
have you restarted geoserver after you put the jar into the lib folder?
Cheers,
Carlo
2014-03-18 7:19 GMT+01:00 Manish Kumar <[email protected]>:
> I'm following instructions on but get exception , please give me solution
> sir please......................
>
> http://docs.geoserver.org/stable/en/developer/programming-guide/ows-services/implementing.html
>
> to learn how to implement custom OWS service..
>
> I pretty much followed all the initial instructions and copied
> hello-1.0.jar in C:\geoserver-2.4.5\webapps\geoserver\WEB-INF\lib and
> restarted geoserver
>
> when I go to
> http://localhost:8080/geoserver/ows?request=sayHello&service=hello&version=1.0.0
>
> I get
>
> <ows:ExceptionReport version="1.0.0" xsi:schemaLocation="
> http://www.opengis.net/ows
> http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
> -
> <ows:Exception exceptionCode="InvalidParameterValue" locator="service">
> <ows:ExceptionText>No service: ( hello )</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
>
>
>
>
>
> sir my pom.xml file is:
> ............................
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <!-- set parent pom to community pom -->
> <parent>
> <groupId>org.geoserver</groupId>
> <artifactId>community</artifactId>
> <version>2.6-SNAPSHOT</version>
> </parent>
> <groupId>org.geoserver</groupId>
> <artifactId>hello</artifactId>
> <packaging>jar</packaging>
> <version>1.0</version>
> <name>Hello World Service Module</name>
> <!-- declare depenency on geoserver main -->
> <dependencies>
> <dependency>
> <groupId>org.geoserver</groupId>
> <artifactId>main</artifactId>
> <version>2.4.5</version>
> </dependency>
> </dependencies>
> <repositories>
> <repository>
> <id>opengeo</id>
> <name>opengeo</name>
> <url>http://repo.opengeo.org</url>
> </repository>
> </repositories>
> </project>
>
>
> and sir i got exception in my eclipes console file is:
> ...................................................................
> org.geoserver.platform.ServiceException: No service: ( hello )
> at org.geoserver.ows.Dispatcher.service(Dispatcher.java:518)
> at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:250)
> at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
> at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> at
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> at
> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
> at
> org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:70)
> at
> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
> at
> org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
> at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> at
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> at
> org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
> at
>
>
> On Mon, Mar 17, 2014 at 10:16 PM, carlo cancellieri <
> [email protected]> wrote:
>
>> Hi,
>> please keep the MailingList into the loop.
>>
>> Take a look here for maven and eclipse:
>> http://docs.geoserver.org/latest/en/developer/quickstart/index.html
>>
>> Then, if you still need support please post the error log, the pom.xml
>> and the command you run.
>> I will try to help you.
>>
>> Cheers,
>> Carlo
>>
>>
>> 2014-03-17 5:44 GMT+01:00 Manish Kumar <[email protected]>:
>>
>> sir, i try to run ows sample code which is given in geoserver developer
>>> manual but i get many issue related to maven to import the jars ,
>>> sir give me any example which help me in programming side using java
>>> code .....
>>>
>>>
>>>
>>> On Sun, Mar 16, 2014 at 3:28 PM, carlo cancellieri <
>>> [email protected]> wrote:
>>>
>>>> Ciao,
>>>> take a look here:
>>>> https://github.com/geoserver/geoserver/
>>>>
>>>> Note that if you want to contribute to the geoserver community you may
>>>> be able to use git and github pull req functionality (
>>>> https://github.com/geoserver/geoserver/pulls).
>>>>
>>>> If you only need jars you could use maven to import the jars.
>>>>
>>>> If you want to manually download them (NOT recommended) take a look
>>>> here:
>>>> http://repo.opengeo.org/
>>>>
>>>> Cheers,
>>>> Carlo
>>>>
>>>>
>>>> 2014-03-16 9:14 GMT+01:00 Manish Kumar <[email protected]>:
>>>>
>>>>> sir, i need full correct src of geoserver ,i downloaded src code but
>>>>> it's not working ..............
>>>>> i want to write ows service code but can't able to find jar file or
>>>>> correct src of geoserver ,please give me solution as fast as possible
>>>>> ............it's argent
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their
>>>>> applications. Written by three acclaimed leaders in the field,
>>>>> this first edition is now available. Download your free book today!
>>>>> http://p.sf.net/sfu/13534_NeoTech
>>>>> _______________________________________________
>>>>> Geoserver-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> ==
>>>> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for
>>>> more information.
>>>> ==
>>>>
>>>> Dott. Carlo Cancellieri
>>>> @cancellieric
>>>> Software Engineer
>>>>
>>>> GeoSolutions S.A.S.
>>>> Via Poggio alle Viti 1187
>>>> 55054 Massarosa (LU)
>>>> Italy
>>>> phone: +39 0584 962313
>>>> fax: +39 0584 1660272
>>>>
>>>> http://www.geo-solutions.it
>>>> http://twitter.com/geosolutions_it
>>>>
>>>> -------------------------------------------------------
>>>>
>>>
>>>
>>
>>
>> --
>> ==
>> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for
>> more information.
>> ==
>>
>> Dott. Carlo Cancellieri
>> @cancellieric
>> Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054 Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax: +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>
>
--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for
more information.
==
Dott. Carlo Cancellieri
@cancellieric
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel