starrlingo Posted April 22, 2015 Share Posted April 22, 2015 Hi,I have upgrade my Jasperserver to v6.0.1 from v5.5. And my user are all registered by internal LDAP.Unfortunately, all user with folder permission can't access the domain and reports(adhoc and report) after import.When clicking the adhoc report, it always prompt access denied.I check every permission setting on domain, role, temp folder, datasource... all the setting is the same as jasperserver v5.5.Do anyone have this same issue? please help......Many thanksThe error stack shown as following:Error Messageorg.springframework.security.access.AccessDeniedException: Access is denied[/code]Error Tracecom.jaspersoft.jasperserver.api.JSExceptionWrapper:net.sf.jasperreports.engine.JRException:org.springframework.security.access.AccessDeniedException: Access is denied atcom.jaspersoft.ji.adhoc.strategy.StrategyAwareDomainQueryExecuter.createDatasource(StrategyAwareDomainQueryExecuter.java:165) atcom.jaspersoft.jasperserver.api.engine.jasperreports.util.JRQueryExecuterAdapter.executeQuery(JRQueryExecuterAdapter.java:108) atcom.jaspersoft.jasperserver.api.engine.jasperreports.util.JRQueryExecuterAdapter.executeQuery(JRQueryExecuterAdapter.java:83) atcom.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeQuery(EngineServiceImpl.java:2154) atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at[/code]Error Messagenet.sf.jasperreports.engine.JRException: org.springframework.security.access.AccessDeniedException: Access is denied[/code]Error Tracenet.sf.jasperreports.engine.JRException:org.springframework.security.access.AccessDeniedException: Access is denied atcom.jaspersoft.ji.adhoc.strategy.StrategyAwareDomainQueryExecuter.createDatasource(StrategyAwareDomainQueryExecuter.java:165) atcom.jaspersoft.jasperserver.api.engine.jasperreports.util.JRQueryExecuterAdapter.executeQuery(JRQueryExecuterAdapter.java:108) at[/code]Error Messageorg.springframework.security.access.AccessDeniedException: Access is denied[/code]Error Traceorg.springframework.security.access.AccessDeniedException: Access is denied atorg.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:83) atorg.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:206) atorg.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:60) atorg.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at[/code] Link to comment Share on other sites More sharing options...
hozawa Posted April 23, 2015 Share Posted April 23, 2015 JasperReports Server changed security framework from SpringSecurity 2 to SpringSecurity3. You'll need to set your ldap again for SpringSecurity3. Link to comment Share on other sites More sharing options...
starrlingo Posted April 23, 2015 Author Share Posted April 23, 2015 My problem was solved by this posthttp://community.jaspersoft.com/questions/847936/accessdeniedexception-after-js-upgrade-55-aws-601-aws"Appears to be a regression in 6.0.1 and at least a Read-Only permission on a Data Source is now required, while Execute-Only was sufficient in 5.5."And the /temp folder should change to Read + Write + Delete , while Read + Write Only was sufficient in 5.5.Jasper change the permission rule but no announcement or document about this. http://community.jaspersoft.com/sites/all/libraries/ckeditor/plugins/smiley/images/angry_smile.gif Link to comment Share on other sites More sharing options...
steveo250k Posted December 16, 2015 Share Posted December 16, 2015 The Read-Only permission fixed worked for me. We upgraded from 6.0.0 to 6.2 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