Hi,

By renaming the version to 12.2 I was able to built geo-proximity-operation.
By adding it's jar to the lib solved the issue and validated the query.

Thanks everyone for the help

On Sat, Feb 21, 2015 at 6:09 AM, Bhashinee Nirmali <[email protected]>
wrote:

> Hi,
>
> Problem could be solved. Thanks for the support.
>
> On Thu, Feb 19, 2015 at 10:57 PM, Isuru Fernando <[email protected]>
> wrote:
>
>> Hi,
>>
>> 12-SNAPSHOT version of the geo tools jars have been removed the maven
>> repo. Change the version to 12.2 (or 13-RC1) and try building again.
>>
>> Thanks,
>> Isuru
>>
>> On Fri, Feb 20, 2015 at 12:21 PM, Bhashinee Nirmali <[email protected]
>> > wrote:
>>
>>> Hi,
>>>
>>> I tried to build the geo-proximity-operation. But got the following
>>> error [1].
>>>
>>>
>>> Thank you.
>>>
>>> [1]
>>>
>>> [INFO] Scanning for projects...
>>> [WARNING]
>>> [WARNING] Some problems were encountered while building the effective
>>> model for
>>> org.wso2.cep:geo-proximity:bundle:0.0.1-SNAPSHOT
>>> [WARNING] 'build.plugins.plugin.version' for
>>> org.apache.felix:maven-bundle-plugi
>>> n is missing. @ line 76, column 21
>>> [WARNING]
>>> [WARNING] It is highly recommended to fix these problems because they
>>> threaten t
>>> he stability of your build.
>>> [WARNING]
>>> [WARNING] For this reason, future Maven versions might no longer support
>>> buildin
>>> g such malformed projects.
>>> [WARNING]
>>> [INFO]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building Siddhi Extension - Geo Proximity operation 0.0.1-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [WARNING] The POM for org.geotools:gt-shapefile:jar:12-SNAPSHOT is
>>> missing, no d
>>> ependency information available
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2.717 s
>>> [INFO] Finished at: 2015-02-20T12:13:44-08:00
>>> [INFO] Final Memory: 9M/111M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal on project geo-proximity: Could not
>>> resolve depen
>>> dencies for project org.wso2.cep:geo-proximity:bundle:0.0.1-SNAPSHOT:
>>> Failure to
>>>  find org.geotools:gt-shapefile:jar:12-SNAPSHOT in
>>> http://dist.wso2.org/maven2 w
>>> as cached in the local repository, resolution will not be reattempted
>>> until the
>>> update interval of wso2-maven2-repository has elapsed or updates are
>>> forced -> [
>>> Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e swit
>>> ch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please rea
>>> d the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
>>> lutionException
>>>
>>>
>>> On Thu, Feb 19, 2015 at 10:43 PM, Rajeev Sampath <[email protected]>
>>> wrote:
>>>
>>>> This extension is built as an osgi bundle. So place it in
>>>> repository/components/dropins (remove it from lib and also the existing
>>>> osgi copy which is added by cep from dropins)
>>>> Also if the extension jar doesn't include the relevant dependencies for 
>>>> com.vividsolutions.jts.geom.*
>>>> etc you'll have to copy those libs separately to lib directory.
>>>>
>>>> Thanks
>>>> Rajeev
>>>>
>>>> On Fri, Feb 20, 2015 at 11:44 AM, Bhashinee Nirmali <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I am trying to run the Geo Spacial Data Analysis using WSO2 CEP[1]
>>>>> GeoIsWithin sample. I have done the following.
>>>>>
>>>>> 1. Downloaded the siddhi extention from the repo[2]
>>>>> 2. Built the GeoIsWithin extention using mvn install and built the
>>>>> geo-within-1.0-SNAPSHOT.jar
>>>>> 3. Copied the jar file to the \repository\components\lib
>>>>> 4. Added the fully qualified class name to the siddhi.extension file
>>>>> located at \repository\conf\siddhi
>>>>> 5. Started the WSO2 CEP server
>>>>> 6. Created the relevant input/output streams and added the following
>>>>> query as an execution plan.
>>>>>
>>>>> from
>>>>> dataIn[geo:iswithin(meta_longitude,meta_latitude,"{'type':'Polygon','coordinates':[[[79.8564863204956,6.947045831920686],[79.85642194747923,6.946747629898817],[79.8564863204956,6.947045831920686]]]}")==true]#transform.geo:subscribeExecutionPlan()
>>>>> select meta_phoneID , meta_latitude, meta_longitude,meta_speed
>>>>> insert into dataOut;
>>>>>
>>>>> But when I validate the query expression, it doesn't get added and
>>>>> following error[3] could be seen in the terminal.
>>>>>
>>>>> Can anyone please tell me where am I doing wrong?
>>>>>
>>>>> Thank you.
>>>>>
>>>>> Bhashinee Nirmali
>>>>> Faculty of Information Technology
>>>>> University of Moratuwa.
>>>>>
>>>>>
>>>>> [1]
>>>>> http://wso2.com/library/articles/2015/01/article-geo-spatial-data-analysis-using-wso2-complex-event-processor-0/
>>>>> [2]
>>>>> https://github.com/wso2-gpl/siddhi/tree/master/siddhi-extensions/geo
>>>>> [3]
>>>>>
>>>>> [2015-02-20 11:22:04,748] ERROR - {RPCMessageReceiver}
>>>>>  com/vividsolutions/jts/geom/Geometry
>>>>> java.lang.reflect.InvocationTargetException
>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>         at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>         at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>         at java.lang.reflect.Method.invoke(Method.java:606)
>>>>>         at
>>>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>>>>         at
>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>>>>         at
>>>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>>>>         at
>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>>>>         at
>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>>>         at
>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>>>>>         at
>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
>>>>>         at
>>>>> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
>>>>>         at
>>>>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>>>>>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>>>>         at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>>>>>         at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>>>>         at
>>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>>>>         at
>>>>> org.wso2.carbon.event.processor.stub.EventProcessorAdminServiceStub.validateSiddhiQueries(EventProcessorAdminServiceStub.java:830)
>>>>>         at
>>>>> org.apache.jsp.eventprocessor.validate_005fsiddhi_005fqueries_005fajaxprocessor_jsp._jspService(validate_005fsiddhi_005fqueries_005fajaxprocessor_jsp.ja
>>>>>         at
>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>>>>         at
>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>>>>>         at
>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>>>>>         at
>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>>>>         at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>>>>         at
>>>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>>>>         at
>>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>>>>         at
>>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>>>         at
>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>>         at
>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>>         at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>>>>         at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>         at
>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>>>>         at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>>         at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>>>>         at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>>         at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>         at
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>>>>>         at
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>>>>>         at
>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
>>>>>         at
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>>>>>         at
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>>>>         at
>>>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
>>>>>         at
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>>>>>         at
>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
>>>>>         at
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>>>>>         at
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>>>>>         at
>>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
>>>>>         at
>>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>>>>>         at
>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
>>>>>         at
>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>         at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>         at java.lang.Thread.run(Thread.java:745)
>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>> com/vividsolutions/jts/geom/Geometry
>>>>>         at java.lang.Class.forName0(Native Method)
>>>>>         at java.lang.Class.forName(Class.java:191)
>>>>>         at
>>>>> org.wso2.carbon.event.processor.core.internal.util.helper.SiddhiExtensionLoader.loadSiddhiExtensions(SiddhiExtensionLoader.java:55)
>>>>>         at
>>>>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.createMockSiddhiManager(CarbonEventProcessorService.java:452)
>>>>>         at
>>>>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.validateSiddhiQueries(CarbonEventProcessorService.java:443)
>>>>>         at
>>>>> org.wso2.carbon.event.processor.admin.EventProcessorAdminService.validateSiddhiQueries(EventProcessorAdminService.java:301)
>>>>>         ... 64 more
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> com.vividsolutions.jts.geom.Geometry
>>>>>         at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>>>>         at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>>>>         at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>>>>         at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>>>>         ... 70 more
>>>>> \repository\components\lib
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Rajeev Sampath
>>>> Senior Software Engineer
>>>> WSO2, Inc.; http://www.wso2.com.
>>>>
>>>> Mobile:
>>>> * +94716265766 <%2B94716265766>*
>>>>
>>>
>>>
>>
>>
>> --
>> *Isuru Fernando*
>> Software Engineering Intern,
>> WSO2, Inc.
>>
>> Mobile : +94 71 546 5178
>>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to