Re: Changing roles on the fly

2008-06-22 Thread Lyallex
On Sat, Jun 21, 2008 at 12:41 PM, Mark Thomas [EMAIL PROTECTED] wrote: Johnny Kewl wrote: - Original Message - From: Lyallex [EMAIL PROTECTED] Allowing a user to add a role is simple enough. Is it? Yes. snip ... If you change web.xml, yes TC will restart. However, you probably

Re: Changing roles on the fly

2008-06-22 Thread Johnny Kewl
- Original Message - From: Lyallex [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, June 22, 2008 1:14 PM Subject: Re: Changing roles on the fly On Sat, Jun 21, 2008 at 12:41 PM, Mark Thomas [EMAIL PROTECTED] wrote: Johnny Kewl wrote: - Original

Update tomcat service (of version 5.5)

2008-06-22 Thread Hacham, Lital
Hi, I'm installing tomcat as service on my machine. I used to work with tomcat 5.0 and after installing it I updated it by the following command: Tomcat\bin\tomcat5.exe //US//serviceName -Startup Auto ++JvmOptions -Xms512m;-Xmx1024m This worked great and I used to get exit value of 0 that

RE: Update tomcat service (of version 5.5)

2008-06-22 Thread Caldarale, Charles R
From: Hacham, Lital [mailto:[EMAIL PROTECTED] Subject: Update tomcat service (of version 5.5) After I've updated tomcat to version 5.5 and perform the same command I received exit value of 6. Why aren't you using the supported method of updating service parameters with the tomcat5w.exe

RE: Update tomcat service (of version 5.5)

2008-06-22 Thread Hacham, Lital
Hi, Since I want to perform this automatically from my code I'm running the command from the command line. I can't use the tomcat5w.exe program for this. Thanks for the help, Lital -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2008 6:17

RE: Update tomcat service (of version 5.5)

2008-06-22 Thread Caldarale, Charles R
From: Hacham, Lital [mailto:[EMAIL PROTECTED] Subject: RE: Update tomcat service (of version 5.5) Since I want to perform this automatically from my code I'm running the command from the command line. The current doc for procrun (http://commons.apache.org/daemon/procrun.html) has separate

Re: Update tomcat service (of version 5.5)

2008-06-22 Thread Martin
also have the option of starting with %CATALINA_HOME%/bin/startup.bat BTW: errno 6 is invalid handle indicating you are attempting to acquire occupied resource (which is most probably already acquired) Martin - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To:

RE: Update tomcat service (of version 5.5)

2008-06-22 Thread Caldarale, Charles R
From: Martin [mailto:[EMAIL PROTECTED] Subject: Re: Update tomcat service (of version 5.5) BTW: errno 6 is invalid handle indicating you are attempting to acquire occupied resource (which is most probably already acquired) Although that may be true on some platforms (certainly not all),

Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread Sebastien ARBOGAST
I've got my JBoss 4.2 server running and I managed to configure one virtual host with mod_jk to get to it without having to enter the 8080 port.Here is my VirtualHost configuration: VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] ServerName myserver.com JkMount /* loadbalancer

Re: Update tomcat service (of version 5.5)

2008-06-22 Thread Johnny Kewl
- Original Message - From: Hacham, Lital [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, June 22, 2008 4:22 PM Subject: Update tomcat service (of version 5.5) Hi, I'm installing tomcat as service on my machine. I used to work with tomcat 5.0 and after installing it I

Re: Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread Rainer Jung
Hi Sebastien, Sebastien ARBOGAST schrieb: I've got my JBoss 4.2 server running and I managed to configure one virtual host with mod_jk to get to it without having to enter the 8080 port.Here is my VirtualHost configuration: VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] ServerName

Re: Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread Sebastien ARBOGAST
Ok, so defining my app as the ROOT one is definitely not an option.Now I'm sorry to ask but could you be a little more specific about where I need to add those mod_rewrite configuration bits? Because I'm not really an Apache configuration wizard and mod_rewrite is especially scary to me.

Re: Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread Rainer Jung
Sebastien ARBOGAST schrieb: Ok, so defining my app as the ROOT one is definitely not an option.Now I'm sorry to ask but could you be a little more specific about where I need to add those mod_rewrite configuration bits? Because I'm not really an Apache configuration wizard and mod_rewrite is

Re: Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread Sebastien ARBOGAST
Thanks a lot for these precisions. I already had mod_rewrite loaded but when I configured my VirtualHost like the following, I got a redirect loop error: VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] ServerName bugs.epseelon.org RewriteEngine On RewriteRule ^/(.*)$ /jira/$1 [PT]

Re: Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread David Smith
This added before your RewriteRule prevents requests to /jira/* from being handled by the rewrite rule. This should break the endless redirect: RewriteCond %{REQUEST_URI} !^/jira/.* --David Sebastien ARBOGAST wrote: Thanks a lot for these precisions. I already had mod_rewrite loaded

RE: Running on Mac OS 10.4

2008-06-22 Thread Walter Thompson
Thanks Martin, It turned out that the wrong version had been installed. Found this out after looking for bootstrap.jar Installed the correct .zip version and it worked without any problem. Thanks to everyone. Problem solved. Walter -Original Message- From: Martin

Re: Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread Rainer Jung
Sebastien ARBOGAST schrieb: Thanks a lot. Now it works great. One last thing though: when the page is displayed, the end URL is still http://bugs.epseelon.org/jira Is there a way not to show the redirected URL ? The redirect comes from the JBoss behind the Apache. Getting rid of those could

Re: Configuring mod_jk in a virtual host to mount one specific application?

2008-06-22 Thread Sebastien ARBOGAST
My purpose was to hide two things:- the 8080 port in the URL, not only for cosmetic reasons but also to prevent issues with my corporate firewall blocking everything but 80 - the fact that my application runs under /jira application context by using a subdomain like they do it on bugs.adobe.com

[Logging] Facility Specific Properties

2008-06-22 Thread Ole Ersoy
Hi, I would really appreciate it if someone could elaborate on the case for these logging properties: # Facility specific properties. # Provides extra control for each logger.

Re: [Logging] Facility Specific Properties

2008-06-22 Thread Ole Ersoy
Quick correction: # For example, set the com.xyz.foo logger to only log SEVERE # messages: #org.apache.catalina.startup.ContextConfig.level = FINE #org.apache.catalina.startup.HostConfig.level = FINE #org.apache.catalina.session.ManagerBase.level = FINE Should the left side of the equal sign

Re: Changing roles on the fly

2008-06-22 Thread Lyallex
On Sun, Jun 22, 2008 at 1:46 PM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: Lyallex [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, June 22, 2008 1:14 PM Subject: Re: Changing roles on the fly On Sat, Jun 21, 2008 at 12:41 PM, Mark

Re: [Logging] Facility Specific Properties

2008-06-22 Thread Rainer Jung
Ole Ersoy schrieb: Hi, I would really appreciate it if someone could elaborate on the case for these logging properties: # Facility specific properties. # Provides extra control for each logger.

Re: Changing roles on the fly

2008-06-22 Thread Johnny Kewl
- Original Message - From: Lyallex [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, June 22, 2008 11:54 PM Subject: Re: Changing roles on the fly On Sun, Jun 22, 2008 at 1:46 PM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From:

Problem mod_jk.so (1.2.26) 100% process (Tomcat 5.5.26 + Apache 2.2.9)

2008-06-22 Thread Estevam Henrique Portela Mota e Silva
Hi, Install - Apache 2.2.9 (ok!), Tomcat 5.5.26 (ok!) e JDK 1.5.0_15 when I set simple in Apache: *httpd.conf* Include conf/tomcat.conf * tomcat.conf* LoadModule jk_module modules/mod_jk-1.2.26-httpd-2.2.4.so JkWorkersFile E:/WebServer/Apache-2.2.9/conf/workers.properties JkShmFile

Any application which is use to detect tomcat memory leak problem

2008-06-22 Thread Nix Hanwei
Hi Gurus, Is there any application which I may use to detect tomcat memory leak problem? Thank you in advance for any value input. Thanks Regards. Get your new Email address! Grab the Email name you#39;ve always wanted before someone else does!

Re: Any application which is use to detect tomcat memory leak problem

2008-06-22 Thread Thomas Haines
Hello Nix Are you looking for a memory leak in your web application or in tomcat? Short answer is it's not easy. The garbage collection mechanism in the JVM will cleanup any objects that are no longer referenced. Therefore, you are only concerned with objects that remain referenced (which

Re: Any application which is use to detect tomcat memory leak problem

2008-06-22 Thread Sameer Acharya
One of the things I had done in my past projects was to run a thread which periodically executes the freeMemory /totalMemory methods on Runtime class in JVM, this will at least tell you how the memory is utilised, but pinpointing the leak may need a commercial tool. -Sameer --- On Mon,