Re: Projects dependencies, warnings Runtime ClassNotFoundExceptions may result, quick fixes

2020-01-22 Thread Lmhelp1
Hope it helps, Luis El mié., 22 ene. 2020 a las 13:10, Lmhelp1 () escribió: Hello, I am using Tomcat v9.0 anddeploying war files to it. I use Eclipse to develop the Webapps. So, in Eclipse, I have two "Dynamic Web Projects" "dwp1" and "dwp2". I have another J

Projects dependencies, warnings Runtime ClassNotFoundExceptions may result, quick fixes

2020-01-22 Thread Lmhelp1
Hello, I am using Tomcat v9.0 anddeploying war files to it. I use Eclipse to develop the Webapps. So, in Eclipse, I have two "Dynamic Web Projects" "dwp1" and "dwp2". I have another Java project "jp". Both classes of projects "dwp1" and "dwp2" need and use classes of project "jp". For both

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-22 Thread Lmhelp1
Hello Chris and all, Sorry for my late answer. Thank you for the link you suggested me to read. Adding the element: UTF-8 to "web.xml" solved my problem. Best regards, -- Léa On 17/01/2020 3:17 PM, Christopher Schultz wrote: Your filter changes the encoding of both the request AND the

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-17 Thread Lmhelp1
Hello, Thank you for your answer. So, I removed the filter from "web.xml". Now, some characters with diacritics are rendered properly (for example constant strings like menu entries: "Présentation"). But I created a new user "Léa": I entered "Léa" in a input type text HTML element and

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread Lmhelp1
Hello, Thank you for your answers. I changed /* to *.jsp I also un-commented the line: servletResponse.setContentType("text/html; charset=" + Finals.S_CHARSET); It looks like the problem is solved. > André Warnier wrote: > As another way of avoiding that problem, you may also want to change

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread Lmhelp1
Hello, Thank you for your answer. Indeed, I have such a filter: In "web.xml":       EncodingFilter com.[...].EncodingFilter     requestEncoding   UTF-8             EncodingFilter     /*  

Re: ClassNotFoundException - Involving a class implementing Filter and two projects depending on another one

2015-03-29 Thread Lmhelp1
On 3/29/2015 5:36 PM, André Warnier [via Tomcat] wrote: Lmhelp1 wrote: Hello, Thank you for reading my post. I am getting a ClassNotFoundException. Below is the situation. - I'm working with Eclipse (Luna), Tomcat 8 and Java 8. - I have three projects project1, project2 and project3

ClassNotFoundException - Involving a class implementing Filter and two projects depending on another one

2015-03-29 Thread Lmhelp1
Hello, Thank you for reading my post. I am getting a ClassNotFoundException. Below is the situation. - I'm working with Eclipse (Luna), Tomcat 8 and Java 8. - I have three projects project1, project2 and project3. - project1 and project2 depend on the third project project3. In Project -

Re: ClassNotFoundException - Involving a class implementing Filter and two projects depending on another one

2015-03-29 Thread Lmhelp1
On 3/29/2015 6:06 PM, Lmhelp1 wrote: On 3/29/2015 5:36 PM, André Warnier [via Tomcat] wrote: Lmhelp1 wrote: Hello, Thank you for reading my post. I am getting a ClassNotFoundException. Below is the situation. - I'm working with Eclipse (Luna), Tomcat 8 and Java 8. - I have three

Re: ClassNotFoundException - Involving a class implementing Filter and two projects depending on another one

2015-03-29 Thread Lmhelp1
On 3/29/2015 6:57 PM, Tim Watts-3 [via Tomcat] wrote: On Sun, 2015-03-29 at 18:06 +0200, Lmhelp1 wrote: On 3/29/2015 5:36 PM, André Warnier [via Tomcat] wrote: Lmhelp1 wrote: Hello, Thank you for reading my post. I am getting a ClassNotFoundException. Below

Re: How to protect a Tomcat server/Webapp from (D)DOS attacks

2014-06-18 Thread Lmhelp1
Hello Chris, Thank you for your answer. Apache ships with mod_evasive that allows you do this. I have used this in the past with some success. The other alternative I am aware of is to use mod_security. It looks interesting. I am not aware of anything that will run directly in front of

How to protect a Tomcat server/Webapp from (D)DOS attacks

2014-06-17 Thread Lmhelp1
Hello, My question is not really Tomcat specific but, as my Webapp is a Tomcat Webapp, I thought I should post this question here. Below is what I would like to ask you: How do you usually protect your Tomcat servers and Webapps from (D)DOS ((Distributed) Denial-of-service) attacks? At

Re: Remote Tomcat webapps bidirectional communication

2014-06-16 Thread Lmhelp1
it to the Tomcat Webapp. I haven't yet looked for a solution... Again thank you and best regards. -- Léa On 2014-06-16 5:51 PM, André Warnier wrote: Lmhelp1 wrote: Hello, My question is about what code to write to allow two remote Tomcat webapps to communicate with one another through

Remote Tomcat webapps bidirectional communication

2014-06-14 Thread Lmhelp1
Hello, My question is about what code to write to allow two remote Tomcat webapps to communicate with one another through the Internet. Let me explain more precisely what I would like to do. (I'm just simplifying a bit the real situation). - I have a Tomcat webapp running on a server in

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread Lmhelp1
On 2014-03-13 11:57 AM, André Warnier wrote: Yes, I cannot really think off-hand of any serious problem that this may cause. Basically, it all depends on the context. If this is a one-off thing that you are doing, on your personal website, on a server on which there is no really critical

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread Lmhelp1
On 2014-03-13 12:03 PM, André Warnier wrote: On 2014-03-12 11:49 PM, Neven Cvetkovic [via Tomcat] wrote: How about setting up umask 002 on tomcat6 user? All newly created files would be have 775 permission. Yes, well, how shall I do that? Personally, I don't think you should. The scary

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread Lmhelp1
On 2014-03-14 12:45 PM, André Warnier wrote: Lmhelp1 wrote: On 2014-03-13 11:57 AM, André Warnier wrote: Yes, I cannot really think off-hand of any serious problem that this may cause. Basically, it all depends on the context. If this is a one-off thing that you are doing, on your personal

Re: Tomcat-user versus StackOverflow

2014-03-14 Thread Lmhelp1
On 2014-03-14 3:59 PM, Christopher Schultz wrote: Don't worry: I wasn't trying to single you out. There are lots of people who do it. Now that you're here, I hope you continue to consider yourself a member of the community and remain a mailing list contributor. You can learn a lot from reading

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread Lmhelp1
On 2014-03-12 11:32 PM, André Warnier [via Tomcat] wrote: Ok, I understand : the target directory is not created by you, it is created by Tomcat, so Tomcat sets these permissions, and they do not fit what you want to be able to do. That's it, I only miss the write permission for the owner

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread Lmhelp1
Hello and thank you for your answer. On 2014-03-12 11:49 PM, Neven Cvetkovic [via Tomcat] wrote: How about setting up umask 002 on tomcat6 user? All newly created files would be have 775 permission. Yes, well, how shall I do that? Who is placing these files into the webapp folder? I am

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread Lmhelp1
On 2014-03-11 7:44 PM, André Warnier [via Tomcat] wrote: Maybe easier : supposing that your user-id is lmhelp1. Do adduser lmhelp1 tomcat6 (that will add your user-id to the group tomcat6). Then logout, and login again. Then you would already have the permissions to read/write any file that has

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread Lmhelp1
Hello and thank you for your answer. On 2014-03-12 11:54 AM, André Warnier wrote: If all you need to do, is to 1) read those files, to look at them 2) if they are ok, move them somewhere else 3) if they are not ok, delete them That's it. then (under Linux) you do not need write permissions

Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Lmhelp1
-- Files created by a Tomcat webapp and owner, owner group, permissions for this file -- Hello and thank you for reading my post. I am running a Tomcat v6.0 webapp on a Debian 7.2 Wheezy OS. In particular, this webapp creates some files on the filesystem. The files created have: - tomcat6 as

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Lmhelp1
. Yes, well, if I log in as tomcat6, it will work. Best regards, -- Léa On 2014-03-11 6:16 PM, André Warnier wrote: Lmhelp1 wrote: -- Files created by a Tomcat webapp and owner, owner group, permissions for this file -- Hello and thank you for reading my post. I am running a Tomcat v6.0