Re: Tomcat as Win2k service
I use the same way, just chosse this option when installing through the .exe installer. Java Techie wrote: Hi, I am using Tomcat5 on win2k Professional. I want to use it as a windows service. Please help. Thanks. Yogesh __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas - Gerente Regional Auxiliar - Tubarão Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat as Win2k service
Uhm, did you read the docs at all? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html Installation as a service: Tomcat will be installed as a Windows NT/2k/XP service no matter what setting is selected. Using the checkbox on the component page sets the service as auto startup, so that Tomcat is automatically startup when Windows starts. For optimal security, the service should be affected a separate user, with reduced permissions (see the Windows Services administration tool and its documentation). -Original Message- From: Java Techie [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 5:55 PM To: Tomcat Users List Subject: Tomcat as Win2k service Hi, I am using Tomcat5 on win2k Professional. I want to use it as a windows service. Please help. Thanks. Yogesh __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat as Win2k service
Thanks for replies. Now I can see it as a service, but when i try to start it it says Windows cant start the service... If its a non microsoft service... and refer the service specific error code 0 Thanks. --- Java Techie [EMAIL PROTECTED] wrote: Hi, I am using Tomcat5 on win2k Professional. I want to use it as a windows service. Please help. Thanks. Yogesh __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.24/Win2K - Servlet not found.
Look in CATALINA_HOME/conf/web.xml. This is a large file with a large amount of comments. You should find a servlet-mapping tag that has the pattern /servlet/* and you'll find it commented out. This is the 'invoker servlet' that every beginner dreads, because there are a LOT of books / tutorials out there that assume it is enabled, but ever since tomcat 4.1.12 it has been disabled by default. Just remove the comments, and you should be alright. -Original Message- From: Rohit Bapat [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.24/Win2K - Servlet not found. Hello, I'm a Tomcat beginner, and I'm having the following problem - The browser can't locate the servlet under URL /servlet. I read some recommended solutions for this in the mailing list, as well as the sample web.xml file on the Tomcat website, but am still having trouble getting the Servlets to be found. (http://marc.theaimsgroup.com/?l=tomcat-userm=103945394724196w=2) (http://marc.theaimsgroup.com/?l=tomcat-userm=104327383710262w=2) but I'm still having trouble modifying my web.xml file. I hope someone can help. I'm running Tomcat 4.1.24 LE, j2se1.4.1 and j2ee1.3.1 on Win2000 Prof. My directory structure is as follows: - c --Tomcat ---webapps myApp -images, WEB-INF (web.xml lies here) -classes (.java and .class here) my TestServlet file is located here - c:\Tomcat\webapps\myApp\WEB-INF\classes\ It compiled correctly and made the .class If I put http://localhost:8080 when Tomcat runs, I get the welcome page, so I know Tomcat's running fine. But if I have http://localhost:8080/myApp/servlet/TestingServlet, (without the web.xml file) it doesn't find the servlet. nor does it find the servlet with this http://localhost:8080/myApp/servlet/Testing (with web.xml) I tried putting an image in c:\Tomcat\webapps\myApp\images\ and tried http://localhost:8080/myApp/images/test.pic it finds the picture correctly. myweb.xml file reads as follows: -- -- ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTesting/servlet-name servlet-classTestingServlet/servlet-class /servlet /web-app -- -- I'm still confused as to how I should modify my web.xml file? web-app servlet servlet-nameTesting/servlet-name servlet-class???***/servlet-class /servlet servlet-mapping servlet-name???***/servlet url-pattern???***/url-pattern /servlet-mapping /web-app -- also, I'm learning from a book am not sure what the use of web-app tag is, in the web.xml file? Thank you, Rohit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.24/Win2K - Servlet not found.
http://jakarta.apache.org/tomcat/faq/misc.html#invoker Also look at the sun's webservices developer tutorial. -Tim Rohit Bapat wrote: Hello, I'm a Tomcat beginner, and I'm having the following problem - The browser can't locate the servlet under URL /servlet. I read some recommended solutions for this in the mailing list, as well as the sample web.xml file on the Tomcat website, but am still having trouble getting the Servlets to be found. (http://marc.theaimsgroup.com/?l=tomcat-userm=103945394724196w=2) (http://marc.theaimsgroup.com/?l=tomcat-userm=104327383710262w=2) but I'm still having trouble modifying my web.xml file. I hope someone can help. I'm running Tomcat 4.1.24 LE, j2se1.4.1 and j2ee1.3.1 on Win2000 Prof. My directory structure is as follows: - c --Tomcat ---webapps myApp -images, WEB-INF (web.xml lies here) -classes (.java and .class here) my TestServlet file is located here - c:\Tomcat\webapps\myApp\WEB-INF\classes\ It compiled correctly and made the .class If I put http://localhost:8080 when Tomcat runs, I get the welcome page, so I know Tomcat's running fine. But if I have http://localhost:8080/myApp/servlet/TestingServlet, (without the web.xml file) it doesn't find the servlet. nor does it find the servlet with this http://localhost:8080/myApp/servlet/Testing (with web.xml) I tried putting an image in c:\Tomcat\webapps\myApp\images\ and tried http://localhost:8080/myApp/images/test.pic it finds the picture correctly. myweb.xml file reads as follows: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTesting/servlet-name servlet-classTestingServlet/servlet-class /servlet /web-app I'm still confused as to how I should modify my web.xml file? web-app servlet servlet-nameTesting/servlet-name servlet-class???***/servlet-class /servlet servlet-mapping servlet-name???***/servlet url-pattern???***/url-pattern /servlet-mapping /web-app -- also, I'm learning from a book am not sure what the use of web-app tag is, in the web.xml file? Thank you, Rohit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.24/Win2K - Servlet not found.
On Thu, 26 Jun 2003 00:37, Rohit Bapat wrote: web-app servlet servlet-nameTesting/servlet-name servlet-class???***/servlet-class /servlet servlet-mapping servlet-name???***/servlet url-pattern???***/url-pattern /servlet-mapping /web-app /me wishes books and tutorials wouldn't assume the servlet invoker was enabled... web-app servlet servlet-nameTesting/servlet-name servlet-classTestingServlet/servlet-class /servlet servlet-mapping servlet-nameTesting/servlet url-patternTesting/url-pattern /servlet-mapping web-app http://localhost:8080/Testing Although you might still get problems as your class should be in a package eg. WEB-INF/ /classes /com /mydomain /myapp TestingServlet.class and you would have a package com.mydomain.myapp; statement within your TestingServlet.java file then modify the web.xml to: web-app servlet servlet-nameTesting/servlet-name servlet-classcom.mydomain.myapp.TestingServlet/servlet-class /servlet servlet-mapping servlet-nameTesting/servlet url-patternTesting/url-pattern /servlet-mapping web-app Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.24/Win2K - Servlet not found.
Except that using the Invoker is disabled for a reason and should be avoided if possible. John On Wed, 25 Jun 2003 11:44:38 -0500, Mike Curwen [EMAIL PROTECTED] wrote: Look in CATALINA_HOME/conf/web.xml. This is a large file with a large amount of comments. You should find a servlet-mapping tag that has the pattern /servlet/* and you'll find it commented out. This is the 'invoker servlet' that every beginner dreads, because there are a LOT of books / tutorials out there that assume it is enabled, but ever since tomcat 4.1.12 it has been disabled by default. Just remove the comments, and you should be alright. -Original Message- From: Rohit Bapat [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.24/Win2K - Servlet not found. Hello, I'm a Tomcat beginner, and I'm having the following problem - The browser can't locate the servlet under URL /servlet. I read some recommended solutions for this in the mailing list, as well as the sample web.xml file on the Tomcat website, but am still having trouble getting the Servlets to be found. (http://marc.theaimsgroup.com/?l=tomcat-userm=103945394724196w=2) (http://marc.theaimsgroup.com/?l=tomcat-userm=104327383710262w=2) but I'm still having trouble modifying my web.xml file. I hope someone can help. I'm running Tomcat 4.1.24 LE, j2se1.4.1 and j2ee1.3.1 on Win2000 Prof. My directory structure is as follows: - c --Tomcat ---webapps myApp -images, WEB-INF (web.xml lies here) -classes (.java and .class here) my TestServlet file is located here - c:\Tomcat\webapps\myApp\WEB- INF\classes\ It compiled correctly and made the .class If I put http://localhost:8080 when Tomcat runs, I get the welcome page, so I know Tomcat's running fine. But if I have http://localhost:8080/myApp/servlet/TestingServlet, (without the web.xml file) it doesn't find the servlet. nor does it find the servlet with this http://localhost:8080/myApp/servlet/Testing (with web.xml) I tried putting an image in c:\Tomcat\webapps\myApp\images\ and tried http://localhost:8080/myApp/images/test.pic it finds the picture correctly. myweb.xml file reads as follows: -- -- ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTesting/servlet-name servlet-classTestingServlet/servlet-class /servlet /web-app -- -- I'm still confused as to how I should modify my web.xml file? web-app servlet servlet-nameTesting/servlet-name servlet-class???***/servlet-class /servlet servlet-mapping servlet-name???***/servlet url-pattern???***/url-pattern /servlet-mapping /web-app -- also, I'm learning from a book am not sure what the use of web-app tag is, in the web.xml file? Thank you, Rohit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.24/Win2K - Servlet not found.
I was about to post a follow up, because I noticed later that the original poster was trying to do the right thing. ;) But *several* of you beat me to it. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:47 AM To: Tomcat Users List Subject: Re: Tomcat 4.1.24/Win2K - Servlet not found. Except that using the Invoker is disabled for a reason and should be avoided if possible. John On Wed, 25 Jun 2003 11:44:38 -0500, Mike Curwen [EMAIL PROTECTED] wrote: Look in CATALINA_HOME/conf/web.xml. This is a large file with a large amount of comments. You should find a servlet-mapping tag that has the pattern /servlet/* and you'll find it commented out. This is the 'invoker servlet' that every beginner dreads, because there are a LOT of books / tutorials out there that assume it is enabled, but ever since tomcat 4.1.12 it has been disabled by default. Just remove the comments, and you should be alright. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.24/Win2K - Servlet not found.
On Thu, 26 Jun 2003 00:44, Tim Funk wrote: http://jakarta.apache.org/tomcat/faq/misc.html#invoker Also look at the sun's webservices developer tutorial. Try getting that kind of support from a commercial product. :) 3 separate answers in less than 10 minutes! Cheers, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.24/Win2K - Servlet not found.
Howdy, But if I have http://localhost:8080/myApp/servlet/TestingServlet, (without the web.xml file) it doesn't find the servlet. snip Add to your web.xml: servlet-mapping servlet-nameTesting/servlet-name url-pattern/servlet/TestingServlet/url-pattern /servlet-mapping And then the above URL will work. also, I'm learning from a book am not sure what the use of web-app tag is, in the web.xml file? It's simply the root tag in the schema. It is required (and you cannot have more than one) for the web.xml file to be valid. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.24/Win2K - Servlet not found.
Thanks everyone for your quick replies. I added Yoav's code snippet to my web.xml and it worked just fine. Thanks Yoav. I just have one more question, why does the url http://localhost:8080/myApp/servlet/TestingServlet work, while http://localhost:8080/myApp/servlet/Testing not work, even though I mention the servlet-name as Testing ? Isn't Testing supposed to be 'alias' for the whole name? In that case, what is the use of the servlet-name tag? Thanks Rohit. On Wed, 25 Jun 2003, Shapira, Yoav wrote: Howdy, But if I have http://localhost:8080/myApp/servlet/TestingServlet, (without the web.xml file) it doesn't find the servlet. snip Add to your web.xml: servlet-mapping servlet-nameTesting/servlet-name url-pattern/servlet/TestingServlet/url-pattern /servlet-mapping And then the above URL will work. also, I'm learning from a book am not sure what the use of web-app tag is, in the web.xml file? It's simply the root tag in the schema. It is required (and you cannot have more than one) for the web.xml file to be valid. Yoav Shapira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.24/Win2K - Servlet not found.
Howdy, I just have one more question, why does the url http://localhost:8080/myApp/servlet/TestingServlet work, while http://localhost:8080/myApp/servlet/Testing not work, even though I mention the servlet-name as Testing ? Isn't Testing supposed to be 'alias' for the whole name? In that case, what is the use of the servlet-name tag? The servlet-name is used to connect a servlet and servlet-mapping tag. It's not an alias. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 3.3.1 - win2k iis
Do you have an environment variable set for CLASSPATH containing . ; %JAVA_HOME%\bin; %CATALINA_HOME%\common\lib\servlet.jar ? Schultz, Cecilia [EMAIL PROTECTED] wrote: Hi, I installed Tomcat 3.3.1 on win2k with IIS. Then I installed an a vendor's web app. When I bring up the vendor's login page, I get this error: === 2003-01-15 07:43:45 - webapps2:/i1440: Reading F:\i1440root\opt\i1440\webapps\i1440\WEB-INF\web.xml 2003-01-15 07:43:45 - webapps2:/i1440: Loading 1 InitServlet 2003-01-15 07:45:02 - webapps2:/i1440: Compiling: /login.jsp to login_0 2003-01-15 07:45:31 - webapps2:/i1440: compile error: req=R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:1: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:2: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:3: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) 2003-01-15 07:45:31 - webapps2:/i1440: Exception in R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:1: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:2: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java:3: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) = (com.g1440.naf.jdbc.view.ServletView is the vendor's class) If I bring up a simple test1.jsp page, it comes ok. Does this mean that tomcat is all ok and this error is a vendor's specific error? Thanks Cecilia -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: tomcat 3.3.1 - win2k iis
It seems I am missing some path somewhere. I copied a web app that does work in another server (with another container, not tomcat) into the problem server. I got a similar error when bringing up the default page: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. any help is much appreciated Cecilia Error: 500 Location: /ranchodev/web/default.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package web; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479 -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 9:56 AM To: Tomcat users list (E-mail) Subject: tomcat 3.3.1 - win2k iis Hi, I installed Tomcat 3.3.1 on win2k with IIS. Then I installed an a vendor's web app. When I bring up the vendor's login page, I get this error: === 2003-01-15 07:43:45 - webapps2:/i1440: Reading F:\i1440root\opt\i1440\webapps\i1440\WEB-INF\web.xml 2003-01-15 07:43:45 - webapps2:/i1440: Loading 1 InitServlet 2003-01-15 07:45:02 - webapps2:/i1440: Compiling: /login.jsp to login_0 2003-01-15 07:45:31 - webapps2:/i1440: compile error: req=R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :1: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :2: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :3: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConne ction(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( Unknown Source) at java.lang.Thread.run(Thread.java:479) 2003-01-15 07:45:31 - webapps2:/i1440: Exception in R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :1: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :2: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :3: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at
RE: tomcat 3.3.1 - win2k iis- examples
I tried running the jsp examples that comes with Tomcat and got the error: == Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package jsp.num; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) = what am I missing?? Thanks Cecilia -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 10:45 AM To: 'Tomcat users list (E-mail)' Subject: RE: tomcat 3.3.1 - win2k iis It seems I am missing some path somewhere. I copied a web app that does work in another server (with another container, not tomcat) into the problem server. I got a similar error when bringing up the default page: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. any help is much appreciated Cecilia Error: 500 Location: /ranchodev/web/default.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package web; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConne ction(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( Unknown Source) at java.lang.Thread.run(Thread.java:479 -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 9:56 AM To: Tomcat users list (E-mail) Subject:tomcat 3.3.1 - win2k iis Hi, I installed Tomcat 3.3.1 on win2k with IIS. Then I installed an a vendor's web app. When I bring up the vendor's login page, I get this error: === 2003-01-15 07:43:45 - webapps2:/i1440: Reading F:\i1440root\opt\i1440\webapps\i1440\WEB-INF\web.xml 2003-01-15 07:43:45 - webapps2:/i1440: Loading 1 InitServlet 2003-01-15 07:45:02 - webapps2:/i1440: Compiling: /login.jsp to login_0 2003-01-15 07:45:31 - webapps2:/i1440: compile error: req=R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :1: Package
RE: tomcat 3.3.1 - win2k iis- examples
Make sure you have all the correct environment variables, and also try to put the servlet.jar in the webApp's WEB-INF/lib folder if that doesn't work. Schultz, Cecilia [EMAIL PROTECTED] wrote: I tried running the jsp examples that comes with Tomcat and got the error: == Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package jsp.num; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) = what am I missing?? Thanks Cecilia -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 10:45 AM To: 'Tomcat users list (E-mail)' Subject: RE: tomcat 3.3.1 - win2k iis It seems I am missing some path somewhere. I copied a web app that does work in another server (with another container, not tomcat) into the problem server. I got a similar error when bringing up the default page: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. any help is much appreciated Cecilia Error: 500 Location: /ranchodev/web/default.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package web; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConne ction(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( Unknown Source) at java.lang.Thread.run(Thread.java:479 -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 9:56 AM To: Tomcat users list (E-mail) Subject: tomcat 3.3.1 - win2k iis Hi, I installed Tomcat 3.3.1 on win2k with IIS. Then I installed an a vendor's web app. When I bring up the vendor's login page, I get this error: === 2003-01-15 07:43:45 - webapps2:/i1440: Reading F:\i1440root\opt\i1440\webapps\i1440\WEB-INF\web.xml 2003-01-15 07:43:45 - webapps2:/i1440: Loading 1 InitServlet 2003-01-15 07:45:02 - webapps2:/i1440: Compiling: /login.jsp to login_0 2003-01-15 07:45:31 - webapps2:/i1440: compile error: req=R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :1: Package javax.servlet not found
RE: tomcat 3.3.1 - win2k iis- examples
I am assuming you are running NT4/2k jdk1.4.x is installed. are you running tomcat as a service? do you have any regulations controling how the system is configured? can you run tomcat 4.1.x (it has a nice installer) in the meantime, you want to locate servlet.jar and its friends i belive they are in tomcathome\common\lib put these in your classpath for SYSTEM VARIABLES CLASSPATH=c:\tomcathome\common\lib\servlet.jar;etc;blah;. this fix is not a proper fix, but something to get it working -jason pyeron On Wed, 15 Jan 2003, Schultz, Cecilia wrote: I tried running the jsp examples that comes with Tomcat and got the error: == Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package jsp.num; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) = what am I missing?? Thanks Cecilia -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 10:45 AM To: 'Tomcat users list (E-mail)' Subject: RE: tomcat 3.3.1 - win2k iis It seems I am missing some path somewhere. I copied a web app that does work in another server (with another container, not tomcat) into the problem server. I got a similar error when bringing up the default page: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. any help is much appreciated Cecilia Error: 500 Location: /ranchodev/web/default.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package web; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def ault_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConne ction(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( Unknown Source) at java.lang.Thread.run(Thread.java:479 -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 9:56 AM To: Tomcat users list (E-mail) Subject:tomcat 3.3.1 - win2k iis Hi, I installed Tomcat 3.3.1 on win2k with IIS. Then I installed an a vendor's web app. When I bring up the vendor's login page, I get this error: === 2003-01-15 07:43:45 - webapps2:/i1440: Reading F:\i1440root\opt\i1440\webapps\i1440\WEB-INF\web.xml 2003-01
Re: tomcat 3.3.1 - win2k iis
If you set the debug=6 attribute on the JspInterceptor element of server.xml (and re-start Tomcat), then Tomcat will print the classpath that it is using to compile to the log file. It looks like it can't find %TOMCAT_HOME%\lib\common\servlet.jar. You might also want to check that you don't have an older version of servlet.jar (or j2ee.jar) someplace like %JAVA_HOME%\jre\lib\ext. - Original Message - From: Schultz, Cecilia [EMAIL PROTECTED] To: Tomcat users list (E-mail) [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 10:44 AM Subject: RE: tomcat 3.3.1 - win2k iis It seems I am missing some path somewhere. I copied a web app that does work in another server (with another container, not tomcat) into the problem server. I got a similar error when bringing up the default page: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. any help is much appreciated Cecilia Error: 500 Location: /ranchodev/web/default.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package web; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_default_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479 -Original Message- From: Schultz, Cecilia Sent: Wednesday, January 15, 2003 9:56 AM To: Tomcat users list (E-mail) Subject: tomcat 3.3.1 - win2k iis Hi, I installed Tomcat 3.3.1 on win2k with IIS. Then I installed an a vendor's web app. When I bring up the vendor's login page, I get this error: === 2003-01-15 07:43:45 - webapps2:/i1440: Reading F:\i1440root\opt\i1440\webapps\i1440\WEB-INF\web.xml 2003-01-15 07:43:45 - webapps2:/i1440: Loading 1 InitServlet 2003-01-15 07:45:02 - webapps2:/i1440: Compiling: /login.jsp to login_0 2003-01-15 07:45:31 - webapps2:/i1440: compile error: req=R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :1: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :2: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :3: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConne ction(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( Unknown Source) at java.lang.Thread.run(Thread.java:479) 2003-01-15 07:45:31 - webapps2:/i1440: Exception in R( /i1440 + /login.jsp + null) - org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :0: Class javax.servlet.http.HttpServlet not found in class com.g1440.naf.jdbc.view.ServletView. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java :1: Package javax.servlet not found in import. import
Re: Tomcat as Win2k service vs ModJk
It's actually worse than John states: mod_webapp *only* works with the pre-fork MPM. Since the pre-fork MPM isn't an option on a Windows system, you can't even dream of using mod_webapp. If you don't believe me, look at the README for mod_webapp. Turner, John [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... WARP (mod_webapp) is deprecated. Moving to it would be going backwards and cause you to possibly redo things in the future. JK cannot start Tomcat. JK2 apparently can, though I have no experience with JK2, I use JK, and even then I am not certain that the in-process portions of JK2 work on Windows. If you want to run Tomcat as a service, see: http://www.mattkelli.com/tech/tomcat/ntservice.htm Also, the archives can be found here, the Tomcat as NT Service question comes up just about daily: http://marc.theaimsgroup.com/?l=tomcat-user John -Original Message- From: Debra Mendelson, CCE [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 8:31 AM To: [EMAIL PROTECTED] Subject: Tomcat as Win2k service vs ModJk I recently installed Tomcat 4.1.16 behind Apache HTTPD 2.0.42 using mod_jk to connect them together. It works fine except for the fact that I need to actually logon to windows and start tomcat manually. Is it possible to have tomcat come up automatically as a service? As an alternative I am thinking of switching from mod_jk to mod_webapp in hopes that apache via mod_webapp would launch tomcat for me. My problem was that I visited the download site: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/web app/release/v1 .2.0/bin/win32/ but nothing was there. Is there a place to download the mod_webapp binaries for windows? -- 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 as Win2k service vs ModJk
WARP (mod_webapp) is deprecated. Moving to it would be going backwards and cause you to possibly redo things in the future. JK cannot start Tomcat. JK2 apparently can, though I have no experience with JK2, I use JK, and even then I am not certain that the in-process portions of JK2 work on Windows. If you want to run Tomcat as a service, see: http://www.mattkelli.com/tech/tomcat/ntservice.htm Also, the archives can be found here, the Tomcat as NT Service question comes up just about daily: http://marc.theaimsgroup.com/?l=tomcat-user John -Original Message- From: Debra Mendelson, CCE [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 8:31 AM To: [EMAIL PROTECTED] Subject: Tomcat as Win2k service vs ModJk I recently installed Tomcat 4.1.16 behind Apache HTTPD 2.0.42 using mod_jk to connect them together. It works fine except for the fact that I need to actually logon to windows and start tomcat manually. Is it possible to have tomcat come up automatically as a service? As an alternative I am thinking of switching from mod_jk to mod_webapp in hopes that apache via mod_webapp would launch tomcat for me. My problem was that I visited the download site: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/web app/release/v1 .2.0/bin/win32/ but nothing was there. Is there a place to download the mod_webapp binaries for windows? -- 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 as Win2k service vs ModJk
See: http://www.mattkelli.com/tech/tomcat/ntservice.htm And mod_webapp is deprecated and not being developed anymore. The recommendation is to use mod_jk or mod_jk2 Jake At 08:31 AM 12/4/2002 -0500, you wrote: I recently installed Tomcat 4.1.16 behind Apache HTTPD 2.0.42 using mod_jk to connect them together. It works fine except for the fact that I need to actually logon to windows and start tomcat manually. Is it possible to have tomcat come up automatically as a service? As an alternative I am thinking of switching from mod_jk to mod_webapp in hopes that apache via mod_webapp would launch tomcat for me. My problem was that I visited the download site: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/release/v1 .2.0/bin/win32/ but nothing was there. Is there a place to download the mod_webapp binaries for windows? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat as Win2k service vs ModJk vs JK2
I've been running Tomcat 4.1.12 with Apache 2.0.43 and JK2 inprocess on Windows 2000 for about a month - no problems yet. In fact you don't want to use the install as NT service option during Tomcat's install if you plan to run it inprocess. http://www.geovelocity.com/index_apache-tomcat-arcims.html Dave -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 6:44 AM To: 'Tomcat Users List' Subject: RE: Tomcat as Win2k service vs ModJk WARP (mod_webapp) is deprecated. Moving to it would be going backwards and cause you to possibly redo things in the future. JK cannot start Tomcat. JK2 apparently can, though I have no experience with JK2, I use JK, and even then I am not certain that the in-process portions of JK2 work on Windows. If you want to run Tomcat as a service, see: http://www.mattkelli.com/tech/tomcat/ntservice.htm Also, the archives can be found here, the Tomcat as NT Service question comes up just about daily: http://marc.theaimsgroup.com/?l=tomcat-user John -Original Message- From: Debra Mendelson, CCE [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 8:31 AM To: [EMAIL PROTECTED] Subject: Tomcat as Win2k service vs ModJk I recently installed Tomcat 4.1.16 behind Apache HTTPD 2.0.42 using mod_jk to connect them together. It works fine except for the fact that I need to actually logon to windows and start tomcat manually. Is it possible to have tomcat come up automatically as a service? As an alternative I am thinking of switching from mod_jk to mod_webapp in hopes that apache via mod_webapp would launch tomcat for me. My problem was that I visited the download site: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/web app/release/v1 .2.0/bin/win32/ but nothing was there. Is there a place to download the mod_webapp binaries for windows? -- 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat in Win2k with IIS
To answer you question about if there is a difference between the JRE and the J2SDK, the answer is a definite yes. The difference is that the JRE does not come with the Java byte-code compiler and you need that in order to run Tomcat. Also, if you are not sure how to set environment variables in NT I would suggest getting a book on how to run NT. Aaron [EMAIL PROTECTED] 06/05/01 04:03PM I am currently trying to install Tomcat 3.2.2 on a windows 2000 box with IIS. I am really confused. Can Tomcat be run standalone as its own web server? Or does it have to have a webserver installed (like IIS). I tried to follow the tomcat_ug.htm file for installation. I went through the How do I Install the Binary Version of Tomcat and when I got down to set environment variable JAVA_HOME. I started to loose it. I don't have JDK installed but I do have JRE1.3 installed (Is there a difference?) And what is the Java interpreter, and where do I find that? So then I moved on. I saw that I could use scrips to setup Tomcat. I tried Tomcat env and I guess it didn't work. Next I tried the Tomcat IIS How To. I followed the Installation. I downloaded the DLL and put it in \bin\win32\i386 I went through and did minor changes to workers.properties. Then I went through the painful task of adding the key and strings into the registry. It is a new web server so I made the root directory the dir with the DLL file. (Does it have to be a virtual dir?) I then added the filter and restarted IIS. There is still a Red arrow next to the filter. That is when I put everything down. (BIG HEADACH) Thank you for your time! Matthew Winer
RE: Tomcat in Win2k with IIS
I'm not the one to be answering questions, but at least I have a green up arrow. It seems the green up arrow is more a product of file exitence than file content. If I rename workers.properties to XX.properties I get a red arrow. If I change the contents of the file to garbage the arrow stays green. Check paths in your registry settings, and the path for your filter. Don't worry about the the contents of the files until you get the green. -Original Message- From: Winer, Matthew [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 2:04 PM To: '[EMAIL PROTECTED]' Subject: Tomcat in Win2k with IIS I am currently trying to install Tomcat 3.2.2 on a windows 2000 box with IIS. I am really confused. Can Tomcat be run standalone as its own web server? Or does it have to have a webserver installed (like IIS). I tried to follow the tomcat_ug.htm file for installation. I went through the How do I Install the Binary Version of Tomcat and when I got down to set environment variable JAVA_HOME. I started to loose it. I don't have JDK installed but I do have JRE1.3 installed (Is there a difference?) And what is the Java interpreter, and where do I find that? So then I moved on. I saw that I could use scrips to setup Tomcat. I tried Tomcat env and I guess it didn't work. Next I tried the Tomcat IIS How To. I followed the Installation. I downloaded the DLL and put it in \bin\win32\i386 I went through and did minor changes to workers.properties. Then I went through the painful task of adding the key and strings into the registry. It is a new web server so I made the root directory the dir with the DLL file. (Does it have to be a virtual dir?) I then added the filter and restarted IIS. There is still a Red arrow next to the filter. That is when I put everything down. (BIG HEADACH) Thank you for your time! Matthew Winer
RE: Tomcat in Win2k with IIS
To answer your first question on wether you need a seperate web server, the answer is no. Tomcat works as a web server as well, but it is not a fast server. JDK includes (I believe) a java compiler to create the java files and and interpreter to run the java files. This is why you need it. If you are running on a NT machine and want to run it as a service, you will want to use JDK 1.2.2 (correct me if I am wrong).I am pretty sure the directory jakarta has to be a virtual directory as far as the redirector is concerned. If you install JDK and try again, I think you shouldn't have a problem. In addition it is usually better to create system env. variable rather than user. -Original Message--- -- From: Winer, Matthew [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 11:04 PM To: '[EMAIL PROTECTED]' Subject: Tomcat in Win2k with IIS I am currently trying to install Tomcat 3.2.2 on a windows 2000 box with IIS. I am really confused. Can Tomcat be run standalone as its own web server? Or does it have to have a webserver installed (like IIS). I tried to follow the tomcat_ug.htm file for installation. I went through the How do I Install the Binary Version of Tomcat and when I got down to set environment variable JAVA_HOME. I started to loose it. I don't have JDK installed but I do have JRE1.3 installed (Is there a difference?) And what is the Java interpreter, and where do I find that? So then I moved on. I saw that I could use scrips to setup Tomcat. I tried Tomcat env and I guess it didn't work. Next I tried the Tomcat IIS How To. I followed the Installation. I downloaded the DLL and put it in \bin\win32\i386 I went through and did minor changes to workers.properties. Then I went through the painful task of adding the key and strings into the registry. It is a new web server so I made the root directory the dir with the DLL file. (Does it have to be a virtual dir?) I then added the filter and restarted IIS. There is still a Red arrow next to the filter. That is when I put everything down. (BIG HEADACH) Thank you for your time! Matthew Winer
Re: Tomcat on Win2k
What I've done is; - followed steps of uguide\tomcat_ug.html (env. variables) - followed all steps of tomcat-iis-howto.html That means 1 is done, 2 not yet. First I'll replace the JVM to 1.3.1Beta Then do what's in NT-Service-howto.html One thing is not clear to me; the doc says: 3 Install jk_nt_service by running it with the -i flag. 4 Start tomcat as a service. Do I need to add these lines to autoexec.bat or only type it once in "start button/execute" ? (don't know what happens when the computer is restarted or when it's running multiple sessions) Nico - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 9:39 PM Subject: RE: Tomcat on Win2k No. If you want to run Tomcat out-of process with IIS as a service you need to: 1. Install Tomcat to work with IIS (which it seems that you have accomplished) 2. Install it as a service (which it also seems that you have accomplished) And remember to now use JDK 1.3.0. Since you seem to have most everything working fine, you simply need to change the JVM you are using to either 1.2.x or 1.3.1Beta and then modify the wrapper.properties and workers.properties to point to the correct JVM. If I understand your problem correctly, your problem is a bug in the JVM, everything else is working fine, so replacing the JVM should solve everything. Randy
Re: Tomcat on Win2k
I have replace the JVM with 1.3.1Beta and installed the NT service. It works fine now. Thank you all very much for the assistence Nico - Original Message - From: Nico den Boer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 9:31 AM Subject: Re: Tomcat on Win2k What I've done is; - followed steps of uguide\tomcat_ug.html (env. variables) - followed all steps of tomcat-iis-howto.html That means 1 is done, 2 not yet. First I'll replace the JVM to 1.3.1Beta Then do what's in NT-Service-howto.html One thing is not clear to me; the doc says: 3 Install jk_nt_service by running it with the -i flag. 4 Start tomcat as a service. Do I need to add these lines to autoexec.bat or only type it once in "start button/execute" ? (don't know what happens when the computer is restarted or when it's running multiple sessions) Nico
RE: Tomcat on Win2k
I remember reading something about this on the group a few months ago. If memory serves, it's a bug in JDK 1.3. Anthony Hi there ! I have Tomcat running on a Win2k computer with IIS 5.0. The computer is not local, so I logon using Terminal Services Client (TSC) as a administrator. Everything works fine, until I logout with TSC. Then Tomcat shuts down. Is there a way to keep Tomcat running after I logout ? Any help would be greatly appreciated. Nico den Boer
Re: Tomcat on Win2k
What JDK are you using ? For example, I can try to switch back to jdk 1.2.2 Nico - Original Message - From: Anthony Martin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 9:09 PM Subject: RE: Tomcat on Win2k I remember reading something about this on the group a few months ago. If memory serves, it's a bug in JDK 1.3. Anthony
RE: Tomcat on Win2k
Also this is supposedly fixed in the 1.3.1 beta (haven't tried myself yet). Randy -Original Message- From: Nico den Boer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 3:33 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat on Win2k What JDK are you using ? For example, I can try to switch back to jdk 1.2.2 Nico - Original Message - From: Anthony Martin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 9:09 PM Subject: RE: Tomcat on Win2k I remember reading something about this on the group a few months ago. If memory serves, it's a bug in JDK 1.3. Anthony
Re: Tomcat on Win2k
I use JDK 1.3.1 on Windows 2000 Terminal Server. I use the out-process implementation over IIS, and have it load on startup with jk_nt_service.exe. Because there is no user associated to this java.exe instance, logging in/out has no effect. To install Tomcat as a service, refer to the following documentation: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.htm l Anthony -Original Message- Subject: Re: Tomcat on Win2k From: "Nico den Boer" [EMAIL PROTECTED] Date: 2001-04-10 19:32:49 What JDK are you using ? For example, I can try to switch back to jdk 1.2.2 Nico - Original Message - From: Anthony Martin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 9:09 PM Subject: RE: Tomcat on Win2k I remember reading something about this on the group a few months ago. If memory serves, it's a bug in JDK 1.3. Anthony
Re: Tomcat on Win2k
Just for my understanding; If I want to use the out-process implementation, I need to; - remove registry entries - remove virtual folder jakarta from IIS - remove isapi_redirect filter from IIS - follow the directions of NT-Service-howto (which means modifying wrapper.properties) Is that all it takes or do I overlook something ? Nico - Original Message - From: Anthony Martin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 9:37 PM Subject: Re: Tomcat on Win2k I use JDK 1.3.1 on Windows 2000 Terminal Server. I use the out-process implementation over IIS, and have it load on startup with jk_nt_service.exe. Because there is no user associated to this java.exe instance, logging in/out has no effect. To install Tomcat as a service, refer to the following documentation: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.htm l Anthony
RE: Tomcat on Win2k
No. If you want to run Tomcat out-of process with IIS as a service you need to: 1. Install Tomcat to work with IIS (which it seems that you have accomplished) 2. Install it as a service (which it also seems that you have accomplished) And remember to now use JDK 1.3.0. Since you seem to have most everything working fine, you simply need to change the JVM you are using to either 1.2.x or 1.3.1Beta and then modify the wrapper.properties and workers.properties to point to the correct JVM. If I understand your problem correctly, your problem is a bug in the JVM, everything else is working fine, so replacing the JVM should solve everything. Randy -Original Message- From: Nico den Boer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 4:06 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat on Win2k Just for my understanding; If I want to use the out-process implementation, I need to; - remove registry entries - remove virtual folder jakarta from IIS - remove isapi_redirect filter from IIS - follow the directions of NT-Service-howto (which means modifying wrapper.properties) Is that all it takes or do I overlook something ? Nico - Original Message - From: Anthony Martin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 9:37 PM Subject: Re: Tomcat on Win2k I use JDK 1.3.1 on Windows 2000 Terminal Server. I use the out-process implementation over IIS, and have it load on startup with jk_nt_service.exe. Because there is no user associated to this java.exe instance, logging in/out has no effect. To install Tomcat as a service, refer to the following documentation: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Ser vice-howto.htm l Anthony
RE: Tomcat under Win2k
You're probably running Microsoft's java.exe. Get ahold of a which.exe utility and find out which one you are using. Rename \winnt\system32\java.exe to java.bak and make sure c:\jdk1.3\bin is in your path. -Original Message- From: Ivan Pilis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 7:12 PM To: [EMAIL PROTECTED] Subject: Tomcat under Win2k Hi all! I'm trying to run Tomcat 3.2.1 under Win2k and this error occures: "error occured duriong initialization of JVM ,java/lang/ClassNotFoundException : sun/io.ByteToCharCp1250". I;ve searched this class and found it in zip file \Winnt\java\packages\afh7j5v5.zip. On the other side, if I run java program in Visual J++, everythin works. Where could be problem? Thanx a lot. Mutant
Re: tomcat on win2k
Ya, I've slammed my head against the wall for a couple of days, searching for some kind of misterious bug in my beans/jsp/servlets/jdbc ... and so on ... while the reason of that "strange" behavior was so simple. Thanks again to this great list ... Sal. - Original Message - From: "Peter Alfors" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 4:46 PM Subject: Re: tomcat on win2k We have noticed this behaviour as well in NT. If you click in the tomcat window, you will notice the word "Select" appears at the top of the command window. This 'pauses' tomcat until you hit a key to release it. Pete "Etienne Baert (SPS Office)" wrote: Hi Salvatore, this happens when you click inside the command window in which the tomcat process is active. Microsoft sets the default behaviour in w2k for such actions to hanging the running application. Pressing on ENTER key simply releases this hanging. If you need to select the tomcat process window, don't click inside the window but on its title bar or via its icon in the taskbar to avoid this strange behaviour to happen. Etienne -Original Message- From: Salvatore Borrelli [mailto:[EMAIL PROTECTED]] Sent: mercredi 7 fvrier 2001 15:20 To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k Hi everyone, I have installed the Tomcat Release version 3.2 on a Windows 2000 server, and integrated it with IIS 5.0 (as a standalone process) with almost no problems. I say "almost" because, though the system seems to work correctly, sometime it hangs (i.e. it doesn't serve my JSP pages anymore), and it restart to work properly only when i set the focus to the Tomcat window and press the ENTER key. Someone has an idea about the cause of this strange behavior? Thank a lot for your suggestions, Sal - Original Message - From: "CPC Livelink Admin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 1:35 AM Subject: RE: tomcat on win2k IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat on win2k
Hi everyone, I have installed the Tomcat Release version 3.2 on a Windows 2000 server, and integrated it with IIS 5.0 (as a standalone process) with almost no problems. I say "almost" because, though the system seems to work correctly, sometime it hangs (i.e. it doesn't serve my JSP pages anymore), and it restart to work properly only when i set the focus to the Tomcat window and press the ENTER key. Someone has an idea about the cause of this strange behavior? Thank a lot for your suggestions, Sal - Original Message - From: "CPC Livelink Admin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 1:35 AM Subject: RE: tomcat on win2k IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: tomcat on win2k
Hi Salvatore, this happens when you click inside the command window in which the tomcat process is active. Microsoft sets the default behaviour in w2k for such actions to hanging the running application. Pressing on ENTER key simply releases this hanging. If you need to select the tomcat process window, don't click inside the window but on its title bar or via its icon in the taskbar to avoid this strange behaviour to happen. Etienne -Original Message- From: Salvatore Borrelli [mailto:[EMAIL PROTECTED]] Sent: mercredi 7 fvrier 2001 15:20 To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k Hi everyone, I have installed the Tomcat Release version 3.2 on a Windows 2000 server, and integrated it with IIS 5.0 (as a standalone process) with almost no problems. I say "almost" because, though the system seems to work correctly, sometime it hangs (i.e. it doesn't serve my JSP pages anymore), and it restart to work properly only when i set the focus to the Tomcat window and press the ENTER key. Someone has an idea about the cause of this strange behavior? Thank a lot for your suggestions, Sal - Original Message - From: "CPC Livelink Admin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 1:35 AM Subject: RE: tomcat on win2k IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat on win2k
I thought that I tried that. I was not online however. Therefore, when I prefix my URLs with Http:// IE asks me to connect to the internet. I then choose 'work offline' and the page is not found. I will try it again tonight, maybe I missed in my MANY attempts to get it to work on IE. :) Thanks for the info, Pete CPC Livelink Admin wrote: IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC="http://www.irista.com/logo/irista.gif"BRBRFONT Color=#80FONT SIZE=2BBringing Vision to Your Supply Chain adr:;; version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat on win2k
We have noticed this behaviour as well in NT. If you click in the tomcat window, you will notice the word "Select" appears at the top of the command window. This 'pauses' tomcat until you hit a key to release it. Pete "Etienne Baert (SPS Office)" wrote: Hi Salvatore, this happens when you click inside the command window in which the tomcat process is active. Microsoft sets the default behaviour in w2k for such actions to hanging the running application. Pressing on ENTER key simply releases this hanging. If you need to select the tomcat process window, don't click inside the window but on its title bar or via its icon in the taskbar to avoid this strange behaviour to happen. Etienne -Original Message- From: Salvatore Borrelli [mailto:[EMAIL PROTECTED]] Sent: mercredi 7 fvrier 2001 15:20 To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k Hi everyone, I have installed the Tomcat Release version 3.2 on a Windows 2000 server, and integrated it with IIS 5.0 (as a standalone process) with almost no problems. I say "almost" because, though the system seems to work correctly, sometime it hangs (i.e. it doesn't serve my JSP pages anymore), and it restart to work properly only when i set the focus to the Tomcat window and press the ENTER key. Someone has an idea about the cause of this strange behavior? Thank a lot for your suggestions, Sal - Original Message - From: "CPC Livelink Admin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 1:35 AM Subject: RE: tomcat on win2k IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC="http://www.irista.com/logo/irista.gif"BRBRFONT Color=#80FONT SIZE=2BBringing Vision to Your Supply Chain adr:;; version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat on win2k
I think that you are right...It does appear that as soon as you select 'work offline' it does not try to connect. I think I tried the local IP address (127.0.0.1) as well. I will try this tonight also. Setting the connect via LAN is a good idea, I know I didn't try that. (I tried the never connect option though to no avail) I don't have a network card in the computer. Where can I find information in the loopback adapter? (microsoft I assume?) Thanks again for the ideas! Pete Michael Weissenbacher wrote: i think when you use ie in offline mode it doesn't try to connect to any server, including localhost. i think if you configure ie to connect to the internet via a LAN you'll be able to access tomcat via localhost, or try http://127.0.0.1. if you don't have a network card in this computer you may have to install the ms loopback adapter and bind it to tcp/ip (at least this was the way in nt4) michael -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 4:28 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I thought that I tried that. I was not online however. Therefore, when I prefix my URLs with Http:// IE asks me to connect to the internet. I then choose 'work offline' and the page is not found. I will try it again tonight, maybe I missed in my MANY attempts to get it to work on IE. :) Thanks for the info, Pete CPC Livelink Admin wrote: IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC="http://www.irista.com/logo/irista.gif"BRBRFONT Color=#80FONT SIZE=2BBringing Vision to Your Supply Chain adr:;; version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat on win2k
I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC="http://www.irista.com/logo/irista.gif"BRBRFONT Color=#80FONT SIZE=2BBringing Vision to Your Supply Chain adr:;; version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: tomcat on win2k
IE is pretty stupid that way. It does it to me and I am online all the time. The trick is to put the http:// in there explicitly, then it won't convert to local:8080 -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:10 PM To: [EMAIL PROTECTED] Subject: Re: tomcat on win2k I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one) running on Windows 2000. I didn't come across any errors. The only thing I couldn't do was actually view the examples web app using IE (i believe 5.5). IE does not want to let me connect to 'localhost:8080' offline. It changes the address to 'local:8080'. Running the examples in Netscape 4.01 worked fine though. Pete Lakshmi Bhetanabhotla wrote: Hi , I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I have installed it on Win2k, set up all the paths and classpaths, but when I startup the server, the process aborts giving a runtime exception. Has anyone had a similar problem regarding installation of tomcat on win2k. I greatly appreciate any feedback or help on this. Thank You, Lakshmi. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]