Re: JDBC Realm & exceptions

2015-02-05 Thread Felix Schumacher
Am 5. Februar 2015 22:21:38 MEZ, schrieb Leonid Rozenblyum : >Hello Felix! >Thanks for the detail answer! Good suggestion about DataSourceRealm! >(I thought about this possibility but then I discovered that we have >extended JDBCRealm to support some complex DB structure so maybe this >switch t

RE: Tomcat 7.0.55 System Down

2015-02-05 Thread Caldarale, Charles R
> From: 토로치 [mailto:http7...@gmail.com] > Subject: Re: Tomcat 7.0.55 System Down > > That is a very old JVM. You should also try updating that to the latest > > 7.0.x release and see if the bug reoccurs. > This solution is extremely dependent on JAVA version. Then your solution is seriously bro

Re: Tomcat 7.0.55 System Down

2015-02-05 Thread 토로치
Hi Mark Thomas. Firstry thanks for your reply. > If you think you have hit a JVM bug, why are you posting here? I wanted to get solutions in variety of ways. > That is a very old JVM. You should also try updating that to the latest 7.0.x release and see if the bug reoccurs. This solution is ex

RE: Sporadic HTTP 403 returned by Tomcat when this should not happen ever. How to find out why this happens?

2015-02-05 Thread Brian
Hello David, Not, it is not the case. No exceptions whatsoever. And about 1/100 (or less) of the requests return a 403 to the users, and all those requests are doing the same thing. Thanks a lot for your help! > -Original Message- > From: David Bullock [mailto:david.bull...@machaira.co

Re: Sporadic HTTP 403 returned by Tomcat when this should not happen ever. How to find out why this happens?

2015-02-05 Thread David Bullock
On 6 February 2015 at 02:42, Brian wrote: > Hi, > > I have a Restful service that receives a huge amount of HTTP requests per > day. In some of these requests, Tomcat returns an HTTP 403 error status. > Your servlet does something which throws a java.lang.Security exception (which is a runtime e

Re: JDBC Realm & exceptions

2015-02-05 Thread Leonid Rozenblyum
Hello Felix! Thanks for the detail answer! Good suggestion about DataSourceRealm! (I thought about this possibility but then I discovered that we have extended JDBCRealm to support some complex DB structure so maybe this switch to another Realm is not SO easy as it should be). Is it a good idea t

Re: JDBC Realm & exceptions

2015-02-05 Thread Felix Schumacher
Hi Leonid, Am 05.02.2015 um 16:28 schrieb Leonid Rozenblyum: Hello! After upgrading from Tomcat7 to Tomcat8 we started facing exceptions: rg.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication org.postgresql.util.PSQLException: This statement has been closed

Re: Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-05 Thread Mark Thomas
On 05/02/2015 18:51, Jerry Malcolm wrote: > There is an apparent bug or functional change dealing with the sax > package getting loaded that was introduced in 8.0.17. > > Background: I have been in the process of migrating three independent > servers to new hardware. As part of the migration, I d

Re: HttpSessionBindingListener details

2015-02-05 Thread Igor Urisman
Right, makes sense. Thank you. On Thu, Feb 5, 2015 at 10:21 AM, Konstantin Kolinko wrote: > 2015-02-05 21:07 GMT+03:00 Igor Urisman : > > Hello, folks. > > > > I can't seem to find a good solution for the following problem. I have > an > > object that is added to the HTTP session via the setAtt

Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-05 Thread Jerry Malcolm
There is an apparent bug or functional change dealing with the sax package getting loaded that was introduced in 8.0.17. Background: I have been in the process of migrating three independent servers to new hardware. As part of the migration, I decided to upgrade all of them to the latest Tomc

Re: HttpSessionBindingListener details

2015-02-05 Thread Konstantin Kolinko
2015-02-05 21:07 GMT+03:00 Igor Urisman : > Hello, folks. > > I can't seem to find a good solution for the following problem. I have an > object that is added to the HTTP session via the setAttribute() method. The > object implements the HttpSessionBindingListener interface and its > valueUnbound(

HttpSessionBindingListener details

2015-02-05 Thread Igor Urisman
Hello, folks. I can't seem to find a good solution for the following problem. I have an object that is added to the HTTP session via the setAttribute() method. The object implements the HttpSessionBindingListener interface and its valueUnbound() method is dutifully called by the contained at the

Sporadic HTTP 403 returned by Tomcat when this should not happen ever. How to find out why this happens?

2015-02-05 Thread Brian
Hi, I have a Restful service that receives a huge amount of HTTP requests per day. In some of these requests, Tomcat returns an HTTP 403 error status. This should never happen as far as I can tell because the resource is open, and is very sporadic but yet very critical because it makes my servi

JDBC Realm & exceptions

2015-02-05 Thread Leonid Rozenblyum
Hello! After upgrading from Tomcat7 to Tomcat8 we started facing exceptions: rg.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication org.postgresql.util.PSQLException: This statement has been closed. They look like not giving any harm (?). Could we do anything

Re: [OT] Tomcat 7.0.55 System Down

2015-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/5/15 4:29 AM, Mark Thomas wrote: > On 05/02/2015 09:11, 토로치 wrote: >> Hello. >> >> >> I am a PLM system developers. >> >> We PLM system operates by JAVA. >> >> We are using the Tomcat version 7.0.55. >> >> The system Down occurs when

Re: JDBC authentication problem

2015-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Luc, On 2/5/15 5:25 AM, Luc DALLEMANE wrote: > The keep alive on postgres was already setup, but was not working. > However, I finally found a workaround. > > I'm using the tomcat connexion pool, but For the authentication, > Tomcat is creating its

Re: Issues with log4j.core.async.AsyncLoggerContextSelector when upgrading from 8.0.15 to 8.0.18

2015-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 2/4/15 12:15 PM, Evil Bit wrote: > setenv.sh does have an extra "\r" but the same file worked for me > on 8.0.15 - I only copied it from the older tomcat. How did you copy it? Was 8.0.15 running on Windows or *NIX? > I r

Re: Tomcat 7.0.55 System Down

2015-02-05 Thread 토로치
Hi André Warnier. Thank you for your reply. I am in charge of customize the Dassault Systèmes PLM solution, ENOVIA. PLM(Product lifecycle management) is the process of managing the entire lifecycle of a product from inception, through engineering design and manufacture, to service and disposal o

Re: FIPS Mode enabling on Tomcat 7.00.057

2015-02-05 Thread Geett Chanddra Singha
Thanks Chris! I am able to resolve the issue. On Fri, Jan 30, 2015 at 10:09 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Geet, > > On 1/30/15 1:22 AM, Geett Chanddra Singha wrote: > > Steps followed to build FIPS > > > > t

RE: JDBC authentication problem

2015-02-05 Thread Felix Schumacher
Am 5. Februar 2015 11:25:13 MEZ, schrieb Luc DALLEMANE : >Hi, > >The keep alive on postgres was already setup, but was not working. >However, I finally found a workaround. > >I'm using the tomcat connexion pool, but For the authentication, Tomcat >is creating its own connexion and does not use th

RE: JDBC authentication problem

2015-02-05 Thread Luc DALLEMANE
Hi, The keep alive on postgres was already setup, but was not working. However, I finally found a workaround. I'm using the tomcat connexion pool, but For the authentication, Tomcat is creating its own connexion and does not use the pool (and seems to use the same connexion all along the sessi

Re: Tomcat 7.0.55 System Down

2015-02-05 Thread Mark Thomas
On 05/02/2015 09:11, 토로치 wrote: > Hello. > > > I am a PLM system developers. > > We PLM system operates by JAVA. > > We are using the Tomcat version 7.0.55. > > The system Down occurs when we are using a PLM system. > > The hs-err_pid5684.mdmp file over 20GB is created in the Tomcat root fold

Re: Tomcat 7.0.55 System Down

2015-02-05 Thread André Warnier
Hi. As per the error information which you copied below, this seems to be a Java or Windows problem, not a Tomcat problem. The right place to report that problem is to the vendor that makes the Java which you are using (Oracle), or the vendor of the OS which you are using (Microsoft). Or maybe e

Tomcat 7.0.55 System Down

2015-02-05 Thread 토로치
Hello. I am a PLM system developers. We PLM system operates by JAVA. We are using the Tomcat version 7.0.55. The system Down occurs when we are using a PLM system. The hs-err_pid5684.mdmp file over 20GB is created in the Tomcat root folder. When the contents of the hs_err_pid5512.log fi