prabuddha.kulatunga Posted January 8, 2020 Share Posted January 8, 2020 Sometimes Jasperserver 7.1.0 shows an error (in the jasperserver logfile) as,2020-01-07 08:07:30,538 ERROR LazyInitializationException,http-nio-8081-exec-8:42 - could not initialize proxy - no Sessionorg.hibernate.LazyInitializationException: could not initialize proxy - no Sessionthat error displays when I log in to the jasperserver and also when I select my custom menu item. but if that error display, I can refresh the page and login and menu is starts working as normal. also there is no specific time for that error. sometimes it displays suddenly.below question also has my problem. but for a different jasperserver version. I tried below solution also from there.Click here to see related question already asked by someone.I added new property to applicationContext.xml file under <bean id="permissionsPrefetcher" class="com.jaspersoft.jasperserver.api.metadata.user.service.impl.PermissionsPrefetcher">as <property name="minimumPrefetch" value="30"/> and restarted jasperserver.(Before I used jasperserver 6.4.2 version. but this error not appeared in that.) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now