ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "XmlRpcExampleStringArray" by KenTanaka
Date Fri, 10 Jul 2009 18:30:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by KenTanaka:
http://wiki.apache.org/ws/XmlRpcExampleStringArray

The comment on the change is:
Noted some possible errors

------------------------------------------------------------------------------
  {{{
  mvn assembly:assembly
  }}}
- This will create an executable jar file in the standard {{{target}}} directory named `myXmlRpcClient-1.0-SNAPSHOT-jar-with-dependencies.jar`.
(You can ignore the shorter/smaller myXmlRpcClient-1.0-SNAPSHOT.jar which does not have the
libraries bundled in. Now might also be a good time to learn about filename completion ;-)
+ This will create an executable jar file in the standard {{{target}}} directory named `myXmlRpcClient-1.0-SNAPSHOT-jar-with-dependencies.jar`.
(You can ignore the shorter/smaller myXmlRpcClient-1.0-SNAPSHOT.jar which does not have the
libraries bundled in. Now might also be a good time to learn about filename completion ;-)
)
  
  == Running ==
  Assuming you have successfully gotten tomcat running the myXmlRpcServer (described above),
use a command like this to run the example
@@ -511, +511 @@

  
  On my system 1 million files take 6 seconds the first time, and 3 seconds thereafter, so
3 seconds are used to generate 1M random names and about 3 seconds are needed to send 1M files
between programs (on the same system). If the client and server are on separate systems, then
your network bandwidth should make the transport time go up quite a bit.
  
+ If you don't have the port number set right in `App.java` then you will see a long list
of exceptions starting with
+ {{{
+ org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused
+ }}}
+ 
+ If you don't have the service name correct in App.java, like "/myXmlRpcSer''-typo-''ver/''bad-''xmlrpc",
you will see this error:
+ {{{
+ org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status:
/myXmlRpcSer-typo-ver/bad-xmlrpc
+ }}}
+ 

Mime
View raw message