Christofer, >>> When starting this service I get a “java.io.IOException: Address in use: JVM_Bind” no matter what port I configure eXist to use as RPC-Port.
... Another question. When looking at the logs it looks like the initialisation process of most components is run twice on every start up … why? <<< Assuming that your component is ThreadSafe... I have seen such behavior with the HSQLDB server bundled with Cocoon and Tomcat 4.0.4. However, same Cocoon works just fine under Tomcat 4.0.1 - which is strange... I don't know the reason of this issue yet. I think that your server started twice also, and exception is because second instance couldn’t bind to the port. Regards, Vadim -----Original Message----- From: Christofer Dutz [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 10:50 AM To: [EMAIL PROTECTED] Subject: eXist component for Cocoon Hi I have almost finished a first version of a eXist component which allows eXist to be configured and run from within Cocoon. Everything worked absolutely fine except one thing. When starting eXist you are usually able to start up a XML-RPC server for answering XML-RPC requests. When starting this service I get a “java.io.IOException: Address in use: JVM_Bind” no matter what port I configure eXist to use as RPC-Port. I guess that there could be a problem with staring the small Webserver for serving RPC-Calls. Is there already a XML-RPC server running with Cocoon and I can simply connect to It? The code producing the exception is: try { XmlRpc.setEncoding("UTF-8"); WebServer webServer = new WebServer(rpcPort); // create a webserver on a give port RpcServer rpcserv = new RpcServer(config); // create an eXist RPC-server instance webServer.addHandler("$default", rpcserv); // add the eXist RPC handler to the webserver if (this.getLogger().isDebugEnabled()) { this.getLogger().debug("Exist RPC-Server started"); } } catch (IOException ioe) { this.getLogger().debug("IOException - Error starting RPC-Server ", ioe); } Any ideas? Another question. When looking at the logs it looks like the initialisation process of most components is run twice on every start up … why? Thanx in advance, Christofer Dutz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]