Re: MinMLRpc on TINI 1.12

Cliff Brake <cbrake-Bpo/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Organization FOM Systems
Message-ID <[email protected]>
Robert,

I have had good success with the MinMlRpc server.  Make sure you don't have 
anything else (like a web server) running that might be using the socket?  
MinMLRpc uses the http (port 80) socket by default.

Also, there is one bug with the current release that John fixed for me -- see 
patch below:

--- MinMLRpcElements.java       2001-10-26 17:26:34.000000000 -0400
+++ 
/home/cbrake/workspace/flog/controller/src/uk/co/wilson/xml/MinMLRpcElements.java   
2004-02-06 06:35:16.000000000 -0500
@@ -421,7 +421,7 @@
     this.elementTable.put("i4", this.i4Writer);
     this.elementTable.put("double", this.floatWriter);
     this.elementTable.put("boolean", this.booleanWriter);
-    this.elementTable.put("string", this.i4Writer);
+    this.elementTable.put("string", this.stringWriter);
     this.elementTable.put("dateTime.iso8601", this.dateTimeWriter);
     this.elementTable.put("nil", nullWriter);
     this.elementTable.put("base64", this.base64Writer);

I also have an TINI-ANT build.xml file, if you are interested.

Cliff

=======================
FOM Systems
http://fomsystems.com


On Tuesday 16 March 2004 8:17 pm, Robert Wen wrote:
> Hello:
>
> I'm trying to use the MinMLRpc software written by John Wilson on TINI
> 1.12.  This implements an XML-RPC server and parser.
>
> When I try to run the minimal load, I get the following exception:
>
> java.io.IOException: Unable to listen on ServerSocket
>     in java.lang.Throwable.???
>     in java.lang.Throwable.<init>(@JPC=90004)
>     in java.lang.Exception.<init>(@JPC=90003)
>     in java.io.IOException.<init>(@JPC=90003)
>     in java.net.PlainSocketImpl.listen(@JPC=19000f)
>     in java.net.ServerSocket.<init>(@JPC=b0012)
>     in java.net.ServerSocket.<init>(@JPC=a0006)
>     in java.lang.System.???
>
> Any ideas?
>
> Running: TINI 1.12 on 400 system
>                    JDK 1.4.2
>
> Robert Wen
> Smart Works, Inc
>
> _______________________________________________
> TINI mailing list
> TINI-6tN4nzCoH/[email protected]
> To UNSUBSCRIBE, edit your profile, or see list archives:
> http://lists.dalsemi.com/mailman/listinfo/tini

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.