Exception in hibernate3 relating to timeout

2011-02-24 Thread abhishek jain
hi, I am not sure if i am ringing the correct list, but i am sure people here must have encountered this problem. I am new to hibernate and when i ran the code on server it was fine , strangely next day it keep on giving this error till i restart tomcat. The last packet successfully received from

RE: Tomcat 7 missing Tomcat 6's Context disableURLRewriting Setting?

2011-02-24 Thread Scott Hamilton
Holy smokes that was a quick response! Thanks!!! -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, February 24, 2011 5:47 PM To: Tomcat Users List Subject: Re: Tomcat 7 missing Tomcat 6's Context disableURLRewriting Setting? On 24/02/2011 22:44, Scott Hamilt

Re: Tomcat 7 missing Tomcat 6's Context disableURLRewriting Setting?

2011-02-24 Thread Mark Thomas
On 24/02/2011 22:44, Scott Hamilton wrote: > Is this capability somewhere else, perhaps not needed anymore, or perhaps > still on the backlog to be ported up to TC7? > See ServletContext.setSessionTrackingModes() Mark - To uns

Tomcat 7 missing Tomcat 6's Context disableURLRewriting Setting?

2011-02-24 Thread Scott Hamilton
Is this capability somewhere else, perhaps not needed anymore, or perhaps still on the backlog to be ported up to TC7?

Re: Issues with ntlmauth.dll on Apache Tomcat/5.5.26 (SQL server Windows Authentication)‏

2011-02-24 Thread André Warnier
BLEDAR MEMA wrote: Hi, We have a problem on our production servers . Tomcat was running fine and we decided to use the SQL server Window Authentication by adding ntlmauth.dll in system32 windows folder and updating the jtds to version jtds1.2.5.jar as instructed by the website. This has cause

Re: [OT] Memory Leak in Tomcat

2011-02-24 Thread André Warnier
Jeffrey Janner wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, February 24, 2011 3:43 AM To: Tomcat Users List Subject: Re: [OT] Memory Leak in Tomcat Jeffrey Janner wrote: .. Not sure exactly what Windows does once you've entered a verified user/

Re: When will SingleThreadModel be removed?

2011-02-24 Thread Tony Anecito
Okay maybe the best way is to do a form of grep and jarscan. Grep for the isThreadSafe existance and jarscan for the SingleThreadModel class. Regards, -Tony - Original Message From: Tony Anecito To: Tomcat Users List Sent: Thu, February 24, 2011 2:26:22 PM Subject: Re: When will Sin

Re: When will SingleThreadModel be removed?

2011-02-24 Thread Tony Anecito
I am betting you are right. Have you ever scanned for it? I was thinking jarscan might do the trick but it does not cover jsp's where the isThreadSafe is set to false. I am just hinking it is good from a System Admin point of view that it is there. Or maybe not :] Thanks, -Tony - Origi

RE: When will SingleThreadModel be removed?

2011-02-24 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Re: When will SingleThreadModel be removed? > Either way when Oracle removes it it will be like > Y2K all over again. My guess is that it will never be removed - just as all the other deprecated classes and APIs deprecated over ten y

Re: When will SingleThreadModel be removed?

2011-02-24 Thread Tony Anecito
Either way when Oracle removes it it will be like Y2K all over again. All the sites using Java will have to inspect all the code & JSP's somehow. The hope is no one was crazy enough to use SingleThreadModel but of course the temptation to use a thread safe model (though it can be misused and made

Re: When will SingleThreadModel be removed?

2011-02-24 Thread Tony Anecito
Thanks I did some more research and found out you are right about the isThreadSafe setting. I thought I saw otherwise somewhere else. -Tony - Original Message From: "Caldarale, Charles R" To: Tomcat Users List Sent: Thu, February 24, 2011 1:34:24 PM Subject: RE: When will SingleThre

RE: When will SingleThreadModel be removed?

2011-02-24 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: When will SingleThreadModel be removed? > When do you think SingleThreadModel will go from > deprecated to being gone? Not soon enough. > I noticed with Tomcat 7 it is still present so I am assuming > Servlet 3.0 api still has it pr

When will SingleThreadModel be removed?

2011-02-24 Thread Tony Anecito
Hi All, When do you think SingleThreadModel will go from deprecated to being gone? I noticed with Tomcat 7 it is still present so I am assuming Servlet 3.0 api still has it present. Is it true by default all JSP's use it unless otherwise specified? Thanks, -Tony

RE: [OT] Memory Leak in Tomcat

2011-02-24 Thread Jeffrey Janner
> -Original Message- > From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Sent: Thursday, February 24, 2011 3:57 AM > To: Tomcat Users List > Subject: Re: [OT] Memory Leak in Tomcat > > On 24 February 2011 09:42, André Warnier wrot

RE: [OT] Memory Leak in Tomcat

2011-02-24 Thread Jeffrey Janner
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Thursday, February 24, 2011 3:43 AM > To: Tomcat Users List > Subject: Re: [OT] Memory Leak in Tomcat > > Jeffrey Janner wrote: > .. > >> > > > > Not sure exactly what Windows does once you've entered a verified >

RE: a problem about my jsf-tomcat application on opening

2011-02-24 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: a problem about my jsf-tomcat application on opening > unless you're running behind a proxy. Enable the AccessLogValve in your server.xml file to see if you are getting requests via a proxy. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND

RE: a problem about my jsf-tomcat application on opening

2011-02-24 Thread Caldarale, Charles R
> From: ahmet temiz [mailto:ahmettemi...@gmail.com] > Subject: Re: a problem about my jsf-tomcat application on opening > Could you tell me how you got these results ? http://www.fiddler2.com/fiddler2/ Coupled with the knowledge that Tomcat doesn't do anything like what you're seeing - unless

Re: a problem about my jsf-tomcat application on opening

2011-02-24 Thread ahmet temiz
thank you Could you tell me how you got these results ? regards 2011/2/23 Caldarale, Charles R : >> From: ahmet temiz [mailto:ahmettemi...@gmail.com] >> Subject: a problem about my jsf-tomcat application on opening > >> How can I enable its opening in first try. > > Fix your webapp.  It's return

Re: programming question

2011-02-24 Thread David kerber
On 2/24/2011 11:35 AM, chris derham wrote: When I mention them that their programs should handle the situation resulting from the database bounce automagically and not the dba handling the web app or Tomcat shutdowns and restarts, they look at me like I came from Mars or Saturn :-) If you cod

Re: programming question

2011-02-24 Thread David Smith
With tomcat's built-in database pooling, just adding a validation query to the resource config should be all that's necessary. On each borrow of a connection, the connection is tested and closed if the test fails. Failed connections are replaced with new ones. --David On 2/24/2011 10:49 AM, Ján

Re: programming question

2011-02-24 Thread chris derham
> > When I mention them that their programs should handle the situation > resulting from the database bounce automagically and not the dba handling > the web app or Tomcat shutdowns and restarts, they look at me like I came > from Mars or Saturn :-) > If you code the app to use a connection pool,

Re: AccessLogValve pattern (timestamp, bytes sent and time taken)

2011-02-24 Thread Antonios Kogias
Thank you for the answer Chris. You noted about confirmation of some issues, and I'd been waiting for it until now. You stated that "For a simple request, the timing will include any time blocking on response buffers..." and it would be good enough for me, if confirmed. And I would like some

Re: programming question

2011-02-24 Thread János Löbb
On Feb 24, 2011, at 10:58 AM, David kerber wrote: > On 2/24/2011 10:49 AM, János Löbb wrote: >> Hi, >> >> What is the very basic structure of a web application that is connected to a >> database through a connection pool, but would not require to restart itself >> or restart Tomcat when the da

Re: programming question

2011-02-24 Thread David kerber
On 2/24/2011 10:49 AM, János Löbb wrote: Hi, What is the very basic structure of a web application that is connected to a database through a connection pool, but would not require to restart itself or restart Tomcat when the database goes down - let say for maintenance ? Telling otherwise how

programming question

2011-02-24 Thread János Löbb
Hi, What is the very basic structure of a web application that is connected to a database through a connection pool, but would not require to restart itself or restart Tomcat when the database goes down - let say for maintenance ? Telling otherwise how to write a webapp that would survive a dat

Re: Response.SendRedirect problems

2011-02-24 Thread faheem farhan
Hi Ashwin I am too facing the same issue now , On redirection the port number is getting omitted, Since this is a 2 years back thread, I suppose you might have got the solution, Please reply back with the solution. thanks faheem ashwin soorkeea wrote: > > > Hello all, > > I have a problem

RE: Issue with oralce drive under tomcat 7

2011-02-24 Thread Robert.Jenkin
We have classes for oracle, Microsoft, and db2 and each class is specific to the vendor. I have inherited the code. I also question why class name are different and why removing ojdbc6.jar from app\lib worked. Sincerely, Robert Jenkin Surecomp Services, Inc. 2 Hudson Place, 4th Floor Hoboken, N

Re: Choosing the right worker

2011-02-24 Thread laredotornado
Hi, We are not observing a failover. Our index page served by our first app server (worker1) was returning a 500 http status code, whereas the same index page served by our second app server (worker2) was returning normally (http status = 200). Yet the 500 error page was getting all the way bac

Issues with ntlmauth.dll on Apache Tomcat/5.5.26 (SQL server Windows Authentication)‏

2011-02-24 Thread BLEDAR MEMA
Hi, We have a problem on our production servers . Tomcat was running fine and we decided to use the SQL server Window Authentication by adding ntlmauth.dll in system32 windows folder and updating the jtds to version jtds1.2.5.jar as instructed by the website. This has caused a memory leak in t

Re: how to caculate the PV,ip,PU according to the tomcat log

2011-02-24 Thread maven apache
TO *Christopher Schultz*: 2011/2/23 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > To whom it may concern, > > On 2/18/2011 7:38 PM, maven apache wrote: > > how to caculate the PV,ip,PU according to the tomcat log? > > Good question. What are PV, ip, and PU? > Thanks

Re: Secure AJP over ssl

2011-02-24 Thread Tim Funk
Or it could be in the world of outsourcing you have a giant pool of 1st, 2nd, and 3rd level support who are offshore which need "access" to perform basic trouble shooting before escalation. And 90% of them have no idea they have access but getting them access when they would need it becomes a g

Re: [OT] Memory Leak in Tomcat

2011-02-24 Thread Peter Crowther
On 24 February 2011 09:42, André Warnier wrote: > Jeffrey Janner wrote: > .. > >> >>> >> Not sure exactly what Windows does once you've entered a verified user/pw >> combination for a service. I'm guessing that it stores the password >> somehow, because if you change the password, the service wo

Re: [OT] Memory Leak in Tomcat

2011-02-24 Thread André Warnier
Jeffrey Janner wrote: .. Not sure exactly what Windows does once you've entered a verified user/pw combination for a service. I'm guessing that it stores the password somehow, because if you change the password, the service won't start next time. It is stored in whatever format, encrypte

Re: Performance Tuning Tomcat 7...

2011-02-24 Thread Mark Thomas
On 24/02/2011 06:42, Tony Anecito wrote: > Hi Mark, > > I setup a simple servlet with no code in the doGet() method running in Tomcat > 7.0.8 and using jvm 1.6.22 and using httpclient from apache commons lib and I > am > lucky to get 2.8msec per request as measured at the client. I am thinking

Re: [OT] Memory Leak in Tomcat

2011-02-24 Thread הילה
I'll try to check what you suggested. sounds like something that maybe shed some light on this issue. Thanks :] 2011/2/23 André Warnier > הילה wrote: > >> Yes, I've read you other mail about the Jprofiler. I've run the Jprofiler >> for a weak until it generated a stuck process on the DB and cra

Re: [OT] Memory Leak in Tomcat

2011-02-24 Thread הילה
I know it has its advantages, that's why I used it :] but if the memory leak will continue, and I won't figure it out, I think I'd have to start looking for alternate possibilities Thanks Hila 2011/2/24 Jeffrey Janner > > -Original Message- > > From: Christopher Schultz [mailto:ch...@c