JSF clustering

2021-08-25 Thread Felipe Jaekel
Hi, I always used Tomcat's parallel deployment to achieve zero downtime on my JSF applications. I'm planning on dockerizing them, but I'd like to keep zero downtime. I'm familiar with AWS ECS. With the default configuration, when the service is updated a new instance will be launched in parallel,

Problem with KeyStore.load() after upgrading from 8.5.11 to 8.5.23

2017-10-26 Thread Felipe Jaekel
Hi, I have a webapp where the user can upload a PFX file to digitally sign PDF files. After upgrading from 8.5.11(TomEE 7.0.3) to 8.5.23(TomEE 7.0.5-SNAPSHOT) I'm getting this exception: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingExcepti

Question on parallel deployment

2016-09-14 Thread Felipe Jaekel
Hi, I've been using parallel deployment successfully with JSF based webapps for some years. Now I'd like to use it with some web service based webapps (CXF). I noticed on Tomcat Manager that these webapps doesn't create sessions on the requests. I use *undeployOldVersions="true"* on server.xml,

HttpSessionListener.sessionDestroyed() sometimes not called?

2015-10-08 Thread Felipe Jaekel
Hi, I have a customer support chat webapp where when the attendant session expires, I need to end all his active conversations and change his status to offline, so I implemented a HttpSessionListener. Since some attendants log in the system multiple times, they where being disconnect incorrectly

Re: Question on autoDeploy=true + editing conf/context.xml

2015-09-15 Thread Felipe Jaekel
was making tomcat read the new configuration value after it was restarted. 2015-09-15 16:52 GMT-03:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Felipe, > > On 9/15/15 2:11 PM, Felipe Jaekel wrote: > > I use parallel deployment, so I set *au

Question on autoDeploy=true + editing conf/context.xml

2015-09-15 Thread Felipe Jaekel
Hi, I use parallel deployment, so I set *autoDeploy=true* to enable newer versions of webapps as as soon as they are deployed, but if I edit *conf/context.xml*, I'd like that Tomcat 7.0.62 did not restart automatically. Is it possible? Thanks

ActiveMQ redelivery policy

2014-08-26 Thread Felipe Jaekel
Hi, I'm trying to run some legacy JMS code in TomEE 1.7.0 using the internal broker: BrokerXmlConfig = broker:(tcp://localhost:61616?daemon=true) ServerUrl = vm://localhost In this code the redelivery policy is changed: QueueConnectionFactory connectionFactory

Re: Help understanding Session System Properties

2014-07-24 Thread Felipe Jaekel
completed is less than 1 minute. 2014-07-22 17:44 GMT-03:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Felipe, > > On 7/22/14, 10:36 AM, Felipe Jaekel wrote: > > I have a simple authentication logic in my applications, where I > >

Help understanding Session System Properties

2014-07-22 Thread Felipe Jaekel
I have a simple authentication logic in my applications, where I store the current user in the session and check with a filter if the current user value is not null. Eventually I see some null pointer exceptions in my Tomcat 7.0.47 that happened in JSF managed beans because the current user value

Help with CMSClassUnloadingEnabled

2014-03-26 Thread Felipe Jaekel
I have configured my Tomcat 7 with the following parameters: -Xms4G -Xmx4G -XX:MaxPermSize=256m -XX:+UseTLAB -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Dorg.apache.el.parser.COERCE_TO_ZERO=false I've seen in several blogs and StackOverflow posts that CMSClassUnloadingEnabled should sw

Re: Possible Tomcat 8.0.3 issue

2014-03-18 Thread Felipe Jaekel
Yes, I started to use it when I migrated from Tomcat 6 to 7. 2014-03-17 17:21 GMT-03:00 Howard W. Smith, Jr. : > On Mon, Mar 17, 2014 at 4:14 PM, Felipe Jaekel wrote: > > > My Tomcat 7 was running fine with this script, but last friday morning I > > started Tomcat 8

Re: Possible Tomcat 8.0.3 issue

2014-03-17 Thread Felipe Jaekel
viewtopic.php?f=3&t=36823 Any help is appreciated. Thanks 2014-03-13 17:51 GMT-03:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Felipe, > > On 3/13/14, 3:33 PM, Felipe Jaekel wrote: > > Hmm I didn't looked at the server status yest

Re: Possible Tomcat 8.0.3 issue

2014-03-13 Thread Felipe Jaekel
done echo "___" echo "" 2014-03-13 13:15 GMT-03:00 Howard W. Smith, Jr. : > On Thu, Mar 13, 2014 at 11:47 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > -BEGIN PGP SIGNED MESSAG

Re: Possible Tomcat 8.0.3 issue

2014-03-13 Thread Felipe Jaekel
request has no response data available.* message 2014-03-13 12:44 GMT-03:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Daniel, > > On 3/13/14, 8:06 AM, Daniel Mikusa wrote: > > On Mar 13, 2014, at 7:44 AM, Felipe Jaekel > &g

Re: Possible Tomcat 8.0.3 issue

2014-03-13 Thread Felipe Jaekel
There are lots of this in catalina log: *12-Mar-2014 08:41:43.828 WARNING [http-nio-80-exec-28] com.sun.faces.application.resource.ResourceHandlerImpl.logMissingResource JSF1064: Unable to find or serve resource, primefaces.js, from library, primefaces.* *12-Mar-2014 08:41:43.829 WARNING [http-nio-

Possible Tomcat 8.0.3 issue

2014-03-13 Thread Felipe Jaekel
Yestarday my PrimeFaces applications started to crash. They didn't render correctly and nothing worked. Chrome console output: > Resource interpreted as Stylesheet but transferred with MIME type > text/plain: " > http://spdata-apps.net/cliente/javax.faces.resource/theme.css.jsf?ln=primefaces-redm

Re: DBCP2 connection pool leak?

2014-03-12 Thread Felipe Jaekel
Feb 28, 2014 at 11:26 AM, Mark Thomas wrote: > > > On 28/02/2014 18:22, Felipe Jaekel wrote: > > > Hi, > > > > > > Today I tried to migrate my production server from 7.0.50 to 8.0.3. > > > > > > After about 3 hours running I start to get JDBC

DBCP2 connection pool leak?

2014-02-28 Thread Felipe Jaekel
Hi, Today I tried to migrate my production server from 7.0.50 to 8.0.3. After about 3 hours running I start to get JDBC exceptions(stacktrace below) and the server stops responding. Looking at Amazon RDS monitoring it shows the connection limit reached 97%. Restarted the server and after about th

Re: Limit log files rotation

2013-03-05 Thread Felipe Jaekel
Mikusa > On Mar 5, 2013, at 8:54 AM, Felipe Jaekel wrote: > > > Hi, > > > > I'd like to limit log rotation to a specific number of days to avoid that > > the logs folder keep growing indeterminately. > > Which log files are you referring to? Including the na

Re: Get active session list

2012-10-19 Thread Felipe Jaekel
Anyone? 2012/10/18 Felipe Jaekel > Found the following: > > context = (Context) wrapper.getParent(); >> host = (Host) context.getParent(); >> > > >> Context ctx = (Context) host.findChild(name); >> Manager manager = ctx.getManager(); >> Session []

Re: Get active session list

2012-10-18 Thread Felipe Jaekel
NED MESSAGE- > Hash: SHA1 > > Felipe, > > On 10/18/12 9:34 AM, Felipe Jaekel wrote: > > I need to get the active session list. Searching about I saw a lot > > of people with the same question, but no answer. > > > > I don't want to write a list inside a

Get active session list

2012-10-18 Thread Felipe Jaekel
I need to get the active session list. Searching about I saw a lot of people with the same question, but no answer. I don't want to write a list inside a HttpSessionListener and keep the session list there, because I use session serialization and the list inside the listener would be destroyed in

Re: EL not working with multiple parameters

2012-08-09 Thread Felipe Jaekel
Weld 1.1.8 Seam Faces 3.1.0 public void atender(StAtendimento atendimento, int indiceAtendimentoSelecionado) { try { stAtendimentoService.atender(atendimento, atendente, status, indiceAtendimentoSelecionado); conversasBean.abrirAba(atendimento); filasBean.atualizaFilas(); //exibirDadosCliente(

EL not working with multiple parameters

2012-08-09 Thread Felipe Jaekel
When I try to call a method with two parametes in a XHTML page on Tomcat 7.0.29 it doesn't works. I'll attach the stacktrace below. It's strange because the same code runs fine on Glassfish 3.1. Is this a bug in Tomcat EL? Thanks, Phillip Stacktrace: AdvertĂȘncia: #{atendimentosBean.atender(aten