Jump to content

Access Denied when Import Jasperserver 6.0 from 5.5


starrlingo

Recommended Posts

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 thanks

The error stack shown as following:

Error Message

org.springframework.security.access.AccessDeniedException: Access is denied[/code]

Error Trace

com.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 Message

net.sf.jasperreports.engine.JRException: org.springframework.security.access.AccessDeniedException: Access is denied[/code]

Error Trace

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) at[/code]

Error Message

org.springframework.security.access.AccessDeniedException: Access is denied[/code]

Error Trace

org.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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

My problem was solved by this post

http://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

  • 7 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...