Re: Single error page for multiple web applications

2013-12-31 Thread Leo Donahue
On Dec 31, 2013 3:15 AM, Maarten van Hulsentop maar...@vanhulsentop.nl wrote: Hello, We are using Tomcat to host a number of web applications as a uniform solution. We trying to implement something that seems to be an odd requirement, evh it is really a use case for us. We would like to

Re: ApacheCon NA 2014

2014-01-21 Thread Leo Donahue
On Tue, Jan 21, 2014 at 1:13 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I didn't get much of a response last time around, but if there are any topics of interest to the community that we could present at ApacheCon NA

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Leo Donahue
On Thu, Jan 23, 2014 at 12:08 PM, André Warnier a...@ice-sa.com wrote: it seems that we're spending more time lately asking people to not top-post, than actually providing answers to their questions. So I have a few suggestions of my own : - have the list software add a message in *bold* to

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Leo Donahue
All good ideas. I like the general rule of: be nice or ignore the post. Why should we let a user's post turn our day lousy? I'd hate to see this place turn into what other user forums have become, not naming names. - To

question regarding tomcat source code and dependencies

2014-02-06 Thread Leo Donahue
This question was spawned by two things: I'm reading a book on Dependency Injection The latest security announcement - reading the source for FileUploadBase.java Some reading material suggests that one use a simple factory pattern to move object creation dependencies to a different class. I see

Re: [OT] question regarding tomcat source code and dependencies

2014-02-07 Thread Leo Donahue
On Fri, Feb 7, 2014 at 1:50 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, So... what does this all have to do with the recent security announcement? Hope that helps, - -chris I thought I was black listed there for a day,

Re: Test to display an empty form by servlet.

2014-02-12 Thread Leo Donahue
On Wed, Feb 12, 2014 at 1:10 PM, JB MORLA jbmo...@gmail.com wrote: If there is a field called username, in a form with url registration , how can I display the form the first time in Tomcat 7? (When the field is empty) initialize the username property?

Re: Test to display an empty form by servlet.

2014-02-13 Thread Leo Donahue
On Wed, Feb 12, 2014 at 2:23 PM, JB MORLA jbmo...@gmail.com wrote: The purpose of this manual is to demonstrate MVC. In that case, the first component that runs is the Controller, that is the servlet. If I display an html form that redirects to the jsp, it's the html form that has the control.

linux vs windows responses on the list

2014-02-24 Thread Leo Donahue
In general, is it assumed that all responses given to the list assume the OP is running a version of Linux, if they don't state the OS? For example, I read the post about Tomcat upgrades/security patching best practices and the advice given is to modify init.d script. I don't recall seeing the

Re: Installing the OWF webapp to an existing Tomcat Instance

2014-02-25 Thread Leo Donahue
On Tue, Feb 25, 2014 at 7:17 AM, J. Brian Hall jbrianhall...@me.com wrote: Chuck, you are THE MAN! +1 One other kink I tried to work-out. When I go to https://localhost:8443/owf, I get the following common message: There is a problem with this website's security certificate. The security

Re: Installing the OWF webapp to an existing Tomcat Instance

2014-02-25 Thread Leo Donahue
On Tue, Feb 25, 2014 at 10:57 AM, J. Brian Hall jbrianhall...@me.com wrote: Leo, -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Tuesday, February 25, 2014 9:44 AM To: Tomcat Users List Subject: Re: Installing the OWF webapp to an existing Tomcat Instance

The Service Component

2014-03-07 Thread Leo Donahue
Who uses more than one Service in their server.xml and why? I get that you can have multiple Connectors if you have multiple Service components but why use multiple connectors? Are there any docs on the use cases for these features?

Re: The Service Component

2014-03-07 Thread Leo Donahue
On Fri, Mar 7, 2014 at 9:01 AM, Leon Rosenberg rosenberg.l...@gmail.com wrote: Hello, I do use multiple connectors but one service. Multiple connectors to separate user traffic from admin/management traffic. For example if due to overload no threads are available to server http request on

Re: The Service Component

2014-03-07 Thread Leo Donahue
On Fri, Mar 7, 2014 at 9:37 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 3/7/14, 10:44 AM, Leo Donahue wrote: Who uses more than one Service in their server.xml and why? I get that you can have multiple Connectors

Tomcat7w.exe

2014-03-07 Thread Leo Donahue
Did I miss something in the documentation about renaming this if one is running multiple windows services of Tomcat? ex: #Prod port 80 c:\apache-tomcat c:\apache-tomcat\apache-tomcat-7.0.52 service install Tomcat7 (from bin directory here) #Dev port 8080 c:\apache-tomcat-dev

Re: Tomcat7w.exe

2014-03-07 Thread Leo Donahue
On Fri, Mar 7, 2014 at 10:58 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Leo Donahue [mailto:donahu...@gmail.com] Subject: Tomcat7w.exe Did I miss something in the documentation about renaming this if one is running multiple windows services of Tomcat? Besides

Tomcat and Spring Framework

2014-03-07 Thread Leo Donahue
Any Spring developers on the list? http://docs.spring.io/spring/docs/4.0.2.RELEASE/spring-framework-reference/htmlsingle/#overview-usagescenarios Is that saying that you can use a regular Tomcat for all of that? full-fledged enterprise applications on Tomcat?

Re: Tomcat and Spring Framework

2014-03-07 Thread Leo Donahue
On Fri, Mar 7, 2014 at 3:41 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2014-03-08 2:30 GMT+04:00 Leo Donahue donahu...@gmail.com: Any Spring developers on the list? http://docs.spring.io/spring/docs/4.0.2.RELEASE/spring-framework-reference/htmlsingle/#overview-usagescenarios

Re: Tomcat7w.exe

2014-03-09 Thread Leo Donahue
On Fri, Mar 7, 2014 at 12:43 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Actually, i hate clicking on things... I use Windows keyboard shortcuts as much as possible. Even when you run the following command, you still get a GUI. Tomcat7w //ES/Tomcat7 Do you Ctrl + Tab your way

Re: Tomcat and Spring Framework

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 12:58 PM, Mark H. Wood mw...@iupui.edu wrote: It's probably worth asking what full-fledged enterprise applications means. I'm not aware of any specification with that title. That was a Spring term from the page I was reading, and the reason I asked the question.

Re: The Service Component

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 10:15 AM, André Warnier a...@ice-sa.com wrote: It is particularly nice to know that it works, and that the Service element really (apparently) corresponds to something real at the Tomcat level. So it is apparently not just an element of order allowing to group

Re: The Service Component

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 7:26 AM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 9:44 AM To: users@tomcat.apache.org Subject: The Service Component Who uses more than one

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:28 AM, John Smith tomcat.ran...@gmail.comwrote: Is there a straightforward way to toggle or add something in Tomcat, in the event a webapp is intentionally taken 'offline for maintenance? The user would receive the same single notification page saying as much, for

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:28 AM, John Smith tomcat.ran...@gmail.comwrote: Is there a straightforward way to toggle or add something in Tomcat, in the event a webapp is intentionally taken 'offline for maintenance

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:58 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:28 AM, John Smith tomcat.ran...@gmail.comwrote: Is there a straightforward way to toggle or add something in Tomcat

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Mar 12, 2014 2:15 PM, André Warnier a...@ice-sa.com wrote: I was going to suggest to replace the normal myApp.war by one named similarly, but returning a on maintenance page. But the solution above is cleverer. Bonus points. Thanks. I've never had bonus points before. ;)

Re: JNDIRealm - Active Directory Roles

2014-03-13 Thread Leo Donahue
On Thu, Mar 13, 2014 at 10:15 AM, bjoern.bec...@easycash.de wrote: Hello, server.xml: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionName=CN=SVC,OU=Service Accounts,OU=SITES,OU=\#KONFIGURATION,DC=DOM,DC=de

Re: JNDIRealm - Active Directory Roles

2014-03-14 Thread Leo Donahue
On Fri, Mar 14, 2014 at 2:12 AM, bjoern.bec...@easycash.de wrote: Hello, thanks for your reply. It doesn't make any difference. I don't understand how the authenticated user receive permissions for one of these roles: role rolename=manager/ role rolename=tomcat/

Re: Tomcat-user versus StackOverflow

2014-03-14 Thread Leo Donahue
On Fri, Mar 14, 2014 at 6:10 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm finding a lot of questions lately posted simultaneously to both tomcat-user and to StackOverflow. How does the Tomcat community feel about

Re: Tomcat-user versus StackOverflow

2014-03-14 Thread Leo Donahue
On Fri, Mar 14, 2014 at 8:02 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 3/14/14, 10:58 AM, Leo Donahue wrote: On Fri, Mar 14, 2014 at 6:10 AM, Christopher Schultz ch...@christopherschultz.net wrote: I was happy

Re: Tomcat 7 : Configure redirect url for session timeout

2014-03-14 Thread Leo Donahue
On Fri, Mar 14, 2014 at 3:04 PM, Akash Jain akash.delh...@gmail.com wrote: I have following configuration in `web.xml` in tomcat 7. I am wondering if I can add any configurable parameter here, so that if user tries to do any operation post 30 minutes, I redirect the user to our home page.

Re: Tomcat 7 : Configure redirect url for session timeout

2014-03-14 Thread Leo Donahue
On Fri, Mar 14, 2014 at 3:48 PM, Akash Jain akash.delh...@gmail.comwrote: Leo, If any request comes after session timeout interval ... why would it go into error ? Perhaps because the request/response that was created with a session is no longer valid after the session timeout. What other

Re: Tomcat 7 : Configure redirect url for session timeout

2014-03-16 Thread Leo Donahue
On 3/14/2014 4:18 PM, Akash Jain wrote: I want to redirect user to / with a query parameter to indicate that session has timed out. I don't follow you. What do you mean by use a query parameter? You want to display a notification to the user in the URL? Do you mean like this:

Re: jax-ws and tomcat 7 with ssl

2014-03-19 Thread Leo Donahue
On Tue, Mar 18, 2014 at 2:58 PM, Maria Cristina Siena mariacristinasi...@sourcecable.net wrote: Hi, I developed a web service using jax-ws and configured Tomcat to support SSL connection. Here are my steps: ** Step 1 - Generate a self-signed server certificate Use JDK 1.7 keytool:

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Leo Donahue
On Wed, Mar 26, 2014 at 11:32 AM, Sebastien Tardif sebastien.tardif.contrac...@gmo.com wrote: I'm confused by the commands given by Tomcat documentation about creating different instances, it says: service install instance1 but service is not a command provided by Tomcat or Windows, see

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Leo Donahue
On Wed, Mar 26, 2014 at 12:35 PM, André Warnier a...@ice-sa.com wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Oh no you didn't, just top post. ?

Re: Realm ldaps

2014-03-27 Thread Leo Donahue
On Thu, Mar 27, 2014 at 8:45 AM, bjoern.bec...@easycash.de wrote: Hello, I like to change my ldap jndirealm to ldaps. Realm className=org.apache.catalina.realm.LockOutRealm Realm className=org.apache.catalina.realm.UserDatabaseRealm

Re: Realm ldaps

2014-03-27 Thread Leo Donahue
On Thu, Mar 27, 2014 at 10:20 AM, bjoern.bec...@easycash.de wrote: -Ursprüngliche Nachricht- Von: Leo Donahue [mailto:donahu...@gmail.com] Gesendet: Donnerstag, 27. März 2014 17:54 An: Tomcat Users List Betreff: Re: Realm ldaps On Thu, Mar 27, 2014 at 8:45 AM, bjoern.bec

Re: Connection pooling issue on Tomcat

2014-03-28 Thread Leo Donahue
On Fri, Mar 28, 2014 at 12:31 PM, Propes, Barry L barry.l.pro...@citi.comwrote: -Original Message- From: Mark Shifman [mailto:mark.shif...@yale.edu] Sent: Friday, March 28, 2014 12:34 PM To: Tomcat Users List Subject: Re: Connection pooling issue on Tomcat = Thanks, Mark, I

Re: SSL Certificates

2014-03-31 Thread Leo Donahue
On Mon, Mar 31, 2014 at 7:19 AM, Bomma, Nithun nithun.bo...@amtrak.comwrote: Hello, We are using WebSphere v6.1 for SSO and we are moving to ForgeRock and it uses Apache Tomcat (v7.0.37) We are trying to import the certificates (Verisign) including the chain certificates from WebSphere to

Re: grab hostname from tomcat manager

2014-04-02 Thread Leo Donahue
On Wed, Apr 2, 2014 at 6:07 AM, bjoern.bec...@easycash.de wrote: Hello, I need to grab the hostname from the tomcat manager somehow. Unfortunately this URL manager/text/serverinfo doesn't contain the hostname. Is there any other smart way to receive the hostname via tomcat manager app?

Re: Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x

2014-04-10 Thread Leo Donahue
On Thu, Apr 10, 2014 at 2:10 PM, Ji Song s...@glimmerglass.com wrote: Hi, Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x ? I noticed that Tomcat native connector version 1.1.22 uses : OpenSSL 0.9.8 which doesn't have the heartbleeding bug, but 1.1.24 and 1.1.29 also include

Re: Maximum number of JSP ?

2014-04-11 Thread Leo Donahue
On Fri, Apr 11, 2014 at 6:46 AM, Dutta, Abhishek abhishek.du...@capgemini.com wrote: Hi, I am not very sure . But I guess If we consider the servlet lifecycle the servlet is not supposed to get instantiated until requested for . The question is, do the JSP pages contain static text or JSP

Re: Maximum number of JSP ?

2014-04-11 Thread Leo Donahue
On Fri, Apr 11, 2014 at 8:52 AM, Sylvain Goulmy sygou...@gmail.com wrote: 4. Here is the behaviour that i observed : i request the URL of a jsp in a loop. The content of this JSP is always the same but it's name is different in each URL so that it is considered as a new one. Can you post

sudo apt-get install Tomcat7

2014-04-20 Thread Leo Donahue
About two weeks into learning linux on Ubuntu 12.04 LTS Issuing that command, where does that Tomcat7 come from? Leo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: sudo apt-get install Tomcat7

2014-04-20 Thread Leo Donahue
On 04/20/2014 08:29 PM, Everton H. P. Custódio wrote: Hi, 2014-04-20 23:43 GMT-03:00 Leo Donahue donahu...@gmail.com: About two weeks into learning linux on Ubuntu 12.04 LTS Issuing that command, where does that Tomcat7 come from? It comes from Ubuntu's repository. You can check

Re: Stateless application is very slow using LDAP authentication

2014-04-22 Thread Leo Donahue
On Tue, Apr 22, 2014 at 8:48 AM, André Warnier a...@ice-sa.com wrote: Frédéric Poliquin wrote: What if you disable authentication entirely as a test... do things speed-up? Answer is YES Do you have a problem only under load or also when you are testing a single-user? Single user What I

Interface default methods

2014-07-02 Thread Leo Donahue
I don't want to start a war, but just curious if the Tomcat developers see any use case for adding default methods to any of the Interfaces in the API? Leo

Re: [somewhat OT] Apache Tomcat7 service start randomly after the installation of McAfee antivirus.

2014-07-02 Thread Leo Donahue
On Wed, Jul 2, 2014 at 2:33 AM, André Warnier a...@ice-sa.com wrote: Blachon, Philippe wrote: Good morning, We have 4 identical servers with a scheduled task running every night on each of them. This task Stop Tomcat - Update some data - Start Tomcat. This worked fine for months. We have

[OT] Apache Tomcat7 service start randomly after the installation of McAfee antivirus

2014-07-03 Thread Leo Donahue
On Thu, Jul 3, 2014 at 4:22 AM, André Warnier a...@ice-sa.com wrote: Leo Donahue wrote: On Wed, Jul 2, 2014 at 2:33 AM, André Warnier a...@ice-sa.com wrote: Blachon, Philippe wrote: Why would one run a virus scanner permanently on a Tomcat server ? Does the OP work in the government

Re: Interface default methods

2014-07-03 Thread Leo Donahue
On Thu, Jul 3, 2014 at 1:05 AM, Mark Thomas ma...@apache.org wrote: On 3 July 2014 04:11:32 GMT+01:00, Leo Donahue donahu...@gmail.com wrote: I don't want to start a war, but just curious if the Tomcat developers see any use case for adding default methods to any of the Interfaces

jax-ws

2014-07-13 Thread Leo Donahue
I'm here: http://tomcat.apache.org/tomcat-7.0-doc/extras.html#Web_Services_support_%28JSR_109%29 And I'm looking for the other two jar files mentioned in the help. Going back to the main download page for 7.0.54 and clicking on Browse/bin/extras, I see no said jar files mentioned in the help

Re: jax-ws

2014-07-14 Thread Leo Donahue
On Mon, Jul 14, 2014 at 8:04 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 7/13/14, 11:23 PM, Leo Donahue wrote: I'm here: http://tomcat.apache.org/tomcat-7.0-doc/extras.html#Web_Services_support_%28JSR_109%29

Re: jax-ws

2014-07-18 Thread Leo Donahue
On Sun, Jul 13, 2014 at 10:23 PM, Leo Donahue donahu...@gmail.com wrote: I found a link on the web that mentioned something about picking and choosing about 7 different jar files Essentially that information is wrong. Reading the manual here: https://jax-ws.java.net/2.2.8/docs/ch02.html

Re: Windows performance issue

2014-07-22 Thread Leo Donahue
On Jul 21, 2014 4:03 AM, Omar Orzenini omar.orzen...@gmail.com wrote: Hello everyone, I apologize for my poor english but I'll try to explain. I have a strange performance problem only under Windows (via NFS on Linux everything works fine). Tested operating system (Windows Server 2008 R2 64,

Re: Restricting SSL access within webapp

2014-08-01 Thread Leo Donahue
On Fri, Aug 1, 2014 at 1:55 PM, John Smith tomcat.ran...@gmail.com wrote: In my webapp there's a directory '/admin' that's protected under SSL. Users are forced to use SSL via a security constraint in web.xml. It works great. I would also agree with Chuck and James. Can you not move this

Question on Thread Local

2014-09-02 Thread Leo Donahue
I've been reading about using Thread Local in web applications and the general use case is to generate a transaction id in a filter so that the rest of the web application running in the thread local will have access to that transaction id. Thread Local is essentially a way to create a global

Re: Question on Thread Local

2014-09-02 Thread Leo Donahue
On Tue, Sep 2, 2014 at 3:00 PM, Leon Rosenberg rosenberg.l...@gmail.com wrote: From practical point of view ThreadLocal is a huge hashmap directly in the ThreadClass where you can store a map of variables. Something like Thread.MapThreadId, MapString, Object, in which you can access variables

Re: JAX-WS Web Services

2014-10-13 Thread Leo Donahue
On Sun, Oct 12, 2014 at 9:16 AM, Meeraj Kunnumpurath mee...@servicesymphony.com wrote: Hi, I am porting an application from Weblogic 12 to Tomcat 8. The application has a set of web services that implement javax.xml.ws.ProviderSOAPMessage exposed by declaring them as servlets in web.xml.

Re: need information of tomcat support

2014-10-28 Thread Leo Donahue
On Tue, Oct 28, 2014 at 8:00 AM, Hareshbhai Desai,Vinaykumar (Vinaykumar) desa...@avaya.com wrote: Hi team, I need some information about the tomcat support. We are using tomcat 3.2.2 and tomcat 6.0.37 in our product. If we are not upgrade the tomcat latest version then shall we get the

[OT] jaxws 2.2 spec

2014-11-03 Thread Leo Donahue
I know this isn't really a Tomcat specific question, but there are alot of web service people on the list who may want to provide their two cents. http://download.oracle.com/otndocs/jcp/jaxws-2_2a-mrel4-eval-spec/ Page 10 indicates the following: In the absence of customizations, the name of an

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Leo Donahue
On Mon, Nov 3, 2014 at 3:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/3/14 4:12 PM, vince.w...@thomsonreuters.com wrote: How much easier it would be if the Tomcat distribution had the correct separation

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Leo Donahue
On Tue, Nov 4, 2014 at 9:37 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/3/14 6:42 PM, Neven Cvetkovic wrote: Vince, the current configuration works great: SLIGHTLY-OFFTOPIC: Although, I would love to see

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Leo Donahue
On Tue, Nov 4, 2014 at 10:36 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/4/14 10:46 AM, Leo Donahue wrote: On Tue, Nov 4, 2014 at 9:37 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN

Re: Weird (apocryphal) reference to Tomcat in Wikipedia

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 9:31 AM, André Warnier a...@ice-sa.com wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I was reading the Wikipedia entry on .properties format yesterday (http://en.wikipedia.org/wiki/.properties) and I saw a mention of Apache

Re: Security Best Practices on Windows Service

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 1:34 PM, Igal @ getRailo.org i...@getrailo.org wrote: hi, what are the security best practices for running Tomcat as a Windows Service? is the local system account safe Define safe. LocalSystem has too many privs that a Tomcat service account doesn't need in my

Re: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 1:48 PM, Nick Wall nick.w...@mvtcanada.com wrote: Hi All Sorry new user to this We have a Win server 2003 running Tomcat and our software I need to move this to a new win 2008 R2 server Is there an easy way to move everything over etc. Looking at easiest way to move

Re: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 2:36 PM, Nick Wall nick.w...@mvtcanada.com wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: November-05-14 12:32 PM To: Tomcat Users List Subject: Re: Moving tomcat Ver 6.0 On Wed, Nov 5, 2014 at 1:48 PM, Nick Wall nick.w

Re: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
Nick, On Wed, Nov 5, 2014 at 2:55 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 11/5/14 2:48 PM, Nick Wall wrote: We have a Win server 2003 running Tomcat and our software I need to move this to a new win 2008 R2

Re: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 2:53 PM, Nick Wall nick.w...@mvtcanada.com wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] I kinda wonder though if there is a windows service associated with this Tomcat. Do you see anything called Tomcat6 in the windows services

Re: Help! parallel deployment problem.

2014-11-24 Thread Leo Donahue
On Mon, Nov 24, 2014 at 5:48 PM, Chris Gamache cgama...@gmail.com wrote: Tomcat 7 ... Working with parallel deployment, tomcat servers in my farm are getting out-of-sync, not getting new versions of war files deployed to the main tomcat. What could be going wrong and how can I fix it? Pleez

throttle filter

2014-12-02 Thread Leo Donahue
Has anyone ever suggested a configurable throttle filter as one of the container provided filters in Tomcat? Or are people generally using the attributes in the HTPP connector for limiting requests to the server for a given amount of time? leo

Re: throttle filter

2014-12-02 Thread Leo Donahue
On Tue, Dec 2, 2014 at 3:28 PM, Chris Gamache cgama...@gmail.com wrote: You could probably be more sophisticated in your throttling, letting certain IPs or requests through while tarpitting others. I was thinking about how, from my perspective, I see developers wanting to throttle back the

Re: throttle filter

2014-12-02 Thread Leo Donahue
On Tue, Dec 2, 2014 at 4:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 12/2/14 4:28 PM, Chris Gamache wrote: Anyone ever suggested? No idea. But I'd be glad to riff on the subject in case it shakes some

Re: [ANN] Apache Tomcat 8.0.17 available

2015-01-21 Thread Leo Donahue
On Wed, Jan 21, 2015 at 9:03 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 1/20/15 10:29 PM, Leo Donahue wrote: On Tue, Jan 20, 2015 at 9:24 PM, Leo Donahue donahu...@gmail.com wrote: On Tue, Jan 20, 2015 at 5:09

Re: [ANN] Apache Tomcat 8.0.17 available

2015-01-20 Thread Leo Donahue
On Tue, Jan 20, 2015 at 9:24 PM, Leo Donahue donahu...@gmail.com wrote: On Tue, Jan 20, 2015 at 5:09 PM, Mark Thomas ma...@apache.org wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.0.17. - The RemoteAddrValve and RemoteHostValve can now optionally

Re: [ANN] Apache Tomcat 8.0.17 available

2015-01-20 Thread Leo Donahue
On Tue, Jan 20, 2015 at 5:09 PM, Mark Thomas ma...@apache.org wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.0.17. - The RemoteAddrValve and RemoteHostValve can now optionally include the port when filtering along with a new option to trigger

Re: Removing ThreadLocal variables

2015-04-13 Thread Leo Donahue
On Mon, Apr 13, 2015 at 5:25 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, The good news is that you are thinking about this in the correct way: that requests are handled by (usually) one thread and you have to clean the

Re: Removing ThreadLocal variables

2015-04-13 Thread Leo Donahue
On Mon, Apr 13, 2015 at 6:57 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2015-04-14 2:28 GMT+03:00 Leo Donahue donahu...@gmail.com: I think I prefer the Listener approach better. Filters are better. With Filter there is a guarantee that finally block is executed in the same

Removing ThreadLocal variables

2015-04-13 Thread Leo Donahue
Tomcat 7.0.61 Java 1.7.0_75 Scenario: Class1 static Type ThreadLocal variable static Type getThreadLocal(){...} static Type setThreadLocal(){...} static void destroy(){variable.remove} Class2 static Type ThreadLocal variable static Type getThreadLocal(){...} static Type

Filter behaviour

2015-06-25 Thread Leo Donahue
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException Assuming you have only a single Filter configured in web.xml Assuming you have logic in a doFilter that checks the value of a boolean. If the boolean is true, then

Re: Filter behaviour

2015-06-26 Thread Leo Donahue
On Fri, Jun 26, 2015 at 1:42 AM, André Warnier a...@ice-sa.com wrote: I must admit that your question above was a bit difficult to follow, in terms of if/then/else/unless, particularly late at night. Yes, you are right. Sorry about that. I was trying to walk the line between saying too

Re: Filter behaviour

2015-06-26 Thread Leo Donahue
On Fri, Jun 26, 2015 at 11:09 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, If I use a return statement to break out of a filter, what should happen? Will the next filter run? No. The Filter is responsible for

[OT] Re: Filter behaviour

2015-06-27 Thread Leo Donahue
On Sat, Jun 27, 2015 at 8:37 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { boolean iAmNotAuthorized = true; if

Re: heap thrashing

2015-09-12 Thread Leo Donahue
On Sat, Sep 12, 2015 at 7:49 AM, André Warnier (tomcat) <a...@ice-sa.com> wrote: > On 11.09.2015 18:24, Caldarale, Charles R wrote: > >> From: Leo Donahue [mailto:donahu...@gmail.com] >>> Subject: Re: heap thrashing >>> >> >> I see this topic com

Re: heap thrashing

2015-09-12 Thread Leo Donahue
On Fri, Sep 11, 2015 at 11:27 AM, Mark Thomas <ma...@apache.org> wrote: > On 11/09/2015 15:43, Leo Donahue wrote: > > On Fri, Sep 11, 2015 at 9:36 AM, Leo Donahue <donahu...@gmail.com> > wrote: > > (typically by pooling and re-using objects rather than > cr

Re: heap thrashing

2015-09-12 Thread Leo Donahue
On Fri, Sep 11, 2015 at 11:24 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Leo Donahue [mailto:donahu...@gmail.com] > > Subject: Re: heap thrashing > > What you have appears to be just very rapid object creation and garbage > collection

heap thrashing

2015-09-11 Thread Leo Donahue
Good day, I see this topic come up from time to time on the list. Can someone point me to what heap thrashing looks like? Googled java heap thrashing and looked at the images, but there isn't much to look at. I also tried googling for ventricular tachycardia to see if I could find a similar

Re: heap thrashing

2015-09-11 Thread Leo Donahue
On Fri, Sep 11, 2015 at 9:36 AM, Leo Donahue <donahu...@gmail.com> wrote: > Good day, > > I see this topic come up from time to time on the list. Can someone point > me to what heap thrashing looks like? > > Googled java heap thrashing and looked at the images, but th

[OT] Authentication

2016-06-01 Thread Leo Donahue
Since the forum just had a question on custom authentication, I thought this would be a good time to ask. Does anyone use "micro-services" to perform authentication of web service A to web service B? This would be different than authenticating users to web service A or B as you would be

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Leo Donahue
On Feb 11, 2016 4:56 PM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: > > I would like to have a jar file in tomcat/lib that can be called from any of the running web apps. I need for the code in the jar to behave differently depending on which web app called it. I would

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Leo Donahue
On Feb 12, 2016 2:50 PM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: > > How does it validate itself to that common location, without a password > A. Stop top posting. You're killing me on my Android phone backspacing to where I want to reply. B. What is "it"? The web

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Leo Donahue
On Feb 12, 2016 2:58 PM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: > > The web app needs a DB password so it can connect to the DB. I disagree that the web app needs a password. > None of the > users have direct access to the DB. Nor should they. > The web app uses

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Leo Donahue
On Feb 12, 2016 2:35 PM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: > > You are correct, I¹m trying to authorize the web app, not the user. > > Goal: I am trying to come up with a way for a Tomcat app to securely store > and retrieve the password it needs to access a DB. >

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Leo Donahue
On Feb 12, 2016 3:19 PM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: > > On 2/12/16, 3:08 PM, "Leo Donahue" <donahu...@gmail.com> wrote: > > > >On Feb 12, 2016 2:58 PM, "Dougherty, Gregory T., M.S." < > &g

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Leo Donahue
ougherty, Gregory T., M.S. wrote: > >> On 2/12/16, 3:08 PM, "Leo Donahue" <donahu...@gmail.com> wrote: > >> > >> > >>> On Feb 12, 2016 2:58 PM, "Dougherty, Gregory T., M.S." < > >>> dougherty.greg...@mayo.edu> wrot

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Leo Donahue
On Fri, Feb 12, 2016 at 5:33 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Gregory, > > > > The web app needs a DB password so it can connect to the > > DB. > > I disagree that the web app needs a

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-16 Thread Leo Donahue
the appearance of security simply because of the Tomcat environment you have to work with. I think we all want you to succeed here, but the approach you're leaning towards isn't going to work. > Gregory Dougherty > Sr. Analyst/Programmer | Information Technology > Information Technology > (5

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-16 Thread Leo Donahue
On Feb 16, 2016 10:50 AM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: > > On 2/16/16, 9:13 AM, "Christopher Schultz" > wrote: > > > >Gregory, > > > >On 2/15/16 11:18 AM, Dougherty, Gregory T., M.S. wrote: > >> How to trade information with a

Re: context root with relative path

2016-04-21 Thread Leo Donahue
On Apr 21, 2016 10:38 AM, "David kerber" <dcker...@verizon.net> wrote: > > On 4/21/2016 11:33 AM, Leo Donahue wrote: >> >> Chris, >> >> On Apr 21, 2016 9:15 AM, "Christopher Schultz" < ch...@christopherschultz.net> >> wrote

  1   2   3   4   >