Re: jk_nt_service fails (error 1067)
reloadable=true /Context /Host 24. Restart Apache Tomcat andWorld Wide Web Publishing Service in the NT Services in that order. 25. Create a folder called WEB-INF in your root catalog. Create a folder called classes and one called lib into WEB-INF. Put a copy of web.xml found in %CATALINA_HOME%\webapps\root\WEB-INF into the newly created WEB-INF folder. 26. Put your jsp files anywhere on your server and put your servlets into classes and your jar's into lib. 27. Done. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 11, 2002 12:32 AM Subject: RE: jk_nt_service fails (error 1067) -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 5:21 PM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) finally go it right!! The problem was that I followed http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ advices a little bit to slavish. A waring should go out about that site. Do as it suggests, but don't use the isapi_redirect.dll downloaded from that site! You can find another file isapi_redirector.dll at apache.org website. And don't accidentally replace tomcat-util.jar in the lib dir., with the same file downloaded from that site. Also notice that isapi_redirector.dll is named different than from the file downloaded from that site. After a lot of blood sweat and tears I finally have Tomcat 4.03 up and running with multiple host and all. Now when I know how to do it, it seems so easy. I hope you can help, as I'd be willing to document the procedure to get it to work right. I have been fighting with TC and IIS for the past week (off and on) and havent made much progress. Could I see your conf files? I probably have a similar configuration...I have an IIS box with about 10 sites and each needs to have .JSP access. I keep getting exceptions or the pages download instead of being executed. Thanks! :) - tex -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
No, See another thread I answered to, Thanx Alexander - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:42 PM Subject: RE: jk_nt_service fails (error 1067) Any errors reported in the log files specified within wrapper.properties? Cheers, Larry -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:19 PM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
Hi, I'm using Tomcat 4.03 and this is what I found at the end of the file, * #wrapper.cmd_line=$(wrapper.javabin) -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) wrapper.cmd_line=$(wrapper.javabin) -Xrs -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) start * Soo it seems like it is already fixed by default. Thanx, Alexander - Original Message - From: Lecaros, Noel [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:41 PM Subject: RE: jk_nt_service fails (error 1067) Hi, Have you looked in %TOMCAT_HOME%\logs\jvm.stderr? This message looks familiar. There appears to be an issue with the wrapper.properties file (the one you should specify as a command-line argument to jk_nt_service.exe) in that the property wrapper.jvm.options is not being read properly. Either remove this from the wrapper.cmd_line (found at the end of the file) or set wrapper.jvm.options=-Xrs. This issue is actually documented somewhere in the mailing list, which makes a case for better documentation for Tomcat. Regards, Noel Lecaros -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
Elsewhere in wrappers.properties two log files are defined. Are these log files created? If not, it suggests that jk_nt_service is not finding the wrapper.properties or maybe the wrapper.properties has some error that prevents it from being processed (I have never seen such an error though). If the log files exist but don't contain any clues, I would recommend manually building the wrapper.cmd_line with all the substitutions and executing that in a DOS prompt to see what happens. Hopefully it will reveal the error the service is encountering with it tries to execute this command. Cheers, Larry -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 4:55 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 and this is what I found at the end of the file, * #wrapper.cmd_line=$(wrapper.javabin) -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) wrapper.cmd_line=$(wrapper.javabin) -Xrs -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) start * Soo it seems like it is already fixed by default. Thanx, Alexander - Original Message - From: Lecaros, Noel [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:41 PM Subject: RE: jk_nt_service fails (error 1067) Hi, Have you looked in %TOMCAT_HOME%\logs\jvm.stderr? This message looks familiar. There appears to be an issue with the wrapper.properties file (the one you should specify as a command-line argument to jk_nt_service.exe) in that the property wrapper.jvm.options is not being read properly. Either remove this from the wrapper.cmd_line (found at the end of the file) or set wrapper.jvm.options=-Xrs. This issue is actually documented somewhere in the mailing list, which makes a case for better documentation for Tomcat. Regards, Noel Lecaros -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
Are you openning the JSP page on port 8080. I.e. http://localhost:8080/test.jsp -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:48 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
Yes, I access jsp files on port 8080, behind the firewall. Thanx, Alexander - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 5:54 PM Subject: RE: jk_nt_service fails (error 1067) Are you openning the JSP page on port 8080. I.e. http://localhost:8080/test.jsp -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:48 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
So is the problem that IIS isn't forwarding JSP request to Tomcat? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 11:32 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) Yes, I access jsp files on port 8080, behind the firewall. Thanx, Alexander - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 5:54 PM Subject: RE: jk_nt_service fails (error 1067) Are you openning the JSP page on port 8080. I.e. http://localhost:8080/test.jsp -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:48 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
Yes IIS isn't forwording JSP requests to Tomcat and I guess, because that jk_nt_service won't start. I get an error message when I try to start it. - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 8:36 PM Subject: RE: jk_nt_service fails (error 1067) So is the problem that IIS isn't forwarding JSP request to Tomcat? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 11:32 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) Yes, I access jsp files on port 8080, behind the firewall. Thanx, Alexander - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 5:54 PM Subject: RE: jk_nt_service fails (error 1067) Are you openning the JSP page on port 8080. I.e. http://localhost:8080/test.jsp -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:48 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
These are separate issues. If request to 8080 work, tomcat is started and working. If JSP requests to 80 do not work, you have to fix that at the IIS level not Tomcat. -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 11:48 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) Yes IIS isn't forwording JSP requests to Tomcat and I guess, because that jk_nt_service won't start. I get an error message when I try to start it. - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 8:36 PM Subject: RE: jk_nt_service fails (error 1067) So is the problem that IIS isn't forwarding JSP request to Tomcat? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 11:32 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) Yes, I access jsp files on port 8080, behind the firewall. Thanx, Alexander - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 5:54 PM Subject: RE: jk_nt_service fails (error 1067) Are you openning the JSP page on port 8080. I.e. http://localhost:8080/test.jsp -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:48 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
I finally go it right!! The problem was that I followed http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ advices a little bit to slavish. A waring should go out about that site. Do as it suggests, but don't use the isapi_redirect.dll downloaded from that site! You can find another file isapi_redirector.dll at apache.org website. And don't accidentally replace tomcat-util.jar in the lib dir., with the same file downloaded from that site. Also notice that isapi_redirector.dll is named different than from the file downloaded from that site. After a lot of blood sweat and tears I finally have Tomcat 4.03 up and running with multiple host and all. Now when I know how to do it, it seems so easy. Yippi!!! Alexander Höglind - Original Message - From: Alexander Höglind [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 8:31 PM Subject: Re: jk_nt_service fails (error 1067) Yes, I access jsp files on port 8080, behind the firewall. Thanx, Alexander - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 5:54 PM Subject: RE: jk_nt_service fails (error 1067) Are you openning the JSP page on port 8080. I.e. http://localhost:8080/test.jsp -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:48 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
Any errors reported in the log files specified within wrapper.properties? Cheers, Larry -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:19 PM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
Hi, Have you looked in %TOMCAT_HOME%\logs\jvm.stderr? This message looks familiar. There appears to be an issue with the wrapper.properties file (the one you should specify as a command-line argument to jk_nt_service.exe) in that the property wrapper.jvm.options is not being read properly. Either remove this from the wrapper.cmd_line (found at the end of the file) or set wrapper.jvm.options=-Xrs. This issue is actually documented somewhere in the mailing list, which makes a case for better documentation for Tomcat. Regards, Noel Lecaros -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
Forgot to say that I'm using j2sdk1.4.0 /Alex Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]