Tomcat 4.03 Configuration
This might be a dumb question, but I need some help. 1. Tomcat 4.03 on Windows OS 2. how do I get tomcat to pre-compile JSP pages? 3. How do I configre Tomcat to use the complied pages only? So that I can remove the JSP pages? I am having performance issues, and also, I do not want to store the jsp code on the server. Please help.. Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.03 Configuration
On Tuesday 21 January 2003 08:37, Alfie Pino wrote: This might be a dumb question, but I need some help. 1. Tomcat 4.03 on Windows OS 2. how do I get tomcat to pre-compile JSP pages? jspc.bat in your tomcat's bin directory 3. How do I configre Tomcat to use the complied pages only? So that I can remove the JSP pages? I am having performance issues, and also, I do not want to store the jsp code on the server. Please help.. Again, jspc.bat in your tomcat's bin directory. If you want help, type 'jspc.bat -help'. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: tomcat 4.03 configuration with IIS 5.0
Thanks again. Any suggestions as to how to test/repair the servlet setup? The file is empty. Would the web.xml file cause any conflict between IIS and tomcat? Thanks, Diana -Original Message- From: Kranson, Bob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 4:32 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.03 configuration with IIS 5.0 I ran into problems having an IIS virtual directory named the same as the Tomcat context (virtual) directory. What does your serverworker.log say (logfile generated by isapi_redirect as specified in the registry under Apache Redirector/1.0/? Bob Kranson Software Technical Support Analyst UNIFACE and Optimal Products Technical Support U.S. Support Center 888-551-0404 New Calls: [EMAIL PROTECTED] 31440 Northwestern Hwy, Farmington Hills, MI 48334-2564 (248)737-7300 x12702 Fax:(248)737-7574 -Original Message- From: Diana McLean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 4:18 PM To: Tomcat Users List Subject: RE: tomcat 4.03 configuration with IIS 5.0 Thanks for the suggestions. Tomcat and IIS work independently but still don't work together. I tested a simple JSP(Test.jsp) which is okay and Servlet (TestServlet) and that does not work. I added a virtual directory called testfolder under the default web site in IIS that corresponds to a subdirectory, testfolder, under webapps in tomcat. The jsp is in the testfolder. The servlet is in the WEB_INF/classes/ folder. http://localhost:8080/testfolder/Test.jsp works http://localhost/testfolder/Test.jsp works http://localhost:8080/testfolder/servlet/TestServlet works http://localhost/testfolder/servlet/TestServlet does not! Uriworkermap.properties identifies /*.jsp=$(default.worker) /servlet/*=$(default.worker) It also identifies the testfolder: /testfolder=$(default.worker) /testfolder/*=$(default.worker) Thanks again, diana -Original Message- From: Kranson, Bob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:18 AM To: 'Tomcat Users List' Subject: RE: tomcat 4.03 configuration with IIS 5.0 Diana, You confirm your configuration works by changing the url to point to IIS. http://localhost:8080/servlet/myserv/run/page Becomes http://localhost/servlet/myserv/run/page Uriworkermap.properties identifies /servlet/*.* to redirect to Tomcat from IIS. JSP's remain in the Tomcat webapps directory for execution by the connector processor. Bob Kranson Software Technical Support Analyst UNIFACE and Optimal Products Technical Support U.S. Support Center 888-551-0404 New Calls: [EMAIL PROTECTED] 31440 Northwestern Hwy, Farmington Hills, MI 48334-2564 (248)737-7300 x12702 Fax:(248)737-7574 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:03 AM To: Tomcat Users List Subject: Re: tomcat 4.03 configuration with IIS 5.0 It seems like you upgraded your JDK to a latest version. And Tomcat seems to use an earlier version. You probably need to copy tools.jar to the CATALINA_HOME\common\lib directory or re-install Tomcat so that it uses the right JDK version. The asp files could co-exist with the jsps. All you need to do is probably make the sub-directory under webapps a virtual directory. IIS (via isapi_redirect.dll and uriworkermap.properties) will be intelligent enough to redirect all jsp requests to Tomcat and IIS will handle the static and asp content. You could use Inetpub as your base directory too, instead of webapps. RS Diana McLean [EMAIL PROTECTED] on 07/09/2002 09:30:57 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:tomcat 4.03 configuration with IIS 5.0 I followed the instructions for configuring tomcat to run with IIS but have a few questions: - how do I confirm that the configuration works? I already have the green arrow up. I am now getting the javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version 48.0) which was not a problem previously. - how do I setup/revise the web project that uses asp and jsp, servlets? I have the virtual directory for tomcat in IIS with the isapi_redirect.dll. Does this mean I keep the jsp and servlets in the webapps directory as usual or that I need to move it under Inetpub? There appears to be no explanation as to how this works. I searched everywhere and there appears to be no directions on how to setup a project that includes both technologies once the configuration is complete. thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail
tomcat 4.03 configuration with IIS 5.0
I followed the instructions for configuring tomcat to run with IIS but have a few questions: - how do I confirm that the configuration works? I already have the green arrow up. I am now getting the javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version 48.0) which was not a problem previously. - how do I setup/revise the web project that uses asp and jsp, servlets? I have the virtual directory for tomcat in IIS with the isapi_redirect.dll. Does this mean I keep the jsp and servlets in the webapps directory as usual or that I need to move it under Inetpub? There appears to be no explanation as to how this works. I searched everywhere and there appears to be no directions on how to setup a project that includes both technologies once the configuration is complete. thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.03 configuration with IIS 5.0
It seems like you upgraded your JDK to a latest version. And Tomcat seems to use an earlier version. You probably need to copy tools.jar to the CATALINA_HOME\common\lib directory or re-install Tomcat so that it uses the right JDK version. The asp files could co-exist with the jsps. All you need to do is probably make the sub-directory under webapps a virtual directory. IIS (via isapi_redirect.dll and uriworkermap.properties) will be intelligent enough to redirect all jsp requests to Tomcat and IIS will handle the static and asp content. You could use Inetpub as your base directory too, instead of webapps. RS Diana McLean [EMAIL PROTECTED] on 07/09/2002 09:30:57 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:tomcat 4.03 configuration with IIS 5.0 I followed the instructions for configuring tomcat to run with IIS but have a few questions: - how do I confirm that the configuration works? I already have the green arrow up. I am now getting the javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version 48.0) which was not a problem previously. - how do I setup/revise the web project that uses asp and jsp, servlets? I have the virtual directory for tomcat in IIS with the isapi_redirect.dll. Does this mean I keep the jsp and servlets in the webapps directory as usual or that I need to move it under Inetpub? There appears to be no explanation as to how this works. I searched everywhere and there appears to be no directions on how to setup a project that includes both technologies once the configuration is complete. thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: tomcat 4.03 configuration with IIS 5.0
Diana, You confirm your configuration works by changing the url to point to IIS. http://localhost:8080/servlet/myserv/run/page Becomes http://localhost/servlet/myserv/run/page Uriworkermap.properties identifies /servlet/*.* to redirect to Tomcat from IIS. JSP's remain in the Tomcat webapps directory for execution by the connector processor. Bob Kranson Software Technical Support Analyst UNIFACE and Optimal Products Technical Support U.S. Support Center 888-551-0404 New Calls: [EMAIL PROTECTED] 31440 Northwestern Hwy, Farmington Hills, MI 48334-2564 (248)737-7300 x12702 Fax:(248)737-7574 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:03 AM To: Tomcat Users List Subject: Re: tomcat 4.03 configuration with IIS 5.0 It seems like you upgraded your JDK to a latest version. And Tomcat seems to use an earlier version. You probably need to copy tools.jar to the CATALINA_HOME\common\lib directory or re-install Tomcat so that it uses the right JDK version. The asp files could co-exist with the jsps. All you need to do is probably make the sub-directory under webapps a virtual directory. IIS (via isapi_redirect.dll and uriworkermap.properties) will be intelligent enough to redirect all jsp requests to Tomcat and IIS will handle the static and asp content. You could use Inetpub as your base directory too, instead of webapps. RS Diana McLean [EMAIL PROTECTED] on 07/09/2002 09:30:57 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:tomcat 4.03 configuration with IIS 5.0 I followed the instructions for configuring tomcat to run with IIS but have a few questions: - how do I confirm that the configuration works? I already have the green arrow up. I am now getting the javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version 48.0) which was not a problem previously. - how do I setup/revise the web project that uses asp and jsp, servlets? I have the virtual directory for tomcat in IIS with the isapi_redirect.dll. Does this mean I keep the jsp and servlets in the webapps directory as usual or that I need to move it under Inetpub? There appears to be no explanation as to how this works. I searched everywhere and there appears to be no directions on how to setup a project that includes both technologies once the configuration is complete. thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: tomcat 4.03 configuration with IIS 5.0
Thanks for the suggestions. Tomcat and IIS work independently but still don't work together. I tested a simple JSP(Test.jsp) which is okay and Servlet (TestServlet) and that does not work. I added a virtual directory called testfolder under the default web site in IIS that corresponds to a subdirectory, testfolder, under webapps in tomcat. The jsp is in the testfolder. The servlet is in the WEB_INF/classes/ folder. http://localhost:8080/testfolder/Test.jsp works http://localhost/testfolder/Test.jspworks http://localhost:8080/testfolder/servlet/TestServletworks http://localhost/testfolder/servlet/TestServlet does not! Uriworkermap.properties identifies /*.jsp=$(default.worker) /servlet/*=$(default.worker) It also identifies the testfolder: /testfolder=$(default.worker) /testfolder/*=$(default.worker) Thanks again, diana -Original Message- From: Kranson, Bob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:18 AM To: 'Tomcat Users List' Subject: RE: tomcat 4.03 configuration with IIS 5.0 Diana, You confirm your configuration works by changing the url to point to IIS. http://localhost:8080/servlet/myserv/run/page Becomes http://localhost/servlet/myserv/run/page Uriworkermap.properties identifies /servlet/*.* to redirect to Tomcat from IIS. JSP's remain in the Tomcat webapps directory for execution by the connector processor. Bob Kranson Software Technical Support Analyst UNIFACE and Optimal Products Technical Support U.S. Support Center 888-551-0404 New Calls: [EMAIL PROTECTED] 31440 Northwestern Hwy, Farmington Hills, MI 48334-2564 (248)737-7300 x12702 Fax:(248)737-7574 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:03 AM To: Tomcat Users List Subject: Re: tomcat 4.03 configuration with IIS 5.0 It seems like you upgraded your JDK to a latest version. And Tomcat seems to use an earlier version. You probably need to copy tools.jar to the CATALINA_HOME\common\lib directory or re-install Tomcat so that it uses the right JDK version. The asp files could co-exist with the jsps. All you need to do is probably make the sub-directory under webapps a virtual directory. IIS (via isapi_redirect.dll and uriworkermap.properties) will be intelligent enough to redirect all jsp requests to Tomcat and IIS will handle the static and asp content. You could use Inetpub as your base directory too, instead of webapps. RS Diana McLean [EMAIL PROTECTED] on 07/09/2002 09:30:57 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:tomcat 4.03 configuration with IIS 5.0 I followed the instructions for configuring tomcat to run with IIS but have a few questions: - how do I confirm that the configuration works? I already have the green arrow up. I am now getting the javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version 48.0) which was not a problem previously. - how do I setup/revise the web project that uses asp and jsp, servlets? I have the virtual directory for tomcat in IIS with the isapi_redirect.dll. Does this mean I keep the jsp and servlets in the webapps directory as usual or that I need to move it under Inetpub? There appears to be no explanation as to how this works. I searched everywhere and there appears to be no directions on how to setup a project that includes both technologies once the configuration is complete. thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: tomcat 4.03 configuration with IIS 5.0
I ran into problems having an IIS virtual directory named the same as the Tomcat context (virtual) directory. What does your serverworker.log say (logfile generated by isapi_redirect as specified in the registry under Apache Redirector/1.0/? Bob Kranson Software Technical Support Analyst UNIFACE and Optimal Products Technical Support U.S. Support Center 888-551-0404 New Calls: [EMAIL PROTECTED] 31440 Northwestern Hwy, Farmington Hills, MI 48334-2564 (248)737-7300 x12702 Fax:(248)737-7574 -Original Message- From: Diana McLean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 4:18 PM To: Tomcat Users List Subject: RE: tomcat 4.03 configuration with IIS 5.0 Thanks for the suggestions. Tomcat and IIS work independently but still don't work together. I tested a simple JSP(Test.jsp) which is okay and Servlet (TestServlet) and that does not work. I added a virtual directory called testfolder under the default web site in IIS that corresponds to a subdirectory, testfolder, under webapps in tomcat. The jsp is in the testfolder. The servlet is in the WEB_INF/classes/ folder. http://localhost:8080/testfolder/Test.jsp works http://localhost/testfolder/Test.jsp works http://localhost:8080/testfolder/servlet/TestServlet works http://localhost/testfolder/servlet/TestServlet does not! Uriworkermap.properties identifies /*.jsp=$(default.worker) /servlet/*=$(default.worker) It also identifies the testfolder: /testfolder=$(default.worker) /testfolder/*=$(default.worker) Thanks again, diana -Original Message- From: Kranson, Bob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:18 AM To: 'Tomcat Users List' Subject: RE: tomcat 4.03 configuration with IIS 5.0 Diana, You confirm your configuration works by changing the url to point to IIS. http://localhost:8080/servlet/myserv/run/page Becomes http://localhost/servlet/myserv/run/page Uriworkermap.properties identifies /servlet/*.* to redirect to Tomcat from IIS. JSP's remain in the Tomcat webapps directory for execution by the connector processor. Bob Kranson Software Technical Support Analyst UNIFACE and Optimal Products Technical Support U.S. Support Center 888-551-0404 New Calls: [EMAIL PROTECTED] 31440 Northwestern Hwy, Farmington Hills, MI 48334-2564 (248)737-7300 x12702 Fax:(248)737-7574 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:03 AM To: Tomcat Users List Subject: Re: tomcat 4.03 configuration with IIS 5.0 It seems like you upgraded your JDK to a latest version. And Tomcat seems to use an earlier version. You probably need to copy tools.jar to the CATALINA_HOME\common\lib directory or re-install Tomcat so that it uses the right JDK version. The asp files could co-exist with the jsps. All you need to do is probably make the sub-directory under webapps a virtual directory. IIS (via isapi_redirect.dll and uriworkermap.properties) will be intelligent enough to redirect all jsp requests to Tomcat and IIS will handle the static and asp content. You could use Inetpub as your base directory too, instead of webapps. RS Diana McLean [EMAIL PROTECTED] on 07/09/2002 09:30:57 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:tomcat 4.03 configuration with IIS 5.0 I followed the instructions for configuring tomcat to run with IIS but have a few questions: - how do I confirm that the configuration works? I already have the green arrow up. I am now getting the javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version 48.0) which was not a problem previously. - how do I setup/revise the web project that uses asp and jsp, servlets? I have the virtual directory for tomcat in IIS with the isapi_redirect.dll. Does this mean I keep the jsp and servlets in the webapps directory as usual or that I need to move it under Inetpub? There appears to be no explanation as to how this works. I searched everywhere and there appears to be no directions on how to setup a project that includes both technologies once the configuration is complete. thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else