kamble.suhas Posted December 17, 2015 Posted December 17, 2015 The image is using expression "repo:/organizations/clarity/ca_ppm/resources/images/"+$F{STATUS_LIGHT}+"_light" When I run it through studio, it works fine and show report with image but when I deployed on server it is giving exception. When I remove this image the report runs fine on server but it fails with exception as soon as I add this image. what could be the problem? In jasperlog it says java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy169.getResource(Unknown Source) The dialog that comes on report says Error Details The server has encountered an error. Please excuse the inconvenience. Error Message java.lang.reflect.UndeclaredThrowableException Error Message java.lang.reflect.InvocationTargetException Error Message org.springframework.security.AccessDeniedException: Access is denied
Solution kamble.suhas Posted December 18, 2015 Author Solution Posted December 18, 2015 OK. I figured it out my self and the issue was I had logged into repository through jaspersoft studio as superuser. To fix this 1. Create a report designer user (i did for clarity so selected a flag add to clarity, is this organization name? might be because I named the organization as clarity only.)2. I gave all rights to the user.3. Change repository config properties and not login with new user created. 4. Click publish report and overwrite exiosting reportThat solved the issue.I am unhappy with jaspesoft community. I used so many forums with open source tools but this seems the least used tool looking at the responses to questions posted. It took me days to figure this simple thing out. of course they said this in preliminary steps to configure the studio but still....
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