Error message

2010-09-07 Thread Lars Schnoor
Hi everyone I am using XML-RPC to provide an interface with many methods and different clients. I get the following error message: Sep 7, 2010 10:25:16 AM org.apache.xmlrpc.server.XmlRpcErrorLogger log SEVERE: No method matching arguments: java.lang.Integer, java.lang.String, java.lang.Strin

void methods

2010-04-23 Thread Lars Schnoor
Hi I am considering using PropertyHandlerMapping.getListMethods() and PropertyHandlerMapping.getMethodHelp(String pHandlerName) to document my interface. The PropertyHandlerMapping.getListMethods() gives me an array of strings listing the methods, except those methods that return void. I have

Re: XML-RPC timeout

2010-02-16 Thread Lars Schnoor
I did and it works now, thank you! Jochen Wiedmann wrote: Quite possible. Try 3.1.3. On Mon, Feb 15, 2010 at 11:50 AM, Lars Schnoor wrote: When I look at the source code for XML-RPC 3.1.2 I can't see any initHttpHeaders in XmlRpcSun15HttpTransport, is this initHttpHeaders a newer

Re: XML-RPC timeout

2010-02-15 Thread Lars Schnoor
s are set. If they aren't working, contact Sun. On Fri, Feb 12, 2010 at 4:40 PM, Lars Schnoor wrote: Would this be correct? XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl(); config.setConnectionTimeout(2000); config.setReplyTi

Re: XML-RPC timeout

2010-02-15 Thread Lars Schnoor
Are you referring to a bug in the JRE? Jochen Wiedmann wrote: Put a breakpoint into XmlRpcSun15HttpTransport.initHttpHeaders. That should demonstrate you that the timeout values are set. If they aren't working, contact Sun. On Fri, Feb 12, 2010 at 4:40 PM, Lars Schnoor wrote: Would

Re: XML-RPC timeout

2010-02-12 Thread Lars Schnoor
#setTransportFactory(org.apache.xmlrpc.client.XmlRpcTransportFactory) On Fri, Feb 12, 2010 at 4:12 PM, Lars Schnoor wrote: How do I set the transport factory? I followed the example on the website. Jochen Wiedmann wrote: Are you using a proper transport factory, like XmlRpcSun15HttpTransportFactory

Re: XML-RPC timeout

2010-02-12 Thread Lars Schnoor
How do I set the transport factory? I followed the example on the website. Jochen Wiedmann wrote: Are you using a proper transport factory, like XmlRpcSun15HttpTransportFactory? On Fri, Feb 12, 2010 at 4:01 PM, Lars Schnoor wrote: Hi I have seen that the XmlRpcClientConfigImpl has two

XML-RPC timeout

2010-02-12 Thread Lars Schnoor
Hi I have seen that the XmlRpcClientConfigImpl has two methods to set timeout, there is setReplyTimeout(int pTimeout) and setConnectionTimeout(int pTimeout). Do these methods do anything? I have used these methods to set the two timeouts to 2 and 5 seconds respectively. I setup a client with th

Design question

2010-02-03 Thread Lars Schnoor
Hi I am using XML-RPC for a control interface for my application. My application starts a web server which loads the class that provides the XML-RPC methods. I believe that the web server creates a new object of the class that implements the XML-RPC methods each time a XML-RPC method is invoked

Re: XML-RPC update

2009-08-03 Thread Lars Schnoor
I guess my reasons aren't good enough? Lars Schnoor wrote: Hi Jochen The reason I am using the snapshot is that the 3.1.2 version that I used before ran into the deadlock problem (XMLRPC-168) which I believe would be solved in an update? I noticed that I am not the only one running int

Re: XML-RPC update

2009-07-28 Thread Lars Schnoor
get XML-RPC updated so that people avoid this possible deadlock problem in the first place? Lars Jochen Wiedmann wrote: On Mon, Jul 27, 2009 at 2:31 PM, Lars Schnoor wrote: I was wondering if there soon will be an official release 3.1.3 of XML-RPC? Since May I have been using a snapshot

XML-RPC update

2009-07-27 Thread Lars Schnoor
Hi I was wondering if there soon will be an official release 3.1.3 of XML-RPC? Since May I have been using a snapshot of 3.1.3. Lars

Re: XmlRpcHttpTransportException (apache xmlrpc client, xmlrpc-c C++ server)

2009-07-12 Thread Lars Schnoor
Hi I am not sure if I can come with any useful for you, but I would try changing the argument to you function call from Vector to Object[]. My server runs Apaches XML-RPC and I have managed to use it with both xml-rpc for c and for c++. Lars Arne Kalaghan wrote: Hello, I have problems conne

Re: ThreadPool deadlock

2009-05-18 Thread Lars Schnoor
Hi I am using the newest snapshot and it reduced the frequency of crashes considerably, but I still have problems with it from time to time. I did however not get a chance to check if it is the same deadlock problem as before. Lars Jochen Wiedmann wrote: It is funny. This problem has been i

Running xmlrpc client on specific port

2009-05-12 Thread Lars Schnoor
Hi everyone I have seen that a xmlrpc server can be created giving both a network port and an IP-address. For me this sounds like the server can be made to listen on a specific network interface. When creating a xmlrpc client only a port and address of the xmlrpc server is given. Is it possible

Re: Problem with XmlRpcClient.execute()

2009-05-10 Thread Lars Schnoor
Thank you Jochen, I am still testing if version 3.1.3 fixes my problem. Jochen Wiedmann wrote: On Sun, May 10, 2009 at 1:51 PM, Lars Schnoor wrote: Now I checked the newest source out, but how do I build it? I found some eclipse files, but my NetBeans 6.5 does not want to import them as a

Re: Problem with XmlRpcClient.execute()

2009-05-10 Thread Lars Schnoor
://issues.apache.org/jira/browse/XMLRPC-168 Checkout and build the latest version from SVN. On Sat, May 9, 2009 at 11:21 PM, Lars Schnoor wrote: Hi Alan Now I have been able to recreate the problem and can post the stack traces. I have actually one client and one server on each machine, but in

Re: Problem with XmlRpcClient.execute()

2009-05-09 Thread Lars Schnoor
at 11:21 PM, Lars Schnoor wrote: Hi Alan Now I have been able to recreate the problem and can post the stack traces. I have actually one client and one server on each machine, but in the example below the call from the client to the server does not return. *On the client side:* /"XML-

Re: Problem with XmlRpcClient.execute()

2009-05-09 Thread Lars Schnoor
xmlrpc.util.ThreadPool$Poolable.start(ThreadPool.java:107) - waiting to lock <0x09293a50> (a org.apache.xmlrpc.util.ThreadPool$Poolable$1) - locked <0x09293ac0> (a org.apache.xmlrpc.util.ThreadPool$Poolable) at org.apache.xmlrpc.util.ThreadPool.startTask(ThreadPool.java:168)

Re: Problem with XmlRpcClient.execute()

2009-05-08 Thread Lars Schnoor
Hi again I am running Windows XP so jstack is not part of the JRE. It seems like it is part of the JDK for windows, but strangely I haven't been able to recreate the problem since. Lars Alan Burlison wrote: Lars Schnoor wrote: Hi Alan What is jstack and how do I run it? It is a

Re: Problem with XmlRpcClient.execute()

2009-05-08 Thread Lars Schnoor
Hi Alan What is jstack and how do I run it? Lars Alan Burlison wrote: Lars Schnoor wrote: Hi everyone I am a new user to XML-RPC. I have developed a program that uses XML-RPC to communicate with another of my programs on another machine. Both programs are in Java and use the same XML-RPC

Problem with XmlRpcClient.execute()

2009-05-08 Thread Lars Schnoor
Hi everyone I am a new user to XML-RPC. I have developed a program that uses XML-RPC to communicate with another of my programs on another machine. Both programs are in Java and use the same XML-RPC libraries. Everything seems to work fine until my programs have run for a couple of minutes, the