Re: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns?

2013-10-22 Thread Mark Thomas
On 22/10/2013 00:28, Bob DeRemer wrote: I'm trying to understand how Tomcat's outbound message processing works with respect to making multiple (concurrent) calls against a single RemoteEndpoint.Async using sendText/sendObject. Based on the ExecutionExceptions we got (see below), it seems

Reg: Connection pool statistics

2013-10-22 Thread Anu Prab
Hi, Is it possible to get the statistics of a connection pool programmatically, say when was it created? The maximum time taken by a query which used the connection from this connection pool? Statistics like these... -Anu

RE: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns?

2013-10-22 Thread Bob DeRemer
-Original Message- From: Niki Dokovski [mailto:nick...@gmail.com] Sent: Tuesday, October 22, 2013 1:11 AM To: Tomcat Users List Subject: Re: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns? On Tue,

Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread ANALIA DE PEDRO SANTAMARIA
Hello, I would like to know if is it possible to restrict the use of JDK classes in Tomcat according to a list given in another file. ¿Is it possible by creating a new Add-on? If it is possible, where can I find documentation about creating Add-ons? I have looked up and I haven't found any

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Aurélien Terrestris
You can run Tomcat with its Security Manager, then you can setup which jar has which rights have a look here : http://tomcat.apache.org/tomcat-7.0-doc/security-manager-howto.html 2013/10/22 ANALIA DE PEDRO SANTAMARIA 100074...@alumnos.uc3m.es: Hello, I would like to know if is it possible to

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread chris derham
2013/10/22 ANALIA DE PEDRO SANTAMARIA 100074...@alumnos.uc3m.es: Hello, I would like to know if is it possible to restrict the use of JDK classes in Tomcat according to a list given in another file. ¿Is it possible by creating a new Add-on? If it is possible, where can I find documentation

RE: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Caldarale, Charles R
From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 Do the mailing list rules state home work questions are in or out of scope? To quote from How To Ask Questions The Smart Way

RE: Connection pool statistics

2013-10-22 Thread Jeffrey Janner
-Original Message- From: Anu Prab [mailto:anupr...@gmail.com] Sent: Tuesday, October 22, 2013 4:36 AM To: Tomcat Users List Subject: Reg: Connection pool statistics Hi, Is it possible to get the statistics of a connection pool programmatically, say when was it created? The

Re: Connection pool statistics

2013-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 10/22/13 9:47 AM, Jeffrey Janner wrote: -Original Message- From: Anu Prab [mailto:anupr...@gmail.com] Sent: Tuesday, October 22, 2013 4:36 AM To: Tomcat Users List Subject: Reg: Connection pool statistics Hi, Is it

Re: Tomcat 6.x crashes on tcnative-1.dll

2013-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Teng, On 10/22/13 3:02 AM, Teng Khoo wrote: I am running tomcat 6.0.30 More than 2 years out-of-date. Just sayin'. with tcnative-1.dll (1.1.27) on Windows 2008 (64bit). Tomcat crashes 1-2 times in a week. Below is the core dump. Does anyone

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread André Warnier
Caldarale, Charles R wrote: From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 Do the mailing list rules state home work questions are in or out of scope? To quote from How To Ask Questions The Smart Way

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread ANALIA DE PEDRO SANTAMARIA
I'm sorry about the misunderstanding. My question isn't a homework question. I'm working in my Final Project and I have some doubts about Tomcat, that I need to solve in order to develop it properly. I had searched a lot before I wrote to the mailing list. I'm sorry if you have understood that I'm

RE: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Caldarale, Charles R
From: ANALIA DE PEDRO SANTAMARIA [mailto:100074...@alumnos.uc3m.es] Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 I understand it if you can't answer my questions. Your question was already answered by Aurélien: use a SecurityManager.

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Isuru Perera
Hi, On Tue, Oct 22, 2013 at 11:11 PM, ANALIA DE PEDRO SANTAMARIA 100074...@alumnos.uc3m.es wrote: I'm sorry about the misunderstanding. My question isn't a homework question. I'm working in my Final Project and I have some doubts about Tomcat, that I need to solve in order to develop it

RE: Connection pool statistics

2013-10-22 Thread Jeffrey Janner
Chris -- -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, October 22, 2013 10:38 AM To: Tomcat Users List Subject: Re: Connection pool statistics -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 10/22/13 9:47 AM,

Embedding Tomcat

2013-10-22 Thread Pïd stèr
Hello, To scratch an itch I've been working on an alternative means to embed Tomcat: https://github.com/pidster-dot-org/embed-apache-tomcat There's a core utility for embedding Tomcat[1] and a JUnit Rule[2] for testing that uses it, e.g. 1.

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Analia, On 10/22/13 1:41 PM, ANALIA DE PEDRO SANTAMARIA wrote: I'm sorry about the misunderstanding. My question isn't a homework question. I'm working in my Final Project and I have some doubts about Tomcat, that I need to solve in order to

Re: Connection pool statistics

2013-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 10/22/13 5:40 PM, Jeffrey Janner wrote: Chris -- -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, October 22, 2013 10:38 AM To: Tomcat Users List Subject: Re: Connection

Servlet init method called multiple times

2013-10-22 Thread Richard Pierce
The init() method of all of my servlets is being called every 10 seconds or so. I verified this by adding a System.out to the init() methods of my servlets. However, the server is not restarting- just init gets recalled, even with no load on the box at all. I have no idea where to begin

Re: Servlet init method called multiple times

2013-10-22 Thread André Warnier
Richard Pierce wrote: The init() method of all of my servlets is being called every 10 seconds or so. I verified this by adding a System.out to the init() methods of my servlets. However, the server is not restarting- just init gets recalled, even with no load on the box at all. I have no

Re: Servlet init method called multiple times

2013-10-22 Thread Richard Pierce
Hey Andre, thanks for any help you can provide. Nothing in the tomcat logs, just server startup spam and then the log lines from the init methods server.xml: ?xml version='1.0' encoding='utf-8'? Server port=8006 shutdown=SHUTDOWN !--APR library loader. Documentation at /docs/apr.html --

java.net.SocketException: Permission denied: connect, when running Tomcat 7 as a windows service

2013-10-22 Thread Rodolfo Piedrabuena
Hi there, I'm receiving the following exception: java.net.SocketException: Permission denied: connect when instantiating a Socket from a servlet: final Socket smtpSocket = new Socket(mailTransportHost, mailTransportPort); This application was running as a service under Windows Server 3003 R2

Re: Multi-URL Access 1 Webapp

2013-10-22 Thread Chris Arnold
I didn't know you were running a 3rd-party application. Do you need the application to behave differently given a particular client? If not, there's nothing to do. If so, you probably need to ask the Alfresco folks how to do that. I personally know nothing about Alfresco, though there may be some

RE: Multi-URL Access 1 Webapp

2013-10-22 Thread Matt Barry
Hi Chris, I didn't know you were running a 3rd-party application. Do you need the application to behave differently given a particular client? If not, there's nothing to do. If so, you probably need to ask the Alfresco folks how to do that. I personally know nothing about Alfresco, though there