Re: IIS + Tomcat

2012-02-13 Thread Pid *
On 13 Feb 2012, at 03:14, Ermal Aliraj ermal.ali...@gmail.com wrote: Hello, I have installed Tomcat7 in a macchine where is running IIS (WinServer 2008 R2 Enterprise). I need to deploy an e-commerce web application from which I expect an hight number of user interactions. The application

problem with auth-constraint in xml

2012-02-13 Thread Hugi Michael, Informaticon AG
Hello I have a problem with defining auth-constraint in the web.xml of my java project. I defined sereval user roles, which have access to sereval url-pattern. Here is a part of the xml, in which I define patterns, that can be acessed by every role. security-constraint

Re: controlling Server Authentication only vs Mutual authentication

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sanjeev, On 2/9/12 11:17 AM, Sanjeev Sharma wrote: I work on an java web-app running on Tomcat 7. The entire application is required be doing SSL on port 443 (everything is accessed via https://). Two different login options are given to the

Re: Configuring Tomcat 6 to only start the default manager webapp

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew, On 2/10/12 1:26 PM, Matthew Marleau wrote: I was wondering if anyone knew how to configure Tomcat (6.0.26) to only start the default app when the Tomcat service starts. The manager webapp isn't the default webapp. If you mean the ROOT

Re: problem with auth-constraint in xml

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 2/13/12 8:30 AM, Hugi Michael, Informaticon AG wrote: I have a problem with defining auth-constraint in the web.xml of my java project. I defined sereval user roles, which have access to sereval url-pattern. Here is a part of the xml,

Re: migrating Tomcat 5.5 SSL Connector to 7.0

2012-02-13 Thread Mark Lim
There's been one request for follow up so I'll post our current findings. This is what we've identified that we need to do to get Tomcat running after moving from 5.5 to 7.0. At this point web application porting can commence. 1. We used several Tomcat classes (e.g. EndPoint,

Tomcat 6.0.26 stopped logging

2012-02-13 Thread Propes, Barry L
Hello Tomcat users and developers. I am using Tomcat 6.0.26 on a few machines - Win XP Pro on two of them, and Windows Server 2003 on the production machine. Also using jdk1.6.0_18 and was on Ora10g, now 111g. Today, Tomcat stopped logging on two of the machines, and my servlet that submits to

Re: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Pid
On 13/02/2012 18:16, Propes, Barry L wrote: Hello Tomcat users and developers. I am using Tomcat 6.0.26 on a few machines - Win XP Pro on two of them, and Windows Server 2003 on the production machine. Also using jdk1.6.0_18 and was on Ora10g, now 111g. Today, Tomcat stopped logging on

Re: controlling Server Authentication only vs Mutual authentication

2012-02-13 Thread Pid
On 13/02/2012 17:42, Christopher Schultz wrote: Sanjeev, On 2/9/12 11:17 AM, Sanjeev Sharma wrote: I work on an java web-app running on Tomcat 7. The entire application is required be doing SSL on port 443 (everything is accessed via https://). Two different login options are given to

RE: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Propes, Barry L
Application log, yes...error log. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, February 13, 2012 2:37 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.26 stopped logging On 13/02/2012 18:16, Propes, Barry L wrote: Hello Tomcat users and developers. I am using

Re: controlling Server Authentication only vs Mutual authentication

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 2/13/12 3:39 PM, Pid wrote: On 13/02/2012 17:42, Christopher Schultz wrote: Sanjeev, On 2/9/12 11:17 AM, Sanjeev Sharma wrote: I work on an java web-app running on Tomcat 7. The entire application is required be doing SSL on port 443

Re: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/13/12 1:16 PM, Propes, Barry L wrote: I am using Tomcat 6.0.26 on a few machines - Win XP Pro on two of them, and Windows Server 2003 on the production machine. Also using jdk1.6.0_18 and was on Ora10g, now 111g. That's quite an

Re: [OT] migrating Tomcat 5.5 SSL Connector to 7.0

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/6/12 7:05 PM, Mark Lim wrote: We are in the process of upgrading Tomcat 5.5 to Tomcat 7.0. These Tomcat deployments use a custom FIPS 140-2 certified JSSE implementation for their SSL Connectors. In case you are interested, Tomcats

Re: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Konstantin Kolinko
Please do not top-post. Answer below. 2012/2/14 Propes, Barry L barry.l.pro...@citi.com: Application log, yes...error log. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, February 13, 2012 2:37 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.26 stopped logging

RE: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Propes, Barry L
Well this was odd. To me. I'm sure some of you will tell me about logging with Log4j or some other logger, or even the use of the Tomcat app manager. My web.xml file got deleted. I thought, (probably wrongly) that Tomcat's web manager console would alert to such, but it didn't. Took me a

Re: Using Tomcat7 JDBC Connection Pool

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, On 2/9/12 11:21 AM, Amit wrote: Any thoughts on the first point about executing multiple SQL queries on physical connection creation? Doesn't Oracle have a CALL() syntax in a regular query? How are you getting parametric information from

Re: [OT] migrating Tomcat 5.5 SSL Connector to 7.0

2012-02-13 Thread Mark Lim
Thanks for offering, but we're already in certification. When recertification comes up we'll certainly consider consolidating security modules. On 2/13/12 1:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: * PGP Signed by an unknown key Mark, On 1/6/12 7:05 PM, Mark Lim wrote:

Re: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Konstantin Kolinko
2012/2/14 Propes, Barry L barry.l.pro...@citi.com: Well this was odd. To me. I'm sure some of you will tell me about logging with Log4j or some other logger, or even the use of the Tomcat app manager. My web.xml file got deleted. I thought, (probably wrongly) that Tomcat's web manager

RE: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Propes, Barry L
Alright, thanks, Konstantin. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Monday, February 13, 2012 3:50 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.26 stopped logging 2012/2/14 Propes, Barry L barry.l.pro...@citi.com: Well this was odd. To me.

Re: [OT] migrating Tomcat 5.5 SSL Connector to 7.0

2012-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 2/13/12 4:45 PM, Mark Lim wrote: Thanks for offering, but we're already in certification. When recertification comes up we'll certainly consider consolidating security modules. Okay. Well, if you're willing to put our code into

Re: Using Tomcat7 JDBC Connection Pool

2012-02-13 Thread Filip Hanik - Dev Lists
Here is an example String query = BEGIN DBMS_LOCK.sleep(seconds = 5.01); END; It is pretty obvious that you can't do SELECT 1; SELECT 1; is this would result in TWO result sets. But you can create a block and execute any number of instructions The above example executes a stored procedure.

EL String - int coercion stopped working after TC 5.5 - 7.0 upgrade?

2012-02-13 Thread David Rees
This may not be Tomcat related, but I couldn't find anything in the JSP/JSTL/EL specifications regarding a change in behavior from JSP 2.0-2.2. Here's a simple JSP 2-line which shows the issue: %@taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c% c:out value=${param['foo'] == 1}/ Using

RE: controlling Server Authentication only vs Mutual authentication

2012-02-13 Thread Sanjeev Sharma
Christopher/Pid, Thanks for your reply. If I set clientAuth=want will it not ask me for a certificate every time I create a new session? And if I'm forwarding (or redirecting) from a page that only requires straight SSL with server authentication to one which requires mutual authentication,

Re: Fw: Problems with LDAP authentication

2012-02-13 Thread Lev A KARATUN
André Warnier a...@ice-sa.com 10.02.2012 18:02 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject Re: Fw: Problems with LDAP authentication Lev A KARATUN wrote: ... I've been reading the manuals for

Re: Fw: Problems with LDAP authentication

2012-02-13 Thread Lev A KARATUN
Good morning everyone! Well, I've got no idea what happened (providing nobody is configuring tomcat except me), but I've just opened catalina.out and have seen that the error message changed to Exception opening directory server connection: javax .naming.CommunicationException:

JNDI Access in Lifecycle Listener

2012-02-13 Thread Sascha Rodekamp
Hi, i load a spring xml with my own lifecycle listener. Which works pretty well actually. In my spring xml i try to get a datasource from the JNDI context. I put the definition in the server.xml under GlobalNamingResources. My lifecycle listener is loaded after the GlobalResourcesLifecycleListener