You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by vkulichenko <va...@gmail.com> on 2016/04/06 20:45:17 UTC

Re: org.apache.ignite.IgniteException

Hi Rajesh,

Can you please properly subscribe to the mailing list so that the community
receives email notifications? Here is the instruction:
http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1


rajeshrai248 wrote
> I have created Ignite service which implements both Service and a dummy
> Test interface. I am trying to invoke Test interface method through below
> code
> IgniteServiceTestInterface cntrSvc = ignite.services().
>                 serviceProxy("IgniteServiceTestInterface",
> IgniteServiceTestInterface.class, *//*not-sticky*//*false);
>         System.out.println(cntrSvc.invokeNext(1));
> 
> method is already implemented in Service and returns next counter whenever
> gets invoked. But instead I am getting an error as below
> Exception in thread "main" class org.apache.ignite.IgniteException: Failed
> to find deployed service: IgniteServiceTestInterface
> 	at
> org.apache.ignite.internal.processors.service.GridServiceProxy$ProxyInvocationHandler.invoke(GridServiceProxy.java:167)
> 	at com.sun.proxy.$Proxy30.invokeNext(Unknown Source)
> 	at IgniteClient.main(IgniteClient.java:15)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> 
> Could anyone tell me what I am missing here

Most likely your service was not properly deployed. Can you show the code
that does this?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/org-apache-ignite-IgniteException-tp3960p3976.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.