Hi Maybe try adding in the client properties openejb.ejbd.authenticate-with-request=true
(see https://issues.apache.org/jira/browse/TOMEE-997) Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-10-04 10:18 GMT+02:00 renz <[email protected]>: > Hi, > > We have a Remote EJB application (only Stateless EJB) with our own JAAS > LoginModule deployed on several servers. > Each server is running a TomEE 1.7.1 instance and nginx as a reverse proxy. > There also a hardware load-balancing device. > > The load-balancer is configured to redirect according to IP address. > The problem is that if a server is down, the client application (developped > by ourselves) will be redirected to a new server and get this error : > > > > I would like to know if it is possible to share identity between all > servers, using a database, a shared directory or anything else. > > Thanks. > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/How-to-share-identity-between-several- > TomEE-servers-tp4680280.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
