When does Tomcat throw an OutOfMemory exception?
Greetings all, I would like someone to shed a bit of light on when exactly Tomcat throws an OutOfMemory exception. Is it when its physical memory usage (working set) reaches the maximum limit configured in the JVM startup parameters, or are other conditions that can cause this? I've noticed that sometimes I get these exceptions when the working set is well below the value specified in -Xmx. Thanks, Karim --- Although the moon is smaller than the earth, it is farther away.
RE: When does Tomcat throw an OutOfMemory exception?
Thanks for the clarification. The JVM doesn't indicate which of these conditions actually caused the exception, though, does it? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Sunday, November 30, 2008 3:55 PM To: Tomcat Users List Subject: Re: When does Tomcat throw an OutOfMemory exception? hi, there are many occasions. 1. if there is no memory left (-Xmx) 2. if there is no perm gen space left (for example to many jsps) 3. if there is not enough space in the current heap and no time to enlarge the heap (xms xmx) 4. if a new thread couldn't be created 5-10 whatever the jvm vendor thought funny regards Leon On Sun, Nov 30, 2008 at 2:16 PM, Karim Zaki [EMAIL PROTECTED] wrote: Greetings all, I would like someone to shed a bit of light on when exactly Tomcat throws an OutOfMemory exception. Is it when its physical memory usage (working set) reaches the maximum limit configured in the JVM startup parameters, or are other conditions that can cause this? I've noticed that sometimes I get these exceptions when the working set is well below the value specified in -Xmx. Thanks, Karim --- Although the moon is smaller than the earth, it is farther away. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat connector receives 404, IIS logs 200
I checked and there's no custom error page. As for the browser, it shows Tomcat's 404 error page. However, the IIS logs still show a 200. From: Rainer Jung [EMAIL PROTECTED] Sent: Monday, September 01, 2008 04:43 To: Tomcat Users List Subject: Re: Tomcat connector receives 404, IIS logs 200 [EMAIL PROTECTED] wrote: Are you sure you don't have something like this in your Tomcat's web.xml: error-page error-code404/error-code location/Failure.jsp/location /error-page What response do you get in browser when you try to access a resource that does not exist on TC, after by-passing IIS i.e. http://CATALINA_HOST:PORT/some_resource_that_does_not_exist? And what result do you get in your Browser, when using IIS/isapi redirector/Tomcat? Do you get back a 404 or a 200? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat connector receives 404, IIS logs 200
Hi all, I'm running a Windows Server 2003 machine with IIS 6 and version 1.2.26.0 of the connector. The back-end server is running Tomcat 5.0.28. When making a request to a URL that doesn't exist on the back-end, I see the following behavior: 1. The Tomcat access log shows a 404 response (expected) 2. The Tomcat connector log shows it received a 404 from Tomcat (expected) 3. The IIS log shows a 200 (unexpected) Any ideas on how this might happen? I have logs from all three to provide when needed. Just thought to check if anyone's seen this before. Thanks, Karim - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Connector receiving 404, logging 200
Hi, I'm running IIS 6.0 on Win2K3, with Tomcat connector v1.2.26.0, and Tomcat 5.0.28 in the back-end. We have a monitoring system that monitors server health by periodically sending a HEAD request for /healthcheck.txt to IIS. I have the connector configured to pass this on to Tomcat in order to check its health as well. Right now, Tomcat's ROOT webapp does not have this file, so what happens is the Tomcat connector forwards th request and receives a 404 back from Tomcat. However, the IIS log shows a 200 response. The Tomcat connector log shows: [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_uri_worker_map.c (526): Found an exact match '/healthcheck.txt=ajp13w' [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_isapi_plugin.c (1277): check if [/healthcheck.txt] points to the web-inf directory [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_isapi_plugin.c (1294): [/healthcheck.txt] is a servlet url - should redirect to ajp13w [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_isapi_plugin.c (1336): fowarding escaped URI [/healthcheck.txt] [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_isapi_plugin.c (2236): Service protocol=HTTP/1.1 method=HEAD host=x.x.x.x addr=x.x.x.x name=xxx.xxx.com port=80 auth= user= uri=/healthcheck.txt [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_worker.c (115): found a worker ajp13w [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_isapi_plugin.c (1503): got a worker for name ajp13w [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (2579): acquired connection pool slot=0 [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (553): ajp marshaling done [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (2050): processing ajp13w with 2 retries [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (934): sending to ajp13 pos=4 len=167 max=8192 [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1384): (ajp13w) Statistics about invalid connections: connect check (0), cping (0), send (0) [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1395): (ajp13w) request body to send 0 - request body to resend 0 [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1117): received from ajp13 pos=0 len=89 max=8192 [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1117): 04 01 94 00 10 2F 68 65 61 6C 74 68 63 68 65 63 - ./healthchec [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1117): 0010 6B 2E 74 78 74 00 00 02 00 0C 43 6F 6E 74 65 6E - k.txt.Conten [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1117): 0020 74 2D 54 79 70 65 00 00 17 74 65 78 74 2F 68 74 - t-Type...text/ht [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1117): 0030 6D 6C 3B 63 68 61 72 73 65 74 3D 75 74 66 2D 38 - ml;charset=utf-8 [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1117): 0040 00 00 0E 43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 74 - ...Content-Lengt [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (1117): 0050 68 00 00 04 31 30 30 30 00 00 00 00 00 00 00 00 - h...1000 [Tue Aug 12 15:51:08.122 2008] [5884:5908] [debug] jk_ajp_common.c (608): status = 404 The rest continues to show the HTML received from Tomcat. Again, that shows a 404 too. The Tomcat access log shows the same (common format): x.x.x.x - - [12/Aug/2008:15:51:09 -0500] HEAD /healthcheck.txt HTTP/1.1 404 - However, the IIS log shows a 200: #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs-host sc-status sc-substatus sc-win32-status 2008-08-12 19:51:08 W3SVC x.x.x.x HEAD /healthcheck.txt - 80 - x.x.x.x - xxx.xxx.com 200 0 0 Does the connector have a known problem with HEAD requests, or am I doing something wrong? Regards, Karim - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat performance over VMWare
Hi Gabe, I allocated 2 processors to the VM. Regards, Karim - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat performance over VMWare
Hi all, I'm experiencing poor performance with Tomcat 5.0.28 running on a Windows 2000 Server VM (Windows Server 2003 R2 host, VMWare Server 1.0.4). Tomcat takes up around 50% of the CPU and the System process takes up the other 50% when making requests that return relatively quickly on a physical server. The VM has 2.5GB of RAM assigned to it, and the host is a quad processor machine. Is anyone familiar with any known performance issues with Tomcat on VMWare? Any recommendations? Regards, Karim --- Although the moon is smaller than the earth, it is farther away.
Exclusion not working
Hello all, I'm seeing some very odd behavior with isapi_redirect on IIS. I'm running version 1.2.19. My uriworkermap.properties file is as follows: /*.jsp=loadbalancer /*.do=loadbalancer /*.xml=loadbalancer /healthcheck.txt=xitx001 /vgn-ext-templating/*=loadbalancer /News/*=loadbalancer /AppConsole*=loadbalancer /custom_task_editor*=loadbalancer !/servlets-examples/*.jpeg=loadbalancer !/vgn-ext-templating/*.js=loadbalancer !/vgn-ext-templating/*.css=loadbalancer !/vgn-ext-templating/*.gif=loadbalancer !/vgn-ext-templating/*.jpg=loadbalancer !/StaticFiles/*.xml=loadbalancer My expectation is that this means that XML files are served by Tomcat unless they reside under the /StaticFiles virtual directory. However, what I see is that all XML files are served from Tomcat. The debug log below seems to show that the plugin stops processing when it finds the /*.xml rule and decides to forward the request to Tomcat without checking the exclusions, so it sends a /StaticFiles/abcd.xml to Tomcat. [Wed Mar 12 04:05:14 2008] [0992:1208] [info] jk_uri_worker_map.c (648): Reloaded urimaps from D:\Tools\Tomcat Connector\uriworkermap.properties [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_shm.c (135): Initialized shared memory size=24704 free=24576 addr=0x225 [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1203): Using ini file D:\Tools\Tomcat Connector\isapi_redirect.properties. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1209): Using log file D:\Tools\Tomcat Connector\isapi_redirect.log. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1210): Using log level 1. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1211): Using extension uri /jakarta/isapi_redirect.dll. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1212): Using worker file D:\Tools\Tomcat Connector\workers.properties. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1213): Using worker mount file D:\Tools\Tomcat Connector\uriworkermap.properties. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1215): Using rewrite rule file . [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1217): Using uri select 0. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /*.jsp=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /*.do=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /*.xml=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (306): exact rule /healthcheck.txt=xitx001 was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (306): exact rule /vgn-ext-templating/*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /News/*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /AppConsole*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /custom_task_editor*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /servlets-examples/*.jpeg=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.js=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.css=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.gif=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.jpg=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /StaticFiles/*.xml=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (236): creating worker loadbalancer [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to create instance loadbalancer of lb [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to validate and init loadbalancer [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to create instance xitx001 of ajp13 [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to validate and init xitx001 [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (1922): worker xitx001 contact is 'localhost:8009' [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2047): setting endpoint options: [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2050): keepalive:0 [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2054): timeout: 5 [Wed Mar
RE: Exclusion not working
Guys, Did I do something wrong here? I was hoping someone can help with this. I included config and log, but it seems everyone's just passed over my question :) Thanks, Karim -Original Message- From: Karim Zaki [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 11:42 AM To: users@tomcat.apache.org Subject: Exclusion not working Hello all, I'm seeing some very odd behavior with isapi_redirect on IIS. I'm running version 1.2.19. My uriworkermap.properties file is as follows: /*.jsp=loadbalancer /*.do=loadbalancer /*.xml=loadbalancer /healthcheck.txt=xitx001 /vgn-ext-templating/*=loadbalancer /News/*=loadbalancer /AppConsole*=loadbalancer /custom_task_editor*=loadbalancer !/servlets-examples/*.jpeg=loadbalancer !/vgn-ext-templating/*.js=loadbalancer !/vgn-ext-templating/*.css=loadbalancer !/vgn-ext-templating/*.gif=loadbalancer !/vgn-ext-templating/*.jpg=loadbalancer !/StaticFiles/*.xml=loadbalancer My expectation is that this means that XML files are served by Tomcat unless they reside under the /StaticFiles virtual directory. However, what I see is that all XML files are served from Tomcat. The debug log below seems to show that the plugin stops processing when it finds the /*.xml rule and decides to forward the request to Tomcat without checking the exclusions, so it sends a /StaticFiles/abcd.xml to Tomcat. [Wed Mar 12 04:05:14 2008] [0992:1208] [info] jk_uri_worker_map.c (648): Reloaded urimaps from D:\Tools\Tomcat Connector\uriworkermap.properties [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_shm.c (135): Initialized shared memory size=24704 free=24576 addr=0x225 [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1203): Using ini file D:\Tools\Tomcat Connector\isapi_redirect.properties. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1209): Using log file D:\Tools\Tomcat Connector\isapi_redirect.log. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1210): Using log level 1. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1211): Using extension uri /jakarta/isapi_redirect.dll. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1212): Using worker file D:\Tools\Tomcat Connector\workers.properties. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1213): Using worker mount file D:\Tools\Tomcat Connector\uriworkermap.properties. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1215): Using rewrite rule file . [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1217): Using uri select 0. [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /*.jsp=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /*.do=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /*.xml=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (306): exact rule /healthcheck.txt=xitx001 was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (306): exact rule /vgn-ext-templating/*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /News/*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /AppConsole*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /custom_task_editor*=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /servlets-examples/*.jpeg=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.js=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.css=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.gif=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /vgn-ext-templating/*.jpg=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298): wildchar rule /StaticFiles/*.xml=loadbalancer was added [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (236): creating worker loadbalancer [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to create instance loadbalancer of lb [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to validate and init loadbalancer [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to create instance xitx001 of ajp13 [Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to validate and init xitx001 [Wed Mar 12 04:25:06 2008] [2840:1328] [debug
RE: Exclusion not working
Hmmm...I'd be really surprised if I just uncovered a bug. Seems too big to have not been noticed before. Should I file a bug report then? I checked the changelog from 1.2.19 all the way to the latest build and found no reference to a fix for this. Thanks for saying something, though. At least I know I'm not talking to the wall :) -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 5:56 PM To: 'Tomcat Users List' Subject: RE: Exclusion not working From: Karim Zaki [mailto:[EMAIL PROTECTED] Did I do something wrong here? I was hoping someone can help with this. I included config and log, but it seems everyone's just passed over my question :) The usual reason is that nobody can answer it. I know I can't, but I've never used the ISAPI redirection! - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Exclusion not working
Thanks...I'll wait. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 6:07 PM To: Tomcat Users List Subject: Re: Exclusion not working -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karim, Karim Zaki wrote: | Did I do something wrong here? I was hoping someone can help with | this. I included config and log, but it seems everyone's just passed | over my question :) Don't give up too quickly. Not everyone on this list is in your timezone. 6 hours isn't a long time to wait. Please give it maybe 24 hours or so. I'm sure Rainer will have something to say about this. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfX/6MACgkQ9CaO5/Lv0PDTPQCdFFImi6ebdnFGws1YhxpZcuyP 5tEAmgOvw/WEZf8GB8f4oxQmrn0pP+fM =pRA6 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Exclusion not working
Wow! I'm really surprised this bug made it all the way to 1.2.26! Thanks a lot. I guess I'll have to upgrade. Regards, Karim From: Rainer Jung [EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 21:07 To: Tomcat Users List Subject: Re: Exclusion not working Hi Karim, Karim Zaki schrieb: Thanks...I'll wait. Could it be: https://issues.apache.org/bugzilla/show_bug.cgi?id=42038 If yes: has been fixed in 1.2.26. Regards, Rainer - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing JVM parameters through the GUI in Tomcat 5.0.28
Hi Chuck, Great idea! :) I changed the service to log on as a domain user and it worked. Thanks a million. I don't know how that could have slipped my mind. Thanks again. Karim -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 6:14 PM To: Tomcat Users List Subject: RE: Passing JVM parameters through the GUI in Tomcat 5.0.28 From: Karim Zaki [mailto:[EMAIL PROTECTED] Subject: RE: Passing JVM parameters through the GUI in Tomcat 5.0.28 -Dcom.vignette.workingDir=\\vgn-cma-vm\Vignette\vcm\inst-shared Try moving this to a local file and see if the problem disappears. Also try running this from a command prompt under a known account to see if the UNC reference will work at all. The account Tomcat is running under as a service may not be able to establish the SMB connection to the remote file system. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Passing JVM parameters through the GUI in Tomcat 5.0.28
Hi all, I'm trying to pass some parameters to Tomcat 5.0.28. The product I'm installing (Vignette) explains how to do this when you run Tomcat using scripts: set CATALINA_OPTS=-Xmx512M -Dcom.vignette.installDir=vgn-install-dir -Dcom.vignette.workingDir=vgn-working-dir This works perfectly. However, when I run Tomcat as a service, things start to break. It's my understanding that I can pass these parameters to Tomcat by putting them in the Java Options box in the Java tab of the Tomcat monitoring tool (while Xmx can be put in the appropriate text box at the bottom). However, when I do this the parameters do not get set and the application doesn't work. It clearly says that com.vignette.workingDir has not been properly set. This is what my Java Options box looks like now: -Dcatalina.base=C:\Tomcat -Dcatalina.home=C:\Tomcat -Djava.endorsed.dirs=C:\Tomcat\common\endorsed -Djava.io.tmpdir=C:\Tomcat\temp -Dcom.vignette.installDir=vgn-install-dir -Dcom.vignette.workingDir=vgn-working-dir I've also tried modifying the service creation script. This seems only to have added the parameters to the monitoring GUI. Any ideas how I can make this work? Thanks, Karim - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing JVM parameters through the GUI in Tomcat 5.0.28
Hi Chuck, No. No angle brackets :) Here are the actual parameters: -Dcatalina.base=C:\Tomcat -Dcatalina.home=C:\Tomcat -Djava.endorsed.dirs=C:\Tomcat\common\endorsed -Djava.io.tmpdir=C:\Tomcat\temp -Dcom.vignette.installDir=C:\Vignette\Content\7_3_1 -Dcom.vignette.workingDir=\\vgn-cma-vm\Vignette\vcm\inst-shared Thanks, Karim -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 5:40 PM To: Tomcat Users List Subject: RE: Passing JVM parameters through the GUI in Tomcat 5.0.28 From: Karim Zaki [mailto:[EMAIL PROTECTED] Subject: Passing JVM parameters through the GUI in Tomcat 5.0.28 -Dcom.vignette.installDir=vgn-install-dir -Dcom.vignette.workingDir=vgn-working-dir You don't really have angle brackets in there, do you? Show us your real parameters. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Performance twice slower on a multiprocessor machine
Dear all, I'm facing a very odd situation with my Tomcat installation. I don't know if it is a Tomcat problem or a Java problem, but here is the situation: I have a Java-based Vignette app that uses Tomcat as its back-end app server. I'm running Tomcat 5.0.28 using the server JVM from 1.4.2. I'm testing the application on two HP servers, a ProLiant DL580 G2 (quad 2.2GHz Xeon, 2GB RAM, hyperthreading disabled) and a ProLiant DL380 G4 (dual 3.2GHz Xeon, 1GB RAM, hyperthreading enabled), both running Windows 2000 Advanced Server SP4. On both servers, performance appears to double when I disable all but one CPU. Performance is almost the same on both machines when only one processor is enabled on each, so I don't think it's related to hyperthreading. Has anyone seen anything like this before? I searched the Tomcat archives and found no reference to anything similar. Any help would be appreciated. Thanks, Karim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]