Re: stress testing tomcat applications

2014-09-11 Thread Ognjen Blagojevic
Elias, On 11.9.2014 2:03, Elias Kopsiaftis wrote: My best guess is that tomcat doesnt like to accept requests coming for two different logins from the same IP and same program. Is that accurate? Is anything else that could be going wrong here? Tomcat should allow multiple sessions from same

Re: Deploy application as Root

2014-09-11 Thread Ognjen Blagojevic
Kiran, On 11.9.2014 5:52, Kiran Badi wrote: I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file ROOT.war cannot be uploaded if context is defined in server.xml I have below in server xml,

Re: Context parameter override?

2014-09-11 Thread Ognjen Blagojevic
Andre, On 10.9.2014 18:43, André Warnier wrote: Otherwise, my customer sysadmins would have to unpack the WAR, edit web.xml to insert their specific values, and re-pack the WAR. Which they do not like to do either. My customers also do not like a solution consisting in having these parameters

Re: Deploy application as Root

2014-09-11 Thread Konstantin Kolinko
2014-09-11 7:52 GMT+04:00 Kiran Badi ki...@poonam.org: Hi, I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file ROOT.war cannot be uploaded if context is defined in server.xml I have

Re: Deploy application as Root

2014-09-11 Thread André Warnier
Konstantin Kolinko wrote: 2014-09-11 7:52 GMT+04:00 Kiran Badi ki...@poonam.org: Hi, I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file ROOT.war cannot be uploaded if context is defined

SAML 2.0 with container managed authentication in Tomcat

2014-09-11 Thread Maarten van Hulsentop
Dear Tomcat-users, We are investigating the best way to support SAML 2.0 (SP) authentication with our application. Our application is using container managed authentication provided by Tomcat, and works very well with basic authentication, form authentication, SPnego and others. My expectation

Re: stress testing tomcat applications

2014-09-11 Thread Elias Kopsiaftis
ok Thanks, I am using Tomcat7. I dont know much about Tomcat application development, so I will research these options you gave me before responding again. Thanks again On Thu, Sep 11, 2014 at 4:07 AM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: Elias, On 11.9.2014 2:03, Elias

Re: SAML 2.0 with container managed authentication in Tomcat

2014-09-11 Thread Cédric Couralet
Hello, 2014-09-11 14:26 GMT+02:00 Maarten van Hulsentop maar...@vanhulsentop.nl: Dear Tomcat-users, We are investigating the best way to support SAML 2.0 (SP) authentication with our application. Our application is using container managed authentication provided by Tomcat, and works very

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

Re: Windows Service Install Startup Type

2014-09-11 Thread Jordan Michaels
c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto Warm Regards, 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

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
Thanks Jordan (for a second there when I saw your name I thought that I may have posted my question to the wrong list ;]) On 9/11/2014 11:09 AM, Jordan Michaels wrote: c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto Warm Regards, Jordan Michaels On 09/11/2014 10:50 AM,

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 are you sure about that? from the service.bat file, the command to install is //IS// not //US// also, the params are not separated by = but by space Warm Regards, Jordan

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// also, the params are not

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: Why does mod_jk bypass Apache authorization?

2014-09-11 Thread Daniel Pfeiffer
On 2014-09-10 22:12, Mark Eggers wrote: I don't think that the trailing /* is valid for a simple Location directive. If you want regular expressions you'll have to use either LocationMatch or Location ~ (Location followed by the ~) This was the decisive hint! JkMount needs /*, but Location

Re: stress testing tomcat applications

2014-09-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Elias, On 9/10/14 8:03 PM, Elias Kopsiaftis wrote: I am working on a stress tester for my application, however, from within the stress tester, sometimes it loses the sessionid Are you writing your own stress-testing software, or using a tool

Re: Stop writing System.our and System.err in catalina.out

2014-09-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vijay, On 9/9/14 3:24 AM, Vijay Kumar wrote: I have deployed one web application in Tomcat which uses JULI logger internally for application level logging. I can change the Mode to OFF while going to production. But there are few

Re: Stop writing System.our and System.err in catalina.out

2014-09-11 Thread Néstor Boscán
Hi At the development enviroment we use code quality tools like PMD to check if there are System.out, System.err or ex.printStackTrace() in the code. Regards, Nestor On Thu, Sep 11, 2014 at 6:31 PM, Néstor Boscán nestor.bos...@tcs.com.ve wrote: Hi At the development enviroment we use code

Re: Deploy application as Root

2014-09-11 Thread Kiran Badi
Ok I made the changes, and trying. Andre, I tried your approach, it still same error.Making changes to server xml now. Pointing appBase to webapps. Question I have is that if I upload war file via manager app, where does it go ? I can understand that ROOT goes to the ROOT folder if I delete

Re: Deploy application as Root

2014-09-11 Thread Kiran Badi
Ok I fixed this issue. Moved the context tag to context.xml and deployed it as ROOT. Works fine now. However I have another application which I will be deploying in the same tomcat. This will be basically myapp2.war ,so how do I manage this deployment so that whenever someones gives