Re: [EXTERNAL EMAIL] Re: JSP include not working

2023-12-05 Thread Niranjan Rao
on't get the include error, contents of the include file are not getting included. Trying to figure out why. At least now status code has changed from 500 to 200. Not working yet but progress never the less. Regards, Niranjan On 12/5/23 11:09, Rob Sargent wrote: On 12/5/23 12: 01

Re: [EXTERNAL EMAIL] Re: JSP include not working

2023-12-05 Thread Niranjan Rao
Thank you Rob, but doubtful. We're a Ubuntu shop and always mindful of case sensitivity. On 12/5/23 11:09, Rob Sargent wrote: On 12/5/23 12: 01, Niranjan Rao wrote: > Greetings, > > I'm missing something obvious and hoping that someone can point my > nose in right direction. &

JSP include not working

2023-12-05 Thread Niranjan Rao
to include JSP. Any log files do not show any exception trace, but access log file logs the error with 500 status code. Am I missing something obvious? Regards, Niranjan -- *Niranjan Rao | Sr.Architect */he/his/ *Paymentus **Paymentus Corporation***/The Real-Time Bill Payment Company^TM

Re: [EXTERNAL EMAIL] Please help me install Tomcat

2023-01-19 Thread Niranjan Rao
im>// //lines 2916-2938/2938 (END)/ I really don't even know what to do with that info. I am an enthusiast programmer and not a trained computer programmer, thus I find this kind of things really challenging. an anyone help? /Thanks/ -- *Niranjan Rao | Sr.Architect **Paymentus **Paymentus C

Re: [EXTERNAL EMAIL] FW: Errors in Tomcat logs / application processing

2022-11-08 Thread Niranjan Rao
Please remember to remove any passwords or sensitive data when you post on public email lists On 11/8/22 00:58, Ganesan, Prabu wrote: ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍

Re: [EXTERNAL EMAIL] About granting permissions to Tomcat JVM

2022-10-20 Thread Niranjan Rao
Are you using FileInputStream or FileOutputSteam on the file and closing the stream before deletion? If so, change to Files.newInputSteam or Files.newOutputStream. One of our application (not a web application) was running out of file handles even though we were closing the file handles.

Re: Latest version url

2022-09-03 Thread Niranjan Rao
Came up with a one liner in case if someone else needs it. If you think it can be improvised, please feel free to improvise. Rest of it can fit in the shell script nicely. curl https://tomcat.apache.org/doap_Tomcat.rdf | grep -A2 "Latest Stable 9.0.x Release" | grep "" | sed "s###g"

Re: AW: AW: AW: AW: Filehandle left open when using sendfile

2022-06-21 Thread Niranjan Rao
On 6/20/22 23:59, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Mark, -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 20. Juni 2022 22:13 An: users@tomcat.apache.org Betreff: Re: AW: AW: AW: Filehandle left open when using sendfile On 20/06/2022 11:39, Thomas Hoffmann

Re: CVE-2021-44228 Log4j 2 Vulnerability -- How does this affect Tomcat?

2021-12-14 Thread Niranjan Rao
This is one of the best explanation I've seen. And it does not use the word Minecraft to emphasis the importance. Thank you. Niranjan On 12/13/21 3:36 PM, Christopher Schultz wrote: James, On 12/13/21 14:48, James H. H. Lampert wrote: On 12/13/21 10:53 AM, Mark Thomas wrote: Log4j2

Access log format in the access og files

2021-11-09 Thread Niranjan Rao
Greetings, We are on tomcat 9.* version. Is there any way to log the format string used by access log valve in the access logs? I'd be happy to see the format string like '%h %I %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' in the log files either at top of the file when file rolls to

Re: Using log4j for logging

2021-06-29 Thread Niranjan Rao
or similar. Regards, Niranjan On 6/29/21 12:24 AM, Mark Thomas wrote: On 29/06/2021 01:11, Niranjan Rao wrote: Greetings, I wanted to setup log4j for tomcat logs and google searches seems to indicate that this is possible. Many articles speak about downloading tomcat-juli-adapters.jar from bin

Using log4j for logging

2021-06-28 Thread Niranjan Rao
Greetings, I wanted to setup log4j for tomcat logs and google searches seems to indicate that this is possible. Many articles speak about downloading tomcat-juli-adapters.jar from bin/extras directory. I found out that for tomcat version 9, extras directory is last present on version 9.0.14

Re: What sets Java version at installation?

2021-06-11 Thread Niranjan Rao
Try out following command. Entry with * is the java version your system is set to use. You can use same command to config alternate version. update-alternatives --config java We routinely use multiple versions of JDK on many systems. We just set JAVA_HOME and derive all paths from that. Works

Re: Defining environment variables for a webapp ?

2021-04-26 Thread Niranjan Rao
On 4/14/21 5:29 AM, Rony G. Flatscher (Apache) wrote: A JVM AFAIK would not honor changes to the environment after it got started A serious question. Apologies for selective selection from the response. Are there any operating systems where change in environment is automatically reflected in

Re: Out of memory exception

2021-02-18 Thread Niranjan Rao
On 2/18/21 12:53 PM, Shawn Heisey wrote: On 2/18/2021 12:11 PM, Niranjan Rao wrote: Thank you the response. This is not a web application, but a standalone java program. Hence I said it's not a tomcat question, but a generic JVM question. I have been researching about this a lot and based

Re: Out of memory exception

2021-02-18 Thread Niranjan Rao
different or kind of should average out in the long run. We have examined the data for the tasks and nothing unusual has come out so far. Regards, Niranjan On 2/18/21 10:59 AM, Shawn Heisey wrote: Regards, Niranjan On 2/18/2021 11:36 AM, Niranjan Rao wrote: First apologies for non tomcat question

Out of memory exception

2021-02-18 Thread Niranjan Rao
Greetings, First apologies for non tomcat question. I have seen that there is enough expertise here to provide hints and hints are what I am looking for to solve the problem and question is generic enough. I have tried researching problem to best of my abilities. It all happens on Ubuntu

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

2021-01-14 Thread Niranjan Rao
What everyone is telling you is browser is not seeing right headers.. You can modify your tomcat settings as well as apache2 settings to log outgoing content type header. If tomcat and apache2 headers match, problem is in your tomcat side. If there is a mismatch and tomcat is sending right

Re: Version migration problems

2020-06-19 Thread Niranjan Rao
Christopher Schultz wrote: Niranjan, On 6/18/20 13:47, Niranjan Rao wrote: I am trying to migrate from 7.0.73 to 9.0.36 and facing challenges. Java version and operating system version remains same in both cases. ... and what are those versions? I have carefully reviewed the configurations

Version migration problems

2020-06-18 Thread Niranjan Rao
Greetings, I am trying to migrate from 7.0.73 to 9.0.36 and facing challenges. Java version and operating system version remains same in both cases. I have carefully reviewed the configurations and everything looks ok. Version 9 does not report any problems when starting the application