Jochen, My problem was caused to due a bug in Jetty. Yes, I always stumble on them :)
In was filed as http://jira.codehaus.org/browse/JETTY-121 and has been fixed in repo. I've now use a workaround: org.mortbay.jetty.Server server = new org.mortbay.jetty.Server(8080); Context root = new Context(server, "/", Context.SESSIONS); ServletHolder servletHolder = new ServletHolder(XmlRpcServlet.class); servletHolder.setInitParameter("enabledForExtensions", "true"); root.addServlet(servletHolder, "/*"); server.setSendServerVersion(true); server.start(); server.join(); and as I you can see I've enabled extensions. Does this mean that the XmlRpcServlet will use "optional content length" out-of-the-box if the XmlRpcServer and client supports HTTP 1.1? SSL will be configured using Jetty and basic authentication as well I suppose (isAuthenticated "hack" shouldn't be needed). When have it all working I'll provide a code example of XMLRPC using Jetty. I think it can be usable by other XMLRPC users as well. Especially, since the WebServer has it downsides. Regards, Jimisola Jochen Wiedmann wrote: > > On 9/19/06, Jimisola Laursen <[EMAIL PROTECTED]> wrote: > >> The init method doesn't seem to be invoked at all. Any ideas or should I >> talk to the Jetty folks? > > See, for example, > > > http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html#init(javax.servlet.ServletConfig) > > I quote the following: > > The servlet container calls the init method exactly once after > instantiating the > servlet. The init method must complete successfully before the servlet > can > receive any requests. > > Jochen > > -- > My wife Mary and I have been married for forty-seven years and not > once have we had an argument serious enough to consider divorce; > murder, yes, but divorce, never. > (Jack Benny) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-setup-and-configure-a-Servlet-solution-programmatically-tf2300489.html#a6404154 Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]