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,

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

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

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

2021-05-16 Thread leo
s (as long as 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
ilar 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

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

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

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

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

[OT] Authentication

2016-06-01 Thread Leo Donahue
you 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

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

Re: context root with relative path

2016-04-21 Thread Leo Donahue
-------- 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

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-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: 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
. 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 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 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
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
onths. > > 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. > >> > >> B.

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

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] Re: Filter behaviour

2015-06-27 Thread Leo Donahue
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
; 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

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

Filter behaviour

2015-06-25 Thread Leo Donahue
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 Using CATALINA_TMPDIR: C:\apache-tomcat\apache-tomcat

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

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

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

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

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

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
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: Moving tomcat Ver 6.0

2014-11-05 Thread Leo Donahue
one. You will also want to check the 2003 tomcat7w.exe for any custom options you used there, like memory settings, etc. leo

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

[OT] jaxws 2.2 spec

2014-11-03 Thread Leo Donahue
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: 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: 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

Re: JAX-WS Web Services

2014-10-13 Thread Leo Donahue
answer your question directly because I can't help you troubleshoot a 404 without more info. leo

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: Restricting SSL access within webapp

2014-08-01 Thread Leo Donahue
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
? Leo

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

jax-ws

2014-07-13 Thread Leo Donahue
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

[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

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
it. The answer to that question is really based on policy, if he works in government. 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

Re: Stateless application is very slow using LDAP authentication

2014-04-22 Thread Leo Donahue
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

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

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

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?

  1   2   3   4   >