Re: Fix for java.lang.VerifyError in tomcat 7.0.19 all the way thru tomcat 7.0.27!!

2012-05-31 Thread Anjan Bacchu
Hi Chris, Thank you. Do you/they need any additional info to help fix the bug ? Thanks again, BR, ~A On Thu, May 31, 2012 at 11:42 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Anjan, > > On 5/31/12 12:28 PM, Anjan Bacc

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-05-31 Thread Kiran Badi
Ok I did it this way in TC 7.0.27 as I decided not to touch Netbeans setup with 7.0.11( I had messed up TC7.0.11 after doing several trial and error stuff,felt real pain) I have TC7.0.27 running as window service which I use it deploy my latest build everyday. In server xml, I added below co

Re: mod_jk2 question

2012-05-31 Thread Konstantin Kolinko
2012/6/1 이재만 : > Thanks in advance.Currently my site is being used in the tomcat + > apache.Version 2.0 uses Apache, Tomcat will use the point-to-5.Airline > reservation system, which during use, the customer booking the reservation > there is a duplicate of the trouble it hurts.During which we

mod_jk2 question

2012-05-31 Thread 이재만
Thanks in advance.Currently my site is being used in the tomcat + apache.Version 2.0 uses Apache, Tomcat will use the point-to-5.Airline reservation system, which during use, the customer booking the reservation there is a duplicate of the trouble it hurts.During which we use mod_jk2, default o

Re: transport CONFIDENTIAL based on remote ip/host filter?

2012-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 5/31/12 3:30 PM, Konstantin Kolinko wrote: > 2012/5/31 Timothy J Schumacher : >> Hi, >> >> We are using Apache Tomcat 6.0.35 >> >> with >> >> # java -version java version "1.6.0_30" Java(TM) SE Runtime >> Environment (build 1.6.0_30-

Re: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brooke, On 5/31/12 3:53 PM, Hedrick, Brooke - 43 wrote: > Are you just concerned about the restart() being called by more > than 1 thread since the restarting member variable isn't > protected? Yes. > If so, I was looking for a short term, simple, f

RE: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Hedrick, Brooke - 43
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Thursday, May 31, 2012 2:27 PM > To: Tomcat Users List > Subject: Re: Question about resetting datasources and changes to the > BasicDataSource.close() method > > -BEGIN PGP SIGNED MESSAGE--

Re: transport CONFIDENTIAL based on remote ip/host filter?

2012-05-31 Thread Konstantin Kolinko
2012/5/31 Timothy J Schumacher : > Hi, > > We are using Apache Tomcat 6.0.35 > > with > > # java -version > java version "1.6.0_30" > Java(TM) SE Runtime Environment (build 1.6.0_30-b12) > Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing) > > in redhat linux. > > I am wondering if th

Re: transport CONFIDENTIAL based on remote ip/host filter?

2012-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 5/31/12 1:16 PM, Timothy J Schumacher wrote: > I am wondering if there is a way to use transport CONFIDENTIAL for > all hosts that are not localhost? I am guessing the servlet spec > does not allow this, it seems to be all or none in the web.

Re: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brooke, On 5/31/12 11:56 AM, Hedrick, Brooke - 43 wrote: > /** * Not used currently */ protected boolean restarting = false; > // bth new > > public void restart() { try { restarting = true; // bth new try { > close(); } finally { restarting = fals

Re: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brooke, On 5/31/12 11:51 AM, Hedrick, Brooke - 43 wrote: > Our release cycle has us releasing many applications on many JVMs > every week. From time to time, these applications have issues in > them where someone has made a code change that require

RE: jk 1.2.36 throwing 503/sendfull/cping errors

2012-05-31 Thread Anthony J. Biacco
Thanks for the fix btw -Tony -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Tuesday, May 29, 2012 11:39 AM To: users@tomcat.apache.org Subject: Re: jk 1.2.36 throwing 503/sendfull/cping errors On 05/29/2012 07:28 PM, Anthony J. Biacco wrote: > Trunk works. > Cool.

Re: Fix for java.lang.VerifyError in tomcat 7.0.19 all the way thru tomcat 7.0.27!!

2012-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anjan, On 5/31/12 12:28 PM, Anjan Bacchu wrote: > Do you suggest that the Eclipse compiler developers be told about > this bug so they can fix it in the next release ? You're talking to them already ;) - -chris -BEGIN PGP SIGNATURE- Version:

RE: non blocking Websockets?

2012-05-31 Thread Filip Hanik (mailing lists)
You can achieve that right now. Use the NIO connector, And then set up the write buffer: -Original Message- > From: Christian Finckler [mailto:christian.finck...@gmx.de] > Sent: Thursday, May 31, 2012 11:45 AM > To: Tomcat Users List > Subject: Re: non blocking Websockets? > > > > Am 3

Re: non blocking Websockets?

2012-05-31 Thread Christian Finckler
Am 31.05.2012 11:09, schrieb Mark Thomas: On 31/05/2012 10:02, Christian Finckler wrote: Hello, as far I understood, the websocket implementation of tomcat is using one thread per client. Is there also a possibility to configure it to use non blocking IO? No. That has not yet been implemented

transport CONFIDENTIAL based on remote ip/host filter?

2012-05-31 Thread Timothy J Schumacher
Hi, We are using Apache Tomcat 6.0.35 with # java -version java version "1.6.0_30" Java(TM) SE Runtime Environment (build 1.6.0_30-b12) Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing) in redhat linux. I am wondering if there is a way to use transport CONFIDENTIAL for all hos

Re: Fix for java.lang.VerifyError in tomcat 7.0.19 all the way thru tomcat 7.0.27!!

2012-05-31 Thread Anjan Bacchu
Hi Konstatin, Thanks very much for the quick response. ChLogin.jsp : It is our own code -- mostly does some simple java scriptlet which do jsp:forwarding to other JSPs. -- about 150 lines of code. No, we don't precompile the JSPs. We deployed other apps to this same tomcat and they work just

RE: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Hedrick, Brooke - 43
Thanks Konstantin. I made the change locally, slightly different than what I suggested. I performed some load tests and called the now public restart() method. I didn't encounter any exceptions and the pools reset as expected. This is my work-around though. How do you reset or resize conne

RE: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Hedrick, Brooke - 43
Chris, We don't have "high load" applications for the most part so it is pretty common to have a MaxActive set to around 5 or 10. We monitor applications to watch for high-water marks to make sure we keep 10-20% headroom on for free datasource connections. Our release cycle has us releasin

Re: thread dump of Tomcat7.0.27.exe on is not working

2012-05-31 Thread Takeshi.Yoshida
Hi, Thanks for your replies and help, Chris and Konstantin. I watch below link from now on. Best Regards, Takeshi Yoshida (2012/05/31 20:56), Konstantin Kolinko wrote: 2012/5/30 Takeshi.Yoshida: Hi, I installed Tomcat7.0.27.exe on Windows7 and Windows2008R2. The Tomcat almost works fine. How

Re: Fix for java.lang.VerifyError in tomcat 7.0.19 all the way thru tomcat 7.0.27!!

2012-05-31 Thread Konstantin Kolinko
2012/5/31 Anjan Bacchu : > Hi all, > >  I've been a tomcat user for about 10 years -- starting with 3.x. So > thanks the user and dev community for all the help. > > I recently tried moving our appserver from 5.5 to 7. as soon as I deployed > our webapp to tomcat 7.0.27 and tried the app, I got a >

Re: tomcat jdbc pool, creating a pool of pools, single connection memory footprint

2012-05-31 Thread S Ahmed
>It would be easier if all databases were hosted by a single instance >of MySQL -- then you could use Tomcat-pool's feature of being able to >provide credentials when obtaining connections from the pool -- and >get the right database. That way, a much smaller number of connections >could be maintai

Fix for java.lang.VerifyError in tomcat 7.0.19 all the way thru tomcat 7.0.27!!

2012-05-31 Thread Anjan Bacchu
Hi all, I've been a tomcat user for about 10 years -- starting with 3.x. So thanks the user and dev community for all the help. I recently tried moving our appserver from 5.5 to 7. as soon as I deployed our webapp to tomcat 7.0.27 and tried the app, I got a java.lang.VerifyError. down below is

Re: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Konstantin Kolinko
2012/5/30 Hedrick, Brooke - 43 : >(...) > > So far, my options point to making changes to the BasicDataSource to provide > a way to set closed=false or make the private method below public with a > change to set closed=false. > >    /** >     * Not used currently >     */ >    private void restar

Re: thread dump of Tomcat7.0.27.exe on is not working

2012-05-31 Thread Konstantin Kolinko
2012/5/30 Takeshi.Yoshida : > Hi, > > I installed Tomcat7.0.27.exe on Windows7 and Windows2008R2. > The Tomcat almost works fine. > However, when I right click on the Tomcat service icon on system tray > and select menu "Thread Dump", > I get a windows message and it's saying: > "The system can not

Re: how to test hash collision security fix in tomcat 7.1

2012-05-31 Thread Konstantin Kolinko
2012/5/31 manjesh : > Hi, > The exact version of tomcat I am working with is 7.0.27 > > I am verifying the fix discussed here > > http://news.softpedia.com/news/Apache-Tomcat-Workaround-for-Hashtable-Collision-DoS-Vulnerability-243544.shtml > > > Here is the snippet of implementation  [ ... ] 1. T

Re: non blocking Websockets?

2012-05-31 Thread Mark Thomas
On 31/05/2012 10:02, Christian Finckler wrote: > Hello, > as far I understood, the websocket implementation of tomcat is using one > thread per client. > Is there also a possibility to configure it to use non blocking IO? No. That has not yet been implemented. It shouldn't be too hard provided tha

non blocking Websockets?

2012-05-31 Thread Christian Finckler
Hello, as far I understood, the websocket implementation of tomcat is using one thread per client. Is there also a possibility to configure it to use non blocking IO? Then it should be easier to serve lots of connections without creating unlimited threads. Thank you, Chris --