Tomcat 8.0.X - findService("Catalina").getContainer() deprecated. How to retrieve StandardEngine

2016-04-05 Thread Mariano López
Hi all, I'm working with Tomcat 8.0.32 after migrating from 7.0.X. When I want to get the host object in Tomcat 7 I did: MBeanServer mBeanServer = MBeanServerFactory.findMBeanServer(null).get(0); ObjectName catalinaNombre = null; try { catalinaNombre = new ObjectNam

Re: How to know aliases defined in container in server.xml of Tomcat 7.0.61

2015-05-08 Thread Mariano López
WOW !!! I can't believe it. If I was looking the code for years i wasn't able to see. Sorry for this stupid post and thank you very much Konstantin Mariano 2015-05-07 23:00 GMT+02:00 Konstantin Kolinko : > 2015-05-07 19:29 GMT+03:00 Mariano López : > > Hi all, I want to k

How to know aliases defined in container in server.xml of Tomcat 7.0.61

2015-05-07 Thread Mariano López
t; + e.getMessage(); } catch (Exception e) { this.error = true; this.errorDescripcion = "'Exception' en " + "Jsfthis.getTomcat7Servidor(). " + "Error: " + e.getMessage(); } Everythings seem to work fine, but String[] tomcat7HostAlias always returns zero length array. I don't know what i am doing wrong. Please help. Regads, Mariano

Re: How to finalize all sessions in a server with SingleSignOn valve activated ?

2010-06-11 Thread Mariano López
After debugging my apps I notice that all session context all correctly invalidated except one context. I have made test with four context, three of them are correctly invalidated and just one remains the user's session. I don't understand what is happened with this case. Best regards

Re: How to finalize all sessions in a server with SingleSignOn valve activated ?

2010-06-11 Thread Mariano López
I just tried requireReauthentication in SingleSignOn valve and always drives me to login page, so with this does not work. Best regards, Mariano -- Forwarded message -- From: Pid Date: 2010/6/10 Subject: Re: How to finalize all sessions in a server with SingleSignOn valve

Re: How to finalize all sessions in a server with SingleSignOn valve activated ?

2010-06-10 Thread Mariano López
. Any subsequent attempt to access a protected resource in any application will require the user to authenticate himself or herself again.* This is just what i need, i suppose that this is a bug. I will search in bug database for this problem. Thank you very much for your help, Mariano 2010/6/

Re: How to finalize all sessions in a server with SingleSignOn valve activated ?

2010-06-09 Thread Mariano López
Yes, all of the apps are in the same Host. Here is my server.xml file: Mariano 2010/6/9 Pid > On 09/06/2010 11:01, Mariano López wrote: > > Actually when a user logs out from app

Re: How to finalize all sessions in a server with SingleSignOn valve activated ?

2010-06-09 Thread Mariano López
want to finalize the session in the rest of the contexts in the server. I hope that this explain better what I am trying to say. Regards Mariano 2010/6/9 Pid > On 08/06/2010 11:05, Mariano López wrote: > > Hello all, I like to know how to finalize all sessions in a server with >

How to finalize all sessions in a server with SingleSignOn valve activated ?

2010-06-08 Thread Mariano López
Hello all, I like to know how to finalize all sessions in a server with SingleSignOn valve activated. When I finalize the current session user when logs out only close the session in this context, the rest remains its sessions for this user. Tomcat 6.0.26 Regards, Mariano

Re: is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Mariano López
Hi Christopher, I will try this and well see. Thank you for your attention, Mariano 2008/10/10 Christopher Schultz <[EMAIL PROTECTED]> > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mariano, > > Mariano López wrote: > > Hi Christopher, that is what I h

Re: is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Mariano López
Hi Christopher, that is what I have, but tomcat always put the current context name before login page URL of other context and gives bad reference to page. Regards, Mariano 2008/10/10 Christopher Schultz <[EMAIL PROTECTED]> > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1

is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Mariano López
, but always starts the URL's page login with its name context. Can I reference a page of the other context or I will have to create other page login for this context ? Thank you very much. Best regards, Mariano

Re: JasperException: PermGen space

2008-02-02 Thread Mariano López
Try adding more -XX:MaxPermSize when Jboss starts up. Best regards, Mariano Dave escribió: Hi, I am using JBoss 4.0.5GA on Federa Core 6 Linux for JSF application. After running for two days, got the following exception on server side. How to avoid it? Thanks for help. Dave Caused by

RE: Problem getting GlobalNamingResources DataSource DBCP from Custom JAAS

2008-01-04 Thread Mariano
- jdbc: org.apache.naming.NamingContext Output in Tomcat 6.0.14: --- ContextBindings.getClassLoader().lookup('comp/env') -> context.list() --- context != null --- users: org.apache.naming.ResourceEnvRef --- new InitialContext() -> (Context) context.lookup('java:comp/env') ->

RE: Problem getting GlobalNamingResources DataSource DBCP from Custom JAAS

2008-01-03 Thread Mariano
. I will try to open a new bug in tomcat bug database. Regards, Mariano -Mensaje original- De: Mark Thomas [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 02 de enero de 2008 20:52 Para: Tomcat Users List Asunto: Re: Problem getting GlobalNamingResources DataSource DBCP from Custom JAAS

RE: NamingException

2008-01-02 Thread Mariano
in http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html to create DBCP. I hope this help you. Mariano -Mensaje original- De: AbelMacAdam [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 02 de enero de 2008 14:05 Para: users@tomcat.apache.org Asunto: NamingException

Problem getting GlobalNamingResources DataSource DBCP from Custom JAAS

2008-01-02 Thread Mariano
+ "' en " + "'initialize' -> iniciando 'entidadesDAO': " + ex.getMessage()); ex.printStackTrace(); } And always throws the following exception: javax.naming.NameNotFoundException:

more than one directory in attributte 'appBase' in host container

2006-04-05 Thread Mariano
Hi all, i like to know if i can set more than one directory in attributte 'appBase' in host container for automatic scan of web applications when tomcat starts. Regards, Mariano López - To unsubscribe, e-mail: [EMAIL