Could not load com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask

2009-07-06 Thread gasdia73
Hi I periodically receive this exception in tomcat 6.0 with hibernate 3.3 and c3p0 as connection pooling library... can you point me to docs to further investigate the problem? thanx the stack trace is : 6-lug-2009 9.08.31 org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal

Re: Multiple invocation of servlet with the same URL request

2009-07-06 Thread Daniele Development-ML
Thanks Charles for the elucidation and the idea of using the stack trace. For the time being, however, I can't see anything wrong with my application. I'm attaching the stack trace below: == VISUALISATION! java.lang.Exception at

Re: Multiple invocation of servlet with the same URL request

2009-07-06 Thread Konstantin Kolinko
2009/7/6 Daniele Development-ML daniele@googlemail.com: (...) Looking at the log and all the printouts, I have noticed that the servlet is invoked four times (four log entries in the database) instead of one. This is also shown by the four System.out lines I found in the screen when

RE: Could not load com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask

2009-07-06 Thread Caldarale, Charles R
From: gasdia73 [mailto:gasdi...@gmail.com] Subject: Could not loadcom.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask I periodically receive this exception in tomcat 6.0 with hibernate 3.3 and c3p0 as connection pooling library... It looks like your webapp is starting an

header in Tomcat 6.x

2009-07-06 Thread Tuan Quan
Dear all; How can I set header in Tomcat 6 similar to IIS, in a way that when users type URL: http://mywebserver_name it automatically forwards to my webapp URL: http://mywebserver_name/myweb/jsp/login.jsp thanks. Tuan.

Does Tomcat ignore jsessionID URL's when usually cokies are used for session handling?

2009-07-06 Thread Clemens Eisserer
Hi, I have to integrate an applet into a larger html-based webapp. The html-based application uses cookies for session management, however the applet uses url-rewriting (jsessionid=...). My plan would be to pass the session-id to the applet as an applet-tag parameter, and simply re-write the

Re: Does Tomcat ignore jsessionID URL's when usually cokies are used for session handling?

2009-07-06 Thread Mark Thomas
Clemens Eisserer wrote: Hi, I have to integrate an applet into a larger html-based webapp. The html-based application uses cookies for session management, however the applet uses url-rewriting (jsessionid=...). My plan would be to pass the session-id to the applet as an applet-tag

Sticky session and ModJK Load Balancer

2009-07-06 Thread Emilio Recio
Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using mod_jk module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect. We have a dilemma using sticky session or not using it, with my team work. Setting

Re: Sticky session and ModJK Load Balancer

2009-07-06 Thread Mark Thomas
Emilio Recio wrote: Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using mod_jk module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect. We have a dilemma using sticky session or not using it, with my

RE: header in Tomcat 6.x

2009-07-06 Thread Caldarale, Charles R
From: Tuan Quan [mailto:tuan_q...@yahoo.com] Subject: header in Tomcat 6.x How can I set header in Tomcat 6 similar to IIS, in a way that when users type URL: http://mywebserver_name it automatically forwards to my webapp URL: http://mywebserver_name/myweb/jsp/login.jsp Take a look at

request thread hanging

2009-07-06 Thread Will Glass-Husain
Hi, I've got request threads hanging -- I can't seem to find out why. I've got a servlet that is sending an image retrieved from Jackrabbit. I use Commons IO -- IOUtils.copy()-- to copy the stream from the Jackrabbit node to response.getOutputStream(). Over time, the Tomcat manager shows an

Re: Sticky session and ModJK Load Balancer

2009-07-06 Thread Emilio Recio
Mark Thomas wrote: Emilio Recio wrote: Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using mod_jk module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect. We have a dilemma using sticky session or not

Session replication without Apache

2009-07-06 Thread Manu_SF
Hi, I have a working prototype tomcat cluster with 2 worker nodes connected to Apache webserver as the Loadbalancer with mod_jk connectors. The session replication works like a charm with these 2 nodes. However, my ultimate goal is to deploy it over a system that does NOT have Apache (Instead

Re: Session replication without Apache

2009-07-06 Thread Emilio Recio
Manu_SF wrote: Hi, I have a working prototype tomcat cluster with 2 worker nodes connected to Apache webserver as the Loadbalancer with mod_jk connectors. The session replication works like a charm with these 2 nodes. However, my ultimate goal is to deploy it over a system that does NOT have

Re: Response Time in Jasper Logs

2009-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 7/5/2009 2:56 PM, Robinson, Eric wrote: TOTAL REQUESTS: 43865 AVERAGE RESPONSE TIME: 18 ms RESPONSE TIME BREAKDOWN: 0 -10 ms: 36454 (83.00%) 11 -50 ms: 6128 (13.00%) 51 - 100 ms: 436 (0%) 101 - 250 ms: 453

Re: Response Time in Jasper Logs

2009-07-06 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 7/5/2009 2:56 PM, Robinson, Eric wrote: TOTAL REQUESTS: 43865 AVERAGE RESPONSE TIME: 18 ms RESPONSE TIME BREAKDOWN: 0 -10 ms: 36454 (83.00%) 11 -50 ms: 6128 (13.00%) 51 - 100 ms: 436 (0%)

Re: request thread hanging

2009-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Will, On 7/6/2009 2:23 PM, Will Glass-Husain wrote: I've got request threads hanging [snip] My configuration is httpd 2.0.52 - mod_jk 1.2.26 - Tomcat 6.0.18 (Windows) with tcnative 1.1.14. When performing benchmarking of all Tomcat's connectors

Re: Sticky session and ModJK Load Balancer

2009-07-06 Thread Rainer Jung
On 06.07.2009 20:27, Emilio Recio wrote: Mark Thomas wrote: Emilio Recio wrote: Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using mod_jk module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect.

Re: Session replication without Apache

2009-07-06 Thread Rainer Jung
On 06.07.2009 20:33, Manu_SF wrote: Hi, I have a working prototype tomcat cluster with 2 worker nodes connected to Apache webserver as the Loadbalancer with mod_jk connectors. The session replication works like a charm with these 2 nodes. However, my ultimate goal is to deploy it over a

RE: Response Time in Jasper Logs

2009-07-06 Thread Robinson, Eric
I would add that one good place to /start/ looking, is the DNS name resolution of your customer's workstations. Because if that is not working properly, then your server won't even see the request for a while after they click.. Thanks for the suggestion. The clients connect by IP address

Re: Multiple invocation of servlet with the same URL request

2009-07-06 Thread Mitch Claborn
Check the access logs - you may be actually getting multiple requests. Mitch Claborn mi...@claborn.net Konstantin Kolinko wrote: 2009/7/6 Daniele Development-ML daniele@googlemail.com: (...) Looking at the log and all the printouts, I have noticed that the servlet is invoked four

Re: request thread hanging

2009-07-06 Thread Will Glass-Husain
Interestingly - I can easily reproduce this by repeatedly refreshing the page when going through httpd When I go direct to Tomcat via http, it works fine. Maybe it's something about httpd or mod_jk then? WILL On Mon, Jul 6, 2009 at 12:10 PM, Christopher Schultzch...@christopherschultz.net

load testing

2009-07-06 Thread Logan, James S
We have been involved with load testing several sites that deploy a Tomcat server. When running a Load session, for some reason, each HTTP request will generate a login, when monitoring the server. The server is being monitored from the server-side and each request to the server will display a

Re: header in Tomcat 6.x

2009-07-06 Thread Konstantin Kolinko
2009/7/6 Tuan Quan tuan_q...@yahoo.com: Dear all; How can I set header in Tomcat 6 similar to IIS, in a way that when users type URL: http://mywebserver_name it automatically forwards to my webapp URL: http://mywebserver_name/myweb/jsp/login.jsp Don't know what there is in IIS, but here

FW: JAAS Realm with JDBC Authentication

2009-07-06 Thread Geofrey Rainey
Hello, I'm writing a Login Module to autheniticate users and basing my code on the example provided by Sun whereby the CallBackHandler prompts users from the command line. However I'd like to do this using the web server dialog box and JDBC auth to the database. Any ideas would be helpful.

Re: FW: JAAS Realm with JDBC Authentication

2009-07-06 Thread Mark Thomas
Geofrey Rainey wrote: Hello, I'm writing a Login Module to autheniticate users and basing my code on the example provided by Sun whereby the CallBackHandler prompts users from the command line. However I'd like to do this using the web server dialog box and JDBC auth to the database.

RE: FW: JAAS Realm with JDBC Authentication

2009-07-06 Thread Geofrey Rainey
Hi Mark, Yes i've read that document many times. However still need a few pointers on writing the Login Module and how it integrates with the Callbackhandler to create the popup dialog. I can't really find any comprehensive doco on this. regards, Geoff. -Original Message- From: Mark

Re: FW: JAAS Realm with JDBC Authentication

2009-07-06 Thread Mark Thomas
Geofrey Rainey wrote: Hi Mark, Yes i've read that document many times. However still need a few pointers on writing the Login Module and how it integrates with the Callbackhandler to create the popup dialog. I can't really find any comprehensive doco on this. I meant the source code.

Re: Periodic slow response to initial call to HttpServletRequest.getParameter()

2009-07-06 Thread mcoxta
I'm investigating the same type of issue with very similar symptoms. It's always a POST but when the call to getParamter finally returns there are no parameters. -- View this message in context:

RE: Periodic slow response to initial call to HttpServletRequest.getParameter()

2009-07-06 Thread Martin Gainty
quite possible the Session timed out so you should check socket_connect_timeout for timeout related to the socket connection_pool_size for how many connections are in the pool connectionTimeout the number of ms the connector will wait after accepting a connection for request URI to present

RE: request thread hanging

2009-07-06 Thread Martin Gainty
size of the image you are copying? if is over 2gb you might want to implment copyLarge method http://commons.apache.org/io/api-release/org/apache/commons/io/IOUtils.html#copyLarge(java.io.InputStream,%20java.io.OutputStream) also would be a good idea to trap IOException and NullPointerException