Re: Jars in Tomcat lib directory

2021-01-18 Thread Martin Grigorov
Hi, On Mon, Jan 18, 2021 at 10:38 PM Jonnalagadda, Swathi (External) < swathi.jonnalaga...@xerox.com> wrote: > The application was an age old application and was built using ant which > means all required jars will be packaged. > > As part of testing the application after upgrading to Java 1.8

SSL trouble in embeddedLand

2021-01-18 Thread Rob Sargent
Stuck in my basement with no real domain I'm having trouble setting up SSL/TLS on an embedded tomcat instance. And I'm very lost, having tried more dead ends than I can remember. I used this to generate cert and key openssl req -out localhost.crt -key localhost.key \ -newkey rsa:2048 -nodes

Re: Jars in Tomcat lib directory

2021-01-18 Thread Mounika Reddy
If you need more jars, ideally you should fix the ant build to include additional dependencies. Anyways, can you post the logs here ? It's possible there may be a conflicts etc On Mon, Jan 18, 2021, 3:38 PM Jonnalagadda, Swathi (External) < swathi.jonnalaga...@xerox.com> wrote: > The application

RE: Jars in Tomcat lib directory

2021-01-18 Thread Jonnalagadda, Swathi (External)
The application was an age old application and was built using ant which means all required jars will be packaged. As part of testing the application after upgrading to Java 1.8 and deployed in tomcat 9, I realized that couple of additional jars are required during runtime. I then added these

Re: Reg: Jars under web-inf lib being accessed by tomcat even when the application is not running.

2021-01-18 Thread Mark Thomas
On 18/01/2021 16:13, Jalaj Asher wrote: > We have a situation where in we are seeing with tomcat 8.5 and higher that > even when the application is not in use , tomcat is accessing different jars > in that web-inf/ lib folder every few seconds or few minutes. > > These jars are not getting

Re: Jars in Tomcat lib directory

2021-01-18 Thread Mounika Reddy
It means your tomcat setup is screwed up. You can actually package in your application as a dependency and see if it picks up. If not, then post the logs here to understand what's going on On Mon, Jan 18, 2021, 1:09 PM Jonnalagadda, Swathi (External) < swathi.jonnalaga...@xerox.com> wrote: > I

RE: Jars in Tomcat lib directory

2021-01-18 Thread Jonnalagadda, Swathi (External)
I am not sure if I am missing some configuration setting but what I see is unless I add externally added jars under tomcat/lib to classpath I don’t see them considerd by Tomcat irrespective of wether they are needed or not. For example I added ojdbc14.jar to Tomcat lib directory assuming that

Reg: Jars under web-inf lib being accessed by tomcat even when the application is not running.

2021-01-18 Thread Jalaj Asher
We have a situation where in we are seeing with tomcat 8.5 and higher that even when the application is not in use , tomcat is accessing different jars in that web-inf/ lib folder every few seconds or few minutes. These jars are not getting loaded in memory , we profiled it to check if they

Re: what is the exact order of filters?

2021-01-18 Thread Johan Compagner
> You need to read section 8.2.3 of the servlet specificaiton > > > If the order in which the listeners, servlets, filters are invoked is > important to an application then a deployment descriptor must be used. > Also, if necessary, the ordering element defined above can be used. As > described

Extensibility of LegacyCookieProcessor?

2021-01-18 Thread Polina Georgieva
Hello, On our Tomcat 8 we are currently using org.apache.tomcat.util.http.LegacyCookieProcessor and we need to override its method generateHeader(Cookie cookie, HttpServletRequest request) to handle sameSite cookie attribute in a custom way. However the LegacyCookieProcessor class is final (not

Re: Jars in Tomcat lib directory

2021-01-18 Thread Mounika Reddy
It will provided if your application requires. On Mon, Jan 18, 2021, 7:54 AM Jonnalagadda, Swathi (External) < swathi.jonnalaga...@xerox.com> wrote: > Hi > > Doesn’t tomcat consider jar files under lib directory in classpath. Do we > have to do any additional configuration for that? > > > Thanks

Jars in Tomcat lib directory

2021-01-18 Thread Jonnalagadda, Swathi (External)
Hi Doesn’t tomcat consider jar files under lib directory in classpath. Do we have to do any additional configuration for that? Thanks Swathi

Re: TomCat 9 service failed to start on Windows after TomCat 9 update

2021-01-18 Thread Mark Thomas
On 18/01/2021 04:40, Igor Sluge wrote: > > Hello, > Thanks for your answer. Do you know is anyway to specify «Local System» user > for «tomcat9.exe" //IS//» command  > via cmd? --ServiceUser "LocalSystem" should do it. Mark >> Пятница, 15 января 2021, 16:34 +03:00 от Robert Turner >> : >>

RE: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-18 Thread Jonnalagadda, Swathi (External)
Hi Schultz Please find sample code below Suffix is there in request so .. RequestDispatcher rd = context.getRequestDispatcher(sample.xls); String contentType =((request.getParameter(SUFFIX) !=null) && ((request.getParameter(SUFFIX).equalsIgnoreCase("xls"