Re: Tomcat 8 Resources - webAppMount

2013-07-16 Thread Mark Thomas
On 15/07/2013 23:08, Leo Donahue - RDSA IT wrote: Is this saying that one can mount a directory under WEB-INF with a custom path? You could but I haven't tested it so I'm not sure what the consequences would. The features were written with the following scenario in mind. /var /shared

Re: Tomcat 8 Resources - webAppMount

2013-07-16 Thread André Warnier
Mark Thomas wrote: On 15/07/2013 23:08, Leo Donahue - RDSA IT wrote: Is this saying that one can mount a directory under WEB-INF with a custom path? You could but I haven't tested it so I'm not sure what the consequences would. The features were written with the following scenario in mind.

Re: Form Authentication and Cache-Control

2013-07-16 Thread Jan Vávra
Hi. I've solved my problem. The correct attitude is to have all contexts unauthenticated and only few restrict. In my case restricted urls are /index.jsp, /admin/*, /user/* In the original web.xml I had all contexts restricted and static context /common/* was masked out. Although the

Reg: IP based access

2013-07-16 Thread Prakash, Shreyas
Hi, Is it possible to restrict access/filter based on the IP address of the end user on a Servlet's mapping URL? If so, how? Please explain. I am aware of the fact that this can be achieved in Tomcat 7. However, I am interested to know how this could be achieved in Tomcat 6. Regards, Shreyas

RE: IP based access

2013-07-16 Thread Caldarale, Charles R
From: Prakash, Shreyas [mailto:shreyas_prak...@gallup.com] Subject: Reg: IP based access Is it possible to restrict access/filter based on the IP address of the end user on a Servlet's mapping URL? If so, how? Please explain. I am aware of the fact that this can be achieved in Tomcat 7.

Re: Tomcat 8 Resources - webAppMount

2013-07-16 Thread Mark Thomas
On 16/07/2013 08:42, André Warnier wrote: Mark Thomas wrote: On 15/07/2013 23:08, Leo Donahue - RDSA IT wrote: Is this saying that one can mount a directory under WEB-INF with a custom path? You could but I haven't tested it so I'm not sure what the consequences would. The features were

Re: Reg: IP based access

2013-07-16 Thread Sudhir Bhoga
Hi Prakash, In Tomcat 6 you can configure to restrict access based on the IP address as below Edit the below section of server.xml file in the conf folder with the IP address of the end user in the deny field value Valve className=’org.apache.catalina.valves.RemoteAddrValve’ deny=’127.0.0.1’/

Java WebSocket API (JSR 356) availability in Tomcat 7

2013-07-16 Thread Stoyan Boshev
Hi I would like to use the Java API for WebSocket (JSR 356) in Tomcat 7. It is currently available in Tomcat 8 and its implementation is in a very good shape. I have performed some stress and scalability testing to verify that. I have searched the mail archives and I found out with a joy that

Re: Tomcat Concurrency

2013-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 7/15/13 6:38 PM, Konstantin Kolinko wrote: 2013/7/16 Mark Haroldson markharold...@msn.com: Hello; I am running a tomcat 6 webapp using Jersey and I am running into a concurrency issue. When there are multiple concurrent

Re: Form Authentication and Cache-Control

2013-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 7/16/13 3:55 AM, Jan Vávra wrote: I've solved my problem. The correct attitude is to have all contexts unauthenticated and only few restrict. In my case restricted urls are /index.jsp, /admin/*, /user/* In the original web.xml I had

1.2.37 connector and IIS 7.5

2013-07-16 Thread Wes Novack
Hi all, I am trying to get the latest 32 bit Tomcat 1.2.37 connector for IIS ( jakarta / isapi_redirect.dll ) to play nicely on Windows Server 2008 R2 (64 bit) and IIS 7.5. I installed JRE 7 update 25 (32 bit) , then installed the Apache Tomcat 7.0.42 using the Windows installer EXE. I then

Re: 1.2.37 connector and IIS 7.5

2013-07-16 Thread Mark Eggers
On 7/16/2013 1:47 PM, Wes Novack wrote: Hi all, I am trying to get the latest 32 bit Tomcat 1.2.37 connector for IIS ( jakarta / isapi_redirect.dll ) to play nicely on Windows Server 2008 R2 (64 bit) and IIS 7.5. I installed JRE 7 update 25 (32 bit) , then installed the Apache Tomcat 7.0.42

Re: 1.2.37 connector and IIS 7.5

2013-07-16 Thread Wes Novack
Thanks for your reply. IIS 7.5 can certainly run many other 32bit applications when you set the AppPool setting Enable 32-Bit Applications to True. because the library is not loadable into a 64 Bit IIS So, running the 32 bit Tomcat connector on 64 bit IIS is definitely not supported and won't

[OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Mark Eggers
Folks, Off topic, so I'm going to be burning a little karma (OK, a lot). Environment: Window 7 64 bit JRE 1.7.0_25 Tomcat 7.0.42 (with tcnative) run from startup.bat I have a web application that scans for a resource path using: this.getClass().getClassLoader().getResources(resourcePath) It

Re: 1.2.37 connector and IIS 7.5

2013-07-16 Thread André Warnier
Wes Novack wrote: Hi all, I am trying to get the latest 32 bit Tomcat 1.2.37 connector for IIS ( jakarta / isapi_redirect.dll ) to play nicely on Windows Server 2008 R2 (64 bit) and IIS 7.5. I installed JRE 7 update 25 (32 bit) , then installed the Apache Tomcat 7.0.42 using the Windows

Re: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread André Warnier
Mark Eggers wrote: Folks, Off topic, so I'm going to be burning a little karma (OK, a lot). Environment: Window 7 64 bit JRE 1.7.0_25 Tomcat 7.0.42 (with tcnative) run from startup.bat I have a web application that scans for a resource path using:

Re: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Mark Thomas
On 16/07/2013 22:43, Mark Eggers wrote: 5. Do this right How, I'm not exactly sure. Hence, the question. At a guess, call close on the JarFile. Looks like you might need to refactor the code to be able to do that. Mark -

RE: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Cannot cleanly undeploy a web application What probably happens here, is that one level below the InputStream which holds the filehandle in Java, is some native file object which has the file open. The InputStream object is

Re: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Mark Eggers
On 7/16/2013 4:07 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Cannot cleanly undeploy a web application What probably happens here, is that one level below the InputStream which holds the filehandle in Java, is some native file object which

Query Response time for tomcat requests

2013-07-16 Thread Harsimranjit singh Kler
I am using Apache tomcat 6.0.35 version Is http://version.is/ there any log which specify Query response time for each request on tomcat.I mean total time taken by tomcat to process request?

RE: Query Response time for tomcat requests

2013-07-16 Thread Caldarale, Charles R
From: Harsimranjit singh Kler [mailto:simran...@gmail.com] Subject: Query Response time for tomcat requests I am using Apache tomcat 6.0.35 version Is http://version.is/ there any log which specify Query response time for each request on tomcat.I mean total time taken by tomcat to process

Re: Tomcat Concurrency

2013-07-16 Thread vicky b
HI All, Just out of curiosity can you please let me know if there are 10 clients who access 10 different browsers and make request at the same time what is the expected output On Tue, Jul 16, 2013 at 10:14 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED