Hi,
I've simply copied a freshly built Cocoon 2.1.4-dev webapp into the Tomcat webapps dir and every time I (re)start Tomcat I see the following error:
Jan 19, 2004 4:38:56 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=D:\jakarta-tomcat-4.1.29\bin\..\conf\jk2.properties
Server.run/init: java.net.BindException: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:318) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:97) at org.hsqldb.Server.run(Unknown Source) at org.hsqldb.Server.main(Unknown Source) at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:199) at java.lang.Thread.run(Thread.java:536)
I haven't seen this before in 2.1.3 and both (2.1.3 and 2.1.4-dev) use the same Tomcat configuration.
Any ideas?
You have several contexts running Cocoon in the same Tomcat. This error is because several hsqldb servers (used for Cocoon samples) try to use the same TCP port.
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
