Re: Change Default SSL port on Tomcat

2011-12-15 Thread Pid *
On 16 Dec 2011, at 03:28, Blaxton wrote: > Hi > > Apache 2.2 is connected to Tomcat 6.0.29 through mod_jk and all works fine. > > uncommented Connector port=8443 and by adding required fields in web.xml > accessing secured pages would be forwarded to https with port 8443, > but when I change the

Change Default SSL port on Tomcat

2011-12-15 Thread Blaxton
Hi Apache 2.2 is connected to Tomcat 6.0.29 through mod_jk and all works fine. uncommented Connector port=8443 and by adding required fields in web.xml accessing secured pages would be forwarded to https with port 8443, but when I change the port from 8443 to 443, the same URL that was working wi

Re: Access dbf files outside context/docbase

2011-12-15 Thread Mark Eggers
- Original Message - > From: Pid > To: Tomcat Users List > Cc: > Sent: Thursday, December 15, 2011 1:47 PM > Subject: Re: Access dbf files outside context/docbase > > On 15/12/2011 20:56, David kerber wrote: >> I am trying to figure out how to access .dbf files that are on a >> netwo

Re: dbcp is mixing up connections

2011-12-15 Thread Mark Eggers
- Original Message - > From: Terence M. Bandoian > To: Tomcat Users List > Cc: > Sent: Thursday, December 15, 2011 11:31 AM > Subject: Re: dbcp is mixing up connections > > On 1:59 PM, Christopher Schultz wrote: >> Aitor, >> >> On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote: >>

Re: Access dbf files outside context/docbase

2011-12-15 Thread David Kerber
On 12/15/2011 4:47 PM, Pid wrote: On 15/12/2011 20:56, David kerber wrote: I am trying to figure out how to access .dbf files that are on a networked drive from my TC 5.5.xx server. I have no trouble with the coding; it all works fine from my Eclipse dev environment. I believe the issue is tom

Re: Tomcat as https proxy

2011-12-15 Thread Alessandro Novarini
On 15/12/2011 16:46, Christopher Schultz wrote: Okay... just not when the client is making an HTTPS request because of the non-HTTPS CONNECT request? Exactly What we have done at the moment is to switch the https connection to the http one, and that works fine But it doesn't produce the desi

Re: Compatability Problem OSX to Windows 7 Port

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Glyn, On 12/12/11 8:07 AM, Glyn Thomas wrote: > I am attempting to port a Tomcat/MySql application from OSX to > Windows 7 (I previously ported it from Vista to OSX, so it > shouldn't be as difficult as it sounds), and am having problems > with back-c

Re: dbcp is mixing up connections

2011-12-15 Thread Konstantin Kolinko
2011/12/15 Aitor Garcia | Tempel.es > > I had read all the JNDI & JDBC Official & Unofficial documentation but & only > found than you MUST close the connections. That is why you have to read the Servlet specification, JSP specification, etc. > There insn't references to where to declare var

Re: Access dbf files outside context/docbase

2011-12-15 Thread Pid
On 15/12/2011 20:56, David kerber wrote: > I am trying to figure out how to access .dbf files that are on a > networked drive from my TC 5.5.xx server. I have no trouble with the > coding; it all works fine from my Eclipse dev environment. I believe > the issue is tomcat's contexts on the product

Access dbf files outside context/docbase

2011-12-15 Thread David kerber
I am trying to figure out how to access .dbf files that are on a networked drive from my TC 5.5.xx server. I have no trouble with the coding; it all works fine from my Eclipse dev environment. I believe the issue is tomcat's contexts on the production server. I've seen plenty of suggestions

Re: path used for tc-natuve

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, (Just discovered how to type é on my Mac's keyboard.. no more copy/paste for you name!) On 12/15/11 1:15 PM, André Warnier wrote: > This left me intellectually unsatisfied, because I still did not > know how Tomcat6 was finding this old tc-nat

Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-15 Thread Pid
On 14 December 2011 22:40, Anshul Asthana wrote: > > > From: Pid > To: Anshul Asthana > Sent: Monday, 12 December 2011 4:46 AM > > Subject: Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server > > On 11/12/2011 20:05, Anshul Asthana wrote: >> >> >> *From:* Pid >> *To:* Tomcat User

Re: Running not multithreaded application

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hernan, On 12/15/11 12:47 PM, hernan wrote: > As separate process, I thought a java "server" process with the > wrapper that receive requests, launch a new process an response > with the result. The servlet (thread) calls the process using some > kin

Re: dbcp is mixing up connections

2011-12-15 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: > Aitor, > > On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote: > > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the > > _jspService on every script request > > > What happens if you handle Pool Coonections with a > > 'java.sql.Connection

RE: path used for tc-natuve

2011-12-15 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: path used for tc-natuve > This left me intellectually unsatisfied, because I still > did not know how Tomcat6 was finding this old tc-native, Already told you: dlopen() is required to look in /usr/lib - as a last resort. Check out

Re: dbcp is mixing up connections

2011-12-15 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: > Aitor, > > On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote: > > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the > > _jspService on every script request > > > What happens if you handle Pool Coonections with a > > 'java.sql.Connectio

Re: Running not multithreaded application

2011-12-15 Thread Pid *
On 15 Dec 2011, at 17:56, hernan wrote: > On Thu, Dec 15, 2011 at 12:27 PM, Pid wrote: > >> On 15/12/2011 00:15, hernan wrote: >>> On Wed, Dec 14, 2011 at 8:17 PM, Christopher Schultz < >>> ch...@christopherschultz.net> wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

keepalive issue

2011-12-15 Thread Mike Wertheim
I have a Java app running on Tomcat 7.0.21 with APR 1.4.7. The app runs on 64-bit Java 7 Update 1 on CENT OS servers, with an A10 load balancer that sends traffic to the servers. On average, each server is handling about 80 requests per second. We are having problems with our network connections

Re: path used for tc-natuve

2011-12-15 Thread André Warnier
Gregor S. wrote: Hi Chuck! On Thu, Dec 15, 2011 at 5:36 PM, Caldarale, Charles R wrote: From: Gregor S. [mailto:rc4...@googlemail.com] Subject: Re: path used for tc-natuve I guess it's a bad idea to run two different versions of Tomcat on the same box. ??? Clearly that's not true - it's done

Re: Running not multithreaded application

2011-12-15 Thread hernan
On Thu, Dec 15, 2011 at 12:27 PM, Pid wrote: > On 15/12/2011 00:15, hernan wrote: > > On Wed, Dec 14, 2011 at 8:17 PM, Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > >> -BEGIN PGP SIGNED MESSAGE- > >> Hash: SHA1 > >> > >> Hernán, > >> > >> On 12/14/11 5:45 PM, hernan

Re: Running not multithreaded application

2011-12-15 Thread hernan
On Thu, Dec 15, 2011 at 12:25 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hernan, > > On 12/14/11 7:15 PM, hernan wrote: > > On Wed, Dec 14, 2011 at 8:17 PM, Christopher Schultz < > >> What makes this "external" "program" non

Re: path used for tc-natuve

2011-12-15 Thread Gregor S.
Hi Chuck! On Thu, Dec 15, 2011 at 5:36 PM, Caldarale, Charles R wrote: >> From: Gregor S. [mailto:rc4...@googlemail.com] >> Subject: Re: path used for tc-natuve > >> I guess it's a bad idea to run two different versions >> of Tomcat on the same box. > > ??? Clearly that's not true - it's done all

Re: Tomcat as https proxy

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alessandro, On 12/15/11 11:37 AM, Alessandro Novarini wrote: > On Thu, Dec 15, 2011 at 4:15 PM, Christopher Schultz > wrote: > >> No, when I said "server" I meant "server". If you are writing a >> proxy, you really ought to understand these terms:

Re: path used for tc-natuve

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 12/15/11 11:08 AM, Gregor S. wrote: > On Thu, Dec 15, 2011 at 4:34 PM, Christopher Schultz > wrote: >> >> I think that's a bad idea because then you have built your >> libtcnative (which can be considered Tomcat-version-specific, or >> a

Re: Tomcat as https proxy

2011-12-15 Thread Alessandro Novarini
Chris, On Thu, Dec 15, 2011 at 4:15 PM, Christopher Schultz wrote: > No, when I said "server" I meant "server". If you are writing a proxy, > you really ought to understand these terms: > > 1. User Agent - the ultimate client -- the one making the HTTP request > > 2. Proxy Server - the server yo

RE: path used for tc-natuve

2011-12-15 Thread Caldarale, Charles R
> From: Gregor S. [mailto:rc4...@googlemail.com] > Subject: Re: path used for tc-natuve > I guess it's a bad idea to run two different versions > of Tomcat on the same box. ??? Clearly that's not true - it's done all the time. Much easier when not using these 3rd-party repackaged corruptions..

Re: Tomcat as https proxy

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alessandro, On 12/15/11 10:56 AM, Alessandro Novarini wrote: > On Thu, Dec 15, 2011 at 3:07 PM, Christopher Schultz > wrote: >> Is the Origin server also running Tomcat, or is this exclusively >> a problem with the proxy? > > If with Origin server

Re: path used for tc-natuve

2011-12-15 Thread Gregor S.
...and sorry for my typoes, I'm kind in a rush... -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 3DB13F197F8A0360814885D1F1F1E2EFAD509AFD skype:rc46fi gplus.to/gregor twitter.com/#/2smart4u - To uns

Re: path used for tc-natuve

2011-12-15 Thread Gregor S.
Hi Chris, On Thu, Dec 15, 2011 at 4:34 PM, Christopher Schultz wrote: > > I think that's a bad idea because then you have built your libtcnative > (which can be considered Tomcat-version-specific, or at least > Tomcat-version-sensitive) for the whole system to use and that > essentially locks you

Re: Tomcat 6: what are the risks of not using Security Manager

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan-Willem, On 12/14/11 4:05 AM, jwklomp wrote: > I'm migrating existing applications to Tomcat and setting Tomcat up > as described in the 'Security Configuration Benchmark for Apache > Tomcat 5.5/6.0' of the Center of Internet Security. > > The ben

Re: Tomcat as https proxy

2011-12-15 Thread Alessandro Novarini
Hi Chris, On Thu, Dec 15, 2011 at 3:07 PM, Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Alessandro, > > On 12/14/11 6:02 PM, Alessandro Novarini wrote: > > My current client has web application deployed on tomcat that acts > > as an http proxy recording all t

Re: dbcp is mixing up connections

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aitor, On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote: > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the > _jspService on every script request > > What happens if you handle Pool Coonections with a > 'java.sql.Connection con

Re: path used for tc-natuve

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 12/15/11 8:34 AM, Gregor S. wrote: > And as mentioned in the thread here, you'll have to change your > LD-LIBRARY_PATH, so that it contains tcnative. > > In my environment here, I just adapted the CTALINA_OPTS inside the > startup-script

Re: path used for tc-natuve

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/14/11 2:57 AM, André Warnier wrote: > [T]hat's exactly why, for the time being, I have decided to do > without tc-native. The first line I saw in the tc-native source > README was something like "to build, you may need OpenSSL xx .." >

Re: Running not multithreaded application

2011-12-15 Thread Pid
On 15/12/2011 00:15, hernan wrote: > On Wed, Dec 14, 2011 at 8:17 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hernán, >> >> On 12/14/11 5:45 PM, hernan wrote: >>> I'm using Tomcat 7.0 for developing a new application.

Re: Running not multithreaded application

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hernan, On 12/14/11 7:15 PM, hernan wrote: > On Wed, Dec 14, 2011 at 8:17 PM, Christopher Schultz < >> What makes this "external" "program" non-multithreaded? Is it >> actually not threadsafe? >> >> If you can't run it in the same process as Tomcat,

Re: dbcp is mixing up connections

2011-12-15 Thread Pid
On 15/12/2011 12:55, Aitor Garcia | Tempel.es wrote: > I had read all the JNDI & JDBC Official & Unofficial documentation but & > only found than you MUST close the connections. > > There insn't references to where to declare variables. > > Declaring into local scope forces that you have pass by

Re: Tomcat as https proxy

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alessandro, On 12/14/11 6:02 PM, Alessandro Novarini wrote: > My current client has web application deployed on tomcat that acts > as an http proxy recording all the responses from remote web > services in order to work "off-line" when needed. Is the

Re: path used for tc-natuve

2011-12-15 Thread Gregor S.
Hi André, On Thu, Dec 15, 2011 at 3:45 PM, André Warnier wrote: > > Indeed. Where have you been ? > either in the office or changing Junior's nappies ;) > I am not using HTTPS, and my problem is not at the /running/ stage. > But from the README, I got the impression that I needed OpenSSL in ord

Re: path used for tc-natuve

2011-12-15 Thread André Warnier
Gregor S. wrote: Hi André, Hi Gregor. long time no see ;) Indeed. Where have you been ? ... You'l only need OpenSSL if you are running a https-connector. if you don't use https, you don't need OpenSSL. I am not using HTTPS, and my problem is not at the /running/ stage. But from the RE

Re: path used for tc-natuve

2011-12-15 Thread Gregor S.
Hi André, long time no see ;) Ok, let's try to free you from your wprries: You'l only need OpenSSL if you are running a https-connector. if you don't use https, you don't need OpenSSL. And even if you want to run https, it's no big deal: apt-get install OpenSSL and you're all set. One questi

Re: dbcp is mixing up connections

2011-12-15 Thread Aitor Garcia | Tempel.es
I had read all the JNDI & JDBC Official & Unofficial documentation but & only found than you MUST close the connections. There insn't references to where to declare variables. Declaring into local scope forces that you have pass by

Re: dbcp is mixing up connections

2011-12-15 Thread Mark Thomas
On 15/12/2011 12:12, Aitor Garcia | Tempel.es wrote: > I don't know if this is a tomcat bug. This is clearly not a Tomcat bug. This comes under the category of "user error". Mark - To unsubscribe, e-mail: users-unsubscr...@tomca