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

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

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

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-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: 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: 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: Single error page for multiple web applications

2013-12-31 Thread Leo Donahue
e back regarding JSF templates. If you pick a location to share this resource among all web apps, then your web apps aren't self contained. The solution is in your build / deploy process. If you want to ignore that advice, Tomcat 8 now has webAppMount, if want to go there. I still haven't had a chance to explore that option. Leo

Re: ApacheCon NA 2014

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

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

2014-01-23 Thread Leo Donahue
d that all of those people get used to top posting, because they know nothing different, until they come here. I'm getting used to bottom posting, but it drives my co-workers crazy and is not proper form where I work. I think this

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

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

Tomcat JDBC Error

2014-01-24 Thread Leo Medina
e accurate, though still having the following error and cannot crank start the application. I would sincerely appreciate any assistance. Thanks and kind regards, Leo Output from the catalina.2014-01-24.log Jan 24, 2014 9:25:22 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR ba

Re: Tomcat JDBC Error

2014-01-27 Thread Leo Medina
our original integration. You also mention that it *must* be present, yet if I don't need it to remove it." Sorry a little confused on that statement, can you please clarify. Thanks and kind regards, Leo On Fri, Jan 24, 2014 at 10:31 AM, Mark Thomas wrote: > On 24/01/2014 18

Re: Tomcat JDBC Error

2014-01-28 Thread Leo Medina
ep -i mysql ; done for: Command not found. jar: Undefined variable. Thanks, Leo On Tue, Jan 28, 2014 at 6:45 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Leo, > > On 1/27/14, 12:17 PM, Leo Medina

question regarding tomcat source code and dependencies

2014-02-06 Thread Leo Donahue
I see where the object dependencies that FileUploadBase.java has, like FileItemIteratorImpl, just simply place those dependent classes in the same java source file. I don't see a problem with that approach, should I? Leo --

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 fo

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: 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: Unable to shutdown Tomcat

2014-02-14 Thread Leo Medina
Hello have you tried: ps -ef | grep kill -9 On Fri, Feb 14, 2014 at 10:44 AM, Pooja Swamy wrote: > I am unable to shutdown my tomcat gracefully. Everytime I try to shutdown > tomcat, this is the error I get. > > test@17.198.48.77:/Users/test/software/tomcat/bin>./startup.sh > Using CATALINA

Re: Unable to shutdown Tomcat

2014-02-14 Thread Leo Medina
14, 2014 at 2:03 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > > > > From: Leo Medina [mailto:leo.medi...@gmail.com] > > > Subject: RE: Unable to shutdown Tomcat > > > > > Hello have you tried: > > > ps -ef | grep > >

linux vs windows responses on the list

2014-02-24 Thread Leo Donahue
hin the Tomcat installation directory. But I guess I didn't understand the OP. Is it time for us to go to Linux? Leo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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

Re: Installing the OWF webapp to an existing Tomcat Instance

2014-02-25 Thread Leo Medina
UNSUBSCRIBE On Mon, Feb 24, 2014 at 3:46 PM, J. Brian Hall wrote: > Hey Chuck, thanks (I was worried someone would yell at me for posting this > question here). Responses are below ... > > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Monda

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

The Service Component

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

Re: The Service Component

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

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

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

Tomcat and Spring Framework

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

Re: Tomcat and Spring Framework

2014-03-07 Thread Leo Donahue
On Fri, Mar 7, 2014 at 3:41 PM, Konstantin Kolinko 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 > > &

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

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

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

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

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

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

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

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

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

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

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

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
would settle on even 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 so

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

  1   2   3   4   >