Jump to content
Changes to the Jaspersoft community edition download ×

swood

Members
  • Posts

    2,039
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by swood

  1. The attributes of the SwapFileVirtualizer are: public static final int DEFAULT_MAX_SIZE = 200; public static final int DEFAULT_BLOCK_SIZE = 4096; public static final int DEFAULT_MIN_BLOCK_GROW_COUNT = 100; public SwapFileVirtualizerFactory() { // default values maxSize = DEFAULT_MAX_SIZE; tempDirectory = System.getProperty("java.io.tmpdir"); blockSize = DEFAULT_MIN_BLOCK_GROW_COUNT; minBlockGrowCount = DEFAULT_MIN_BLOCK_GROW_COUNT; } So directory is not right. tempDirectory is correct, and the default is the Java temp directory. Sherman Jaspersoft
  2. You could create a bean or a custom data source for JasperServer that caches the data. Have a scheduled report that uses your data source that runs daily that will reload the data into memory. Other reports using the data source will use the cached data. Sherman Jaspersoft
  3. We have lots of people with Postgres working. What is the problem? Sherman Jaspersoft
  4. Make MaxPermSize=128M. The exported content is held in the JVM. Do you see the JVM consume up to the full 2 GB when you are trying to get the Excel file? Sherman Jaspersoft
  5. How long does a report on Solaris take to run compared to Linux? Have a look at this: http://www.jaspersoft.com/configuring-report-scheduler particularly the job misfire threshold. Sherman Jaspersoft
  6. Change the file /WEB-INF/Bundles/adhoc_masks.properties The lines starting with "ADH_100_MASK" are the ones to look at. There are other files /WEB-INF/Bundles/adhoc_masks_<region>.properties for localizing the display. Sherman Jaspersoft
  7. It is in the unit tests under src/test/resources/jars. There is no source /tools/fckeditor/editor/images/smiley/msn/thumbs_down.gif Sherman Jaspersoft
  8. You can do this with an iFrame where the JasperServer screen is in the iFrame. You probably will need to do some single sign on between your web site and JasperServer. If you add "decorate=no" to the URL that goes to JasperServer, you will not see JasperServer menus and other surrunding content. You can also integrate via web services. There are example PHP and JSP applications in the JasperServer source distribution that do this. Sherman Jaspersoft
  9. Exactly. You have to upgrade 1 version at a time. Sherman Jaspersoft
  10. You are after repository permissions, which can be set by role and user. Have a look in the JasperServer user guide for details. Sherman Jaspersoft
  11. Just call the URL in PHP or Javascript - ie. whereever you are doing the logout. Sherman Jaspersoft
  12. OK - I checked into this further. Looks like there is a bug related to the issue outlined here: http://www.oreillynet.com/cs/user/view/cs_msg/83590 We need to import org.apache.commons.io.* into the UploadMultipartFilter class. Is the file particularly large? That may be causing commons.io to create the temp file and run into the problem. Sherman Jaspersoft
  13. Try URLs like: Run without prompts by providing the parameter: http://robot:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&ParentFolderUri=%2Freports%2Fsamples&decorate=no&reportUnit=%2Freports%2Fsamples%2FEmployeeAccounts&j_username=jasperadmin&j_password=jasperadmin&EmployeeID=sarah_id Run with prompt for parameters: http://robot:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&ParentFolderUri=%2Freports%2Fsamples&decorate=no&reportUnit=%2Freports%2Fsamples%2FEmployeeAccounts&j_username=jasperadmin&j_password=jasperadmin Sherman Jaspersoft
  14. For a queryExecuter to work so that it picks up the queryString in the JRXML, you need to make sure that you do not set the JRParameter.REPORT_DATA_SOURCE in the parameter map. If you set REPORT_DATA_SOURCE, the queryString in the JRXML will be ignored. A lot of report data sources cannot be used in query input controls, because they lack result set field types and possible additional data that some data sources which is in the field description tag in JXML. If a data source type can be used in a query input control, the way to make it appear on the query maintenance screen for query input controls is as you found: adding the queryLanguage into the queryBeans.xml. Sherman Jaspersoft
  15. I would have expected the daylihgt saving changes not to have an effect. I don't know exact what is happening here, but try changing the time zone on the schedules. You may need to set up a new time zone for French Daylight Savings. Sherman Jaspersoft
  16. You will need to change the OlapModelController to get the data source info parameter out of the HttpRequest. Add the parameter into the ExecutionContext that is passed to: OlapModel model = getOlapConnectionService().initializeOlapModel(executionContext, olapUnit, sess); In the OlapConnectionServiceImpl.getMondrianConnectProperties, get the data source value and inject it into: connectProps.put(RolapConnectionProperties.Jdbc.toString(), jdbcDataSource.getConnectionUrl()); String driverClassName = jdbcDataSource.getDriverClass(); connectProps.put(RolapConnectionProperties.JdbcDrivers.toString(), driverClassName); or connectProps.put(RolapConnectionProperties.DataSource.toString(), jndiURI); Sherman Jaspersoft
  17. Looks like a bad install. You are missing a file WEB-INF/lib/commons-io-1.1.jar. Sherman Jaspersoft
  18. Was there an exception logged on the server? Sherman Jaspersoft
  19. Sounds like you need some logic on your application's log out process that calls the JasperServer logout. You can do this with the following HTTP request: http://yourServer/jasperserver/exituser.html Sherman Jaspersoft
  20. The JExcelApiExporter provides a better result than the XlsExporter. In JasperServer, the JExcelApiExporter is used. Sherman Jaspersoft
  21. You can now define multiple instances of the same band, and use a printWhenExpression to select what displays. In your cases, I would make the printWhenExpression select on whether the type of report was detail or summary. Sherman Jaspersoft
  22. You are missing a font on the server. In HTML, the browser substitutes missing fonts, but not in PDF. Have a look at Matt's great explanation at http://mdahlman.wordpress.com/2009/05/13/fonts-in-jasperserver/ Sherman Jaspersoft
  23. The HeartbeatBean is not essential to the running of JasperServer. What exception were you getting before you set the enabled and permissionGranted properties to false? Sherman Jaspersoft
  24. The Spring Security API call: Authentication current = SecurityContextHolder.getContext().getAuthentication(); will get you the currently logged in user. Sherman Jaspersoft
×
×
  • Create New...