Re: Restrict incoming connections per Application Tomcat 6.0.37

2013-12-16 Thread André Warnier
ANALIA DE PEDRO SANTAMARIA wrote: I'm going to try to explain myself better. I believe that we understand what you seem to want to do, but that there are some intrinsic problems with the way in which you are looking at this. What I'm trying to do is create a permission system in Tomcat.

Re: Restrict incoming connections per Application Tomcat 6.0.37

2013-12-16 Thread ANALIA DE PEDRO SANTAMARIA
Gracias Martin, probaré si lo que me dices me sirve. Thank you very much André, now I have understood the problem much better. Thank you for your explanation. Analía. 2013/12/16 André Warnier a...@ice-sa.com ANALIA DE PEDRO SANTAMARIA wrote: I'm going to try to explain myself better. I

Tomcat JBDCRealm with Oracle DB

2013-12-16 Thread Арсений Зинченко
Hi. I configured two JDBCRealm's - for MySQL and Oracle databases. Both DB have same tables with same content: mysql show tables; +--+ | Tables_in_tmc_access | +--+ | user_roles | | users| +--+ mysql desc

Re: Tomcat JBDCRealm with Oracle DB

2013-12-16 Thread André Warnier
Арсений Зинченко wrote: Hi. I configured two JDBCRealm's - for MySQL and Oracle databases. Both DB have same tables with same content: mysql show tables; +--+ | Tables_in_tmc_access | +--+ | user_roles | | users|

Re: Tomcat JBDCRealm with Oracle DB

2013-12-16 Thread Арсений Зинченко
No errors, but I already found problem cause - forgot run `commit` in SQLPLUS after added rows with usernamerole. :-( Thanks for replay. 2013/12/16 André Warnier a...@ice-sa.com Арсений Зинченко wrote: Hi. I configured two JDBCRealm's - for MySQL and Oracle databases. Both DB have same

RE: What if my database is unavailable at startup?

2013-12-16 Thread Propes, Barry L
-Original Message- From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Sent: Friday, December 13, 2013 4:23 PM To: Tomcat Users List Subject: Re: What if my database is unavailable at startup? OP, On Fri, Dec 13, 2013 at 2:24 PM, Dames, Kristopher J kristopher.da...@mercy.net

Tomcat Clustering - when the tomcat instances are on different machines

2013-12-16 Thread Nir A
Hi, We started working on our next generation platform project. One of our requirement is to have session replication via tomcat clustering. We have managed to set up a cluster with replication when the tomcats (7.0.47) were both on the SAME machine as a POC. Now as we are setting up the

Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread pierre posset
Hello, I have a strange behavior and I do not know where to watch. I am using tomcat7 on a debian. My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I am using the node host with some nodes alias. I have searched in many configuration

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Reinhardt Christiansen
On 2013-12-16 12:23 PM, pierre posset wrote: Hello, I have a strange behavior and I do not know where to watch. I am using tomcat7 on a debian. My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I am using the node host with some nodes

RE: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread pierre posset
Thank you for your answer I will try to see if it is something like that which is happening. Date: Mon, 16 Dec 2013 12:34:19 -0500 From: rhi...@sympatico.ca To: users@tomcat.apache.org Subject: Re: Redirection of mycompany.com to www.mycompany.com On 2013-12-16 12:23 PM, pierre posset

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread James H. H. Lampert
On 12/16/13 9:37 AM, pierre posset wrote: My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I could be way off-base here (it wouldn't be the first time!), but: It could also be that your browser thinks it's smarter than you are. I've

Re: Tomcat 7 EL Parser and nested JSF ui:repeat

2013-12-16 Thread Mark Thomas
On 16/12/2013 18:15, Paul KHodchenkov wrote: Hi folks, Its seems there is an issue with EL parser in tomcat 7.0.47. It was traced down by https://java.net/jira/browse/JAVASERVERFACES-3096 I have attached maven project which works fine on tomcat8-RC5, but fails on tomcat 7.0.47. Please

Re: Tomcat 7 EL Parser and nested JSF ui:repeat

2013-12-16 Thread Paul KHodchenkov
Done, https://issues.apache.org/bugzilla/show_bug.cgi?id=55891 2013/12/16 Mark Thomas ma...@apache.org On 16/12/2013 18:15, Paul KHodchenkov wrote: Hi folks, Its seems there is an issue with EL parser in tomcat 7.0.47. It was traced down by

Re: [OT] Tomcat JBDCRealm with Oracle DB

2013-12-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 12/16/13, 7:17 AM, Арсений Зинченко wrote: server.xml config: !-- Realm className=org.apache.catalina.realm.JDBCRealm driverName=org.gjt.mm.mysql.Driver That driver name is *SUPER* old. Are you using a really old driver,

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pierre, On 12/16/13, 12:23 PM, pierre posset wrote: I am using tomcat7 on a debian. My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I am using the node host with some nodes alias.

Re: [OT] Tomcat JBDCRealm with Oracle DB

2013-12-16 Thread Arseny
16.12.2013 21:21, Christopher Schultz пишет: Name=org.gjt.mm.mysql.Driver That driver name is *SUPER* old. Are you using a really old driver, or just the old name? Current driver version is 5.1.27. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.15 (Darwin) Comment: GPGTools -

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Konstantin Kolinko
2013/12/16 James H. H. Lampert jam...@touchtonecorp.com: On 12/16/13 9:37 AM, pierre posset wrote: My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I could be way off-base here (it wouldn't be the first time!), but: It could also

Re: linking (limiting???)

2013-12-16 Thread Ray Holme
I have been trying three scenarios. So far one works (least security and not good for all OS versions). Again thanks to both Marks for the pointers, but I am afraid they are not working yet. My goal is to enable one directory to be used which is outside the application (and tomcat too)   

Re: Proposal to contribute a SyslogAccessLogValve to the Tomcat project

2013-12-16 Thread Cyrille Le Clerc
Dear all, I submitted Bug 55893 - Split AccessLogValve and extract the formatting logic in an AbstractAccessLogValve. If this split is accepted, I will then propose a SyslogAccessLogValve. https://issues.apache.org/bugzilla/show_bug.cgi?id=55893 Cyrille On Thu, Dec 12, 2013 at 5:41 PM,

Re: linking (limiting???)

2013-12-16 Thread Mark Eggers
Replies inline. Note, people on this mailing list frown on top-posting (see items 6 and 7 here: http://tomcat.apache.org/lists.html). It does make the reply and response difficult to follow without rereading the entire thread. Please either reply inline or at the end, so people late to the

Setting log file permissions upon creation?

2013-12-16 Thread Chris Wise
Hi, I’m wondering if there is a way to force Tomcat to set permissions on log files when they’re created? It seems as though this would be something defined in the logging.properties file, but it doesn’t seem like it’s an option. I want the permissions of all log files created (on server

Re: Setting log file permissions upon creation?

2013-12-16 Thread Mark Eggers
On 12/16/2013 4:04 PM, Chris Wise wrote: Hi, I’m wondering if there is a way to force Tomcat to set permissions on log files when they’re created? It seems as though this would be something defined in the logging.properties file, but it doesn’t seem like it’s an option. I want the

Re: Setting log file permissions upon creation?

2013-12-16 Thread Chris Wise
Hey Mark, Thanks for the response :) Just a quick question - won't this make ALL files Tomcat creates the same permissive...ness? Instead of just the log files? Thanks again! On Mon, Dec 16, 2013 at 7:25 PM, Mark Eggers its_toas...@yahoo.com wrote: On 12/16/2013 4:04 PM, Chris Wise wrote:

Re: Setting log file permissions upon creation?

2013-12-16 Thread Mark Eggers
Inline response: On 12/16/2013 6:06 PM, Chris Wise wrote: Hey Mark, Thanks for the response :) Just a quick question - won't this make ALL files Tomcat creates the same permissive...ness? Instead of just the log files? This is true, but shouldn't be a problem. If you're running on a

tomcat unexpected shutdown

2013-12-16 Thread 박원석
Hello, I'm operating some services under this environment. OS : RHEL 6.2 JVM : 1.6.0_34 WEB : httpd 2.2.22 WAS : tomcat 6.0.35(EWS 2.0) but I'm wondering if there is a way to shutdown tomcat unexpectly?? Catalina.out logs seems to be shutdown normally, but nobody can shutdown tomcat process