RE: IIS/Tomcat: address in use (you can ignore it)
The error line is accurate. The JIT in jdk1.2.2 has a known (and unlikely to be fixed) bug which is triggered by crimson.jar. You can either upgrade to jdk1.3 or later, or replace crimson.jar (along with xalan.jar) with earlier versions that don't trigger the JIT bug. I would recommend upgrading the JDK. Cheers, Larry -Original Message- From: Oliver Wulff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 7:18 AM To: [EMAIL PROTECTED] Subject: IIS/Tomcat: address in use (you can ignore it) Hi I've installed tomcat 3.3a and IIS 4 and use jdk 1.2.2. I launch Tomcat using jk_nt_service. Everything is working fine, if I start tomcat before IIS. 1) net start jakarta 2) net start iisadmin 3) Manually start the Web Site in the Internet Information Manager If I do the steps 2 and 3 first the socket 0.0.0.0:8007 is listening (BTW, I've configured the workers on localhost). I thought that the tomcat process is listening on the worker ports. So, if I try to start the jakarta service then, I get the following error: A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation target' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi 2002-01-29 11:58:31 - ServerXmlReader: Config=c: \jakarta-tomcat-3.3a\conf\server.xml 2002-01-29 11:58:31 - PathSetter: home=C:\jakarta-tomcat-3.3a 2002-01-29 11:58:32 - ContextXmlReader: Context config =$TOMCAT_HOME\conf\apps-127.0.0.1.xml 2002-01-29 11:58:32 - ContextXmlReader: Context config =$TOMCAT_HOME\conf\apps-admin.xml 2002-01-29 11:58:32 - ContextXmlReader: Context config =$TOMCAT_HOME\conf\apps-examples.xml 2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/admin 2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/examples 2002-01-29 11:58:32 - AutoWebApp: Auto-Adding DEFAULT:/ 2002-01-29 11:58:32 - ContextManager: Tomcat configured and in stable state 2002-01-29 11:58:32 - ContextManager: Adding DEFAULT:/admin 2002-01-29 11:58:32 - ContextManager: Adding DEFAULT:/examples 2002-01-29 11:58:32 - ContextManager: Adding DEFAULT:/ROOT 2002-01-29 11:58:33 - Ajp12Interceptor: Starting on 8006 java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.TomcatException: Root cause - Address in use: bind at org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown Source) at org.apache.tomcat.core.ContextManager.start(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source) at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source) at org.apache.tomcat.startup.Main.execute(Unknown Source) at org.apache.tomcat.startup.Main.main(Unknown Source) Here is my configuration: (See attached file: uriworkermap.properties)(See attached file: workers.properties)(See attached file: wrapper.properties)(See attached file: server.xml) I also tried to define in the registry that iis has to be launched before tomcat. But it's not working during booting of the server. Here is the exctract of the service definitions (iisadmin and jakarta): (See attached file: iis_tomcat.reg_) If you need further informations do not hesitate to contact me. Regards Oliver Wulff ** Oliver Wulff Zürich Versicherungs-Gesellschaft IE4, CoC Middleware Postfach, 8085 Zürich Telefon: +41- 1 628 14 28 Fax: +41 - 1 623 14 28 E-Mail: mailto:[EMAIL PROTECTED] *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter Ausschluss jeder Reproduktion zu zerstören und die absendende Person umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe. *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n)
RE: IIS/Tomcat: address in use (you can ignore it)
Forgot to mention one other alternative which is to simply ignore the message. Cheers, Larry -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 12:43 PM To: 'Tomcat Users List' Subject: RE: IIS/Tomcat: address in use (you can ignore it) The error line is accurate. The JIT in jdk1.2.2 has a known (and unlikely to be fixed) bug which is triggered by crimson.jar. You can either upgrade to jdk1.3 or later, or replace crimson.jar (along with xalan.jar) with earlier versions that don't trigger the JIT bug. I would recommend upgrading the JDK. Cheers, Larry -Original Message- From: Oliver Wulff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 7:18 AM To: [EMAIL PROTECTED] Subject: IIS/Tomcat: address in use (you can ignore it) Hi I've installed tomcat 3.3a and IIS 4 and use jdk 1.2.2. I launch Tomcat using jk_nt_service. Everything is working fine, if I start tomcat before IIS. 1) net start jakarta 2) net start iisadmin 3) Manually start the Web Site in the Internet Information Manager If I do the steps 2 and 3 first the socket 0.0.0.0:8007 is listening (BTW, I've configured the workers on localhost). I thought that the tomcat process is listening on the worker ports. So, if I try to start the jakarta service then, I get the following error: A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation target' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi 2002-01-29 11:58:31 - ServerXmlReader: Config=c: \jakarta-tomcat-3.3a\conf\server.xml 2002-01-29 11:58:31 - PathSetter: home=C:\jakarta-tomcat-3.3a 2002-01-29 11:58:32 - ContextXmlReader: Context config =$TOMCAT_HOME\conf\apps-127.0.0.1.xml 2002-01-29 11:58:32 - ContextXmlReader: Context config =$TOMCAT_HOME\conf\apps-admin.xml 2002-01-29 11:58:32 - ContextXmlReader: Context config =$TOMCAT_HOME\conf\apps-examples.xml 2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/admin 2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/examples 2002-01-29 11:58:32 - AutoWebApp: Auto-Adding DEFAULT:/ 2002-01-29 11:58:32 - ContextManager: Tomcat configured and in stable state 2002-01-29 11:58:32 - ContextManager: Adding DEFAULT:/admin 2002-01-29 11:58:32 - ContextManager: Adding DEFAULT:/examples 2002-01-29 11:58:32 - ContextManager: Adding DEFAULT:/ROOT 2002-01-29 11:58:33 - Ajp12Interceptor: Starting on 8006 java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.TomcatException: Root cause - Address in use: bind at org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown Source) at org.apache.tomcat.core.ContextManager.start(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source) at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source) at org.apache.tomcat.startup.Main.execute(Unknown Source) at org.apache.tomcat.startup.Main.main(Unknown Source) Here is my configuration: (See attached file: uriworkermap.properties)(See attached file: workers.properties)(See attached file: wrapper.properties)(See attached file: server.xml) I also tried to define in the registry that iis has to be launched before tomcat. But it's not working during booting of the server. Here is the exctract of the service definitions (iisadmin and jakarta): (See attached file: iis_tomcat.reg_) If you need further informations do not hesitate to contact me. Regards Oliver Wulff ** Oliver Wulff Zürich Versicherungs-Gesellschaft IE4, CoC Middleware Postfach, 8085 Zürich Telefon: +41- 1 628 14 28 Fax: +41 - 1 623 14 28 E-Mail: mailto:[EMAIL PROTECTED] *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrtümlicherweise erreicht hat, sind Sie