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

Exie

Members
  • Posts

    59
  • 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 Exie

  1. Hi, I have the same problem on Jasper Report Server 5.2.0 Any update on how to resolve this one ?
  2. I'm facing a similar problem right now. I need a crosstab to accomodate changing columns. Would be great to see an answer to this. If anyone has any clues, please share!
  3. Thanks, I must be doing it wrong. Just installed a vanilla 5.0 server and configured it the same way and got the same error.
  4. Hi Folks, I know this has been covered off here before, but in 4.7.1 this no-longer seems to work. When I call the URL I get the following exception: Nov 27, 2012 2:07:41 PM org.apache.catalina.startup.Catalina startINFO: Server startup in 36566 ms2012-11-2714:09:25,866 ERROR RenderViewExceptionInterceptor,http-8080-1:38 -Internal server error occurred. Please contact your systemadministrator.org.springframework.security.AccessDeniedException: Access is denied at org.springframework.security.vote.AffirmativeBased.decide(AffirmativeBased.java:68) atorg.springframework.security.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:265) atorg.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:63) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy18.getResource(Unknown Source) atcom.jaspersoft.jasperserver.multipleTenancy.PathTransformationRepositoryService.getResource(PathTransformationRepositoryService.java:299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy18.getResource(Unknown Source) atcom.jaspersoft.jasperserver.war.control.ContentRepositoryFileView.renderMergedOutputModel(ContentRepositoryFileView.java:60) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1157) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:927) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399) at com.jaspersoft.jasperserver.api.security.IPadSupportFilter.doFilter(IPadSupportFilter.java:67) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atcom.jaspersoft.jasperserver.api.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.ji.license.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:108) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.ji.license.JILicenseFilter.doFilter(JILicenseFilter.java:66) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atorg.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atcom.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atcom.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:96) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter.doFilterHttp(MTBasicProcessingFilter.java:180) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:76) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:130) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atorg.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619)2012-11-27 14:09:25,884 ERROR SystemErrorController,http-8080-1:62 - Internal server errorjava.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:126) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:126) at org.springframework.security.firewall.FirewalledResponse.sendRedirect(FirewalledResponse.java:24) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:126) atorg.springframework.security.context.HttpSessionContextIntegrationFilter$OnRedirectUpdateSessionResponseWrapper.sendRedirect(HttpSessionContextIntegrationFilter.java:507) atorg.springframework.security.ui.webapp.AuthenticationProcessingFilterEntryPoint.commence(AuthenticationProcessingFilterEntryPoint.java:140) atorg.springframework.security.ui.ExceptionTranslationFilter.sendStartAuthentication(ExceptionTranslationFilter.java:213) at org.springframework.security.ui.ExceptionTranslationFilter.handleException(ExceptionTranslationFilter.java:162) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:117) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.ji.license.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:108) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.ji.license.JILicenseFilter.doFilter(JILicenseFilter.java:66) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atorg.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atcom.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atcom.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:96) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter.doFilterHttp(MTBasicProcessingFilter.java:180) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:76) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:130) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) atorg.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619)[/code]My applicationContext-security-web.xml file looks like: <bean class="org.springframework.security.intercept.web.FilterSecurityInterceptor" id="filterInvocationInterceptor"> <property name="authenticationManager"> <ref bean="authenticationManager" /> </property> <property name="accessDecisionManager"> <ref bean="httpRequestAccessDecisionManager" /> </property> <!-- <property name="runAsManager"><ref bean="runAsManager"/></property> --> <property name="objectDefinitionSource"> <value>CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON PATTERN_TYPE_APACHE_ANT /fileview/**=ROLE_ANONYMOUS,ROLE_USER,ROLE_ADMINISTRATOR</value> </property></bean>[/code]My URL I am using looks like: http://192.168.254.131:8080/jasperserver-pro/fileview/fileview/reports/samples/AllAccounts.pdf I have checked the permission on the samples folder, and anonymous has read-only. Any ideas ?
  5. Do you have an example of these printWhen expressions ? Mine seem to work ok. Do you get any specific error message ?
  6. Ignore this. It now works in 4.7.1 ... yippie!
  7. Hi Folks, So, I've got this new interactive table thing working like a charm, they're great! ... but I have 1 column with a reference number I'd like to click on and open an external URL. When I publish the report, I can see the hyperlinks, hover over them and it gives a hint of where its going, but when I click to open the link, it just selects the column. Whats the trick here ?
  8. Hi Folks, Here's the go, I've got a standard crosstab report, but I would like to put an annotation on the details. In the database, I can extract a 20 character text field with the notes relating to a field on the report, but cant find a good way to pass it in to the cross tab or display it. I thought about using a hyperlink and putting the notes in the anchor expression, but couldnt get the field from the main report into the crosstab. Any ideas ?
  9. Awesome, thanks guys. I see 4.5.1 is out, any idea what the next one is ? I'll keep my eyes peeled. :)
  10. I know this was started a year ago, but still no answer ? We've got the same problem running version 4.5.0 Its obviously changed since earlier relases, but not documented or tested very well.
  11. Hi Folks, I've whipped down the latest iReport 4.2.0 from the Jaspersoft support site. The release notes talk about publishing the fusion charts to HTML5. There's also talk about been iPad friendly. I've looked everywhere, but cant find the option ?! What gives ? It looks like the same old Flash dependant charts. I havent setup the Jasper Server part yet, but it doesnt make much sense to build the reports with Flash output and then publish them and change the output. Any tips ?
  12. I know this is a grave dig, but I get the same exception. My scenario is priting from a windows service (batch processor), running on Win2K8. The batch processor invokes a java applet to render documents and runs in headless mode. The command looks like: java -cp %CLASSPATH% -Djava.awt.headless=true BuildReport4 The java code is almost identical to wjones14 and throws the same exception. Ironically however, the documents actually print! Our exception points the finger towards java.awt as per: net.sf.jasperreports.engine.JRException: Error printing report. at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:197) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:84) at net.sf.jasperreports.engine.JasperPrintManager.printPages(JasperPrintManager.java:197) at net.sf.jasperreports.engine.JasperPrintManager.printReport(JasperPrintManager.java:88) at BuildReport4.sendToPrinter(BuildReport4.java:258) at BuildReport4.main(BuildReport4.java:162) Caused by: java.awt.print.PrinterException: No print service found. at sun.print.RasterPrinterJob.print(Unknown Source) at sun.print.RasterPrinterJob.print(Unknown Source) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:192) ... 5 more Is this one of those double slash things to escape the slashs for the UNC printer queue name ? our printer queues are locally defined on the server machine itself which may help. However it still looks nasty with the exceptions. Was there any eventual solution or work around to tidy this up ?
  13. Thanks. Thats exactly what I did. Only had 4 JRXML's to do so it wasnt too bad. Basically it swapped this element as below. By swapping the barcode "image" to the baebecue element they all run fine first time. Thanks. Tim. Code:was this: <image scaleImage="RetainShape" vAlign="Top" hAlign="Left" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="438" y="1" width="126" height="38" forecolor="#000000" backcolor="#FFFFFF" key="barcode-1"/> <box></box> <graphicElement stretchType="NoStretch" fill="Solid" /> <imageExpression class="java.awt.Image"><![CDATA[it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(9,$F{po number},false,false,null,0,0)]]></imageExpression> </image>now This: <componentElement> <reportElement x="438" y="1" width="126" height="38"/> <jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code39" drawText="false" checksumRequired="false" barHeight="60"> <jr:codeExpression><![CDATA[$F{po number}]]></jr:codeExpression> </jr:barbecue> </componentElement>
  14. Hiya Folks, This may take a few of you waaayyy back. But many moons ago I embeded JasperReport 2.0.2 in an application. We had about 4 JRXML's are assembled to go with the app and its been working great ever since. However the time has come to overhaul the app and I'd like to update to JasperReports 4.1.0 engine. So I've selected all the JAR's from the current release and it all compiled up ok. But trying to render my document thew one of these: Caused by: java.lang.NoClassDefFoundError: it/businesslogic/ireport/barcode/BcImage A Quick inspection shows the old build had "ireport.jar" which seems to match up with an old v2.0.5 copy of iReport used at the time to build the templates. I presume this has since been replaced with Barcode4J. My question is, whats the best way to bring my app up to date ? Do I fish out the JRXML's and re-compile them with iReport 4.1 ? Do I simply include the old iReport.jar in my libraries ?
  15. This looks really handy, but I have 2 concerns: 1. I cant read Italian! 2. Been such a good idea, it seem logical for Jaspersoft to build/add something similar in due course.
  16. Hi Folks, I've been playing around with some charts and using the built-in chart themes. So far things are coming out ok, but I'm curious if anyone has made their own chart themes and feels like sharing them ? I would love to find a repo somewhere which had a selection of JRCTX chart themes we could download and add to our reports. I would make my own, but I'm really not an artistic person, so far my attempts look pretty crap! :)
  17. Code:Hey, is it just me or are these forums broken ? I was coming to create a new thread, and the "message" box doesnt render. I've checked IE and Firefox, but no joy.
  18. Hey Folks, One of my long time frustration with these 2 libraries has been the use of Flash. Whilst it looks great in a browser, even in a PDF, it fails to render without Adobe Flash. So I'm constantly torn between visuals and usability. That is making great looking reports that grab peoples attention, but then not been able to print them out, or display them on an iPhone. Looks like Adobe are finally doing something about it with "Wallaby". Whilst I havent used it myself yet, it promises to convert Flash into HTML5, specifically so it can display on iPhones and the like. I hope this will also enable printing as well. Does anyone know of the good folks at Jaspersoft have started playing with this yet ? can they comment on if it might work its way into the next version ?
  19. Hey Folks, I've got a report with a date parameter, this gets passed through to Oracle in the SQL query and works well. <parameter name="InputDate" class="java.sql.Timestamp"/> My problem is I now want to schedule the report and run it each day, but I then need to put a fixed value in the date input. How can I get the schedule to change each day and just use the current date ? One option is to clone the report, but I dont want to maintain 2 versions of the same thing.
  20. Thanks for the tip. Using Target="Blank" opens the report in a new browser tab, which looks fine. However I was hoping to have people navigate within the dashboard.... to visualise it, the dashboard I'm working on has the screen divided into 4 squares, each will represent a different area. I would like the user to be able to click on one area, and have its content change and show more detail without affecting the other 3 boxes. Using Target="Self" seems to work, except I end up with scroll bars in the box, which shows another title bar with "Home/View/Create" buttons etc. I really want it to just show the report content.
  21. Hi Folks, I've made my first drill-through as follows: Create master report (SQL), it has a parameter of LoggedInUser, added a field from SQL output, displays fine. I then added a hyperlink, Target=Self Type=ReportExecution .....added parameters ProductID=$F{ProductID} ReportUnit="/Dashboards/Resources/KPI-DT-RepCustomers" This works good, BUT when I click the link, it loads up a whole new JasperServer titlebar etc. inside the dashboard. Is there some way I can strip that off, so clicking a hyperlink in the dashboard will just load the report content without all the menu bar and other guff ?
  22. By way of follow up... I finally got this to work (with help from JasperSoft). It should be ROLE|ORGANIZATION eg. <authz:authorize ifAllGranted="ROLE_ORG_1_USER|organization_1">
  23. G'day, I have the same question.... I've changed my home.jsp to: <authz:authorize ifAllGranted="ROLE_MYGROUP"> <%@ include file="homeForMyGroup.jsp" %> </authz:authorize> But it doesnt pick it up.... I followed the instructions here: http://www.jaspersoft.com/how-set-role-based-jasperserver-home-pages But still no luck. I think the problem could be in step 1 where it says to create the role in Root -> Organization Due to the way we set it up, our roles exist in Root -> Organization -> MyCompany I've tried various permitations like: <authz:authorize ifAllGranted="MyCompany\ROLE_MYGROUP"> <authz:authorize ifAllGranted="MyCompany|ROLE_MYGROUP"> But still no success, can anyone help ?
  24. Hi Folks, I have a small cube, that has a product dimesion from a single table like so: Business Unit -> Product Group -> Product (+ Description) ... and I'm making a new product dimension which again comes from a single table like this: Business Unit -> Sales Group -> Product This works fine, but I want the product description in both dimensions, but dont want to store it twice in the database. How can I pull the attribute/property of a level from a different table ? In the code below, how can I get the description from "PRODUCTGRP_JS_MV" in the other dimesnion. Code:<Dimension type="StandardDimension" name="Product Group"> <Hierarchy hasAll="true" primaryKey="PRODUCT_ID"> <Table name="PRODUCTGRP_JS_MV"> </Table> <Level name="Product Type" column="BUNIT_ID" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never"> </Level> <Level name="Product Group" column="PRODUCT_GROUP" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" ordinalColumn="PRODUCT_GROUP"> </Level> <Level name="SKU" column="PRODUCT_ID" nameColumn="PRODUCT_ID" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" ordinalColumn="PRODUCT_ID"> <Property name="Description" column="PRODUCT_DESCRIPTION" type="String"> </Property> </Level> </Hierarchy></Dimension><Dimension type="StandardDimension" name="Sales Group"> <Hierarchy hasAll="true" primaryKey="PRODUCT_ID"> <Table name="PRODUCTSAL_JS_MV"> </Table> <Level name="Unit" column="BUNIT_ID" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" ordinalColumn="BUNIT_ID"> </Level> <Level name="Product Type" column="SALES_GROUP" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never"> </Level> <Level name="SKU" column="PRODUCT_ID" nameColumn="PRODUCT_ID" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" ordinalColumn="PRODUCT_ID"> </Level> </Hierarchy></Dimension>
×
×
  • Create New...