Jump to content
We've recently updated our Privacy Statement, available here ×

max.massoni

Members
  • Posts

    2
  • Joined

  • Last visited

max.massoni's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thanks for the answer joseng62. I'm using the jasperadmin account which is a ROLE_ADMINISTRATOR user so I believe it should have enough rights to write to the temp folder. I restarted the server but the problem persists. I read something about clearing the temp folder and restarting tomcat. I'll try that. Are reports created in the temp folder? With the Ad Hoc View the workaround atm is to save them as topics to another folder but I dont have a workaround for creating reports. I'm assuming that reports are created in the temp folder and the root cause of the issue is (somehow) the lack of permissions.
  2. We have two Jaspersoft AWS environments and I'm not able to create ad hoc views and reports in one of them. When I try to create an adhoc view I'm prompted with the following error: Error Messagejava.lang.Exception: You do not have permission to write to the folder /temp. Choose another folder or contact your system administrator. Error Tracejava.lang.Exception: You do not have permission to write to the folder /temp. Choose another folder or contact your system administrator. at com.jaspersoft.ji.semantic.action.QueryBuilderAction.repositoryTempSave(QueryBuilderAction.java:2664) at com.jaspersoft.ji.semantic.action.QueryBuilderAction.tempSave(QueryBuilderAction.java:2319) at This appears to be due to the fact the Save Topic step in the ad hoc view creation defaults the save location to /. If I set it to an exisiting folder I'm able to create and save the AdHoc view. That however leads to a second problem: When I attempt to create a report from the Ad Hoc View I get another exception: Error Messagejava.lang.RuntimeException: An error occurred while performing the previous request. Error Tracejava.lang.RuntimeException: An error occurred while performing the previous request. at com.jaspersoft.ji.adhoc.action.ReportGeneratorController.defaultExceptionHandler(ReportGeneratorController.java:103) at sun.reflect.GeneratedMethodAccessor4954.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleException(MultiActionController.java:637) at ... In the other environment, where everything works I noticed that the reports are created in the Organization's Temp folder by default so I suspect both errors might be related. The thing is, in the problematic environment, there is no such folder. I've created one and assigned the correct permissions but the error persists. My question is: How can I provide access to the /Temp folder since I have no access to it from the UI? Thanks in advance!
×
×
  • Create New...