RE: JAVA -tomcat- Request header is too large

2023-12-12 Thread Amit Pande
Thank you, Chris. Right now, we're on 9.x line. But this is a very important and useful field for debugging which we should be aware of. Thanks, Amit -Original Message- From: Christopher Schultz Sent: Monday, December 11, 2023 2:02 PM To: users@tomcat.apache.org Subject: Re: JAVA

Re: JAVA -tomcat- Request header is too large

2023-12-11 Thread Christopher Schultz
in the AccessLogValve for reporting that value anywhere... -chris -Original Message- From: Mark Thomas Sent: Monday, December 11, 2023 3:06 AM To: users@tomcat.apache.org Subject: Re: JAVA -tomcat- Request header is too large CAUTION: This email originated from outside the organization

RE: JAVA -tomcat- Request header is too large

2023-12-11 Thread Amit Pande
Mark, Chris, What request ID we're referring to here? Perhaps, I missed some documentation? How do we enable it? Thanks, Amit -Original Message- From: Mark Thomas Sent: Monday, December 11, 2023 3:06 AM To: users@tomcat.apache.org Subject: Re: JAVA -tomcat- Request header is too

Re: JAVA -tomcat- Request header is too large

2023-12-11 Thread Mark Thomas
On 08/12/2023 22:01, Christopher Schultz wrote: Are request-ids always allocated, or only if they are "enabled"? Always allocated. I think adding the request-id to this exception detail message might be helpful, even if the request-id hasn't been enabled in the access-log. WDYT? Good

Re: JAVA -tomcat- Request header is too large

2023-12-08 Thread Christopher Schultz
Mark, On 12/8/23 06:50, Mark Thomas wrote: On 08/12/2023 09:27, Ivano Luberti wrote: Il 07/12/2023 17:51, Mark Thomas ha scritto: On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO

Re: JAVA -tomcat- Request header is too large

2023-12-08 Thread Mark Thomas
On 08/12/2023 09:27, Ivano Luberti wrote: Il 07/12/2023 17:51, Mark Thomas ha scritto: On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826]

Re: JAVA -tomcat- Request header is too large

2023-12-08 Thread Ivano Luberti
Il 07/12/2023 17:51, Mark Thomas ha scritto: On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request

Re: JAVA -tomcat- Request header is too large

2023-12-07 Thread Mark Thomas
On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header  Note: further occurrences of HTTP request

Re: Java/Tomcat is being killed by the Linux OOM killer for using a huge amount of RAM. How can I know what was going on inside my app (& Tomcat & the JVM) to make that happen?

2023-11-16 Thread Christopher Schultz
Brian, On 11/16/23 15:26, Brian Braun wrote: First of all, this is my stack: - Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough for years. - Java 11.0.20.1+1-post-Ubuntu-0ubuntu122.04 / openjdk 11.0.20.1 2023-08-24 - Tomcat 9.0.58 (JAVA_OPTS="-Djava.awt.headless=true

RE: [External] RE: Java 9+ and custom JCE/JSSE providers

2023-11-02 Thread Amit Pande
se/JDK-7133344 https://github.com/frohoff/jdk8u-dev-jdk/blob/master/src/share/lib/security/java.security-linux Thanks, Amit -Original Message- From: Berneburg, Cris J. - US Sent: Thursday, November 2, 2023 3:41 PM To: Tomcat Users List Subject: [External] RE: Java 9+ and custom JCE/JSSE providers

RE: Java 9+ and custom JCE/JSSE providers

2023-11-02 Thread Berneburg, Cris J. - US
Amit > -Djava.security.properties=file:/path/to/java_security_properties_file That "file:" prefix looks like Spring syntax. Is the prefix needed on the JVM command line? -- Cris Berneburg CACI Senior Software Engineer -Original Message- From: Amit Pande Sent: Tuesday, October 31,

RE: [External] Re: Java 9+ and custom JCE/JSSE providers

2023-11-01 Thread Amit Pande
Setting CLASSPATH worked perfectly! Thank you so much Mark! Thanks, Amit -Original Message- From: Mark Thomas Sent: Tuesday, October 31, 2023 2:47 PM To: users@tomcat.apache.org Subject: [External] Re: Java 9+ and custom JCE/JSSE providers CAUTION: This email originated from outside

RE: [External] Re: Java 9+ and custom JCE/JSSE providers

2023-11-01 Thread Amit Pande
Adding the provider jars to CLASSPATH solved the issue. Thank you so much Mark for your quick feedback. Thanks, Amit -Original Message- From: Mark Thomas Sent: Tuesday, October 31, 2023 2:47 PM To: users@tomcat.apache.org Subject: [External] Re: Java 9+ and custom JCE/JSSE providers

Re: Java 9+ and custom JCE/JSSE providers

2023-10-31 Thread Mark Thomas
On 31/10/2023 14:22, Amit Pande wrote: Hello, I am in the process of updating https://github.com/amitlpande/tomcat-9-fips page for version later than Java 8. Ran into an issue: 1. Was looking the configure the additional bouncy castle providers in the Java install itself by: *

Re: Java G1 GC creating less garbage and taking more time in mixed GC phase

2023-05-16 Thread Mark Thomas
Mark Thomas Sent: 16 May 2023 12:44 To: users@tomcat.apache.org Subject: Re: Java G1 GC creating less garbage and taking more time in mixed GC phase On 16/05/2023 05:12, M Venkata Pratap M wrote: Hi, 1. We are using Http2 , When compared to 9.0.38 tomcat version , 9.0.62 version is crea

RE: Java G1 GC creating less garbage and taking more time in mixed GC phase

2023-05-16 Thread M Venkata Pratap M
ject: Re: Java G1 GC creating less garbage and taking more time in mixed GC phase On 16/05/2023 05:12, M Venkata Pratap M wrote: > Hi, > >1. We are using Http2 , When compared to 9.0.38 tomcat version , 9.0.62 > version is creating less garbage and taking more tim

Re: Java G1 GC creating less garbage and taking more time in mixed GC phase

2023-05-16 Thread Mark Thomas
On 16/05/2023 05:12, M Venkata Pratap M wrote: Hi, 1. We are using Http2 , When compared to 9.0.38 tomcat version , 9.0.62 version is creating less garbage and taking more time(2 to 5 seconds) in garbage collection during mixed GC phase. 2. Are there any recommendation GC setting.

Re: Java Agent and Tomcat shutdown

2023-05-11 Thread logo
Hi Thomas > Am 11.05.2023 um 16:05 schrieb Thomas Hoffmann (Speed4Trade GmbH) > : > > Hello, > > we are using a java agent to start a listening process (JMX proxy). > > The systemd file for tomcat looks like (snippet): > JAVA_OPTS=... -javaagent:/opt/runtime/jmxagent/jmxagent.jar >

RE: Java Heap Space Error

2023-04-20 Thread Eduardo Quintanilla
@tomcat.apache.org Subject: Re: Java Heap Space Error Pratik, On 4/20/23 03:35, pratik.kulka...@shell.com.INVALID wrote: > I guess you're right, Tomcat 9 allocates less default memory compared > to Tomcat 8; I checked our logs and below are the memory parameters > which seem to

Re: Java Heap Space Error

2023-04-20 Thread Christopher Schultz
Pratik, On 4/20/23 03:35, pratik.kulka...@shell.com.INVALID wrote: I guess you're right, Tomcat 9 allocates less default memory compared to Tomcat 8; I checked our logs and below are the memory parameters which seem to be passed in, Tomcat 9 - 14-Apr-2023 02:47:55.567 INFO [main]

RE: Java Heap Space Error

2023-04-20 Thread Pratik.Kulkarni
Thanks Chris, I guess you're right, Tomcat 9 allocates less default memory compared to Tomcat 8; I checked our logs and below are the memory parameters which seem to be passed in, Tomcat 9 - 14-Apr-2023 02:47:55.567 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command

Re: Java Heap Space Error

2023-04-17 Thread Christopher Schultz
Pratik, On 4/13/23 22:55, pratik.kulka...@shell.com.INVALID wrote: Chris - I see. So we already have installed a service and I tried to set the environment variable after we got the error. Is there a way for Tomcat to read the variables we set after installation? If you are running the Windows

Re: Java Heap Space Error

2023-04-14 Thread Olaf Kock
On 14.04.23 04:55, pratik.kulka...@shell.com.INVALID wrote: Hi All, Thanks for your quick suggestions. As Olaf suggested, I tried to set the same values to Xms and Xmx; the application immediately crashes after Tomcat restart and I am not able to access it. I tried it with different

RE: Java Heap Space Error

2023-04-13 Thread Pratik.Kulkarni
:00 To: users@tomcat.apache.org Subject: Re: Java Heap Space Error Think Secure. This email is from an external source. Pratik, You're getting the error when executing a DB query. How many rows does it return? Could it be returning too many rows

Re: Java Heap Space Error

2023-04-13 Thread John.E.Gregg
Pratik, You’re getting the error when executing a DB query. How many rows does it return? Could it be returning too many rows? From: pratik.kulka...@shell.com.INVALID Sent: Thursday, April 13, 2023 9:55:06 PM To: users@tomcat.apache.org Subject: RE: Java Heap

RE: Java Heap Space Error

2023-04-13 Thread Pratik.Kulkarni
ltz Sent: Friday, April 14, 2023 00:28 To: users@tomcat.apache.org Subject: Re: Java Heap Space Error Think Secure. This email is from an external source. Pratik, On 4/13/23 05:35, pratik.kulka...@shell.com.INVALID wrote: > This email concerns an error I encountered while using Oracle Apex with ORDS

Re: Java Heap Space Error

2023-04-13 Thread Christopher Schultz
Pratik, On 4/13/23 05:35, pratik.kulka...@shell.com.INVALID wrote: This email concerns an error I encountered while using Oracle Apex with ORDS 3.0.9 and Tomcat 9. Specifically, I receive a "Java heap space" error when accessing the application. To troubleshoot the issue, I have tried to

RE: Java Heap Space Error

2023-04-13 Thread John.E.Gregg
Pratik, > -Original Message- > From: pratik.kulka...@shell.com.INVALID > > Sent: Thursday, April 13, 2023 4:36 AM > To: users@tomcat.apache.org > Subject: Java Heap Space Error > > Hello, > > This email concerns an error I encountered while using Oracle Apex with > ORDS 3.0.9 and

Re: Java Heap Space Error

2023-04-13 Thread Kevin Huntly
Also, is it possible for you to post the heapdump (if one was generated?) Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++

Re: Java Heap Space Error

2023-04-13 Thread Olaf Kock
Hi Pratik, On 13.04.23 11:35, pratik.kulka...@shell.com.INVALID wrote: Hello, This email concerns an error I encountered while using Oracle Apex with ORDS 3.0.9 and Tomcat 9. Specifically, I receive a "Java heap space" error when accessing the application. To troubleshoot the issue, I have

Re: JAVA OPTIONS

2019-07-04 Thread Mohan T
I am posting here after trying options over the net Sent from my Samsung Galaxy smartphone. Original message From: "André Warnier (tomcat)" Date: 04/07/2019 4:15 pm (GMT+05:30) To: users@tomcat.apache.org Subject: Re: JAVA OPTIONS On 03.07.2019 14:47, Mohan T wro

Re: JAVA OPTIONS

2019-07-04 Thread tomcat
ich would have given everyone the nice and comforting feeling that you had "done your homework" before coming here. Mohan -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Wednesday, July 3, 2019 6:00 PM To: users@tomcat.apache.org Subject:

RE: JAVA OPTIONS

2019-07-03 Thread Mohan T
Hi, Tom cat 0- version 8.5.35 Operating system- RHEL 7.4 Thanks Mohan -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Wednesday, July 3, 2019 6:00 PM To: users@tomcat.apache.org Subject: Re: JAVA OPTIONS Hi. It's always a good idea to provide ALL

Re: JAVA OPTIONS

2019-07-03 Thread tomcat
Hi. It's always a good idea to provide ALL the precise host/versions information in advance : it saves time for the people answering the question, and it helps you getting answers faster. On 03.07.2019 13:36, Mohan T wrote: Hi , We are using tomcat 8 . Which version precisely ? (8.x.y) On

Re: Java Supported Versions for Apache Tomcat/7.0.77

2019-01-03 Thread Olaf Kock
On 02.01.19 23:11, Janakiram Maganti wrote: > Hi Support, > > Can you suggest what is the latest Java 8 version supported for “Apache > Tomcat/7.0.77”. > According to https://tomcat.apache.org/whichversion.html, there's no maximum version, it's "Java 6 and later". E.g. if you're running into

Re: Java Supported Versions for Apache Tomcat/7.0.77

2019-01-02 Thread John Dale
Great question .. I would like to know the answer as well. On 1/2/19, Janakiram Maganti wrote: > Hi Support, > > Can you suggest what is the latest Java 8 version supported for “Apache > Tomcat/7.0.77”. > > [oracle@prn-bapdevapp01 bin]$ ./version.sh > Using CATALINA_BASE:

Re: Java 11 - Tomcat 8 - SSL

2018-12-05 Thread Mark Thomas
On 05/12/2018 21:30, Justin Wilke wrote: > Hello, > > Hitting kind of a dead end on my attempt to upgrade to java 11, it was > suggested to me to reach out to this group. > > We are currently running on Java 8, Tomcat 8.5.3 in prod. We are looking to > upgrade to java 11. 8.5.3 is over 2

RE: Java Textbook?

2018-11-30 Thread Tran, Minh
Dear Professor Malcolm, I have experimeted with this book intro to Java Programming, Comprehensive Version 10th Edition, and I found it useful for non Java programming. The ISBN-13 is 978-0133761313. May I ask what programming book were you using for your computer network class ? I am

Re: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Christopher Schultz
ease provide a reference to that PCI item? Thanks, - -chris > -Original Message- From: Mark Thomas > Sent: Wednesday, September 26, 2018 7:36 PM To: > users@tomcat.apache.org Subject: Re: Java 11 support in Apache > Tomcat 9.0 > > ***CAUTION: This email originated fr

Re: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Johan Compagner
path of jlink installed custom runtime that > includes jvm.dll? > > Thanks, > Shailendra > > > -Original Message- > From: Mark Thomas > Sent: Wednesday, September 26, 2018 7:36 PM > To: users@tomcat.apache.org > Subject: Re: Java 11 support in Apache Tomcat 9.0 &g

RE: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Shailendra Kumar Verma
jlink installed custom runtime that includes jvm.dll? Thanks, Shailendra -Original Message- From: Mark Thomas Sent: Wednesday, September 26, 2018 7:36 PM To: users@tomcat.apache.org Subject: Re: Java 11 support in Apache Tomcat 9.0 ***CAUTION: This email originated from outside of the o

Re: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Mark Thomas
, September 26, 2018 5:28 PM To: Tomcat Users List Subject: Re: Java 11 support in Apache Tomcat 9.0 ***CAUTION: This email originated from outside of the organization. Do not open attachments or click links unless you recognize sender and know content is safe.*** Forward suspicious email to suspici

RE: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Shailendra Kumar Verma
Johan, That's what I am saying. All we have now, jvm.dll that comes under jdk-11\bin\server\jvm.dll. No JRE is released from Java 11 now. Thanks, Shailendra -Original Message- From: Johan Compagner Sent: Wednesday, September 26, 2018 5:28 PM To: Tomcat Users List Subject: Re: Java 11

Re: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Johan Compagner
Just wondering how do you get a JRE? oracle doesnt provide one anymore (and the JDK that you can download can only really be used for development and nothing else) so are you using the open source JDK? On Wed, 26 Sep 2018 at 13:40, Shailendra Kumar Verma < shailendra.kumar.ve...@convergys.com>

Re: Java licensing

2018-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 7/17/18 3:08 PM, Jeffrey Beckstrom wrote: > How will Oracle's new licensing of Java affect Tomcat? IANAL, but Java's licensing should not affect Tomcat at all, unless Oracle decides that writing software using Java is somehow no longer

Re: Java 10; JAXB; and Tomcat 9

2018-05-03 Thread Riccardo Cohen
I confirm that with java 10 I had to add javax.xml.bind:jaxb-api:2.3.0 maven archive, and also javax.activation:activation:1.1.1 . All works fine with it On 03/05/2018 01:28, Emmanuel Bourg wrote: Le 03/05/2018 à 00:42, Jerry Malcolm a écrit : Thanks for the input.  I haven't been keeping up

Re: Java 10; JAXB; and Tomcat 9

2018-05-02 Thread Emmanuel Bourg
Le 03/05/2018 à 00:42, Jerry Malcolm a écrit : > Thanks for the input.  I haven't been keeping up with Java EE for a > while.  I tried to download EE instead of SE and got a few gigabytes of > "GlassFish server".  Couldn't even find the jaxb jar files in that > package.  I haven't researched what

Re: Java 10; JAXB; and Tomcat 9

2018-05-02 Thread Jerry Malcolm
On 5/2/2018 4:37 PM, Emmanuel Bourg wrote: Le 02/05/2018 à 23:14, Jerry Malcolm a écrit : I just did a clean install of TC 9 on a new system.  I downloaded the latest JDK, (10).  My code started getting errors about JAXB Exception class not found.  I had already faced this with the JAMES

Re: Java 10; JAXB; and Tomcat 9

2018-05-02 Thread Emmanuel Bourg
Le 02/05/2018 à 23:14, Jerry Malcolm a écrit : > I just did a clean install of TC 9 on a new system.  I downloaded the > latest JDK, (10).  My code started getting errors about JAXB Exception > class not found.  I had already faced this with the JAMES installation > and found out JAXB was removed

Re: Java 10 var support in Jasper JSP engine

2018-04-28 Thread Nathan Williams
Thanks for the answers.  That's good to know! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Java 10 var support in Jasper JSP engine

2018-04-28 Thread Mark Thomas
On 28/04/18 17:57, Nathan Williams wrote: > 1.  Is the Java version supported by JSP something that's tracking a > spec and has to wait for the spec to advance before it will be added? No. > 2.  With Java "moving forward faster", is there a realistic motivation > for JSP implementations to

Re: java 10 with jpa eclipselink and tomcat 9

2018-04-10 Thread Riccardo Cohen
For your information, the problem with java 10 have been solved with org.eclipse.persistence:org.eclipse.persistence.jpa:2.7.2-SNAPSHOT I can now run my server application with Java 10 Thanks On 02/04/2018 16:02, Riccardo Cohen wrote: Hello Is there anybody that tried to use Java 9 or 10 ?

Re: java 10 with jpa eclipselink and tomcat 9

2018-04-02 Thread Riccardo Cohen
Hello Is there anybody that tried to use Java 9 or 10 ? Thanks On 29/03/2018 11:42, Riccardo Cohen wrote: Hello I'm using Tomcat 9.0.6 with java 1.8 and EclipseLink org.eclipse.persistence:org.eclipse.persistence.jpa:2.7.1 This works fine ! I try to migrate to java 10: JAVA_VERSION="10"

Re: Java 9 support + HSTS for tomcat.apache.org

2017-10-04 Thread Konstantin Kolinko
2017-09-28 19:56 GMT+03:00 Konstantin Kolinko : > 2017-09-26 11:57 GMT+03:00 Oliver Heister : >> 2. Currently MITM attacks by evil ISPs or WiFi networks are possible >> against people downloading tomcat from >>

Re: Java 9 support + HSTS for tomcat.apache.org

2017-09-28 Thread Konstantin Kolinko
2017-09-26 11:57 GMT+03:00 Oliver Heister : > 2. Currently MITM attacks by evil ISPs or WiFi networks are possible > against people downloading tomcat from > http://tomcat.apache.org/download-80.cgi . (The page has links to PGP, md5 > and sha1 hashes for validation, but

Re: Java 9 support + HSTS for tomcat.apache.org

2017-09-28 Thread Oliver Heister
> > IMO a remark regarding Java 9 should be added to > > http://tomcat.apache.org/whichversion.html . > > Sounds good. I don't know of anything specific that does NOT work with > Java 9, but markt has been following the pre-releases of Java 9 pretty > closely, and has made adjustments (mostly

Re: Java 9 support + HSTS for tomcat.apache.org

2017-09-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Oliver, On 9/26/17 4:57 AM, Oliver Heister wrote: > I have two suggestions: > > 1. The table on http://tomcat.apache.org/whichversion.html has a > column “Supported Java Versions” which has entries like “8 and > later”. My understanding from e.g.

Re: java

2016-07-18 Thread i...@flyingfischer.ch
Am 18.07.2016 um 17:14 schrieb Sanka, Ambica: Steffen, Is it also possible to test your stuff with jdk1.8.0_51 so that we will know something must be wrong with security in jdk1.8.0_51? Appreciate your help Ambica. You may want to follow the changes in

RE: java

2016-07-18 Thread Sanka, Ambica
List <users@tomcat.apache.org> Subject: RE: java Thanks Steffen for letting me know. Did you also post your issue in java community? Did you get any response? Currently we are using 1.8.0_45. In the future we have requirement to upgrade and got stuck here. -Original Message

RE: java

2016-07-18 Thread Sanka, Ambica
Thanks Steffen for letting me know. Did you also post your issue in java community? Did you get any response? Currently we are using 1.8.0_45. In the future we have requirement to upgrade and got stuck here. -Original Message- From: Steffen Heil (Mailinglisten)

RE: java

2016-07-15 Thread Sanka, Ambica
Users List <users@tomcat.apache.org> Subject: Re: java -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ambica, On 7/15/16 3:41 PM, Sanka, Ambica wrote: > Chris, Seems attachment was not sent properly. Here is the trace > SEVERE: Naming Exception > occuredjavax.naming.ServiceUnava

Re: java

2016-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ambica, On 7/15/16 3:41 PM, Sanka, Ambica wrote: > Chris, Seems attachment was not sent properly. Here is the trace > SEVERE: Naming Exception > occuredjavax.naming.ServiceUnavailableException: > ldap.atpco.net:636; socket closed; remaining name >

RE: java

2016-07-15 Thread Sanka, Ambica
occuredjava.lang.Exception: Naming Exception occured Thanks Ambica. -Original Message- From: Sanka, Ambica [mailto:asa...@atpco.net] Sent: Friday, July 15, 2016 3:30 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: RE: java Chris, Thank you for the quick response. Please see the at

RE: java

2016-07-15 Thread Sanka, Ambica
Chris, Thank you for the quick response. Please see the attached for the stack trace. Thanks Ambica. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, July 14, 2016 8:59 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re

Re: java

2016-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ambica, On 7/14/16 4:31 PM, Sanka, Ambica wrote: > Does anyone facing issues with security from jdk1.8.0_51 onwards? > We wrote a Valve in tomcat that connects to our ldap and gets user > roles and groups. We connect ldap through ssl certificate. Our

Re: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Christopher Schultz
Satish, On 11/11/15 7:58 AM, satish jupalli wrote: > Would like to get your opinion on the java deserialization vulnerability > issue for Tomcat. As Jboss seems to have been impacted with, is there a way > to verify wether this vulnerability affects Tomcat as well? Are you talking about this

Re: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Christopher Schultz
Satish, On 11/11/15 8:10 AM, Christopher Schultz wrote: > Satish, > > On 11/11/15 7:58 AM, satish jupalli wrote: >> Would like to get your opinion on the java deserialization vulnerability >> issue for Tomcat. As Jboss seems to have been impacted with, is there a way >> to verify wether this

Re: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Johan Compagner
On 11 November 2015 at 14:44, Christopher Schultz < ch...@christopherschultz.net> wrote: > Tomcat could potentially be > used as an attack vector against a system by someone with write-access > to the part of the filesystem where Tomcat stores its serialized session > objects during a restart >

Re: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Christopher Schultz
Johan, On 11/11/15 8:53 AM, Johan Compagner wrote: > On 11 November 2015 at 14:44, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> Tomcat could potentially be >> used as an attack vector against a system by someone with write-access >> to the part of the filesystem where Tomcat

Re: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Johan Compagner
don't think tomcat by default ships with commons collections But of course its not just commons collections its a more generic problem that could be hit if there are more special classes that do special things in deserialization. i do think that tomcat by default (even the manager app or there

Re: Java 7 and 8 features

2015-10-27 Thread David kerber
On 10/27/2015 12:01 PM, Vinicius Corrêa de Almeida wrote: I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features? Which

Re: Java 7 and 8 features

2015-10-27 Thread tomcat
On 27.10.2015 17:01, Vinicius Corrêa de Almeida wrote: I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features? I believe

RE: Java Servlet error with tomcat running on Windows Server 2008 R2

2015-08-14 Thread Chen Yang
To: Tomcat Users List users@tomcat.apache.org Subject: Re: Java Servlet error with tomcat running on Windows Server 2008 R2 On 7/16/2015 2:01 PM, Chen Yang wrote: Hi all, I'm maintaining a Java servlet which uses for render PDF files. Recently I've been tasked to deploy it to run on windows

Re: Java Servlet error with tomcat running on Windows Server 2008 R2

2015-07-16 Thread David kerber
On 7/16/2015 2:01 PM, Chen Yang wrote: Hi all, I'm maintaining a Java servlet which uses for render PDF files. Recently I've been tasked to deploy it to run on windows environment. It works perfectly in our old Linux environment; but I'm having issues in windows with the same setup, I can

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Philip Wigg
The last error is FATAL Database is starting up. A quick Google search for FATAL Database is starting up seems to suggest that is an error message coming from PostgreSQL and not from Tomcat itself. Hope that helps. Phil. - To

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Philip, On 7/14/15 3:00 PM, Philip Wigg wrote: The last error is FATAL Database is starting up. A quick Google search for FATAL Database is starting up seems to suggest that is an error message coming from PostgreSQL and not from Tomcat

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Laurence, On 7/14/15 2:32 PM, Laurence Cohen wrote: We are suddenly having a problem with our Tomcat WebApp connecting to the database. Unfortunately I can't give you the whole thing because the error is on a network that is restricted, and I

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Phil Steitz
On 7/14/15 1:11 PM, Christopher Schultz wrote: Laurence, On 7/14/15 2:32 PM, Laurence Cohen wrote: We are suddenly having a problem with our Tomcat WebApp connecting to the database. Unfortunately I can't give you the whole thing because the error is on a network that is restricted, and

Re: Java Heap Space / Thread Dump Numbers

2015-03-23 Thread Антон Мацюк
2015-03-21 12:37 GMT+02:00 Антон Мацюк denixx.bay...@gmail.com: 2015-03-21 2:06 GMT+02:00 Eric Robinson eric.robin...@psmnv.com: Set this options to JVM, and it will make heapdumps automatically. Will these heap dumps be the same size as the current tomcat memory utilization? Yeap, and OOM

RE: Java Heap Space / Thread Dump Numbers

2015-03-23 Thread Eric Robinson
// One correction, option -XX:-HeapDumpOnOutOfMemoryError disables heapdumps on OOM, you should use -XX:+HeapDumpOnOutOfMemoryError - with plus sign, to enable it. // Thanks for the follow-up. --Eric

Re: Java Heap Space / Thread Dump Numbers

2015-03-21 Thread Антон Мацюк
2015-03-21 2:06 GMT+02:00 Eric Robinson eric.robin...@psmnv.com: I think if you have vendor-locked app in vendor-locked environment (am I right?) Yes indeed. So, worth a try, at least. Set this options to JVM, and it will make heapdumps automatically. Will these heap dumps be the same size

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// I think if you have vendor-locked app in vendor-locked environment (am I right?) // Yes indeed. // As I said above, there is an options for JVM: -XX:-HeapDumpOnOutOfMemoryError - it will make heapdump on OOM. -XX:HeapDumpPath=./java_pidpid.hprof - give it an reasonable path to file. Set

Re: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Антон Мацюк
2015-03-20 22:29 GMT+02:00 Eric Robinson eric.robin...@psmnv.com: Very good information. I much prefer finding the actual root causes of things rather than just bumping the memory, but I'm not sure how much that would help because the best I can do is report the issue to the vendor.

Re: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Антон Мацюк
2015-03-20 1:15 GMT+02:00 Eric Robinson eric.robin...@psmnv.com: Heap dumps? What we do is called a thread dump, as far as I know. We use kill -3 on Linux, which dumps the thread activity. The memory data shows up at the bottom of that. See:

Re: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric, On 3/19/15 7:15 PM, Eric Robinson wrote: Christopher Shultz wrote: // Time to upgrade. Tomcat is hideously out of date (probably because you are using RedHat's Tomcat package), at least by version number. I'm not sure what RedHat does

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Caldarale, Charles R
From: Eric Robinson [mailto:eric.robin...@psmnv.com] Subject: RE: Java Heap Space / Thread Dump Numbers If you have the option, you might want to run a 32-bit JVM; it will probably run leaner and faster than a 64-bit JVM will. What do you mean my faster and leaner? Mostly leaner

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// You can look for biggest objects in heap (using MAT, Leak Suspects report, Dominators Tree report). This way you can try to find what was the exact reason of OOM instead of just thinking eh, I need to give instances more memory. MAT does things good. I've already found using MAT+JVVM the

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// Mostly leaner - a 32-bit JVM uses 32-bit pointers, so object references consume less heap and stack space. Whether or not the code runs faster or slower depends on what you're doing, since the tradeoff is fewer registers available in 32-bit mode, which can lead to more register spills and

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// Yeah, heapdumps. I've posted above some howtos, have you looked at them? // No, I'm not sure how useful I would find them. I think the heap summary is probably all I need, but I may be wrong. Would the heap dump provide more actionable intel as far as tuning my memory parameters? --Eric

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// Recent 64-bit JVMs will automatically use -XX:+UseCompressedOops. I'm not sure about your version, specifically. If you have the option, you might want to run a 32-bit JVM; it will probably run leaner and faster than a 64-bit JVM will. // Interesting. What do you mean my faster and leaner?

Re: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Антон Мацюк
2015-03-20 22:09 GMT+02:00 Eric Robinson eric.robin...@psmnv.com: I've posted above some howtos, have you looked at them? No, I'm not sure how useful I would find them. I think the heap summary is probably all I need, but I may be wrong. Would the heap dump provide more actionable intel as

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Caldarale, Charles R
From: Eric Robinson [mailto:eric.robin...@psmnv.com] Subject: RE: Java Heap Space / Thread Dump Numbers Would the heap dump provide more actionable intel as far as tuning my memory parameters? It would provide information about what types of objects are consuming the heap space. From

RE: Java Heap Space / Thread Dump Numbers

2015-03-19 Thread Eric Robinson
Christopher Shultz wrote: // Time to upgrade. Tomcat is hideously out of date (probably because you are using RedHat's Tomcat package), at least by version number. I'm not sure what RedHat does (if anything) about security fixes, etc. but a vanilla 6.0.18 is probably vulnerable and has been for

Re: Java Heap Space / Thread Dump Numbers

2015-03-19 Thread Антон Мацюк
Eric, if you are looking for a reasons and think, what can be done with OOMs, take a look at this page: http://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html There is an options: -XX:-HeapDumpOnOutOfMemoryError - it will make heapdump on OOM.

Re: Java Heap Space / Thread Dump Numbers

2015-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric, On 3/19/15 11:15 AM, Eric Robinson wrote: Thanks for the feedback. We run various versions of RHEL (5.5 to 6.3) x64. Tomcat is mostly 6.0.18. Java is mostly 6u21 x 64. Time to upgrade. Tomcat is hideously out of date (probably because you

RE: Java Heap Space / Thread Dump Numbers

2015-03-19 Thread Eric Robinson
PSYoungGen total 95808K, used 22323K [0x2aaac377, 0x2aaaca21, 0x2aaaca21) eden space 82432K, 10% used [0x2aaac377,0x2aaac402f7f8,0x2aaac87f) from space 13376K, 99% used [0x2aaac87f,0x2aaac94fd5a8,0x2aaac950) to

RE: Java Heap Space / Thread Dump Numbers

2015-03-18 Thread Caldarale, Charles R
From: Eric Robinson [mailto:eric.robin...@psmnv.com] Subject: Java Heap Space / Thread Dump Numbers PSYoungGen total 95808K, used 22323K [0x2aaac377, 0x2aaaca21, 0x2aaaca21) eden space 82432K, 10% used

Re: Java 8 and Tomcat 7.0.55?

2014-08-29 Thread Mark Thomas
On 29/08/2014 14:56, Jess Holle wrote: I have a web application which runs fine with Tomcat 7.0.55 and Java 7 (various updates, including Update 65). When I keep everything else constant and use Java 8 Update 20, I get errors around JSP compilation, e.g.: *

Re: Java 8 and Tomcat 7.0.55?

2014-08-29 Thread Jess Holle
Sorry for the false alarm. A little more digging showed that an old ECJ was getting used at runtime -- because it had been thwacked into the runtime classpath. [Don't ask.] It now works fine. On 8/29/2014 9:14 AM, Mark Thomas wrote: On 29/08/2014 14:56, Jess Holle wrote: I have a web

Re: Java Wrapper Service -Linux

2014-05-23 Thread Mark Eggers
On 5/23/2014 6:05 AM, vicky wrote: Guys, CAn someone please share the steps needed to configure the Java wrapper service for Tomcat. I'm using Tomcat 7 with JDK 1.7 on a Linux machine I have added the wrapper.conf under Catalina_base/conf directory wrapper script under Catalina_base/bin.

  1   2   3   4   5   >