When I am trying to run Tomcat server on Orbeon studion i am getting follwing error
INFO: Initializing Coyote HTTP/1.1 on port 8888 Starting service Tomcat-Standalone Apache Tomcat/4.1.30 Starting PresentationServer Release 2.8.0.200503031050 Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContextFacade@134a7d8, oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, oxf.resources.webapp.rootdir=/WEB-INF/resources} Starting PresentationServer Release 3.0.1.200602032326 Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContextFacade@1c54796, oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, oxf.resources.webapp.rootdir=/WEB-INF/resources} log4j:ERROR exception setting timeout, shutting down server socket. java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:97) at org.apache.log4j.net.SocketHubAppender$ServerMonitor.run(SocketHubAppender.java:348) at java.lang.Thread.run(Thread.java:595) 2006-06-15 20:11:49,313 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. 2006-06-15 20:11:49,345 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. 2006-06-15 20:11:49,345 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - About to run processor: [{http://www.orbeon.com/oxf/processors}pipeline, config -> oxf:/context/servlet-initialized.xpl] 2006-06-15 20:11:49,438 INFO org.orbeon.oxf.processor.DebugProcessor null - message: oxf:/context/servlet-initialized.xpl, line 19, column 46 <message xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet initialized.</message> 2006-06-15 20:11:49,438 INFO org.orbeon.oxf.webapp.ProcessorService null - Done running processor - Timing: 93 - Cache hits: 1, fault: 4, adds: 4, success rate: 20% 2006-06-15 20:11:49,501 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 2006-06-15 20:11:49,501 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 2006-06-15 20:11:49,657 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true 2006-06-15 20:11:49,657 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true 2006-06-15 20:11:49,673 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validator-rules.xml' 2006-06-15 20:11:49,720 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validation.xml' 2006-06-15 20:11:49,829 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true Jun 15, 2006 8:11:49 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8888 Could you please tell me how to rectify it Server.xml file is <?xml version="1.0" encoding="UTF-8"?> <Server port="8813" shutdown="SHUTDOWN"> <Service name="Tomcat-Standalone"> <!-- Contexts are only found while useURIValidationHack is set. Not sure why that is as there doesn't seem to be any doc on it. Only know about it because it is present in server.xml that ships with Tomcat. --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" connectionTimeout="20000" port="8888" useURIValidationHack="false"/> <Engine defaultHost="localhost" name="Standalone"> <Logger className="org.apache.catalina.logger.FileLogger" directory="D:/OPS/Orbeon Studio/studio/workspace/.oxfContainers/Internal Tomcat/logs" prefix="catalina_log." suffix=".txt" timestamp="true"/> <Realm className="org.apache.catalina.realm.MemoryRealm"/> <Host appBase="webapps" debug="0" name="localhost"> <Logger className="org.apache.catalina.logger.FileLogger" directory="D:/OPS/Orbeon Studio/studio/workspace/.oxfContainers/Internal Tomcat/logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> <Context crossContext="true" debug="0" docBase="D:/OPS/Orbeon Studio/studio/workspace/Hello" path="/Hello" reloadable="true" workDir="D:/OPS/Orbeon Studio/studio/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Hello/orbeon.oxfstudio.eclipse/work"/> <Context crossContext="true" debug="0" docBase="D:/OPS/Orbeon Studio/studio/workspace/A" path="" reloadable="true" workDir="D:/OPS/Orbeon Studio/studio/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/A/orbeon.oxfstudio.eclipse/work"/> </Host> </Engine> </Service> </Server> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
The error means that when creating the SocketHubAppender, the listen
port is already used. You can either: o Figure out who is using that port (by default 4446). o Change the port in your log4j.xml. o Disable SocketHubAppender altogether in log4j.xml by commenting out the line <appender-ref ref="OPSMonitor"/>. But this will not allow you to use the monitoring from Studio. -Erik [hidden email] wrote: > When I am trying to run Tomcat server on Orbeon studion i am getting follwing error > > > INFO: Initializing Coyote HTTP/1.1 on port 8888 > Starting service Tomcat-Standalone > Apache Tomcat/4.1.30 > Starting PresentationServer Release 2.8.0.200503031050 > Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContextFacade@134a7d8, oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, oxf.resources.webapp.rootdir=/WEB-INF/resources} > Starting PresentationServer Release 3.0.1.200602032326 > Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContextFacade@1c54796, oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, oxf.resources.webapp.rootdir=/WEB-INF/resources} > log4j:ERROR exception setting timeout, shutting down server socket. > java.net.BindException: Address already in use: JVM_Bind > at java.net.PlainSocketImpl.socketBind(Native Method) > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) > at java.net.ServerSocket.bind(ServerSocket.java:319) > at java.net.ServerSocket.<init>(ServerSocket.java:185) > at java.net.ServerSocket.<init>(ServerSocket.java:97) > at org.apache.log4j.net.SocketHubAppender$ServerMonitor.run(SocketHubAppender.java:348) > at java.lang.Thread.run(Thread.java:595) > 2006-06-15 20:11:49,313 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. > 2006-06-15 20:11:49,345 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. > 2006-06-15 20:11:49,345 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - About to run processor: [{http://www.orbeon.com/oxf/processors}pipeline, config -> oxf:/context/servlet-initialized.xpl] > 2006-06-15 20:11:49,438 INFO org.orbeon.oxf.processor.DebugProcessor null - message: > oxf:/context/servlet-initialized.xpl, line 19, column 46 > > <message xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet initialized.</message> > 2006-06-15 20:11:49,438 INFO org.orbeon.oxf.webapp.ProcessorService null - Done running processor - Timing: 93 - Cache hits: 1, fault: 4, adds: 4, success rate: 20% > 2006-06-15 20:11:49,501 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true > 2006-06-15 20:11:49,501 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true > 2006-06-15 20:11:49,657 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true > 2006-06-15 20:11:49,657 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true > 2006-06-15 20:11:49,673 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validator-rules.xml' > 2006-06-15 20:11:49,720 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validation.xml' > 2006-06-15 20:11:49,829 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true > Jun 15, 2006 8:11:49 PM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on port 8888 > > > > Could you please tell me how to rectify it > > > Server.xml file is > > > <?xml version="1.0" encoding="UTF-8"?> > <Server port="8813" shutdown="SHUTDOWN"> > <Service name="Tomcat-Standalone"> > <!-- > Contexts are only found while useURIValidationHack is set. Not sure > why that is as there doesn't seem to be any doc on it. Only know > about it because it is present in server.xml that ships with Tomcat. > --> > <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" connectionTimeout="20000" port="8888" useURIValidationHack="false"/> > <Engine defaultHost="localhost" name="Standalone"> > <Logger className="org.apache.catalina.logger.FileLogger" directory="D:/OPS/Orbeon Studio/studio/workspace/.oxfContainers/Internal Tomcat/logs" prefix="catalina_log." suffix=".txt" timestamp="true"/> > <Realm className="org.apache.catalina.realm.MemoryRealm"/> > <Host appBase="webapps" debug="0" name="localhost"> > <Logger className="org.apache.catalina.logger.FileLogger" directory="D:/OPS/Orbeon Studio/studio/workspace/.oxfContainers/Internal Tomcat/logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> > <Context crossContext="true" debug="0" docBase="D:/OPS/Orbeon Studio/studio/workspace/Hello" path="/Hello" reloadable="true" workDir="D:/OPS/Orbeon Studio/studio/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Hello/orbeon.oxfstudio.eclipse/work"/> > <Context crossContext="true" debug="0" docBase="D:/OPS/Orbeon Studio/studio/workspace/A" path="" reloadable="true" workDir="D:/OPS/Orbeon Studio/studio/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/A/orbeon.oxfstudio.eclipse/work"/> > </Host> > </Engine> > </Service> > </Server> > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |