5.5.3 zip has no tomcat exe for windows
Hi All, Just unzipped 5.5.3 zip and tried to run service.bat to install the w2k service It says The tomcat.exe was not found ... There are tomcat5.exe and tomcat5w.exe in 5.5.2 zip Why are they missing from 5.5.3 ? By accident or design? If design, how would I get the windows service running? If accident, can I safely just copy the .exes from 5.5.2? That's what I'm going to try now. Regards, Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 5.5.3 zip has no tomcat exe for windows
Remy Maucherat wrote: On Tue, 12 Oct 2004 08:49:31 +0100, Christopher Watson [EMAIL PROTECTED] wrote: Hi All, Just unzipped 5.5.3 zip and tried to run service.bat to install the w2k service It says The tomcat.exe was not found ... There are tomcat5.exe and tomcat5w.exe in 5.5.2 zip Why are they missing from 5.5.3 ? By accident or design? By design. If design, how would I get the windows service running? Get the .exe. The windows installer .exe ? I have persistent problems with that and have given up - see thread with subject tomcat 5.x windows installer or the tomcat5(w).exe? In which case where from? Lucky for me I had the 5.5.2 one, but otherwise is it elsewhere? If accident, can I safely just copy the .exes from 5.5.2? That's what I'm going to try now. BTW The above worked just fine Regards, Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.x windows installer
Shapira, Yoav wrote: Hi, My reason for preferring the installer over the zip is that - when it works - I can do a faily painless upgrade by uninstalling leaving the webapps etc alone and reinstalling an upgrade version to the same directory. This is not so easy using the zip distribution. Any help would be appreciated. It's funny -- I prefer using the .zip versions because I think their upgrade process is much easier than the services'. I'm coming round to you way of thinking, but then why is the .exe included in the dist? What's its added value ? Simply install new zip to different $CATALINA_HOME directory, and copy over webapps. If only ;) And the bits from conf - server.xml bits, tomcat-users, but then they have a habit of getting scrunched by the .exe anyhow ! Then I use jk2 for ajp13 redirection from IIS [I have no editorial control over choice of IIS :( ], so I'd have to fiddle with the redirector registry entries and such like, but actually, you've just given me an idea ... ... But really, am I the only sad M$ person who has trouble with the installer? As I said, it never used to be a problem around 5.0.19ish. Any thoughts? This might have to do with me not trusting the Windows registry as much as I do the filesystem, though ;) To be sure. Yoav 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.x windows installer
Shapira, Yoav wrote: OK I had a fleeting success by re installing jdk1.5.0 and tomcat 5.0.28 to their default directories. The installer went passed the jvm freeze point all the way to completion. Intoxicated by my success I turned my firewall back on and ran the uninstaller. The firewall prompted me to enroll the uinstaller which I did and then it failed at the jvm so I had to abandon it. I now cannot either remove or reinstall it using the .exe . Is there any way of telling what is happing at the stage where the jvm is invoked? The zip is just fine ! But... My reason for preferring the installer over the zip is that - when it works - I can do a faily painless upgrade by uninstalling leaving the webapps etc alone and reinstalling an upgrade version to the same directory. This is not so easy using the zip distribution. Any help would be appreciated. Thanks Christopher Hi, I just installed 5.0.28.exe on Win2K the other day, using both JDK 1.4.2_04 and 1.5 RC2 (the last beta before the final customer shipment went out yesterday): in either case it worked fine, no freezing. Installation, running as a service, running from the command line, and de-installation all went fine. Yoav Shapira Millennium Research Informatics -Original Message- From: Christopher Watson [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:50 AM To: Tomcat Users List Subject: tomcat 5.x windows installer I cannot get the latest windows installer .exe jakarta-tomcat-5.5.2.exe to install properly It freezes after writing conf\server.xml and conf\tomcat-users.xml with the message Using Jvm: C:\jdk1.5\jre\bin\server\jvm.dll where that is where I've installed the jdk. It make no difference if I choose the installed jre instead of the jdk. The most recent one I did get to work was 5.0.19. Both 5.0.27 and 5.0.28 both freeze in the same way as 5.2.2 Seems to be same situation on win2k pro and win 2003 server. Any one have any clues as to what the problem is and how I would get the .exe to install properly? Thanks for any help, Christopher PS's ... BTW I'm on jdk1.4.2_03 on w2k, 1.5 beta on win 2003 server - both seem to behave the same. The last few lines from the show details block read as follows === server.xml written Delete file: c:\jakarta-tomcat\conf\tomcat-users.xml tomcat-users.xml written Remove folder: C:\DOCUME~1\JERONI~1\LOCALS~1\confinstall Using Jvm: C:\jdk1.5\jre\bin\server\jvm.dll = (the chosen directory names for tomcat and jdk 1.5 are intentional and correct) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 5.x windows installer
I cannot get the latest windows installer .exe jakarta-tomcat-5.5.2.exe to install properly It freezes after writing conf\server.xml and conf\tomcat-users.xml with the message Using Jvm: C:\jdk1.5\jre\bin\server\jvm.dll where that is where I've installed the jdk. It make no difference if I choose the installed jre instead of the jdk. The most recent one I did get to work was 5.0.19. Both 5.0.27 and 5.0.28 both freeze in the same way as 5.2.2 Seems to be same situation on win2k pro and win 2003 server. Any one have any clues as to what the problem is and how I would get the .exe to install properly? Thanks for any help, Christopher PS's ... BTW I'm on jdk1.4.2_03 on w2k, 1.5 beta on win 2003 server - both seem to behave the same. The last few lines from the show details block read as follows === server.xml written Delete file: c:\jakarta-tomcat\conf\tomcat-users.xml tomcat-users.xml written Remove folder: C:\DOCUME~1\JERONI~1\LOCALS~1\confinstall Using Jvm: C:\jdk1.5\jre\bin\server\jvm.dll = (the chosen directory names for tomcat and jdk 1.5 are intentional and correct) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: http://localhost/ works but http://ip address/ doesn't
Doug. Is your tomcat on port 80 or port 8080 ... You say If I try http://192.168.1.100:8080/, it works. Does http://192.168.1.100/ (i.e. default http port 80 equivalent to http://192.168.1.100:80/) work ? If both the above work, what is at port 80? IIS ? Apache? and what are you using to 'route' between post 80 and port 8080? Is that configured OK to work with your public IP address? If there's not 'routing' between 80 and 8080 Then, does http://thepublicipaddress:8080/ work - (this may well have been stopped by the isp's firewall). If it does, you may want to start tomcat on port 80 ?? Look in conf/server.xml for line that starts Connector port=8080 and change it to Connector port=80 Hope this helps. Christopher -Original Message- From: Ted Anagnost [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 08:58 To: Tomcat Users List Subject: Re: http://localhost/ works but http://ip address/ doesn't Hello Doug, Last thing first. I did find you can set the IP with address=??? in the server.xml. Check for this. Unless you have a specific need to you can remove it. It's not there. Another thing is I tried to ping the computer again from a different external computer and got back no response. The first ping attempt was actually from a Linksys support person who said ping worked but I can't verify that personally of course. I can send you my IP in email if you're willing to try that too (what email address?). Now in case that is not the issue: Sitting at you windows box that is running TC you can open IE and access http://localhost but if you try to access http://yourMachinesIP it fails. Right You keep mentioning the linksys, so I have to ask, are you trying to use the actual IP of you machine (192.168.1.100) or the public IP assigned to the Internet side of the Linksys (assuming it is connected to the Internet)? The public IP. If I try http://192.168.1.100:8080/, it works. From a command prompt ping localhost. Then ping the IP of your machine. Both return a response. I'm using the Linksys router BEFSR41 with port forwarding enabled for port 80. Notice that localhost resolves to 127.0.0.? Do an ipconfig /all from the command promrt. Confirm the IP of your machine. This shows 192.168.1.100 as the IP for my machine. Are you running ANY firewall software? Disable it on a temporary basis to test. Not sure how to cleanly disable the Linksys firewall protection. Then configure it to allow http port 80 traffic through. Port forwarding is enabled for port 80 (http). There are primarily three cases that can happen with your setup: 1. Call http://localhost-- no response Call http://machineIP-- no response Call http://publicIP-- no response Tomcat is not running. Firewall on machine is blocking all IP traffic(rare but can happen). TCP/IP stack is corrupt. Since localhost works this is not the issue with yours. 2. Call http://localhost-- response Call http://machineIP-- no response Call http://publicIP-- no response Tomcat is misconfigured. Address setting for IP other than machine IP. Firewall is enabled/running on machine(not external unit). 3. Call http://localhost-- response Call http://machineIP-- response Call http://publicIP-- no response External firewall is misconfigured. Machine firewall is misconfigured. (Some firewalls treat requests to yourself as localhost and do not filter them. Try accessing http:/machineIP from another machine on the network if available.) Confirm which category you fall into. Then check the items listed. Looks like I fall into category 3. Unfortunately, I don't have another computer on the network to try your test. Is there some software that may help to test this similarly? What version of windows are you running? Windows XP, Service Pack 1. If 2000 or higher go into network connection properties and select the Ethernet adapter that is connected to your linksys. Click on the advanced tab and confirm that the box beside firewall is NOT checked. The box was not checked. Also, there's an Internet Connection network connection of type Internet Gateway that shows some services that you can enable Internet users to access. For that, http is unselected. If I select it, and select edit, it has the following fields and values: Field: Name or IP address of the computer hosting this service on the network Value: 192.168.1.0 Field: External port number for this service Value: 80 Field: Internal port number for this service Value: 80 I tried playing around with the settings here but I'm not sure what to use. (none of them worked) If you are category three and the machine firewall is off then you have a problem with your
NT service shutdown (w2k 5.0.18)
Can anyone help? I'm running 5.0.18 under w2k If I go to the services gui and stop the 'apache tomcat' service it does so but takes always approx 1 minute to do so. From the command line if I do net stop tomcat5 it says The Apache Tomcat service is stopping. The Apache Tomcat service could not be stopped. but does stop it, again after approx 1 minute Is there a way to force shutdown immediately. I'd like for the batch file to wait until is has actually stopped. Any help greatly appreciated Thanks, Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).
Charles I've only been able to get jk2 iis-tomcat working with a isapi_redirector2.dll version 2.0.1 which I can no longer find on jakarta.apache.org The latest seems to be 2.0.1 whichi I've never got to work. If you like I can email it to you direct outside of this list. I tried sending it direct to the list but it didn't turn up I guess .dll attachements are blocked !? Or does anyone know if the 2.0.1 version is still accessible at jakarta.apache.org - URL please ! Or anyone know of problems/fixes for 2.0.1 ?? Christopher -Original Message- From: charles doweary [mailto:[EMAIL PROTECTED] Sent: 23 December 2003 22:07 To: [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Thanks, but that did not help. I changed the direction of the slashes in the extension_uri and got the same results...no redirection. Do you have any other ideas? Your support in this matter is greatly appreciated. From: Wendell Holmes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Date: Tue, 23 Dec 2003 11:37:36 -0700 Try changing the extension_uri to forward slashes - /jakarta/isapi_redirect.dll Wendell Holmes Sorry for not quoting, but it bounced as too large for mailserver _ Have fun customizing MSN Messenger - learn how here! http://www.msnmessenger-download.com/tracking/reach_customize - 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.18 - IIS 5.0 plugin
Johannes , All, I've found the 2.0.1 dll works - with jk2 style config, but not the 2.0.2 dll. Can anyone else confirm this is the case for them? If so, does anyone know why 2.0.2 is not working? Or what I need to change from 2.0.1 config to get it to work? (My workers2.properties, jk2.properites and exported registry are attached for the curious) If it's not a config, perhaps 2.0.2 should be fixed or removed? I only kind of by accident tried 2.0.1 and found it to work, having puzzled over 2.0.2 for a long time. My 2p (UK c version of 2 cents) Christopehr -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: 28 February 2003 08:08 To: Tomcat Users List Subject: Re: Tomcat 4.1.18 - IIS 5.0 plugin Dear Ben, isapi_redirector version 1.0 is running smoothly with Tomcat 4.1.18 on my PC. Being curious, I tried to get 2.0.2 running as well, but it didn't work out (the arrow stays red down). However, it should be running, because I used the same uriworkermap/workers.properties. Or did these files change for 2.0? Can you send me *) the working registry entries and *) uriworkermap.properties *) workers.properties *) the isapi_redirector2.dll you are using? I'd like to see 2.0 up and running as well! thx alot Johannes Schleimer, Ben [EMAIL PROTECTED] 27.02.2003 15:09 Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Tomcat 4.1.18 - IIS 5.0 plugin Hi, You need to get isapi_redirector2.dll from the JK2 connectors part of the website. I had the same problem. Also, the registry keys need to be in 2.0, not 1.0. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala = The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague - Edsger Dijkstra http://snow.prohosting.com/bensch __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ÿþW i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0 [ H K E Y _ L O C A L _ M A C H I N E \ S O F T W A R E \ A p a c h e S o f t w a r e F o u n d a t i o n \ J a k a r t a I s a p i R e d i r e c t o r \ 2 . 0 ] s e r v e r R o o t = W : \ \ j a k a r t a - t o m c a t e x t e n s i o n U r i = / j a k a r t a / i s a p i _ r e d i r e c t o r 2 . d l l w o r k e r s F i l e = W : \ \ j a k a r t a - t o m c a t \ \ c o n f \ \ w o r k e r s 2 . p r o p e r t i e s a u t h C o m p l e t e = 0 t h r e a d P o o l = 2 0 l o g L e v e l = D E B U G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NT Services
The NT/2000 service is configured through the registry, hence doesn't taker notice of CATALINA_OPTS etc Try looking in the following registry key. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.0\Parameters The 4.1 is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters so I'm guessing/rembering the 4.0 is as above anyway, if you hunt around under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services I'm sure you'll find it. You'll see various JVM Options for things like classpath, endorsed directories etc On my installation the classpath is specified under JVM Option Number 0 Hope this helps -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 15 February 2003 15:15 To: [EMAIL PROTECTED] Subject: NT Services Hi, I am having a problem configuring Tomcat 4.0 as a service. I run the install to set up Tomcat as a service and it starts up fine, but the paths to Java and Tomcat are not set up correctly. Can anyone tell me where they are set. My environmental variables are setup fine and Tomcat runs fine with the batch program. Thanks Randy - 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]
Howto for JK2 for IIS ?
I've just looked at Robert Sowder's howto for JK2 in Windows and wondered if similar thing exists for IIS I do have a configuration working, and could produce a draft of a possible document, BUT could someone comment in the following queries? 1) There is no isapi_redirector2.dll included in the binary distribution (or for that matter version 1 - isapi_redirector.dll) 2) The docs at http://localhost:8080/tomcat-docs/jk2/jk/iishowto.html refer to version 1 of the dll and the registry entry, i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0 and c:\jakarta-tomcat\bin\win32\i386\isapi_redirect.dll Are the docs out of date? Or should I not be trying jk2 against IIS? 3) I hunted and find version 2 at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v 2.0.1/bin/win32/ is this the right/best place? There are docs in the source release for the connector http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v 2.0.1/src/ so I used them. Am I on the right track? 4) I tried the v2.0.2 dll at approx the above address but it doesn't work. Should it? Thanks, Christopher -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Advice: good tutorial out there?
It's a bit big for a tutorial, and it's in PDF format, but you could try http://pdf.coreservlets.com/ -Original Message- From: Jean Georges PERRIN [mailto:[EMAIL PROTECTED]] Sent: 10 December 2002 10:22 To: [EMAIL PROTECTED] Subject: Advice: good tutorial out there? Hi, I am looking for a good tutorial on JSP / servlet... Any hint? Sun's quite poor on those I found (compared to the other ones)... Jean Georges PERRIN -- 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 NT Service hogs 90% CPU - intermittent problem
Many thanks Ben I've similarly NOT YET seen the 90% CPU on a jdk1.4 and tomcat 4.1.12 system I set up with much the same webapps as the one that's thrashing I noticed some old mailing list messages related to this problem that talked about garbage collection, and I had begun to wonder whether 90% CPU was a jdk problem rather than a tomcat problem and your experience supports this. Do you - or anyone else - know the pedigree of tomcat.exe? Is it basically JavaService? Also, has anyone any ideas how I might get -verbose:gc output from it? I can do this with catalina_opts for catalina.bat, but adding the -verbose:gc parameter to the registry key for the NT service doesn't seem to result in any output for -verbose:gc, though the -Xms64m and -Xrs parameters I've added do seem to be actioned. Thanks again Ben -Original Message- From: Ben Walding [mailto:ben;walding.com] Sent: 06 November 2002 07:14 To: Tomcat Users List Subject: Re: Tomcat NT Service hogs 90% CPU - intermittent problem I had this problem at one point (4.1.10, and no IIS in my config though) My solution was to upgrade to 4.1.12 and upgrade the JDK to 1.4.1.01, this seemed to work. No idea what caused it though. Christopher Watson wrote: Hello All, Currently my config is TOMCAT 4.1.12 jdk1.3.1_03 Windows 2000 Pro NT Service configured using the server\jvm.dll with -Xrs IIS 5.0 ISAPI_REDIRECTOR version 2.0 using workers.properties however I have had this problem many times with different tomcat versions in the past. Suddenly, for no apparent reason - high load/ no load/ different webapps/ doesn't seem to make any difference ... tomcat.exe grabs 90% of cpu and won't let go of it. Nothing unexpected appears in the logs Has anyone seen this and know a way round it? Failing that, could they suggest any logging I could turn on (and how) to try and diagnose the problem. As I say, I've had it with various combinations of applications in webapps. I THINK it ONLY happens with the NT Service tomcat.exe, I'm pretty sure I've not seen it by running catalina.bat Sometimes it happens if I restart the machine and leave it. Other times I may not encounter it for a couple of days. If I leave about a week, then it almost always turns up. Any help much appreciated . Christopher -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat NT Service hogs 90% CPU - intermittent problem
Hello All, Currently my config is TOMCAT 4.1.12 jdk1.3.1_03 Windows 2000 Pro NT Service configured using the server\jvm.dll with -Xrs IIS 5.0 ISAPI_REDIRECTOR version 2.0 using workers.properties however I have had this problem many times with different tomcat versions in the past. Suddenly, for no apparent reason - high load/ no load/ different webapps/ doesn't seem to make any difference ... tomcat.exe grabs 90% of cpu and won't let go of it. Nothing unexpected appears in the logs Has anyone seen this and know a way round it? Failing that, could they suggest any logging I could turn on (and how) to try and diagnose the problem. As I say, I've had it with various combinations of applications in webapps. I THINK it ONLY happens with the NT Service tomcat.exe, I'm pretty sure I've not seen it by running catalina.bat Sometimes it happens if I restart the machine and leave it. Other times I may not encounter it for a couple of days. If I leave about a week, then it almost always turns up. Any help much appreciated . Christopher -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Coyote/JK2 AJP 1.3 Connector stays on 8009 ? Possible bug ?
Aurelien, I had this too. The config for the org.apache.coyote.tomcat4.CoyoteConnector seems to be determined by what is in conf/jk2.properties, in particular the lines # Override the default port for the socketChannel # channelSocket.port=8009 I don't know where it gets the default of 8009, obviously not server.xml, and not this commented line, but changing the above line does work, so you could change it to # Override the default port for the socketChannel channelSocket.port=8019 The jk2.properties also says ... ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. which I guess means http://localhost:8080/tomcat-docs/jk2/jk2/configtc.html assuming you've got a default installation of tomcat complete with its tomcat-docs webapp Hope this helps you forward. I'm copying it to your personal email address to as requested. Christopher -Original Message- From: Aurelien Pernoud [mailto:apernoud;sopragroup.com] Sent: 04 November 2002 14:14 To: [EMAIL PROTECTED] Subject: Coyote/JK2 AJP 1.3 Connector stays on 8009 ? Possible bug ? Hi there, I'm using tomcat 4.1.12 and I found something strange : I'm trying to change the default port for Coyote/JK2 AJP 1.3 Connector, to be able to run multiple instances of Tomcat. So I edit the server.xml and modified port=8009 to port=8109 for instance : !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8109 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ It works well for all the other ports (Shutdown, HTTP1.1), but this one never get changed, so I get errors with other tomcats (VBM address in use ...). In server.xml, the other line for !-- Define an AJP 1.3 Connector on port 8009 -- is commented, so it's not this... I looked into the bug report and mail-archive but didn't find anything about it. Am I doing something wrong ? As I'm not on this mailing-list (too much traffic sorry), could you please copy me if you find something. I first posted on tomcat-dev but seems it wasn't the good place... Thanks, Aurélien Pernoud Sopra Group -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat.exe service in w2k - how to get -verbose:gc output ?
I'd like to get GC details out of the 'NT Service' I'm adding parameters to the registry key, such as -Xrs -Xms64m etc which seem to be getting actioned. I'd like to get the output from -verbose:gc logged to a file somehow Any one any idea how I would do this? I can do catalina.bat run a.a having set CATALINA_OPTS to do achieve this but I'd rather use the service. Christopher -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: [ANNOUNCEMENT] JK2 Released as 2.0.1
Dear All, Can anyone point to or post a tomcat-iis-howto for JK2? Can I use my old-style .properties files? If not, what's the new format? Is the registry setting at HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector still current? If not what's the new one? So many questions ;) Christopher -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: 07 October 2002 08:08 To: [EMAIL PROTECTED]; Tomcat Users List Subject: [ANNOUNCEMENT] JK2 Released as 2.0.1 Hi all, The Jakarta-Tomcat-Connector team is pleased to announce the availability of JK2 2.0.1. Binaries and source versions of the release are available and can be downloaded from : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v 2.0.1/ MT. -- 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: OutOfMemoryError after 88MB on Win2K / Tomcat 4.0.4
Jon When running tomcat as a service on WinNT, the JVM parameters are controlled by the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat\Parameters (assuming you're on 4.0.4 and your service name is Apache Tomcat and you've used tomcat.exe -install etc, or you've installed the distribution using jakarta-tomcat-4.0.4.exe) If you look there you'll see various VM options ... JVM Option Number n and a count JVM Option Count You put your -Xms128m and the like in there and adjust the count as necessary HTH Christopher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 03 October 2002 23:34 To: Tomcat Users List Subject: RE: OutOfMemoryError after 88MB on Win2K / Tomcat 4.0.4 Yes, changing the heap was the first thing I changed and I actually thought of mentioning that because I figured that would be the immediate response :-) That wasn't the issue. We have discovered that this problem only manifests itself when using Tomcat as a service, with the provided tomcat.exe (and having JAVA_OPTS set in the environment to handle the heap size options). When started from the command line, with a minimum of 256mb on the heap, I get no problems with Tomcat past 150 MB of usage in Task Manager. We don't really like the idea of running it from a command prompt for maintenance purposes (we don't manage the box), but if some procedures are put in place, I don't see why it won't work in the short-term. I just didn't have time to figure out how to check and see if tomcat.exe was picking up my JAVA_OPTS environment variable and actually setting the heap size. If it wasn't, I would have thought I'd see problems after 64mb because I believe this is the default max on the heap size. BTW- The memory creep appears to be normal and will clear itself up after a long period of inactivity. I thought this was a leak on my part, but the GC wasn't doing anything until way later because the heap is so huge (I actually had to set a max of 1.5 GB when using catalina.bat run from DOS command line...the JVM gave me an error until this was set to some value...I eventually brought it down to this value, which was as high as I could get it without it giving me an error). Thanks for your help! Jon Brisbin Zabel, Ian [EMAIL PROTECTED] 10/03/2002 04:48 PM Please respond to Tomcat Users List To: 'Tomcat Users List' [EMAIL PROTECTED] cc: Fax to: Subject:RE: OutOfMemoryError after 88MB on Win2K / Tomcat 4.0.4 First of all, have you increased the memory available to Tomcat's JVM? You can do this by defining: JAVA_OPTS= -Xms128m -Xmx384m The numbers represent megabytes in that example. Xms is minimum and Xmx is maximum. Change the amounts to suit you. Another thing you might want to try is enabling Verbose Gargbage Collection. This will give you an ouput of what the garbage collector is doing. To turn it on, add this to the JAVA_OPTS: -verbose:gc Then, in catalina.out, you'll see status reports on the GC. Ian. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 5:37 PM To: [EMAIL PROTECTED] Subject: OutOfMemoryError after 88MB on Win2K / Tomcat 4.0.4 We are running a heavily XML-based application on Tomcat 4.0.4 on a dual P4 1.4 GHz box with 4GB of RAM. With 9 users hitting the application continuously, we experience OutOfMemoryErrors after tomcat.exe gets up to around 88MB of usage. Has anyone else experienced strange happenings with Tomcat on Win2K JDK 1.3.1 under load? We're wondering if the JVM is doing this, if there's something in Tomcat that is causing the memory to continuously creep up and never go down significantly, or if we're just really overlooking something in our application framework that is causing objects to not go out of scope. We haven't experienced this problem like this on other platforms (Linux and OS/400) and IBM is testing this application and not seeing the same kinds of results in WebSphere. I'd appreciate any feedback from other XML users here...we have a go-live date just a few days off and these problems are making my life very difficult. I'd like to at least be able to explain the situation, even if it is our fault. Not knowing is very frustrating. Thanks for your help! Jon Brisbin Sr. App. Developer EFCO Corporation www.efcocorp.com 417.235.3193 x2687 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.1.12: access log corrupted
Hello Reading this message had me very worried, BUT Just to let you know I DON'T get this bad behaviour. I did have to uncomment the access log valve, but it behaves OK Both as port 8080 and via IIS using tomcat's ISAPI using ajp13 port 8009 I wonder if you are using a different connector ..? Also, have you upgraded everything? Made sure all the jars are up-to-date? Cleared out the work directory Hope this helps Christopher -Original Message- From: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 12:49 To: Tomcat Users List Subject: RE: Tomcat 4.1.12: access log corrupted I had look at my server.xml and it don't have a valve access log by default (I think remember older versions have it). I add one like yours, and I have got the same problem. Look at the first characters of each line: SCRIPT - [26/Sep/2002:13:46:04 1000] GET /ceeieuropa/prepararFormLoginAction.do HTTP/1.1 200 - le/head - [26/Sep/2002:13:47:47 1000] GET /ceeieuropa/ultimasNoticiasAction.do HTTP/1.1 200 - /option - [26/Sep/2002:13:47:58 1000] GET /ceeieuropa/prepararFormLicitacionesAction.do HTTP/1.1 200 - GAS NATU - [26/Sep/2002:13:48:00 1000] POST /ceeieuropa/busquedaLicitacionesAction.do?cambioPaises=1 HTTP/1.1 200 - ption val - [26/Sep/2002:13:48:03 1000] POST /ceeieuropa/busquedaLicitacionesAction.do?cambioPaises=1 HTTP/1.1 200 - I think you must post a bug. Regards, Miguel -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 26 de septiembre de 2002 13:37 Para: [EMAIL PROTECTED]; [EMAIL PROTECTED] Asunto: Tomcat 4.1.12: access log corrupted Hi, i'm migrating my webapp from 4.1.10 to 4.1.12, but i guess the access log has gone a bit screwed up. In the context descriptor of the app i have a valve like this: Valve className=org.apache.catalina.valves.AccessLogValve prefix= infoviabilita_access_log. suffix=.txt pattern=common / that worked like a charm with 4.1.10. Now with 4.1.12 have a look to a sample of what i see into it. (Sorry for the weird looking but it's full of control characters that when imbedded into the mail do strange things) I think i should open a bug. Do i? 6a href= - - [26/Sep/2002:13:12:15 1000] GET /main.jsp HTTP/1.1 200 - 172.20.52.27 - - [26/Sep/2002:13:12:34 1000] POST /home/checklogin.jsp HTTP/1.1 302 - waveFlash - - [26/Sep/2002:13:12:41 1000] GET /InfoTraffic/situazione_viabilita.jsp HTTP/1.1 200 - - - [26/Sep/2002:13:12:41 1000] GET /servlet/url.Image?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz HTTP/1.1 200 5060 - - [26/Sep/2002:13:12:46 1000] GET ??C ?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??? HTTP/1.1 200 4537 /table ta - - [26/Sep/2002:13:12:48 1000] POST /InfoTraffic/situazione_viabilita.jsp HTTP/1.1 200 - UTF-8? ma - - [26/Sep/2002:13:12:50 1000] GET /common/mappeflash.jsp?mapCod=8BV_SessionID=1BV_EngineID=2mapTy pe=traffic o HTTP/1.1 200 - height=22 - - [26/Sep/2002:13:12:56 1000] GET /InfoPlus/ricercaservizi.jsp HTTP/1.1 200 - - - [26/Sep/2002:13:13:01 1000] GET ??C ?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz HTTP/1.1 200 5060 /table - - [26/Sep/2002:13:13:04 1000] POST /InfoTraffic/situazione_viabilita.jsp HTTP/1.1 200 - UTF-8? ma - - [26/Sep/2002:13:13:04 1000] GET /common/mappeflash.jsp?mapCod=2BV_SessionID=1BV_EngineID=2mapTy pe=traffic o HTTP/1.1 200 - { docume - - [26/Sep/2002:13:13:09 1000] GET /InfoTraffic/andamento_traffico.jsp HTTP/1.1 200 - 172.20.52.27 - - [26/Sep/2002:13:13:32 1000] GET /InfoTraffic/popupRicercaLocalita.jsp?srv=7da=milanoa=lodi HTTP/1.1 302 - window.opene - - [26/Sep/2002:13:13:34 1000] GET /InfoTraffic/popupGraphicDisplayer.jsp?da=milanoa=lodicasello_mappa=yes HTTP/1.1 200 - INK href='/c - - [26/Sep/2002:13:13:39 1000] POST /servlet/GraphicGenerator HTTP/1.1 200 2217 -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
IIS and SSL
I try again Can anyone offer some advice I am using - successfully - ISAPI redirector to serve JSP/servlet resources through IIS I would like some contexts to _require_ SSL (https) to be used, and leave others free to use http. I can see how to require _all_ contexts to use SSL by setting 'require secure channel' for the jakarta virtual directory under IIS. (And it works!) But is there anyway I can achieve the same thing at a _context_ level using workers.properties or uriworkermap.properties or the like? I don't even think isSecure() will do what I want since it looks like the parameter is set for the 'target' 8080 Connector and doesn't come through the 8009 connector An idea I had was to have more than one 'jakarta' virtual directory, one requiring SSL, the other not, but then I'm guessing the ISAPI filter uses the same Registry entry, so I couldn't specify a different extension_uri to get to it ?? Is this the right thinking?? Is there a way round this? Any other general advice - except don't use IIS (I have no choice for this project!) - would be welcome. Christopher -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Can anyone help with an SSL problem?
Dear All, Can anyone offer some advice - sorry to keep asking, but so far I've had no reply :-( I am using ISAPI redirector to serve JSP/servlet resources through IIS I would like some contexts to _require_ SSL (https) to be used, and leave others free to use http. I am able require _all_ contexts to use SSL by setting 'require secure channel' for the jakarta virtual directory under IIS. BUT What I want to do is require SSL at a _context_ level Can someone show me how to do this, perhaps using workers.properties or uriworkermap.properties or the like? I did think of setting secure=true on the ajp13 connnector, but that just tells effectively tells me that that connector has been used, not whether the original request used SSL - in other words I ALWAYS get isSecure() = whatever was set for the connector in server.xml An idea I had was to have more than one 'jakarta' virtual directory, one requiring SSL, the other not, but then I'm guessing the ISAPI filter uses the same Registry entry, so I couldn't specify a different extension_uri to get to it ?? Is this the right thinking?? Is there a way round this? Any other general advice - except don't use IIS (I have no choice for this project!) - would be welcome. Christopher -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ISAPI Redirector SSL Help Please
Can anyone offer some advice I am using - successfully - ISAPI redirector to serve JSP/servlet resources through IIS I would like some contexts to _require_ SSL (https) to be used, and leave others free to use http. I can see how to require _all_ contexts to use SSL by setting 'require secure channel' for the jakarta virtual directory under IIS. (And it works!) But is there anyway I can achieve the same thing at a _context_ level using workers.properties or uriworkermap.properties or the like? Or will I have to test isSecure() at every page in the context that I want the constraint applied to? An idea I had was to have more than one 'jakarta' virtual directory, one requiring SSL, the other not, but then I'm guessing the ISAPI filter uses the same Registry entry, so I couldn't specify a different extension_uri to get to it ?? Is this the right thinking?? Is there a way round this? Any other general advice - except don't use IIS (I have no choice for this project!) - would be welcome. Christopher -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ISAPI Redirector SSL Question
Can anyone offer some advice I am using - successfully - ISAPI redirector to serve JSP/servlet resources through IIS I would like some contexts to _require_ SSL (https) to be used, and leave others free to use http. I can see how to require _all_ contexts to use SSL by setting 'require secure channel' for the jakarta virtual directory under IIS. (And it works!) But is there anyway I can achieve the same thing at a _context_ level using workers.properties or uriworkermap.properties or the like? Or will I have to test isSecure() at every page in the context that I want the constraint applied to? An idea I had was to have more than one 'jakarta' virtual directory, one requiring SSL, the other not, but then I'm guessing the ISAPI filter uses the same Registry entry, so I couldn't specify a different extension_uri to get to it ?? Is this the right thinking?? Is there a way round this? Any other general advice - except don't use IIS (I have no choice for this project!) - would be welcome. Christopher -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: For all those with JSP errors see if this applies
Miguel So do I, but it did download it as a winzip file, so I renamed it to jasper-compiler.jar and looked at its contents with winzip and it looks like its a good jar file. - haven't actually tried it through ... ... because my user.dir fix works fine for me. It might be worth another go if the above fails. I can give you more detailed instructions, or if you export and send me your reg key, I can edit it and send it back Christopher -Original Message- From: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 08:01 To: Tomcat Users List Subject: RE: For all those with JSP errors see if this applies I tried to download the attached files, but something fails (I download a file called showattachment). Maybe I need the CVS client installed? -Mensaje original- De: Robert L Sowders [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 8:56 Para: Tomcat Users List Asunto: RE: For all those with JSP errors see if this applies If you read the entire PR, toward the bottom you will see that it is fixed. I think Remy's fix was a new jasper-compiler.jar which he attached. You can try the jar file that Remy attached to the PR at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12387 it might help. But I would back up your current jar before trying it. YMMV. You are in uncharted territories here so caveot emptor. rls Miguel Angel Mulero Martinez [EMAIL PROTECTED] 09/16/2002 11:40 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: For all those with JSP errors see if this applies Thanks for all! Yes, this is the problem. I'm not an expert, but maybe someone can tell what file must I replace in my tomcat installation and from what source. Miguel -Mensaje original- De: Robert L Sowders [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 5:08 Para: Tomcat Users List Asunto: For all those with JSP errors see if this applies There is a known bug with TC 4.1.10 when installing as a service to a drive other than C: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12387 It's fixed in CVS but you will have to wait for TC 4.1.11 if you don't compile it yourself. -- 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] -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: For all those with JSP errors see if this applies
Works for me too - thanks very much for this -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 10:22 To: Tomcat Users List Subject: RE: For all those with JSP errors see if this applies That's it. Just rename it to jasper-compiler.jar For some reason all the files attachments that are retrieved from there get the name showattachment.zip Miguel Angel Mulero Martinez [EMAIL PROTECTED] 09/17/2002 12:01 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: For all those with JSP errors see if this applies I tried to download the attached files, but something fails (I download a file called showattachment). Maybe I need the CVS client installed? -Mensaje original- De: Robert L Sowders [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 8:56 Para: Tomcat Users List Asunto: RE: For all those with JSP errors see if this applies If you read the entire PR, toward the bottom you will see that it is fixed. I think Remy's fix was a new jasper-compiler.jar which he attached. You can try the jar file that Remy attached to the PR at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12387 it might help. But I would back up your current jar before trying it. YMMV. You are in uncharted territories here so caveot emptor. rls Miguel Angel Mulero Martinez [EMAIL PROTECTED] 09/16/2002 11:40 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: For all those with JSP errors see if this applies Thanks for all! Yes, this is the problem. I'm not an expert, but maybe someone can tell what file must I replace in my tomcat installation and from what source. Miguel -Mensaje original- De: Robert L Sowders [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 5:08 Para: Tomcat Users List Asunto: For all those with JSP errors see if this applies There is a known bug with TC 4.1.10 when installing as a service to a drive other than C: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12387 It's fixed in CVS but you will have to wait for TC 4.1.11 if you don't compile it yourself. -- 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] -- 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] -- 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]
ISAPI redirector works for me, but IIS just logs jakarta/isapi_redirect.dll
Hi, I'm successfully using the ISAPI redirector, but the IIS logs just records ... GET /jakarta/isapi_redirect.dll - 200 ... irrespective of what the URL is that is being redirected. Does anyone know of a way of determining what appears in the IIS log, i.e. preferrably the original URL. I have VC++ and could recompile the ISAPI redirector source if someone could tell me EXACTLY what to change :) Yours in hope, Christopher