Re: Tomcat 9: Java 11 to Java 17

2024-06-10 Thread Paul Leo
I could be wrong, but I don't think you need jakarta for Tomcat 9.  You need it for TomEE 9 and Tomcat 10.  But please someone verify. On 6/10/2024 1:44 PM, Ryan Esch wrote: Hi folks,I have a webapp running Apache Tomcat 9.0.67 with Java 11, using JASPIC for authentication. For reference, usin

Re: Issue Migrating servlets to 10.1

2023-11-21 Thread Paul Leo
I believe you can make use of a migration tool.Apache Tomcat® - Migration Guide - Tomcat 10.0.xtomcat.apache.orgfrom tomcat 9 to tomcat 10.0Specification APIsApache Tomcat 10 supports the Jakarta Servlet 5.0, Jakarta Server Pages 3.0, Jakarta _expression_ Language 4.0, JakartaWebSocket 2.0 and Jaka

Re: How to access Tomcat session objects directly via JavaScript?

2021-05-18 Thread leo
On 17 May 2021, at 22:19, Christopher Schultz wrote: > Leo, > > On 5/15/21 21:16, leo wrote: >> Hi Folks >> >> In a small scale personal project served by Tomcat I record things per >> logged-in user. The user is available as an attribute to Tomcat’s sessio

Re: How to access Tomcat session objects directly via JavaScript?

2021-05-18 Thread leo
On 17 May 2021, at 16:41, Luis Rodríguez Fernández wrote: > Hello Leo, > > You can add your custom header in the response via the > HttpServletResponse.addHeader() [1] method. > That’s exactly what I was looking for! …However it doesn’t help much, because I have just

Re: How to access Tomcat session objects directly via JavaScript?

2021-05-16 Thread leo
s they don’t break existing stuff!). Any way to find out what taglib the server provides? > or is your example purely hypothetical? No, no not at all. This is the code I use. Thanks and regards, Leo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

How to access Tomcat session objects directly via JavaScript?

2021-05-15 Thread leo
r so that JavaScript can read it directly? Thanks for any pointers, Leo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Run servlets on Nashorn written in server-side JavaScript

2021-03-02 Thread leo
get up and running with them. […] Thank you very much. Will check it out! Leo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-25 Thread leo
Rony, On 25 Feb 2021, at 2:47, Rony G. Flatscher (Apache) wrote: P.S.: Have tested my implementation with Nashorn on Java 8 and it works out of the box! Still, you would need to test the implementation thoroughly yourself (stability, performance, resources) and would be asked to come back with

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-22 Thread leo
On 18 Feb 2021, at 5:50, Woonsan Ko wrote: [...] I found one example: https://stackoverflow.com/questions/27710407/reuse-nashorn-scriptengine-in-servlet As a servlet implementation may embed a Jython engine to execute a python script, it will end up embedding a JS engine in a servlet to execut

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-22 Thread leo
On 18 Feb 2021, at 3:15, André Warnier wrote: On 17.02.2021 14:59, Christopher Schultz wrote: […] On the face of it, it looks much simpler to set up a local Nodejs server, and proxy the corresponding requests from Tomcat to it. Regarding why a servlet _in_ Tomcat and not a proxy: The produc

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-22 Thread leo
Chris, On 18 Feb 2021, at 0:59, Christopher Schultz wrote: Weird; I never saw the OP on the list, only Rony's reply. Weird indeed. I just posted to users@tomcat.apache.org, but maybe because it was my first post it was held back for a while? Usually if you want to use server-side JavaScrip

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-22 Thread leo
would try it out! Cheers, Leo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Run servlets on Nashorn written in server-side JavaScript

2021-02-14 Thread leo
Many thanks for any pointers, Leo ps: I use Tomcat 8.5, but I could move to another Tomcat version for this. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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
u would be authenticating a service user to another service. (Think of service user as the user running a tomcat instance.) Is anyone choosing to extract authentication into a wsdl service these days? Or is that old news. Leo

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
at using "C:" (with no trailing path) from Java would > behave the same way: the current working directory *on that drive* would > be the one used. > > I would expect it to work just like "." on *NIX. > > -chris > > ------ On Windows 7 from a command prompt: >C:\downloads dir c: Shows contents of downloads >C:\downloads dir c:\ Shows contents of c drive Leo

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
rd must be updated every six months. > > So I have to be able to change the password, and inform my web app > > of the changed password. > > Aah, yes. Password-rotation. That definitely keeps things secure. :( > > >> A. You don't get to manage your passwords. >

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
y. B. What is "it"? The web app? The web app user? Leo

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 location. The Tomcat "app" should not have anything to do with this. Leo

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
pp called it. I would agree with what the others are saying here. It seems you are trying to authorize an entire web app instead of authoring the user of the web app. If the jar simply needs to take action based on a role of some kind, then could you not tie in a ldap user with appropriate role? Leo

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
milar graph - it's close to what I'm seeing in VisualVM, but not quite. Is heap thrashing a very "closely spaced" saw tooth pattern? Leo

[OT] Re: Filter behaviour

2015-06-27 Thread Leo Donahue
d is merely expired. In situations like those, it seems more reasonable to send back a Soap Fault of some kind as defined in the schema. The message could be as simple as: Authorization failed. It seems easier for clients to know that a soap web service may throw a ClientAuthorizationException for example, rather than parse out a HTTP status code response? I don't know though. Leo

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

Re: Filter behaviour

2015-06-26 Thread Leo Donahue
ponse = (HttpServletResponse) response; httpResponse.sendError(HttpServletResponse.HttpServletResponse.SC_FORBIDDEN); return; What I'm seeing on other containers is that I get a NPE where the Service class is trying to do something with the authenticated user, which is null. I realize this is not an "other containers" forum, but I was just curious what the expected behaviour *should* be. Leo

Filter behaviour

2015-06-25 Thread Leo Donahue
share it. Are there any conditions in which Tomcat will decide what to do on its own, related to sendError, when it can't figure it out from code? Leo Using CATALINA_BASE: "C:\apache-tomcat\apache-tomcat-7.0.62" Using CATALINA_HOME: "C:\apache-tomcat\apache-tomcat-7.0.62&quo

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)

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
would settle on even the basic ability to say: For this web service/app, allow only x many connections per sec/min/hour. Leo

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
get to use the same service account, if you created one. You will also want to check the 2003 tomcat7w.exe for any custom options you used there, like memory settings, etc. leo

Re: Security Best Practices on Windows Service

2014-11-05 Thread Leo Donahue
installation directory and optional CATALINA_BASE (if you separated them). We did not use domain accounts for the Tomcat service account because the Tomcat service account did not need access to network resources in our setup. Create a strong password. Leo

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
ike this is the favored approach for two reasons: 1. Annotations exist to make creating the wsdl easier 2. Toolkit utilities exist to make creating the wsdl easier I don't want to start an argument, but where do most of you find yourselves? Are you creating your wsdls from scratch or from a set of Java classes? leo

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
omcat.apache.org/msg113562.html I can't really answer your question directly because I can't help you troubleshoot a 404 without more info. leo

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
t move this admin app to another instance of Tomcat? Why dangle it out there on the same server that has all your other non-SSL required webapps? Just asking. leo

Re: Windows performance issue

2014-07-22 Thread Leo Donahue
Server 2008 R2 64, WIndows Server 2012 R2): > > Second step: share the webapps folder (eg. c:\webapps) and change in the > server.xml "AppBase" from "webapps" to "\\servername\webapps". And now you have a dns query to lookup that server name each time. Does fully qualified domain name of the server help improve performance? Leo

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
m the metro download here: https://jax-ws.java.net/ What do I need to create a simple jax-ws sample and deploy in Tomcat 7.0.54? leo

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
Eventually, that server has the potential for getting a virus somehow from something or someone, and someone has to answer the question: "why wasn't there virus scanning software on the server?" Leo

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
; > If you are using Basic Authentication, without sessions, even httpd would > need to re-authenticate to AD/LDAP with every request, no ? > > > I'm somewhat more concerned for the OP if he is using Basic Authentication and LDAP. Passwords going over the network unprotected. Am I the only one seeing this? Leo

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

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 yo

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

  1   2   3   4   >