Re: Memory Leak

2016-06-28 Thread Leo Donahue
On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: > > I am running a middleware application in .. tomcat... Ok. This is something you wrote and deployed or it is a third party war file? > > catalina.out.prob:SEVERE: The web application [] appears to have started a > thread named [cluster-ClusterI

[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 authentic

Re: Unable to update or delete Windows Service

2016-05-16 Thread Leo Donahue
Chris, On Mon, May 16, 2016 at 3:22 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chuck, > > On 5/16/16 4:11 PM, Caldarale, Charles R wrote: > >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > >> Subject:

Re: Windows Service won't launch

2016-05-16 Thread Leo Donahue
Chris, On Mon, May 16, 2016 at 3:25 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I'm upgrading a client's system from Tomcat 7 to Tomcat 8 as part of a > new release of our software. I've got Tomcat 8 installed usi

Re: context root with relative path

2016-04-21 Thread Leo Donahue
On Apr 21, 2016 10:38 AM, "David kerber" 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: >>> >>> >

Re: context root with relative path

2016-04-21 Thread Leo Donahue
Chris, On Apr 21, 2016 9:15 AM, "Christopher Schultz" wrote: > > I don't have a Windows machine handy right this minute, but from my > previous experience, "C:" means "the current working directory on the C > drive, from this process's perspective. > > For instance: > > D:\> DIR C:\ > ... > Progr

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 specified URL calling java code i

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
r 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 > Informa

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:46 PM, Dougherty, Gregory T., M.S. < dougherty.greg...@mayo.edu> wrote: > Chris, > > > On 2/12/16, 5:27 PM, "Christopher Schultz" > wrote: > > >Gregory, > > > >On 2/12/16 4:19 PM, Dougherty, Gregory T., M.S. w

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 password

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" wrote: > > > >On Feb 12, 2016 2:58 PM, "Dougherty, Gregory T., M.S." < > >dougherty.greg...@mayo.

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 LDAp

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 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-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 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 agr

Re: heap thrashing

2015-09-12 Thread Leo Donahue
On Sat, Sep 12, 2015 at 7:49 AM, André Warnier (tomcat) 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 come up from time to time

Re: heap thrashing

2015-09-12 Thread Leo Donahue
On Fri, Sep 11, 2015 at 11:27 AM, Mark Thomas wrote: > On 11/09/2015 15:43, Leo Donahue wrote: > > On Fri, Sep 11, 2015 at 9:36 AM, Leo Donahue > wrote: > > (typically by pooling and re-using objects rather than > creating new ones for every request) "re-us

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. &g

Re: heap thrashing

2015-09-11 Thread Leo Donahue
On Fri, Sep 11, 2015 at 9:36 AM, Leo Donahue 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 there isn't much > to

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 gra

[OT] Re: Filter behaviour

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

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 responsi

Re: Filter behaviour

2015-06-26 Thread Leo Donahue
On Fri, Jun 26, 2015 at 1:42 AM, André Warnier 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 much and not eno

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 assume

Re: Removing ThreadLocal variables

2015-04-13 Thread Leo Donahue
On Mon, Apr 13, 2015 at 6:57 PM, Konstantin Kolinko wrote: > 2015-04-14 2:28 GMT+03:00 Leo Donahue : > > > > 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 th

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 > c

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 setThreadLo

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 > > wrote: &

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 wrote: > On Tue, Jan 20, 2015 at 5:09 PM, Mark Thomas wrote: > >> The Apache Tomcat team announces the immediate availability of Apache >> Tomcat 8.0.17. >> >> - The RemoteAddrValve and RemoteHostValve can now optiona

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 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 > authentication r

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 so

Re: throttle filter

2014-12-02 Thread Leo Donahue
On Tue, Dec 2, 2014 at 3:28 PM, Chris Gamache 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 number of reque

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: Help! parallel deployment problem.

2014-11-24 Thread Leo Donahue
On Mon, Nov 24, 2014 at 5:48 PM, Chris Gamache 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 Help! > Before

Re: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 2:53 PM, Nick Wall 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 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 wi

Re: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 2:36 PM, Nick Wall 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 wrote: &

Re: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
On Wed, Nov 5, 2014 at 1:48 PM, Nick Wall 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 everything over. >

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 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 opinion. or am

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 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 >> Apac

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 < > &

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

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

[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: 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 t

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.Provider > exposed by declaring them as servlets in web.xml. However

Re: Question on Thread Local

2014-09-02 Thread Leo Donahue
On Tue, Sep 2, 2014 at 3:00 PM, Leon Rosenberg 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.Map>, in which you can > access variables that are 'attached' logically to the current T

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 vari

Re: Restricting SSL access within webapp

2014-08-01 Thread Leo Donahue
On Fri, Aug 1, 2014 at 1:55 PM, John Smith 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 admin app to another in

Re: Windows performance issue

2014-07-22 Thread Leo Donahue
On Jul 21, 2014 4:03 AM, "Omar Orzenini" 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, WIndows Server

Re: jax-ws

2014-07-18 Thread Leo Donahue
On Sun, Jul 13, 2014 at 10:23 PM, Leo Donahue 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.ht

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/tomc

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 docu

Re: Interface default methods

2014-07-03 Thread Leo Donahue
On Thu, Jul 3, 2014 at 1:05 AM, Mark Thomas wrote: > On 3 July 2014 04:11:32 GMT+01:00, Leo Donahue > 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

[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 wrote: > Leo Donahue wrote: > >> On Wed, Jul 2, 2014 at 2:33 AM, André Warnier wrote: >> >> Blachon, Philippe wrote: >>> >>> >>> Why would one run a virus scanner permanently on a Tomcat server ?

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 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

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: 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 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 >> >> W

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 : 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 the repositori

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: users-h...@to

Re: Maximum number of JSP ?

2014-04-11 Thread Leo Donahue
On Fri, Apr 11, 2014 at 8:52 AM, Sylvain Goulmy 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 the contents of

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

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 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 the buggy > ope

Re: grab hostname from tomcat manager

2014-04-02 Thread Leo Donahue
On Wed, Apr 2, 2014 at 6:07 AM, 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? > > Best Regards,

Re: SSL Certificates

2014-03-31 Thread Leo Donahue
On Mon, Mar 31, 2014 at 7:19 AM, Bomma, Nithun wrote: > 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 Tomcat. > > Have

Re: Connection pooling issue on Tomcat

2014-03-28 Thread Leo Donahue
On Fri, Mar 28, 2014 at 12:31 PM, Propes, Barry L wrote: > > > -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 got it figured

Re: Realm ldaps

2014-03-27 Thread Leo Donahue
On Thu, Mar 27, 2014 at 10:20 AM, 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

Re: Realm ldaps

2014-03-27 Thread Leo Donahue
On Thu, Mar 27, 2014 at 8:45 AM, wrote: > Hello, > > I like to change my ldap jndirealm to ldaps. > > > className="org.apache.catalina.realm.UserDatabaseRealm" > resourceName="UserDatabase"/> > connectionName

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Leo Donahue
On Wed, Mar 26, 2014 at 12:35 PM, André Warnier 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: 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, s

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 ke

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: http://www.my

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 wrote: >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 option would you have if n

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 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. > > > 30

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 < > &

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 >

Re: JNDIRealm - Active Directory Roles

2014-03-14 Thread Leo Donahue
On Fri, Mar 14, 2014 at 2:12 AM, 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: > > > > > > > That is a UserDatabaseRealm: org.

Re: JNDIRealm - Active Directory Roles

2014-03-13 Thread Leo Donahue
On Thu, Mar 13, 2014 at 10:15 AM, wrote: > Hello, > > server.xml: > connectionName="CN=SVC,OU=Service > Accounts,OU=SITES,OU=\#KONFIGURATION,DC=DOM,DC=de" > connectionPassword="_2VK!WHzybn1SJ8P" > > connectionURL="ldap://server:389/OU=SITES,OU=\#KONFIGURAT

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Mar 12, 2014 2:15 PM, "André Warnier" 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: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:58 AM, Leo Donahue wrote: > On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue wrote: > >> On Wed, Mar 12, 2014 at 11:28 AM, John Smith wrote: >> >>> Is there a straightforward way to toggle or add something in Tomcat, in >>> the >&

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue wrote: > On Wed, Mar 12, 2014 at 11:28 AM, John Smith wrote: > >> 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:28 AM, John Smith wrote: > 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 any and > all requests

Re: The Service Component

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 7:26 AM, Jeffrey Janner 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 > > > &g

Re: The Service Component

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

Re: Tomcat and Spring Framework

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 12:58 PM, Mark H. Wood 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. Tomcat itsel

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

Re: Tomcat and Spring Framework

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

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: 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 mu

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 c:\apache-tomcat-dev\

Re: The Service Component

2014-03-07 Thread Leo Donahue
On Fri, Mar 7, 2014 at 9:37 AM, Christopher Schultz 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 C

Re: The Service Component

2014-03-07 Thread Leo Donahue
On Fri, Mar 7, 2014 at 9:01 AM, Leon Rosenberg 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 the 'main' connector,

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: 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 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 Inst

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 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 certificate > pre

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: 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 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. You are miss

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 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: [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 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, or maybe it wasn't T

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

  1   2   3   4   >