AW: How do I see the POST payload sent from Tomcat

2023-03-17 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Aditya Kumar <0akum...@gmail.com> > Gesendet: Donnerstag, 16. März 2023 20:29 > An: Tomcat Users List > Betreff: How do I see the POST payload sent from Tomcat > > I have a Java application running un

How do I see the POST payload sent from Tomcat

2023-03-16 Thread Aditya Kumar
I have a Java application running under Tomcat 9. One component of this application is OpenID authentication, in which my application is a relying party. It sends a POST request to https://login.microsoftonline.com, but in one scenario I'm getting an error back from Microsoft. I need to see

RE: Troubleshoot why Tomcat stops running (was RE: How do I post a question with the users?)

2022-02-11 Thread Hiran CHAUDHURI
sons would typically come from outside Tomcat. Hiran -Original Message- From: Thomas Hoffmann (Speed4Trade GmbH) Sent: Friday, February 11, 2022 9:03 To: Tomcat Users List ; Shakila Rajaiah Subject: AW: Troubleshoot why Tomcat stops running (was RE: How do I post a question with the u

AW: Troubleshoot why Tomcat stops running (was RE: How do I post a question with the users?)

2022-02-11 Thread Thomas Hoffmann (Speed4Trade GmbH)
at tomcat/logs Greetings, Thomas -Ursprüngliche Nachricht- Von: Shakila Rajaiah Gesendet: Donnerstag, 10. Februar 2022 22:38 An: Tomcat Users List ; ch...@christopherschultz.net; Hiran CHAUDHURI Betreff: Re: Troubleshoot why Tomcat stops running (was RE: How do I post a question

Re: Troubleshoot why Tomcat stops running (was RE: How do I post a question with the users?)

2022-02-10 Thread Shakila Rajaiah
-doc/introduction.html#Directories_and_Files Hiran -Original Message- From: Shakila Rajaiah Sent: Tuesday, February 8, 2022 1:27 To: ch...@christopherschultz.net; Tomcat Users List Subject: How do I post a question with the users? CAUTION: External mail. Be careful with links and attachm

Troubleshoot why Tomcat stops running (was RE: How do I post a question with the users?)

2022-02-09 Thread Hiran CHAUDHURI
From: Shakila Rajaiah Sent: Tuesday, February 8, 2022 1:27 To: ch...@christopherschultz.net; Tomcat Users List Subject: How do I post a question with the users? CAUTION: External mail. Be careful with links and attachments. Hi Chris, I deployed a java war file to a remote windows server. How

Re: How do I post a question with the users?

2022-02-08 Thread Mark Thomas
Please do not hijack threads. Do not reply to an existing message and change the subject. Start a new message for a new topic. Mark On 08/02/2022 00:26, Shakila Rajaiah wrote: Hi Chris, I deployed a java war file to a remote windows server. However the Tomcat server stops running after a

How do I post a question with the users?

2022-02-07 Thread Shakila Rajaiah
Hi Chris, I deployed a java war file to a remote windows server. However the Tomcat server stops running after a few days / weeks. I need to run a monthly job, therefore the job fails as the server is not running. I am unable to find any information on this. Can someone please help. I can give

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
Thanks for the input!! --blake On Thu, Jan 6, 2022 at 4:36 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 1/6/22 17:08, Blake McBride wrote: > > On Thu, Jan 6, 2022 at 3:42 PM Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > >> Blake, > >> > >>

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Christopher Schultz
Blake, On 1/6/22 17:08, Blake McBride wrote: On Thu, Jan 6, 2022 at 3:42 PM Christopher Schultz < ch...@christopherschultz.net> wrote: Blake, On 1/6/22 16:17, Blake McBride wrote: I think, for now, I'll just use * when developing and turned off when in production. What's the point of

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
On Thu, Jan 6, 2022 at 3:42 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 1/6/22 16:17, Blake McBride wrote: > > I think, for now, I'll just use * when developing and turned off when in > > production. > > What's the point of that? The entire purpose of CORS is to

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Christopher Schultz
Blake, On 1/6/22 16:17, Blake McBride wrote: I think, for now, I'll just use * when developing and turned off when in production. What's the point of that? The entire purpose of CORS is to protect users from attackers while allowing legitimate uses of your own resources. Running it in

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
Thanks, Christopher. I think, for now, I'll just use * when developing and turned off when in production. I wonder if changing that method to protected might be a potential security hole. Thanks! Blake McBride On Thu, Jan 6, 2022 at 10:34 AM Christopher Schultz <

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Christopher Schultz
Blake, On 1/6/22 10:29, Blake McBride wrote: Greetings, I have been using the following with success: CorsFilter org.apache.catalina.filters.CorsFilter cors.allowed.headers

How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
Greetings, I have been using the following with success: CorsFilter org.apache.catalina.filters.CorsFilter cors.allowed.headers

AW: How do I disable JNDI logging

2021-10-20 Thread Thomas Hoffmann (Speed4Trade GmbH)
and check the logging configuration. Greetings, Thomas -Ursprüngliche Nachricht- Von: Salomon Mateo Gesendet: Dienstag, 19. Oktober 2021 18:55 An: users@tomcat.apache.org Betreff: How do I disable JNDI logging Hello, I hope that someone here can shine some light. Recently upgraded

How do I disable JNDI logging

2021-10-19 Thread Salomon Mateo
Hello, I hope that someone here can shine some light. Recently upgraded to tomcat 8.5.72, and now in catalina.out I see a whole bunch of these. My apps don't seem to be affected, but would like to address/fix this. Thank you! Sal 11:48:55.621 [localhost-startStop-1] DEBUG

AW: How do I install and use Apache Tomcat?

2021-10-18 Thread Thomas Hoffmann (Speed4Trade GmbH)
ogram java, jsp and maybe create war-files for deployment. Greetings, Thomas -Ursprüngliche Nachricht- Von: Turritopsis Dohrnii Teo En Ming Gesendet: Sonntag, 17. Oktober 2021 11:24 An: Tomcat Users List Cc: c...@teo-en-ming-corp.com Betreff: Re: How do I install and use Apache Tomcat?

Re: How do I install and use Apache Tomcat?

2021-10-17 Thread Turritopsis Dohrnii Teo En Ming
topsis Dohrnii Teo En Ming wrote: > > Subject: How do I install and use Apache Tomcat? > > > > Good day from Singapore, > > > > How do I install and use Apache Tomcat? I understand it is a Java web > > server. > > Which operating system do you want to use? >

Re: How do I install and use Apache Tomcat?

2021-10-16 Thread Mark Thomas
On 16/10/2021 10:41, Turritopsis Dohrnii Teo En Ming wrote: Subject: How do I install and use Apache Tomcat? Good day from Singapore, How do I install and use Apache Tomcat? I understand it is a Java web server. Which operating system do you want to use? Do you have a specific version

How do I install and use Apache Tomcat?

2021-10-16 Thread Turritopsis Dohrnii Teo En Ming
Subject: How do I install and use Apache Tomcat? Good day from Singapore, How do I install and use Apache Tomcat? I understand it is a Java web server. Article: What is Apache Tomcat? Introducing the Widely Used Java Servlet and JSP Container Link: https://techmonitor.ai/technology/hardware

Re: how do I switch class loaders

2020-05-12 Thread Jonathan Yom-Tov
It was actually one of mine. I put a jar file under lib/ that I forgot had the offending class packaged into it. On Tue, May 12, 2020 at 5:13 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jonathan, > > On 5/8/20 15:03,

Re: how do I switch class loaders

2020-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 5/8/20 15:03, Jonathan Yom-Tov wrote: > Got it! Using http://jhades.github.io/ it was quick and easy to > find out that the offending class was indeed loaded from two > different jar files. After I removed one of them casting worked >

Re: how do I switch class loaders

2020-05-08 Thread Jonathan Yom-Tov
Got it! Using http://jhades.github.io/ it was quick and easy to find out that the offending class was indeed loaded from two different jar files. After I removed one of them casting worked with no issues. I didn't know jar hell could result in ClassCastException, but you learn something new every

Re: how do I switch class loaders

2020-05-08 Thread Olaf Kock
On 08.05.20 19:50, Christopher Schultz wrote: > Olaf, > > On 5/8/20 13:19, Olaf Kock wrote: > > > You might want to hunt down duplicate classes in the JAR files on > > your classpath. Worst case: unpack them all in temporary > > directories and check for occurrences of the filename. Make sure >

Re: how do I switch class loaders

2020-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Olaf, On 5/8/20 13:19, Olaf Kock wrote: > > On 08.05.20 18:23, Jonathan Yom-Tov wrote: >> Oops, my bad  But that still leaves my original issue: why do I >> get a ClassCastException casting RedissonSessionManager to >> RedissonSessionManager? > >

Re: how do I switch class loaders

2020-05-08 Thread Olaf Kock
On 08.05.20 18:23, Jonathan Yom-Tov wrote: > Oops, my bad  But that still leaves my original issue: why do I get a > ClassCastException casting RedissonSessionManager to > RedissonSessionManager? The *only* reason that I've ever seen this happens (e.g. a class can't be typecast to a legitimate

Re: how do I switch class loaders

2020-05-08 Thread Jonathan Yom-Tov
Oops, my bad  But that still leaves my original issue: why do I get a ClassCastException casting RedissonSessionManager to RedissonSessionManager? On Fri, 8 May 2020, 16:56 Luis Rodríguez Fernández, wrote: > Hello Jonathan, > > It is not exactly the same :), look at the "$2" appended at the

Re: how do I switch class loaders

2020-05-08 Thread Luis Rodríguez Fernández
Hello Jonathan, It is not exactly the same :), look at the "$2" appended at the end.This is an "anonymous inner class" [1] Cheers, Luis [1] https://stackoverflow.com/questions/11388840/java-compiled-classes-contain-dollar-signs El vie., 8 may. 2020 a las 11:52, Jonathan Yom-Tov (<

Re: how do I switch class loaders

2020-05-08 Thread Jonathan Yom-Tov
This is very odd. I ran Tomcat with -verbose:class (see relevant output below). The class is being loaded twice from the same location, I'm guessing by two different class loaders. How can that be? [Loaded org.redisson.tomcat.RedissonSessionManager from

Re: how do I switch class loaders

2020-05-08 Thread Olaf Kock
On 08.05.20 09:37, Jonathan Yom-Tov wrote: > Thanks Mark. Just tried that. I put the redisson-tomcat jar outside of > WEB-INF/lib and added it with scope provided. I get the exact same issue. > What am I doing wrong? Make sure, it's actually gone from your webapp. Depending on the deployment

Re: how do I switch class loaders

2020-05-08 Thread Jonathan Yom-Tov
Thanks Mark. Just tried that. I put the redisson-tomcat jar outside of WEB-INF/lib and added it with scope provided. I get the exact same issue. What am I doing wrong? Here's my code: HttpSession session = httpServletRequest.getSession(false); try { RedissonSessionManager rsm =

Re: how do I switch class loaders

2020-05-07 Thread Mark Thomas
On 07/05/2020 21:36, Jonathan Yom-Tov wrote: > My application uses Redisson (a client which persists the session to > Redis). There are two Redisson jar files located in $CATALINA_HOME/lib, so > if I understand the docs correctly they're loaded by the common class > loader. > > I want to access

how do I switch class loaders

2020-05-07 Thread Jonathan Yom-Tov
My application uses Redisson (a client which persists the session to Redis). There are two Redisson jar files located in $CATALINA_HOME/lib, so if I understand the docs correctly they're loaded by the common class loader. I want to access the RedissonSessionManager class during a request. The

Re: how do I know the exact commit for a particular version of tomcat?

2017-03-16 Thread Konstantin Kolinko
2017-03-16 16:45 GMT+03:00 Hoa Phan : > I have been using the > https://tomcat.apache.org/tomcat-8.0-doc/changelog.html > and try to check out the revision with same message as latest change log of > a particular version. Though it wasn't really get me the matching binary. > >

how do I know the exact commit for a particular version of tomcat?

2017-03-16 Thread Hoa Phan
I have been using the https://tomcat.apache.org/tomcat-8.0-doc/changelog.html and try to check out the revision with same message as latest change log of a particular version. Though it wasn't really get me the matching binary. Or can I find the commit hash in any file in the zip ? Thanks

Re: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread Hoa Phan
Oops just noticed I set the subject wrong. I meant to set it to SEVERE to get rid of the FileNotFoundException all over the places. I tried to overwrite logging.properties in tomcat itself and in the webapp with the content: handlers = java.util.logging.ConsoleHandler

Re: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread Hoa Phan
Unfortunately it's still the same. When I tried to debug it the logger tomcat is using is DirectJDKLog Is org.apache.tomcat.util.scan.StandardJarScanner.level=SEVERE the right way to turn off WARNING logging ​? On Fri, Mar 10, 2017 at 10:34 AM, Hoa Phan wrote: > Ouch!! My

Re: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread Hoa Phan
Ouch!! My bad... sorry Chris. On Fri, Mar 10, 2017 at 10:31 AM, calder wrote: > On Thu, Mar 9, 2017 at 9:48 PM, Hoa Phan wrote: > > Hi Chris, > > > > I tried: > > > > org.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //in the > >

Re: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread calder
On Thu, Mar 9, 2017 at 9:48 PM, Hoa Phan wrote: > Hi Chris, > > I tried: > > org.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //in the > logging.properties > > -Dorg.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //on startup > >

Re: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread Hoa Phan
Hi Chris, I tried: org.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //in the logging.properties -Dorg.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //on startup org.apache.tomcat.util.scan.StandardJarScanner.level= SERVERE //as sysprops But they didn't help either :(,

Re: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hoa, On 3/9/17 11:58 AM, Hoa Phan wrote: > I have tried: > > org.apache.tomcat.util.scan.StandardJarScanner.level = SERVERE //in > the logging.properties > > -Dorg.apache.tomcat.util.scan.StandardJarScanner=SERVERE //on > startup > >

How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread Hoa Phan
I have tried: org.apache.tomcat.util.scan.StandardJarScanner.level = SERVERE //in the logging.properties -Dorg.apache.tomcat.util.scan.StandardJarScanner=SERVERE //on startup org.apache.tomcat.util.scan.StandardJarScanner=SERVER //as sysprops None of them works... That logger is still WARN

Re: How do I start and stop just the tomcat admin application from a command line?

2016-07-15 Thread Paul Roubekas
On 7/14/2016 9:54 PM, Christopher Schultz wrote: > Paul, > > On 7/14/16 12:43 PM, Paul Roubekas wrote: > > How do I start and stop just the tomcat admin application from a > > command line? I had someone try to guess the password to my > > Tomee-Plume server last

Re: How do I start and stop just the tomcat admin application from a command line?

2016-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 7/14/16 12:43 PM, Paul Roubekas wrote: > How do I start and stop just the tomcat admin application from a > command line? I had someone try to guess the password to my > Tomee-Plume server last night. Thankfully I changed th

How do I start and stop just the tomcat admin application from a command line?

2016-07-14 Thread Paul Roubekas
How do I start and stop just the tomcat admin application from a command line? I had someone try to guess the password to my Tomee-Plume server last night. Thankfully I changed the default password and the hacker only tried twice. I want to be able to keep the admin application closed most

How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Lee Bassom
My Catalina.out file is getting flooded with 'Unloading class sun.reflect.' messages. As far as I have been able to find out, adding -XX:-TraceClassLoading and -XX:-TraceClassUnloading to setenv.sh should supress these messages but it's not. Am I missing something obvious ? (probably)

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Christopher Schultz
Lee, On 1/7/16 10:08 AM, Lee Bassom wrote: > My Catalina.out file is getting flooded with 'Unloading class > sun.reflect.' messages. > > As far as I have been able to find out, adding -XX:-TraceClassLoading > and -XX:-TraceClassUnloading to setenv.sh should supress these messages but > it's

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Lee Bassom
[Unloading class sun.reflect.GeneratedConstructorAccessor475] [Unloading class sun.reflect.GeneratedConstructorAccessor346] [Unloading class sun.reflect.GeneratedConstructorAccessor484] [Unloading class sun.reflect.GeneratedMethodAccessor87] [Unloading class

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Christopher Schultz
Lee, On 1/7/16 12:35 PM, Lee Bassom wrote: > [Unloading class sun.reflect.GeneratedConstructorAccessor475] > [Unloading class sun.reflect.GeneratedConstructorAccessor346] Okay. What about: $ jinfo -flags [pid] (You might have to sanitize that output) -chris

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Rainer Jung
Am 07.01.2016 um 19:21 schrieb Caldarale, Charles R: From: Lee Bassom [mailto:lbas...@interactions.com] Subject: Re: How do I block 'Unloading class sun.reflect' messages? -XX:+PrintGCDetails I'm going to guess that the above enables the class unloading messages. I used the above

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Lee Bassom
Attaching to process ID 26917, please wait... Debugger attached successfully. Server compiler detected. JVM version is 20.5-b03 -Djava.util.logging.config.file=/opt/tomcat/apache-tomcat-7.0.57/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

RE: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Caldarale, Charles R
> From: Lee Bassom [mailto:lbas...@interactions.com] > Subject: Re: How do I block 'Unloading class sun.reflect' messages? > -XX:+PrintGCDetails I'm going to guess that the above enables the class unloading messages. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Rainer Jung
Am 07.01.2016 um 19:55 schrieb Rainer Jung: Am 07.01.2016 um 19:21 schrieb Caldarale, Charles R: From: Lee Bassom [mailto:lbas...@interactions.com] Subject: Re: How do I block 'Unloading class sun.reflect' messages? -XX:+PrintGCDetails I'm going to guess that the above enables

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Lee Bassom
eractions-corporation> On Thu, Jan 7, 2016 at 12:59 PM, Rainer Jung <rainer.j...@kippdata.de> wrote: > Am 07.01.2016 um 19:55 schrieb Rainer Jung: > >> Am 07.01.2016 um 19:21 schrieb Caldarale, Charles R: >> >>> From: Lee Bassom [mailto:lbas...@interactions.com] >

How do I set or access JspCompilationContext in Tomcat from a servlet?

2014-09-17 Thread Michael Trosin
Hi all, I've posted my question also on stackoverflow, with no answer until now. Maybe you have an idea? I would appreciate a short answer (even a you're wrong here :) ). http://stackoverflow.com/q/25818119/2084865 Thanks in advance, Michael

How do I call JspC manually?

2014-09-01 Thread Aaron Lewis
Hi, It looks like org.apache.jasper.JspC has a main() method defined, So how should I call it to generate the desired .class file? -- Best Regards, Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33

Re: How do I call JspC manually?

2014-09-01 Thread Konstantin Kolinko
2014-09-01 10:48 GMT+04:00 Aaron Lewis the.warl0ck.1...@gmail.com: Hi, It looks like org.apache.jasper.JspC has a main() method defined, So how should I call it to generate the desired .class file? 1) http://tomcat.apache.org/tomcat-8.0-doc/jasper-howto.html#Web_Application_Compilation 2)

Re: How do I call JspC manually?

2014-09-01 Thread Aaron Lewis
Thanks K, Maybe I did something incorrectly? % ./bin/tool-wrapper.sh org.apache.jasper.JspC -uriroot 123 -l -s -v -d temp -compile -webapp 123 Sep 02, 2014 10:19:37 AM org.apache.jasper.JspC processFile INFO: Built File: /cmd.jsp [PWD: /run/shm/tomcat6] % ls -R 123 123: ./ ../ cmd.jsp temp/

Re: How do I call JspC manually?

2014-09-01 Thread Aaron Lewis
BTW the ant way works fine. I'm just trying to understand how the JspC class works On Tue, Sep 2, 2014 at 10:24 AM, Aaron Lewis the.warl0ck.1...@gmail.com wrote: Thanks K, Maybe I did something incorrectly? % ./bin/tool-wrapper.sh org.apache.jasper.JspC -uriroot 123 -l -s -v -d temp

Fwd: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread Edd Grant
Hi all, I am using Tomcat 6.0.32 and have a deployment question. I have a war file over which I do not have control of the filename, let's call it MYAPP.war . Tomcat's default deployment behaviour would be to deploy this application under a context of /myapp however I want to deploy it instead

Re: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread chris derham
The documentation for the docBase (a.k.a context root) attribute states that the docBase attribute should be used to point to the war or exploded war file. My server's appBase is the default of 'webapps' and my WAR and exploded WAR are under webapps so I have specified a relative path of

Re: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread Edd Grant
Thanks Chris - that works perfectly! On 1 February 2013 11:06, chris derham ch...@derham.me.uk wrote: The documentation for the docBase (a.k.a context root) attribute states that the docBase attribute should be used to point to the war or exploded war file. My server's appBase is the default

AW: How do I know if native plugin in use?

2012-11-26 Thread Stadelmann Josef
[mailto:hz0...@gmail.com] Gesendet: Samstag, 24. November 2012 20:48 An: users@tomcat.apache.org Betreff: Re: How do I know if native plugin in use? Op 24-11-2012 20:37, Tony Anecito schreef: Hi All, I downloaded and installed TC 7.0.33 64-bit and was wondering how do I know the native plugin

Re: How do I know if native plugin in use?

2012-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/24/12 2:41 PM, Caldarale, Charles R wrote: From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: How do I know if native plugin in use? I downloaded and installed TC 7.0.33 64-bit and was wondering how do I know the native

Re: How do I know if native plugin in use?

2012-11-26 Thread Tony Anecito
Thanks Chuck! Just call me paranoid I guess. :-) -Tony --- On Mon, 11/26/12, Christopher Schultz ch...@christopherschultz.net wrote: From: Christopher Schultz ch...@christopherschultz.net Subject: Re: How do I know if native plugin in use? To: Tomcat Users List users@tomcat.apache.org Date

RE: How do I know if native plugin in use?

2012-11-24 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: How do I know if native plugin in use?   I downloaded and installed TC 7.0.33 64-bit and was wondering how do I know the native plugin is being used? Rather depends on what you mean by native plugin. If you're referring to the APR

Re: How do I know if native plugin in use?

2012-11-24 Thread Zorro
Op 24-11-2012 20:37, Tony Anecito schreef: Hi All, I downloaded and installed TC 7.0.33 64-bit and was wondering how do I know the native plugin is being used? Thanks, -Tony If you see in your catalina log a line like this: INFO: The APR based Apache Tomcat Native library which allows

Re: How do I get Tomcat 7 to start up faster in Linux CentOS kernel version 2.6.18?

2012-11-05 Thread Dilshad Shahid
Thank you for all your responses and apologies for my late reply. I got pulled off of this project last week and was assigned back to java coding (my preferred state in any case). I have forwarded your replies to the manager in charge of the project and someone in his team has been looking into it

Re: How do I get Tomcat 7 to start up faster in Linux CentOS kernel version 2.6.18?

2012-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dilshad, On 11/5/12 10:28 AM, Dilshad Shahid wrote: We are using Tomcat 7 to load up our application written in struts. On production sites, the startup time can be as slow as 20 minutes. When I was testing on our QA environments, I saw much

Re: How do I get Tomcat 7 to start up faster in Linux CentOS kernel version 2.6.18?

2012-10-31 Thread Ognjen Blagojevic
Dilshad, On 30.10.2012 22:55, Dilshad Shahid wrote: I am experiencing a problem with slow start up times for Tomcat 7. I have done some testing by tweaking configuration parameters both on Linux CentOS kernel version 2.6.18 and on Windows 7 using this link as my primary guide:

Re: How do I get Tomcat 7 to start up faster in Linux CentOS kernel version 2.6.18?

2012-10-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dilshad, On 10/30/12 5:55 PM, Dilshad Shahid wrote: I am experiencing a problem with slow start up times for Tomcat 7. How slow is slow? If it takes long enough to take a thread dump, please take one or more thread dumps to see what the JVM is

Re: How do I get Tomcat 7 to start up faster in Linux CentOS kernel version 2.6.18?

2012-10-31 Thread Mark Thomas
On 30/10/2012 21:55, Dilshad Shahid wrote: I am experiencing a problem with slow start up times for Tomcat 7. I have done some testing by tweaking configuration parameters both on Linux CentOS kernel version 2.6.18 and on Windows 7 using this link as my primary guide:

How do I get Tomcat 7 to start up faster in Linux CentOS kernel version 2.6.18?

2012-10-30 Thread Dilshad Shahid
I am experiencing a problem with slow start up times for Tomcat 7. I have done some testing by tweaking configuration parameters both on Linux CentOS kernel version 2.6.18 and on Windows 7 using this link as my primary guide: http://wiki.apache.org/tomcat/HowTo/FasterStartUp and managed only a

RE: How do I build tomcat native for windows x64?

2011-11-17 Thread John Wilkinson
: How do I build tomcat native for windows x64? Hello, I would like to build tcnative-1.dll or libtcnative-1.dll for 64-bit windows from source (my goal is twofold: to try a newer APR version, and to debug a crash we are seeing in the native connector with ssl). Either dll will do. I am currently

How do I build tomcat native for windows x64?

2011-11-16 Thread John Wilkinson
Hello, I would like to build tcnative-1.dll or libtcnative-1.dll for 64-bit windows from source (my goal is twofold: to try a newer APR version, and to debug a crash we are seeing in the native connector with ssl). Either dll will do. I am currently using Visual Studio 2010 on Windows 7 64-bit,

How do I log to a filename based on the full context name?

2011-08-12 Thread chris derham
do I get this full context name? We currently use the following to configure the filename under log4j 1.2.16 under tomcat 7.0.19 on windows 2008 64bit param name=FileNamePattern value=${catalina.base}/logs/myapplication.%d{-MM-dd}.log / Thanks Chris

How do I tell if I am using APR or JSSE?

2010-07-30 Thread Tena Sakai
Hi, I am using tomcat 6.0.14 on a Redhat linux. I would like to get SSL working on this server and I am trying to digest SSL Configuration HOW-TO document ( http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html). In the section “Edit the Tomcat Configuration File” it says: If the

Re: How do I tell if I am using APR or JSSE?

2010-07-30 Thread Mark Thomas
On 30/07/2010 21:35, Tena Sakai wrote: Hi, I am using tomcat 6.0.14 on a Redhat linux. I would like to get SSL working on this server and I am trying to digest SSL Configuration HOW-TO document ( http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html). In the section “Edit the Tomcat

Re: How do I tell if I am using APR or JSSE?

2010-07-30 Thread Tena Sakai
Thank you Mark. Mine is using JSSE. Regards, Tena On 7/30/10 3:50 PM, Mark Thomas ma...@apache.org wrote: On 30/07/2010 21:35, Tena Sakai wrote: Hi, I am using tomcat 6.0.14 on a Redhat linux. I would like to get SSL working on this server and I am trying to digest SSL Configuration

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-15 Thread testwreq wreq
Hello Andrea, [r...@webtest tomcat5]# netstat -anp|grep LISTEN|grep 6980 tcp0 0 :::127.0.0.1:8005 :::* LISTEN 6980/java tcp0 0 :::8009 :::* LISTEN 6980/java tcp0 0 :::8080 :::* LISTEN 6980/java

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-15 Thread testwreq wreq
something with page not showing? On Wed, Mar 10, 2010 at 4:52 PM, André Warnier a...@ice-sa.com wrote: Caldarale, Charles R wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 1/I already have apache running on port 80. If I

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-15 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 /var/lib/tomcat5/webapps is empty. Which could be why you get a blank page. However, your ps output shows Tomcat running from /usr/share/tomcat5, not /var/lib/tomcat5

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-15 Thread testwreq wreq
lrwxrwxrwx 1 tomcat root 23 Mar 10 09:27 work - /var/cache/tomcat5/work Thanks,vm On Mon, Mar 15, 2010 at 8:46 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 /var/lib

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-15 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 In server.xml file, the tomcat_home which is probably called catlina_home is set to the root of where tomcat is installed. Please elaborate on that statement; server.xml can't set

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-15 Thread testwreq wreq
CATALINA_TMPDIR=/usr/share/tomcat5/temp JAVA_ENDORSED_DIRS=/usr/share/tomcat5/common/endorsed On Mon, Mar 15, 2010 at 9:17 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
not showing? On Wed, Mar 10, 2010 at 4:52 PM, André Warnier a...@ice-sa.com wrote: Caldarale, Charles R wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 1/I already have apache running on port 80. If I start the tomcat

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread David kerber
know in firewall port 8005 is open. what is the connector port? Could it have something with page not showing? On Wed, Mar 10, 2010 at 4:52 PM, André Warnier a...@ice-sa.com wrote: Caldarale, Charles R wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 I cannot bring up the tomcat page http://serverhost:8005 As David K pointed out, you shouldn't be able to. The file is showing Server port=8005 and Connector port=8080' 8005

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
Warnier a...@ice-sa.com wrote: Caldarale, Charles R wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 1/I already have apache running on port 80. If I start the tomcat service, I think it will probably start on port 80 as well

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 8080 does not work either. And, there are no logs generated. Firewall? Do a netstat -ano and verify that Tomcat is listening on 8080. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
[mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 8080 does not work either. And, there are no logs generated. Firewall? Do a netstat -ano and verify that Tomcat is listening on 8080. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 netstat -ano showed the following for 8080 Sorry, I should have said netstat -anp (-ano is for Windows). The -p option will display the pid numbers, which should be quite

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
I see 8080 running as follows: tcp0 0 :::8080 :::* LISTEN 6980/java On Fri, Mar 12, 2010 at 2:27 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 3/10/2010 3:04 PM, Hassan Schroeder wrote: On Wed, Mar 10, 2010 at 11:19 AM, testwreq wreq testw...@gmail.com wrote: Unfortunately, I cannot use 6.0 because my boss believes that we should use the one that comes with the centos built as

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread André Warnier
testwreq wreq wrote: I see 8080 running as follows: tcp0 0 :::8080 :::* LISTEN 6980/java Ok, that /might/ be Tomcat, and it /might/ be the Tomcat we are talking about. But it is not sure yet, because it seems that there may be more running on that system

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 3/10/2010 3:04 PM, Hassan Schroeder wrote: On Wed, Mar 10, 2010 at 11:19 AM, testwreq wreq testw...@gmail.com wrote: Unfortunately, I cannot use 6.0 because my boss believes that we should use the one that

How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread testwreq wreq
Hello, I do not know much on setting up tomcat on linux. I am new to both. However, I ran yum install tomcat5 to install tomcat from centos5 built. I could see the version with the below command. # /etc/init.d/tomcat5 version Server version: Apache Tomcat/5.5.23 Server built: Jul 27 2009

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: How do I set up and run Tomcat 5.5.23 on Cetos5.3 I need help to proceed further. Please guide me how to set-up TOMCAT on centos5? Since you're using a non-standard version of Tomcat, the instructions on the Tomcat web site might

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-10 Thread testwreq wreq
...@gmail.com] Subject: How do I set up and run Tomcat 5.5.23 on Cetos5.3 I need help to proceed further. Please guide me how to set-up TOMCAT on centos5? Since you're using a non-standard version of Tomcat, the instructions on the Tomcat web site might not correspond exactly with the CentOS

  1   2   3   4   >