rpc

GWT RPC Service not found

淺唱寂寞╮ 提交于 2019-12-08 03:39:55
问题 I have searched the Web almost for hours, but I didn't find an answer. The Problem is that i want to the test the gwt RPC. So I generate with the Eclipse Plugin a GWT remote Service. But everytime I get the following Failure: "[WARN] No file found for: /kuss_projekt/SpeicherService" I have tryed a lot, but I dont knwo what is the Problem. Thats my Code: web.xml: <web-app> <servlet> <servlet-name>SpeicherService</servlet-name> <servlet-class>de.fhdo.kuss.server.SpeicherServiceImpl</servlet

Easiest way to get fast RPC with .NET?

旧时模样 提交于 2019-12-08 03:08:14
问题 What's the easiest way to get RPC in .NET? I see that there is .NET Remoting and WCF, and according to Wikipedia, WCF is the successor to .NET Remoting. So far, I only tried the remoting stuff, which seems to be pretty simple -- I also didn't hit any problem with the application speed so far. Is .NET remoting really the best way to get RPC working, or should I look into WCF (as .NET remoting is going to be discontinued in favor of it?)? I only want communication with already known objects

Access-Control-Allow-Origin header when Origin 'null' when trying to post data to a LOCAL application

五迷三道 提交于 2019-12-08 00:21:30
问题 I'm working on a program which will help interface with your bitcoin wallet via the browser. By setting up the bitcoin client as a server with the following commands in it's .conf file... server=1 rpcuser=test rpcpassword=test rpcallowip=127.0.0.1 It will allow it to run as a server and thus let you post JSON commands at it. I've gotten this to work with the following code below. $.ajax({ url: 'http://test:test@127.0.0.1:29661', type: 'POST', contenType: 'application/json', cache:false,

Protobuf RPC not available on Hadoop 2.2.0 single node server?

戏子无情 提交于 2019-12-07 18:47:48
问题 I am trying to run a hadoop 2.2.0 mapreduce job on my local single node cluster installed by following this tutorial: http://codesfusion.blogspot.co.at/2013/10/setup-hadoop-2x-220-on-ubuntu.html?m=1 Though on the server side the following exception is thrown: org.apache.hadoop.ipc.RpcNoSuchProtocolException: Unknown protocol: org.apache.hadoop.yarn.api.ApplicationClientProtocolPB at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.getProtocolImpl(ProtobufRpcEngine.java:527)

用thrift实现多语言相互调用

早过忘川 提交于 2019-12-07 13:53:11
一、ubuntu下thrift的安装 1.下载源代码 http://thrift.apache.org/download/ 下载最新版本 thrift-0.8.0.tar.gz 2.安装boost库 sudo apt-get install libboost-dev libboost-dbg libboost-doc bcp libboost-* 3.安装其他相关工具包 sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev ant 如果需要支持java,需要安装jdk,配置java环境变量。 4.解压文件,进入目录thrift-0.8.0安装 ./configure --with-cpp --with-boost --without-python --without-csharp --with-java --without-erlang --without-perl --with-php --without-php_extension --without-ruby --without-haskell --without-go make sudo

“operation is not supported” when invoking an RPC call on Vista

旧时模样 提交于 2019-12-07 12:49:40
问题 My application uses Microsoft RPC for interprocess communications. When two processes are run on the same machine and one process tries to call a method declared as (IDL notation): error_status_t rpcMethod( [in] pipe byte parameter ); this call fails with RPC_S_CANNOT_SUPPORT ("The requested operation is not supported") and never reaches the server side and the push()/pull() primitives of the supplied pipe are never called. This is only reproduced on Vista when using ncalrpc protocol and not

Apache xml-rpc与spring的整合

别说谁变了你拦得住时间么 提交于 2019-12-07 07:48:55
之前在项目中使用了Apache xml-rpc,遇到了一个麻烦的问题。spring没有提供对xml-rpc的支持,在处理webservice请求的时候,没有办法使用spring容器中管理的各种各样的bean对象。显然,这是不能接受的。 使用Apache xml-rpc,一般只需要在web.xml中定义一个servlet (XmlRpcServlet), 再实现用于处理webservice请求的组件类就可以了。 一般的web应用程序都使用spring来管理各个业务组件,我们没有办法使用spring管理的bean去处理webservice的请求,每次都初始化一个新的对象去处理请求,也会造成资源的浪费。 那么,怎么才能在xml-rpc中使用spring管理的bean去处理webservice的请求呢? 首先,要实现一个接口org.apache.xmlrpc.server.RequestProcessorFactoryFactory,这个接口类定义了如何创建对象去处理webservice请求: public class CustomRequestProcessorFactoryFactory implements RequestProcessorFactoryFactory { private final RequestProcessorFactory factory = new

remote procedure calls

蹲街弑〆低调 提交于 2019-12-07 07:42:56
问题 Does any one know a good way to do remote procedure calls in windows (non .net) environmental? I cant find much information on how to do it and the msdn only has the .net version. . Edit: Thanks for the answers so far. What i need it for is to communicate with a service on the same computer which will send progress reports back to the "client". The reason im intersted in rpc is because of vistas uac and how services cant talk to normal apps unless they use rpc or pipes. Looking into pipes,

Understanding JSON-RPC in Perl

杀马特。学长 韩版系。学妹 提交于 2019-12-07 07:03:24
问题 I am trying to understand the concept of JSON RPC and it's Perl implementation. Though I can fin d a lot of examples for Python/Java, I find surprisingly little or no examples for it in Perl. I am following this example but am not sure it is complete. The example I had in mind was to add 2 integers. Now I have a very basic HTML page set up, like so: <html> <body> <input type="text" name="num1"><br> <input type="text" name="num2"><br> <button>Add</button> </body> </html> Next, based on the

GWT RPC Service not found

主宰稳场 提交于 2019-12-07 06:54:29
I have searched the Web almost for hours, but I didn't find an answer. The Problem is that i want to the test the gwt RPC. So I generate with the Eclipse Plugin a GWT remote Service. But everytime I get the following Failure: "[WARN] No file found for: /kuss_projekt/SpeicherService" I have tryed a lot, but I dont knwo what is the Problem. Thats my Code: web.xml: <web-app> <servlet> <servlet-name>SpeicherService</servlet-name> <servlet-class>de.fhdo.kuss.server.SpeicherServiceImpl</servlet-class> </servlet> <servlet-mapping> <servlet-name>SpeicherService</servlet-name> <url-pattern>/kuss