Friday, February 24, 2006

XMLRPC::FaultException

If you are getting this message, check your Ruby on Rails logs.

XMLRPC::FaultException (java.lang.Exception: RPC handler object not found for "test": No default handler registered):
/usr/local/lib/ruby/1.8/xmlrpc/client.rb:403:in `call'


Typically, it means that you do not have a default handler registered.

A default handler is registered using something like (Thanks Erik):


WebServer server = new WebServer(port);
server.addHandler("$default", new SearchServer
(FSDirectory.getDirectory(indexPath, false)));

0 Comments:

Post a Comment

<< Home

eXTReMe Tracker