which java ?

2012-06-01 Thread André Warnier
Hi. I am in the process of installing a new system at a customer, Tomcat 6 being part of the mix. This is a Suse Enterprise Linux (SEL) system, and the sysadmins at the customer very strongly favor using the pre-packaged software available with that distribution. (A position which which I

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-06-01 Thread maria petrova
Hi, As the Servlet 3.0 expert group shed some lighthttp://java.net/projects/servlet-spec/lists/users/archive/2012-05/message/1upon this question I would like to raise it here again. So do you plan revising the current processing of annotations (based on the web.xml version) as it contradicts

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

2012-06-01 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/06/2012 03:38, Anjan Bacchu wrote: Hi Chris, Thank you. Do you/they need any additional info to help fix the bug ? The following are required to confirm exactly where the bug is: - - The JSP the causes the problem - - The .java file (in

Connecting to Tomcat APR Connector with TLSv1 fails with Java HttpsURLConnection

2012-06-01 Thread Osipov, Michael
Hi folks, I am on Tomcat 6.0.35, Java 6, HP-UX, Tomcat Native 1.1.22. Recenly, I had to switch my Http11AprProtocol connector to TLSv1 due to a security scans in our company. After that a CLI client with Java's HttpsURLConnection failed to connect to that server: Exception in thread main

Re: WebApp on Tomcat recognize automaticely uploaded file

2012-06-01 Thread Ermal Aliraj
I know is strange but webAppA, started to work suddenly. The only thing I have done this days is a lot of restarts when deploying stuff for webAppB. Now seems that each image uploaded through webAppB, inside c:/pathtoDocbase/webAppA/uploads/ (or pasted directly in file system) is been

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

2012-06-01 Thread Hedrick, Brooke - 43
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, May 31, 2012 5:23 PM Yup: the solution is to just synchronize all the methods. If restart() is synchronized, it will only operate while other methods are not actively checking-out

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

2012-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 5/31/12 10:37 PM, Kiran Badi wrote: 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

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

2012-06-01 Thread Konstantin Kolinko
2012/5/30 Hedrick, Brooke - 43 brooke.hedr...@rainhail.com: (...) Next, I looked at the new datasource org.apache.tomcat.jdbc.pool.DataSource.   I have not found any methods to close/reset the pools and the JMX attributes are readonly.  This prevents us both from resetting and resizing our

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

2012-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brooke, On 6/1/12 11:54 AM, Hedrick, Brooke - 43 wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, May 31, 2012 5:23 PM That's what I will submit to commons-dbcp, then. On the

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

2012-06-01 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Question about resetting datasources and changes to the BasicDataSource.close() method Locking this makes sure that the thread's local copy of whatever-you-are-getting is updated properly and not stale-cached. If

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

2012-06-01 Thread Hedrick, Brooke - 43
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, June 01, 2012 11:06 AM By the way: fix bug53254/bug (rev1340160/rev): Add in the ability to purge connections from the pool (fhanik) /fix

Re: which java ?

2012-06-01 Thread Konstantin Kolinko
2012/6/1 André Warnier a...@ice-sa.com: Hi. I am in the process of installing a new system at a customer, Tomcat 6 being part of the mix.  This is a Suse Enterprise Linux (SEL) system, and the sysadmins at the customer very strongly favor using the pre-packaged software available with that

Re: which java ?

2012-06-01 Thread André Warnier
Konstantin Kolinko wrote: 2012/6/1 André Warnier a...@ice-sa.com: Hi. I am in the process of installing a new system at a customer, Tomcat 6 being part of the mix. This is a Suse Enterprise Linux (SEL) system, and the sysadmins at the customer very strongly favor using the pre-packaged

Re: which java ?

2012-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/1/12 4:44 AM, André Warnier wrote: Or to phrase the question otherwise : are there strong reasons to push for installing instead an Oracle/Sun 1.6 JVM on that system (outside the SEL package management system and thus risking to

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

2012-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ahmed, On 5/31/12 9:33 AM, S Ahmed wrote: 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 --

ROOT.xml problem

2012-06-01 Thread Kevin Marx
I am using Tomcat 7 and wish to have my app open as the default page. I have googled and basically found the following recommendation, but its not working. Wondering what I am missing? ROOT.xml code…. ?xml version=1.0 encoding=utf-8? Context docBase=corda.war path=/corda

Re: ROOT.xml problem

2012-06-01 Thread Konstantin Kolinko
2012/6/1 Kevin Marx simplyfema...@gmail.com: I am using Tomcat 7 and wish to have my app open as the default page. I have googled and basically found the following recommendation, but its not working.  Wondering what I am missing? ROOT.xml code…. ?xml version=1.0 encoding=utf-8? Context

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-06-01 Thread Mark Thomas
On 01/06/2012 09:55, maria petrova wrote: Hi, As the Servlet 3.0 expert group shed some lighthttp://java.net/projects/servlet-spec/lists/users/archive/2012-05/message/1upon this question I would like to raise it here again. So do you plan revising the current processing of annotations

Re: ROOT.xml problem

2012-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 6/1/12 2:40 PM, Kevin Marx wrote: I am using Tomcat 7 and wish to have my app open as the default page. I have googled and basically found the following recommendation, but its not working. Wondering what I am missing? ROOT.xml

Re: ROOT.xml problem

2012-06-01 Thread Kevin Marx
The ROOT.xml file is in the Catalina/localhost folder Renaming the folder didn't work BTW. I have the /corda folder located in the /webapps folder I'd like the /corda to be the default app when I don't have the ROOT.xml file, I can go to the browser and enter http://localhost/corda and

Re: ROOT.xml problem

2012-06-01 Thread Mark Thomas
On 01/06/2012 22:22, Kevin Marx wrote: The ROOT.xml file is in the Catalina/localhost folder Renaming the folder didn't work BTW. I have the /corda folder located in the /webapps folder I'd like the /corda to be the default app when I don't have the ROOT.xml file, I can go to the

Re: ROOT.xml problem

2012-06-01 Thread Kevin Marx
OK… here's what I've done. ROOT.xml located in /conf/Catalina/localhost contents of Root.xml ?xml version=1.0 encoding=ISO-8859-1? Context docBase=C:\Corda\CenterView4\Server\corda path= reloadable=true / http://localhost:8080 entered on a browser Lost session info before

Re: ROOT.xml problem

2012-06-01 Thread Mark Thomas
On 01/06/2012 22:53, Kevin Marx wrote: OK… here's what I've done. ROOT.xml located in /conf/Catalina/localhost contents of Root.xml Case matters. Which is it? ?xml version=1.0 encoding=ISO-8859-1? Context docBase=C:\Corda\CenterView4\Server\corda path=

RE: ROOT.xml problem

2012-06-01 Thread Caldarale, Charles R
From: Kevin Marx [mailto:simplyfema...@gmail.com] Subject: Re: ROOT.xml problem ROOT.xml located in /conf/Catalina/localhost ?xml version=1.0 encoding=ISO-8859-1? Context docBase=C:\Corda\CenterView4\Server\corda path= reloadable=true / As you've been told before,

Re: ROOT.xml problem

2012-06-01 Thread Kevin Marx
OK, response to last two (Thomas and Charles) ROOT.xml (understood the case matters comment, it is capitals ROOT.xml) removed the path= contents now are: ?xml version=1.0 encoding=ISO-8859-1? Context docBase=C:\Corda\CenterView4\Server\corda reloadable=true / Same message

Re: ROOT.xml problem

2012-06-01 Thread Kevin Marx
OK, response to last two (Thomas and Charles) ROOT.xml (understood the case matters comment, it is capitals ROOT.xml) removed the path= contents now are: ?xml version=1.0 encoding=ISO-8859-1? Context docBase=C:\Corda\CenterView4\Server\corda reloadable=true / Same message

Re: ROOT.xml problem

2012-06-01 Thread Pid
On 01/06/2012 22:22, Kevin Marx wrote: I know there is a way to do this without renaming things to ROOT, that's what I'm looking for. Why make your life so difficult, what's wrong with just calling it ROOT.war? /baffled If you're really desperate to see that it's called 'corda', call the

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

2012-06-01 Thread Kiran Badi
On 6/1/2012 9:27 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 5/31/12 10:37 PM, Kiran Badi wrote: 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

getting frustrated with web sockets

2012-06-01 Thread Ravi
I am trying to build an android app that connects to tomcat web sockets. I need a few java classes that can interact with tomcat websockets. I have tried 3 different implementations (strumsoft, jwebsockets and something else also) but neither one can talk to tomcat correctly. The issue