SensorWebClient 3.1.0

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

SensorWebClient 3.1.0

Raffaella
Hi all,

I'm trying, without result, to use Sensorwebclient-webapp-3.1.0-SNAPSHOT.
If I load default SOS it works fine, but I'm not able to load my sos.
Perhaps I wrong something.
I changed the sos-instance.data.xml in this way:
        <instance>       
                <itemName>SOS Giglio</itemName>
                <url>http://159.213.57.112:8080/SOSGiglio/sos</url>
                <version>1.0.0</version>
                <connector>org.n52.server.oxf.util.parser.DefaultSosConnector</connector>
                <adapter>org.n52.server.oxf.util.access.oxfExtensions.SOSAdapter_OXFExtension</adapter>
                <metadataHandler>org.n52.server.oxf.util.parser.DefaultMetadataHandler</metadataHandler>
                <waterML>false</waterML>
                <llEasting>10.17</llEasting>
                <llNorthing>42.16</llNorthing>
                <urEasting>12.48</urEasting>
                <urNorthing>43.45</urNorthing>
                <defaultZoom>9</defaultZoom>
                <requestChunk>300</requestChunk>
                <autoZoom>false</autoZoom>       
        </instance>

But it doesn't work.
In the log file it appears:


2013-03-26 11:53:09,796 DEBUG [http-8080-3] [StationPositionsServiceImpl.java:47] Request -> GetStationPositions for http://159.213.57.112:8080/SOSGiglio/sos in Bbox BBOX [ (10.17,42.16);(12.48,43.45) srs: EPSG:4326 ]
2013-03-26 11:53:09,796 DEBUG [http-8080-8] [ServiceMetadataServiceImpl.java:61] Request -> getPhen4SOS(sosUrl: http://159.213.57.112:8080/SOSGiglio/sos)
2013-03-26 11:53:09,796 ERROR [http-8080-3] [StationPositionsServiceImpl.java:74] Exception occured on server side.
java.lang.RuntimeException: Instantiation of Adapter failed.

Can you help me?

Thank in advance
Raffaella

Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

Henning Bredel-4
Am 26.03.2013 12:07, schrieb Raffaella:

> 2013-03-26 11:53:09,796 DEBUG [http-8080-3]
> [StationPositionsServiceImpl.java:47] Request -> GetStationPositions for
> http://159.213.57.112:8080/SOSGiglio/sos in Bbox BBOX [
> (10.17,42.16);(12.48,43.45) srs: EPSG:4326 ]
> 2013-03-26 11:53:09,796 DEBUG [http-8080-8]
> [ServiceMetadataServiceImpl.java:61] Request -> getPhen4SOS(sosUrl:
> http://159.213.57.112:8080/SOSGiglio/sos)
> 2013-03-26 11:53:09,796 ERROR [http-8080-3]
> [StationPositionsServiceImpl.java:74] Exception occured on server side.
> java.lang.RuntimeException: Instantiation of Adapter failed.
>


A stacktrace would be very helpful.
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

Henning Bredel-4
In reply to this post by Raffaella
Raffaella,

I did a quick test. You are working on the trunk version (SNAPSHOT) of
the client. As we are preparing some interface changes you might have
run into inconsistent changes of our current development line.

If you are not doing your own development on the client, please checkout
the code from

https://svn.52north.org/svn/swe/main/Clients/SensorWebClient/tags/sensorwebclient-3.1.0/

or download the pre-build version from here

http://52north.org/downloads/sensor-web/clients/52n-sensorwebclient-3-1-0-release/summary

Best

   Henning


Am 26.03.2013 12:07, schrieb Raffaella:

> Hi all,
>
> I'm trying, without result, to use Sensorwebclient-webapp-3.1.0-SNAPSHOT.
> If I load default SOS it works fine, but I'm not able to load my sos.
> Perhaps I wrong something.
> I changed the sos-instance.data.xml in this way:
> <instance>
> <itemName>SOS Giglio</itemName>
> <url>http://159.213.57.112:8080/SOSGiglio/sos</url>
> <version>1.0.0</version>
> <connector>org.n52.server.oxf.util.parser.DefaultSosConnector</connector>
>
> <adapter>org.n52.server.oxf.util.access.oxfExtensions.SOSAdapter_OXFExtension</adapter>
>
> <metadataHandler>org.n52.server.oxf.util.parser.DefaultMetadataHandler</metadataHandler>
> <waterML>false</waterML>
> <llEasting>10.17</llEasting>
> <llNorthing>42.16</llNorthing>
> <urEasting>12.48</urEasting>
> <urNorthing>43.45</urNorthing>
> <defaultZoom>9</defaultZoom>
> <requestChunk>300</requestChunk>
> <autoZoom>false</autoZoom>
> </instance>
>
> But it doesn't work.
> In the log file it appears:
>
>
> 2013-03-26 11:53:09,796 DEBUG [http-8080-3]
> [StationPositionsServiceImpl.java:47] Request -> GetStationPositions for
> http://159.213.57.112:8080/SOSGiglio/sos in Bbox BBOX [
> (10.17,42.16);(12.48,43.45) srs: EPSG:4326 ]
> 2013-03-26 11:53:09,796 DEBUG [http-8080-8]
> [ServiceMetadataServiceImpl.java:61] Request -> getPhen4SOS(sosUrl:
> http://159.213.57.112:8080/SOSGiglio/sos)
> 2013-03-26 11:53:09,796 ERROR [http-8080-3]
> [StationPositionsServiceImpl.java:74] Exception occured on server side.
> java.lang.RuntimeException: Instantiation of Adapter failed.
>
> Can you help me?
>
> Thank in advance
> Raffaella
>
>
>
>
>
> --
> View this message in context: http://sensorweb.forum.52north.org/SensorWebClient-3-1-0-tp4026169.html
> Sent from the 52° North - Sensor Web Community Forum mailing list archive at Nabble.com.
> _______________________________________________
> SWE mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/swe
> http://sensorweb.forum.52north.org

_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

Raffaella
In reply to this post by Henning Bredel-4
This is the list of the method calls:


2013-03-26 11:53:09,796 ERROR [http-8080-3] [StationPositionsServiceImpl.java:74] Exception occured on server side.
java.lang.RuntimeException: Instantiation of Adapter failed.
        at org.n52.server.util.SosAdapterFactory.createSosAdapter(SosAdapterFactory.java:56) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.oxf.util.parser.DefaultMetadataHandler.performMetadataCompletion(DefaultMetadataHandler.java:91) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.oxf.util.ConfigurationContext.getServiceMetadata(ConfigurationContext.java:226) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.service.StationPositionsServiceImpl.getCachedMetadata(StationPositionsServiceImpl.java:81) ~[sensorwebclient-sos-server-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.service.StationPositionsServiceImpl.getStationPositions(StationPositionsServiceImpl.java:54) ~[sensorwebclient-sos-server-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.service.rpc.RpcStationPositionsServlet.getStationPositions(RpcStationPositionsServlet.java:55) [sensorwebclient-sos-rpc-3.1.0-SNAPSHOT.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_22]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_22]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_22]
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-servlet-2.5.0.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [servlet-api.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:na]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [tomcat-coyote.jar:na]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat-coyote.jar:na]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [tomcat-coyote.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_22]
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_22]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.6.0_22]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.6.0_22]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.6.0_22]
        at org.n52.server.util.SosAdapterFactory.createSosAdapter(SosAdapterFactory.java:36) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        ... 27 common frames omitted
Caused by: java.lang.IllegalArgumentException: Service version 'org.n52.server.oxf.util.parser.DefaultSosConnector' not supported.
        at org.n52.oxf.sos.adapter.SOSRequestBuilderFactory.generateRequestBuilder(SOSRequestBuilderFactory.java:39) ~[oxf-sos-adapter-2.0.0-alpha.2.jar:na]
        at org.n52.oxf.sos.adapter.SOSAdapter.<init>(SOSAdapter.java:142) ~[oxf-sos-adapter-2.0.0-alpha.2.jar:na]
        at org.n52.oxf.sos.adapter.SOSAdapter.<init>(SOSAdapter.java:120) ~[oxf-sos-adapter-2.0.0-alpha.2.jar:na]
        at org.n52.server.oxf.util.access.oxfExtensions.SOSAdapter_OXFExtension.<init>(SOSAdapter_OXFExtension.java:50) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        ... 32 common frames omitted
2013-03-26 11:53:09,812 ERROR [http-8080-8] [ConfigurationContext.java:209] Error building server metadata
java.lang.RuntimeException: Instantiation of Adapter failed.
        at org.n52.server.util.SosAdapterFactory.createSosAdapter(SosAdapterFactory.java:56) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.oxf.util.parser.DefaultMetadataHandler.performMetadataCompletion(DefaultMetadataHandler.java:91) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.oxf.util.ConfigurationContext.getSOSMetadata(ConfigurationContext.java:204) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.service.ServiceMetadataServiceImpl.getPhen4SOS(ServiceMetadataServiceImpl.java:63) [sensorwebclient-sos-server-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.service.rpc.RpcServiceMetadataServlet.getPhen4SOS(RpcServiceMetadataServlet.java:58) [sensorwebclient-sos-rpc-3.1.0-SNAPSHOT.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_22]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_22]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_22]
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-servlet-2.5.0.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [servlet-api.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:na]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [tomcat-coyote.jar:na]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat-coyote.jar:na]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [tomcat-coyote.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_22]
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_22]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.6.0_22]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.6.0_22]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.6.0_22]
        at org.n52.server.util.SosAdapterFactory.createSosAdapter(SosAdapterFactory.java:36) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        ... 26 common frames omitted
Caused by: java.lang.IllegalArgumentException: Service version 'org.n52.server.oxf.util.parser.DefaultSosConnector' not supported.
        at org.n52.oxf.sos.adapter.SOSRequestBuilderFactory.generateRequestBuilder(SOSRequestBuilderFactory.java:39) ~[oxf-sos-adapter-2.0.0-alpha.2.jar:na]
        at org.n52.oxf.sos.adapter.SOSAdapter.<init>(SOSAdapter.java:142) ~[oxf-sos-adapter-2.0.0-alpha.2.jar:na]
        at org.n52.oxf.sos.adapter.SOSAdapter.<init>(SOSAdapter.java:120) ~[oxf-sos-adapter-2.0.0-alpha.2.jar:na]
        at org.n52.server.oxf.util.access.oxfExtensions.SOSAdapter_OXFExtension.<init>(SOSAdapter_OXFExtension.java:50) ~[sensorwebclient-api-3.1.0-SNAPSHOT.jar:na]
        ... 31 common frames omitted
2013-03-26 11:53:09,812 ERROR [http-8080-8] [ServiceMetadataServiceImpl.java:67] Exception occured on server side.
java.lang.NullPointerException: null
        at org.n52.server.service.ServiceMetadataServiceImpl.getAllPhenomenaForSos(ServiceMetadataServiceImpl.java:50) ~[sensorwebclient-sos-server-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.service.ServiceMetadataServiceImpl.getPhen4SOS(ServiceMetadataServiceImpl.java:64) ~[sensorwebclient-sos-server-3.1.0-SNAPSHOT.jar:na]
        at org.n52.server.service.rpc.RpcServiceMetadataServlet.getPhen4SOS(RpcServiceMetadataServlet.java:58) [sensorwebclient-sos-rpc-3.1.0-SNAPSHOT.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_22]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_22]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_22]
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) [gwt-servlet-2.5.0.jar:na]
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-servlet-2.5.0.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [servlet-api.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:na]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [tomcat-coyote.jar:na]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat-coyote.jar:na]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [tomcat-coyote.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_22]

By
Raffaella
Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

Raffaella
In reply to this post by Henning Bredel-4
Thanks Henning,

I'll try the version that you suggested.

Ciao
Raffaella
Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

pedro lanz
Dear Raffaella!


Thank you for your post! I am trying to set up the SWClient as well.
But I have troubles configuring it (Step2 at https://wiki.52north.org/bin/view/SensorWeb/SensorWebClientInstallationGuide).
I checked out the code from https://svn.52north.org/svn/swe/main/Clients/SensorWebClient/tags/sensorwebclient-3.1.0/, but I cannot find "sos-instances.data.xml" file in ${project_root}src/main/resources/webapp; instead I have folders ${project_root}/src/main/assembly -- where did you find that file?

Moreover, I don't understand "Copy ${project_root}/sensorwebclient-build-example.properties to ${user.home}/sensorwebclient-build-dev.properties" ... where is that user-home variable defined?

In your "sos-instance.data.xml", you define a tag called  <connector>: what does it do, it is not listed in
https://wiki.52north.org/bin/view/SensorWeb/SensorWebClientInstallationGuide.

many thanks in advance!
pedro
Peter Lanz, Forschungsassistent
Geomedien, Geoinformation und Fernerkundung
Beuth Hochschule für Technik, Berlin
Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

Daniel Nüst - 52N
Hi Pedro!

Am 28.03.2013 15:43, schrieb pedro lanz:
> Moreover, I don't understand "Copy
> ${project_root}/sensorwebclient-build-example.properties to
> ${user.home}/sensorwebclient-build-dev.properties" ... where is that
> user-home variable defined?

See http://maven.apache.org/settings.html

If you are on Windows (7), your user home should be C:\Users\<yourusername>

Hth,
Daniel

--
Daniel Nüst
52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
E-Mail: [hidden email]
Fon: +49-(0)-251–396371-36
Fax: +49-(0)-251–396371-11

http://52north.org/
Twitter: @FiveTwoN

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

Henning Bredel-4
In reply to this post by pedro lanz
Am 28.03.2013 15:43, schrieb pedro lanz:
> but I cannot find "sos-instances.data.xml" file in
> ${project_root}src/main/resources/webapp; instead I have folders
> ${project_root}/src/main/assembly -- where did you find that file?

Where did you find that reference? It should be

   ${webapplication_root}/ds/sos-instances.data.xml

Best

   Henning
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Reply | Threaded
Open this post in threaded view
|

Re: SensorWebClient 3.1.0

Dana
In reply to this post by Daniel Nüst - 52N
Hi Daniel,
    I posted a message before and now I want to repost a message and have my problems described clearly. I've downloaded the sensorwebclient project from[1] and I follow the instructions from[2].
     But when I configured my sos instance I couldn't find the file "src/main/webapp/ds/sos-instances.data.xml" in ${project_root}src/main/resources/webapp; instead I only have folders ${project_root}/src/main/assembly. So I don't know where the xml file is exactly.
     Besides I copied the ${project_root}/sensorwebclient-build-example.properties to my user_home(that is, c:\users\myusername) and renamed it with "sensorwebclient-build-dev.properties". But when I built it with the maven command "mvn clean install" it warns with the following error message:

Above are the two problems I meet with now.I'm here to turn to you for help.Looking forward to your feedback.Thank you.
Best regards,
Dana
[1]https://github.com/52North/SensorWebClient
[2]https://wiki.52north.org/SensorWeb/SensorWebClientInstallationGuide