Re: java.protocol.handler.pkgs does not work with Tomcat 7

2014-11-18 Thread Mark Thomas
On 17/11/2014 22:47, Ignacio Ocampo wrote: Hi all, I'm using a third part library for NTLM authentication, one of their requeriments is to set: System.setProperty(java.protocol.handler.pkgs, jespa); But, it does not take any effect, I see Tomcat 7 source code here:

Re: DirResourceSet

2014-11-18 Thread Mark Thomas
On 17/11/2014 22:52, Ed Rouse wrote: I have 2 different issues setting up a DirResourceSet. I have an external war file I am trying to merge into the Root of my application. I have a custom root that extends StandardRoot. 1. DirResourceSet drs = new DirResourceSet(wsRoot,

How to run CGI script using Apache tomcat server?

2014-11-18 Thread Sumankumar Panchal
Hello All, I would like to run CGI script using Apache tomcat server on Linux. I have added following lines in apache/conf/web.xml file.and create directory cgi inside WEB-INF with all necessary file/dir permission. Still I am unable to run CGI script. can someone suggest me how to configure CGI

Apache Tomcat Project Information

2014-11-18 Thread Iago Alonso Alonso
Hello, we are a group of two students in college and are looking for information about Apache Tomcat project. We wonder if they could give us some information about: - Development methodology, release planning and tools. - Software Quality: Metrics and testing. Thank you, greetings.

Re: Connection count explosion due to thread http-nio-80-ClientPoller-x death

2014-11-18 Thread Lars Engholm Johansen
Thanks for looking further into this, Mark, We are running: java version 1.7.0_65 OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-4ubuntu1~0.12.04.2) OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode) Linux 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC

Remote resources

2014-11-18 Thread phiroc
Hello, is there a way to access the contents of a directory (e.g., images) on a remote [Windows] network drive, which is mounted on a Linux filesystem (e.g., /mnt/myremotedrive), from a Java application running on a Tomcat Server? What makes this task problematic is the fact that the images

RE: DirResourceSet

2014-11-18 Thread Ed Rouse
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, November 18, 2014 5:59 AM To: Tomcat Users List Subject: Re: DirResourceSet On 17/11/2014 22:52, Ed Rouse wrote: I have 2 different issues setting up a DirResourceSet. I have an external war file I

Re: DirResourceSet

2014-11-18 Thread Mark Thomas
On 18/11/2014 16:50, Ed Rouse wrote: -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, November 18, 2014 5:59 AM To: Tomcat Users List Subject: Re: DirResourceSet On 17/11/2014 22:52, Ed Rouse wrote: I have 2 different issues setting up a

RE: Remote resources

2014-11-18 Thread Ed Rouse
-Original Message- From: phi...@free.fr [mailto:phi...@free.fr] Sent: Tuesday, November 18, 2014 10:02 AM To: users@tomcat.apache.org Subject: Remote resources Hello, is there a way to access the contents of a directory (e.g., images) on a remote [Windows] network drive,

Re: Remote resources

2014-11-18 Thread Mark Thomas
On 18/11/2014 17:22, Ed Rouse wrote: -Original Message- From: phi...@free.fr [mailto:phi...@free.fr] Sent: Tuesday, November 18, 2014 10:02 AM To: users@tomcat.apache.org Subject: Remote resources Hello, is there a way to access the contents of a directory (e.g., images) on a

High thread count load on Tomcat8 when accessing AJP port with no request

2014-11-18 Thread Lisa Woodring
We recently upgraded from Tomcat 6.0.29 to Tomcat 8.0.14. Everything appears to be working fine, except that Tomcat is keeping a high # of threads (in TIMED_WAITING state) -- and the CPU has a high load low idle time. We are currently running Tomcat8 on 2 internal test machines, where we also

Re: How to run CGI script using Apache tomcat server?

2014-11-18 Thread André Warnier
Sumankumar Panchal wrote: Hello All, I would like to run CGI script using Apache tomcat server on Linux. I have added following lines in apache/conf/web.xml file.and create directory cgi inside WEB-INF with all necessary file/dir permission. Still I am unable to run CGI script. When you say

Websocket @OnMessage is never firing for binary messages only text

2014-11-18 Thread Jason Ricles
I am writing a websocket communication with the client and server endpoints both in java code (using tomcat 7.0.53 as the web server) When I send a text message using the session.getbasicremote.sendText(String) method the @Onmessage function is fired and everything. However I want to send binary

Re: High thread count load on Tomcat8 when accessing AJP port with no request

2014-11-18 Thread André Warnier
Lisa Woodring wrote: ... In order to monitor the availability of the HTTPS/AJP port (Apache--Tomcat), our monitoring software opens a port to verify that this works -- but then does not follow that up with an actual request. This happens every 2 minutes. ... This sounds like the perfect

Re: jespa (jcifs) does not works in Tomcat but works in single app

2014-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ignacio, On 11/17/14 11:36 AM, Ignacio Ocampo wrote: Hi Andre, I did all steps described in documentation for set jespa in java.protocol.handler.pkgs It works perfectly in a single app but it does not work in Tomcat. The authentication

Re: java.protocol.handler.pkgs does not work with Tomcat 7

2014-11-18 Thread Konstantin Kolinko
2014-11-18 11:29 GMT+03:00 Mark Thomas ma...@apache.org: On 17/11/2014 22:47, Ignacio Ocampo wrote: Hi all, I'm using a third part library for NTLM authentication, one of their requeriments is to set: System.setProperty(java.protocol.handler.pkgs, jespa); But, it does not take any effect,

Re: APR with PKCS11 support

2014-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 11/14/14 10:04 PM, Sanaullah wrote: The Engine name is correct its LunaCA3 Here is the code snippet from the openssl for the confirmation. openssl-1.0.1g/engines/e_lunaca3.c:#define ENGINE_LUNACA3_ID LunaCA3 I think the

Re: java.protocol.handler.pkgs does not work with Tomcat 7

2014-11-18 Thread Konstantin Kolinko
2014-11-18 22:35 GMT+03:00 Konstantin Kolinko knst.koli...@gmail.com: 2014-11-18 11:29 GMT+03:00 Mark Thomas ma...@apache.org: On 17/11/2014 22:47, Ignacio Ocampo wrote: Hi all, I'm using a third part library for NTLM authentication, one of their requeriments is to set:

Re: High thread count load on Tomcat8 when accessing AJP port with no request

2014-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lisa, On 11/18/14 11:52 AM, Lisa Woodring wrote: We recently upgraded from Tomcat 6.0.29 to Tomcat 8.0.14. Everything appears to be working fine, except that Tomcat is keeping a high # of threads (in TIMED_WAITING state) -- and the CPU has a

Re: Websocket @OnMessage is never firing for binary messages only text

2014-11-18 Thread Konstantin Kolinko
2014-11-18 22:14 GMT+03:00 Jason Ricles jgr...@alum.lehigh.edu: I am writing a websocket communication with the client and server endpoints both in java code (using tomcat 7.0.53 as the web server) When I send a text message using the session.getbasicremote.sendText(String) method the

Re: Websocket @OnMessage is never firing for binary messages only text

2014-11-18 Thread Jason Ricles
Yup that flip did it and it works. Yes haha that was one of the many reasons I didn't major in something with more writing. Luckily its just a test method thats why I didn't double check the spelling. Thanks for the help. On Tue, Nov 18, 2014 at 3:00 PM, Konstantin Kolinko knst.koli...@gmail.com

Re: Websocket @OnMessage is never firing for binary messages only text

2014-11-18 Thread Jason Ricles
Why is the bytebuffer now filled with 0 and no data after doing a flip? On Tue, Nov 18, 2014 at 3:12 PM, Jason Ricles jgr...@alum.lehigh.edu wrote: Yup that flip did it and it works. Yes haha that was one of the many reasons I didn't major in something with more writing. Luckily its just a

Re: Remote resources

2014-11-18 Thread Glen Peterson
If it's mounted, does it count as a symlink? If so, this may help, I don't know: http://stackoverflow.com/a/26413018/1128668 On Tue, Nov 18, 2014 at 11:38 AM, Mark Thomas ma...@apache.org wrote: On 18/11/2014 17:22, Ed Rouse wrote: -Original Message- From: phi...@free.fr

Re: Session Config = Tracking Mode not working

2014-11-18 Thread Stephen McCants
Hello Konstantin Kolinko, I fixed my dumb web.xml schema declaration. Thanks for pointing that out. I also added the COOKIE tracking mode to the example servlet and it worked there (the URL encoded link did not contain the JSESSIONID). So, next I turned on logEffectiveWebXml=true and verified

Re: Session Config = Tracking Mode not working

2014-11-18 Thread Konstantin Kolinko
2014-11-19 0:21 GMT+03:00 Stephen McCants stephen.mcca...@hcs.us.com: Hello Konstantin Kolinko, I fixed my dumb web.xml schema declaration. Thanks for pointing that out. I also added the COOKIE tracking mode to the example servlet and it worked there (the URL encoded link did not contain

Re: isELIgnored default is wrong

2014-11-18 Thread Stephen McCants
Hello Konstantin Kolinko, Thank you for the useful debugging tips. By setting the server in Strict Compliance, I found some problems with our TLD declarations. After fixing that, isELIgnored has the default of true, as expected. Thanks again! Sincerely, Stephen McCants On Sat, 8 Nov 2014

Re: Session Config = Tracking Mode not working

2014-11-18 Thread Konstantin Kolinko
2014-11-19 0:53 GMT+03:00 Konstantin Kolinko knst.koli...@gmail.com: 2014-11-19 0:21 GMT+03:00 Stephen McCants stephen.mcca...@hcs.us.com: Hello Konstantin Kolinko, I fixed my dumb web.xml schema declaration. Thanks for pointing that out. I also added the COOKIE tracking mode to the example

httpd authentication with tomcat authorization

2014-11-18 Thread Robert J. Carr
I have a setup where httpd is doing my (basic) authentication but I need tomcat (6, if it matters) to manage the roles and do the authorization. The link between httpd and tomcat is through the ajp connector and on this connector's config I've added: tomcatAuthentication=false This passes

Re: Session Config = Tracking Mode not working

2014-11-18 Thread Stephen McCants
Spent sometime in the debugger and it is Shiro that is appending the JSESSIONID on a redirect if the session cookie hasn't been set yet. So, now I'm off to figure out how to turn it off in Shiro. Thanks again for your help! Sincerely, Stephen McCants On Wed, 19 Nov 2014 01:51:53 +0300

Re: APR with PKCS11 support

2014-11-18 Thread Sanaullah
Hi Chris, Engine is loaded Successfully. the issue is with tcnative. tcnative was not loading any engine and it was due to HAVE_ENGINE_LOAD_BUILTIN_ENGINES preprocessor which is unable to call ENGINE_load_builtin_engines. I made one change and in ssl.c of tomcat-native-1.1.31 original