Re: Documentation on Connectors needs updating

2014-12-01 Thread Igal @ getRailo.org
Chris, On 11/28/2014 6:26 AM, Christopher Schultz wrote: > 4. Tomcat can server static content just as quickly as httpd. I remember that years ago it was recommended to front Tomcat with a web server in order to serve static content. I understand from your statement that this is not the case any

Re: catalina.properties and system properties

2014-11-21 Thread Igal @ getRailo.org
On 11/21/2014 9:36 AM, Konstantin Kolinko wrote: > I think the answer is yes, but you would better try it / read the code. > > Note that common.loader can include references to other properties, > like it does with ${catalina.base} etc. Spasiba Konstantin! Igal --

Re: catalina.properties and system properties

2014-11-21 Thread Igal @ getRailo.org
On 11/21/2014 9:19 AM, Christopher Schultz wrote: > Lot of folks are at ApacheCon Europe this week. Give it a bit more time. > > -chris No problem. Thanks Chris! Igal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

Re: catalina.properties and system properties

2014-11-21 Thread Igal @ getRailo.org
On 11/19/2014 9:44 AM, Igal @ getRailo.org wrote: > hi, > > I don't have use for scanning the jars for tld files etc., so usually, > in catalina.properties, I skip all jars by setting > > tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar > > I just noticed t

catalina.properties and system properties

2014-11-19 Thread Igal @ getRailo.org
hi, I don't have use for scanning the jars for tld files etc., so usually, in catalina.properties, I skip all jars by setting tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar I just noticed that I can set it via a system property, i.e. -Dtomcat.util.scan.StandardJarScanFilter.jar

Security Best Practices on Windows Service

2014-11-05 Thread Igal @ getRailo.org
hi, what are the security best practices for running Tomcat as a Windows Service? is the local system account safe or am I better off creating a new user and giving it write permissions only to the Tomcat runtime folders and read permissions to the web contents folder? TIA -- Igal Sapir Railo

Re: systemd tomcat.service

2014-10-14 Thread Igal @ getRailo.org
Chris, On 10/14/2014 11:48 AM, Christopher Schultz wrote: > Would you care to write a tomcat.service for systemd and post it to > the wiki? I'd love to, after I iron out the details. I've been running Tomcat on Windows for years and am now migrating to Linux. Once I have things running properly

systemd tomcat.service

2014-10-14 Thread Igal @ getRailo.org
hi, is there an official tomcat.service for systemd? thanks, Igal -- Igal Sapir Railo Core Developer http://getRailo.org/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-

Re: Windows Tomcat install folder

2014-10-12 Thread Igal @ getRailo.org
On 10/12/2014 5:00 AM, Guy Dillen wrote: > What is the ³recommended²/usually used installation folder for manually > install of Tomcat on Windows 7/8: > > c:\Program Files\Š > > or > > c:\tomcat\apache-tomcat-8.0.14 > c:\tomcat\apache-tomcat-7.0.56 I don't know about the "recommended" way, but per

Re: Tomcat JVM Crash

2014-10-03 Thread Igal @ getRailo.org
On 10/3/2014 11:14 AM, Mark Thomas wrote: > The general position of the Tomcat developers is that we do *not* > patch Tomcat to work around bugs in third party code. There have been > exceptions in the past but - since this JVM bug as a workaround > available - I very much doubt that Tomcat will be

Re: Tomcat JVM Crash

2014-10-03 Thread Igal @ getRailo.org
> Whose problem is this: Google, Apache Tomcat, GoDaddy(SSL), or Oracle? regardless of whose fault this is, Tomcat should be patched so that it doesn't crash. can you produce a reduced test case so that the good people at Tomcat can reproduce it on their end and patch it? --

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
On 9/11/2014 11:09 AM, Jordan Michaels wrote: > c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto ok, I can confirm that the delimiter is a space, so --Starup auto does the trick. also, for some reason it wasn't that easy for me to find so I'm posting the link to the docs

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
On 9/11/2014 11:16 AM, Igal @ getRailo.org wrote: > On 9/11/2014 11:09 AM, Jordan Michaels wrote: >>> c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto > are you sure about that? > > from the service.bat file, the command to install is //IS// not //US// >

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
s, >> Jordan Michaels >> >> On 09/11/2014 10:50 AM, Igal @ getRailo.org wrote: >>> I have written a simple script that make it really easy for me to >>> upgrade Tomcat when new versions are available. >>> >>> The service is simply unistalled,

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
; On 09/11/2014 10:50 AM, Igal @ getRailo.org wrote: >> I have written a simple script that make it really easy for me to >> upgrade Tomcat when new versions are available. >> >> The service is simply unistalled, and then re-installed with the updated >> paths etc. &

Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
I have written a simple script that make it really easy for me to upgrade Tomcat when new versions are available. The service is simply unistalled, and then re-installed with the updated paths etc. The problem is that after the service is re-installed it is set to Startup Type: Manul wherea

Re: UTF-8 encoded request URI

2014-09-03 Thread Igal @ getRailo.org
On 9/3/2014 4:52 AM, Mark Thomas wrote: On 03/09/2014 12:45, Lulseged Zerfu wrote: Hi I am getting bad request from tomcat when I send UTF-8 encoded request to my application. I have configured connector in my server.xml with URIEncoding=”UTF-8”. I have set charset in the request to UTF-8. How

Re: Specifying Path to Config

2014-08-26 Thread Igal @ getRailo.org
great! thank you very much for your insight! On 8/26/2014 10:08 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igal, On 8/26/14, 11:35 AM, Igal @ getRailo.org wrote: hi Chris, thank you for your prompt response. I should have clarified in my original email

Re: Specifying Path to Config

2014-08-26 Thread Igal @ getRailo.org
Igal, On 8/26/14, 11:05 AM, Igal @ getRailo.org wrote: is it possible to specify the path to the /conf folder? if yes, how? if no, why? I like upgrading Tomcat when a new update is available, and it would be much easier if I could keep all of my config files in one place, without having to move

Specifying Path to Config

2014-08-26 Thread Igal @ getRailo.org
is it possible to specify the path to the /conf folder? if yes, how? if no, why? I like upgrading Tomcat when a new update is available, and it would be much easier if I could keep all of my config files in one place, without having to move files with each upgrade. (actually, I overwrite th

Re: un-subscribe

2014-08-11 Thread Igal @ getRailo.org
The list will be pleased to hear that the message finally sunk in +1 On 8/11/2014 10:08 AM, Mark Thomas wrote: On 11/08/2014 15:13, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC, 54350 wrote: I have un-subscribed from every list and still get all postings so there is a reference somewhere t

Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Igal @ getRailo.org
André -- thank you for making this clear. On 7/31/2014 2:27 PM, André Warnier wrote: Caldarale, Charles R wrote: From: Igal Sapir Subject: RE: Programmatically retrieve number of tomcat connections Isn't Filter.doFilter() called once for each incoming http request? Yes, which is why it ha

Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Igal @ getRailo.org
well -- Mark surely knows much better than I do -- so take into account what he wrote, but I was already writing this so I decided to send anyway, and for most application it should work fine IMO: 1) you create a class that implements the Filter interface and maintains the count in an AtomicLo

Re: Graceful Shutdown

2014-07-30 Thread Igal @ getRailo.org
will -force work even if the JVM has a running non-daemon thread? thanks, Igal On 7/30/2014 8:19 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 7/30/14, 4:13 PM, Arseny wrote: 30.07.2014 16:19, Ron Holckener пишет: This behavior exists using the

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Igal @ getRailo.org
I prefer to use Context/docBase instead of Host/appBase try this: mysite.com On 7/24/2014 6:28 PM, Arya Farzan wrote: I just tried this with IE and it says "The webpage cannot be found" in google chrome source is 100% blank On Thu, Jul 24, 2014 at 8:20 PM, Igal Sapir wrote: C

Re: Tomcat (v 6.0.32) write response to wrong client socket

2014-07-09 Thread Igal @ getRailo.org
if Tomcat is fronted by a web server then I would also check the connector. I've seen similar issues in the past with IIS and a faulty AJP connector. switching to nginx with an APR connector resolved it in my case. Igal On 7/9/2014 2:49 AM, Mark Thomas wrote: On 09/07/2014 08:43, yanchun.y..

Re: Host appBase vs Context docBase

2014-07-07 Thread Igal @ getRailo.org
nce M. Bandoian wrote: On 7/5/2014 1:38 PM, Igal @ getRailo.org wrote: What version of Tomcat are you using? I've been using Tomcat 6 and 7 for a while, and now running Tomcat 8. it is recommended that elements not be placed directly in server.xml I know, but it is much easier for me to edi

Re: Host appBase vs Context docBase

2014-07-05 Thread Igal @ getRailo.org
or the Context/docBase/path it works as intended, so maybe that's what I was doing wrong? is that the best practice?* ? thank you both for your responses, Igal On 7/5/2014 9:48 AM, Terence M. Bandoian wrote: On 7/4/2014 9:04 PM, Igal @ getRailo.org wrote: I'm a little co

Re: Host appBase vs Context docBase

2014-07-05 Thread Igal @ getRailo.org
#x27;t think you need to configure host/appbase as well. Appbase folders go under tomcat directory parallel to default appbase webapps. Each appbase is mapped to a particular host so we configure more than one appbases when we want to have applications running under different hosts deployed

Host appBase vs Context docBase

2014-07-04 Thread Igal @ getRailo.org
I'm a little confused about the Host appBase attribute. Let's say that my website resides in D:\www\site1 I don't like using {Tomcat}/webapps so I don't want to have it as a base directory for websites. What I've been doing so far is create an empty folder alongside "webapps", named "empty",

Re: Stop Tomcat8 Service Gracefully on Windows

2014-07-01 Thread Igal @ getRailo.org
On Jul 1, 2014 9:42 AM, "Mark Thomas" <mailto:ma...@apache.org>> wrote: On 01/07/2014 17:13, Igal @ getRailo.org wrote: > Hi Mark -- Thank you for replying. > > Here is a thread dump from about 30 seconds after I request to stop the > service

Re: Stop Tomcat8 Service Gracefully on Windows

2014-07-01 Thread Igal @ getRailo.org
java.lang.ref.ReferenceQueue.remove(Unknown Source) at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) Locked ownable synchronizers: - None "Reference Handler" - Thread t@2 java.lang.Thread.State: WAITING at java.lang.Object.wait(Native Method) - wai

Re: Stop Tomcat8 Service Gracefully on Windows

2014-06-30 Thread Igal @ getRailo.org
Does anyone know why Tomcat takes a full minute to stop? Is there a paid support for Tomcat? On 6/27/2014 8:29 PM, Igal @ getRailo.org wrote: And again there is a full minute between "Service stop thread completed." and "Run service finished.", which doesn't look lik

Re: Stop Tomcat8 Service Gracefully on Windows

2014-06-27 Thread Igal @ getRailo.org
ted. [2014-06-27 20:25:15] [info] [ 2520] Run service finished. [2014-06-27 20:25:15] [info] [ 2520] Commons Daemon procrun finished Can anyone shed some light on this? Igal On 6/27/2014 2:08 PM, Igal @ getRailo.org wrote: I installed Tomcat 8.09 on Windows 2008R2 When trying to stop the service

Stop Tomcat8 Service Gracefully on Windows

2014-06-27 Thread Igal @ getRailo.org
I installed Tomcat 8.09 on Windows 2008R2 When trying to stop the service it takes a long time, and usually I get a prompt on the screen saying that there was an error. Windows Event Log did not show anything about this, but commons-daemon log shows: [2014-06-27 13:59:53] [info] [ 5504] Co