Re: Running Tomcat as a service
I don't know if this will help, but I have the same setup and it's working just fine. I did go into the World Wide Web Publishing Services in Win2000 and add the Apache Tomcat 4.1 service as a dependency. What this does is to ensure that Tomcat starts before IIS does. If you need details, let me know, but it appears to work for me. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 07, 2003 9:07 AM Subject: RE: Running Tomcat as a service Let me add that I'm running Tomcat 4.1 not Apache 4.1. Also the 500 error is a nullPointerException error. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 9.04 AM To: [EMAIL PROTECTED] Subject: Running Tomcat as a service I am running Apache 4.1 along with IIS on a windows 2000 machine. I chose Run as an NT service during the Tomcat install. I've configured the 2 web servers to work together. The jsp pages come up fine when I choose the Start Tomcat icon in the start folder. Problem is, when Tomcat is running as a service I get 1 of 2 pages. The first page is The servlet container is temporary unavailable or being upgraded written on a blank page. Other times I get a 500 error pointing to a line in my jsp page that does not exist. I disabled the service an then re-enabled it and things worked fine for a while. Then it went back to the same problem. I do not know much about NT services. Any help would be appreciated. Nicholas Rapagnani Phone: (484) 762-3105 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems integrating Tomcat 4.1.24 IIS
Well surprisingly enough I am now having problems with a Tomcat/IIS integration that was working fine on Friday. The jk_iis.log file shows an error 61 trying to connect the port to the Tomcat Process. Any ideas why this would become a problem? Tom E. Cole, Jr. General Manager, Lamatek, Inc. [EMAIL PROTECTED] http://www.lamatek.com
Re: Running Tomcat 4.0.4 on Multiple CPUs. Problem?
Mine runs fine on a dual Xeon 2.4GHz, but it was installed there, not moved, if that matters. - Original Message - From: Andoni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:13 AM Subject: Running Tomcat 4.0.4 on Multiple CPUs. Problem? Hello, I am going to move my Tomcat 4.0.4 installation over to a machine which has 4 CPUs. I am just wondering if there are any known issues with this. Has anybody had any problems which were directly attributable to a move to multiple CPUs? Thanks, Andoni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 4.1.24 installation problem
I used these: Integrating with IIS: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html With Apache: http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html - Original Message - From: vilpesh mistry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:06 AM Subject: tomcat 4.1.24 installation problem hi can any one (who has successfully installed tomcat 4.1.24 on a Windows 2000 server) provide me the steps required to install Tomcat 4.1.24. or suggest me any help url where i can get the required steps. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to run as a startup application!!!
Write a wrapper with a main class that launches your app, then install it as a service, making it dependent on Apache Tomcat service. - Original Message - From: RamKumar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 7:45 AM Subject: How to run as a startup application!!! Hi All, I want to run a java class in a separate daemon thread whenever the tomcat starts.How to do this?. This class is neither a servlet nor a Java Main Application. It is plain java class without main(string ar[]) method. Any idea?.. thanks, Ramkumar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to run as a startup application!!!
I know nothing about Linux. I haven't bought into it... Didn't even know it had services. - Original Message - From: RamKumar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:01 AM Subject: Re: How to run as a startup application!!! Hi Tom, thanks for your idea. We should support linux also. In this case what should we do?. thanks, -Ramkumar - Original Message - From: Tom Cole [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:18 PM Subject: Re: How to run as a startup application!!! Once you write your wrapper you can make it a service by using a program like JavaService, which I believe can be downloaded at http://www.alexandriasc.com/software/JavaService/index.html Once you have your service created you can modify the registry entry for the service under: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Service/service_name Add a key named DependOnService and make it type REG_MULTI_SZ To the value list for this key, add the service name for any service you want this service to be dependent on (in this case probably just Apache Tomcat 4.1. Any questions, drop us a line. - Original Message - From: RamKumar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 8:28 AM Subject: Re: How to run as a startup application!!! Hi Tom, Could you please more specific on this topic?..How to install as service and how to make it dependent on tomcat? thanks, -Ramkumar - Original Message - From: Tom Cole [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:45 PM Subject: Re: How to run as a startup application!!! Write a wrapper with a main class that launches your app, then install it as a service, making it dependent on Apache Tomcat service. - Original Message - From: RamKumar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 7:45 AM Subject: How to run as a startup application!!! Hi All, I want to run a java class in a separate daemon thread whenever the tomcat starts.How to do this?. This class is neither a servlet nor a Java Main Application. It is plain java class without main(string ar[]) method. Any idea?.. thanks, Ramkumar - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repost: JSP Compile Fails
Spaces in your install path for Tomcat will cause ANT to fail. You should reinstall with a new path that does not include spaces. - Original Message - From: Nathan McMinn [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:41 AM Subject: repost: JSP Compile Fails I recently upgraded to tomcat 4.1.24 from 4.1.18. After performing this upgrade, whenever I try to deploy a new version of a JSP page on the server, the compile fails. I have tracked this down to this bit of the stack trace: Caused by: java.io.IOException: CreateProcess: javac.exe -classpath D:\Tomcat418\bin\bootstrap.jar;D:\Tomcat418\webapps\wwxchange\WEB-INF\lib\Li nearBarCode.jar;D:\Tomcat418\webapps\wwxchange\WEB-INF\lib\WWXchange.jar;D:\ Tomcat418\shared\classes;D:\Tomcat418\common\classes;D:\Tomcat418\common\lib \activation.jar;D:\Tomcat418\common\lib\ant.jar;D:\Tomcat418\common\lib\comm ons-collections.jar;D:\Tomcat418\common\lib\commons-dbcp.jar;D:\Tomcat418\co mmon\lib\commons-httpclient-2.0-beta1.jar;D:\Tomcat418\common\lib\commons-lo gging-api.jar;D:\Tomcat418\common\lib\commons-logging.jar;D:\Tomcat418\commo n\lib\commons-pool.jar;D:\Tomcat418\common\lib\Commons.jar;D:\Tomcat418\comm on\lib\EJOB.jar;D:\Tomcat418\common\lib\ftpbean.jar;D:\Tomcat418\common\lib\ jakarta-poi-1.10.0-dev-20030222.jar;D:\Tomcat418\common\lib\jasper-compiler. jar;D:\Tomcat418\common\lib\jasper-runtime.jar;D:\Tomcat418\common\lib\mail. jar;D:\Tomcat418\common\lib\mm.mysql-2.0.14-bin.jar;D:\Tomcat418\common\lib\ naming-common.jar;D:\Tomcat418\common\lib\naming-factory.jar;D:\Tomcat418\co ? It seems like ant is truncating the classpath. Does this need to be posted to the ant mailing list? If not, the only workaround I can find is to unpack jars to the common/classes directory, thus shortening the classpath. Does anybody know a cleaner way to handle this? --Nathan McMinn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with new 4.1.24 install
I'm integrating Tomcat 4.1.24 with IIS in a Windows 2000 Server environment. 1. I downloaded and installed the distribution. 2. Downloaded the isapi_redirector.dll and placed it in /conf/ 3. I created the workers.properties and uriworkermap.properties file. 4. Uncommented the APJ13 section of the server.xml file 5. Created the required Windows Registry keys 6. Created a tomcat Virtual Directory in IIS with read, write execute permissions and pointed it to /conf/. 6. Added the ISAPI to IIS and it loaded fine. 7. Shutdown World Wide Web Publishing Service, started Tomcat and restarted WWWPS Service. Now if I open the url: http://127.0.0.1/examples I get the proper screen from Tomcat. If I select the JSP section and then an example (let's say numberguess) I get a Error 500 from Jasper saying it cannot compile. I get the same problem if I try to load using the 127.0.0.1:8080/examples url. Any help would be appreciated. The integration seemed to go fine, I just don't understand why it won't compile JSPs. Could it be a permissions thing? Tom E. Cole, Jr. General Manager, Lamatek, Inc. [EMAIL PROTECTED] http://www.lamatek.com
Re: Win2003 IIS6 ISAPI filter problem
I'm using the latest isapi_redirector.dll (notice the 'or' at the end) with no problems. But I'm running 4.1.24. - Original Message - From: Eriksen, Kjell [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:20 AM Subject: RE: Win2003 IIS6 ISAPI filter problem I have been experiencing a similar problem with the ISAPI from 4.1.18. The application works fine when I hit Tomcat's HTTP listener, but going through IIS I receive the error with ACCESS DENIED. I have tried everything imaginable with the permissions. Is there a new ISAPI filter for 2003? Has anyone tried the ISAPI from Tomcat 5.0? - Kjell Eriksen -Original Message- From: Nick Tatham [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:14 AM To: Tomcat Users List Subject: Win2003 IIS6 ISAPI filter problem I have a Tomcat 3 application and have been running this successfully on several NT and 2000 machines under IIS using the isapi_redirect.dll filter (from Tomcat 3.3). I'm now trying to make it work under IIS 6 on Windows server 2003. Debug to the logfile shows it processing the HttpFilterProc OK but not proceeding to the HttpExtensionProc - I get a 404 error returned instead - it never gets as far as Tomcat. Does anyone know if this configuration works and what magic is needed to get past this problem? Thanks, Nick -- Nick Tatham Peramon Technology Limited +44 118 984 0506 www.peramon.com - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]