cancel
Showing results for 
Search instead for 
Did you mean: 

Got JaloSecurityException in getCurrentSession: de.hybris.platform.jalo.security.JaloSecurityException: system not initialized

Former Member
 
Former Member
0 Kudos

I have the same issue working with Spring Integration (FTP Inbound Channel Adapter). I am using default session factory org.springframework.integration.ftp.session.DefaultFtpSessionFactory.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It is obvious, that you need to initialize tenant, but it is not always clear which of them.

I was faced with this exception when I worked with Spring Integration Framework. Some of its executors automatically run within each tenant's Spring context. In my case it was both master and junit tenants. The master was initialized, but junit was not and threw exception all the time.

Quick decision was just initialize junit tenant. The final decision was to rewrite Spring's automated -executors by Hybris CronJobs.