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

samvijay

Members
  • Posts

    18
  • 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 samvijay

  1. I have two Jasper Pro versions 3.5 and 3.7 in my system. After building and deploying the 3.5 code when I execute a report, I also got below error "java.lang.NoSuchMethodError: net.sf.jasperreports.engine.component.DefaultComponentManager.setDesignConverter(Lnet/sf/jasperreports/engine/component/ComponentDesignConverter;)V" After spending lot of time i discovered that it was due to ANT_HOME property set to ANT tool present in Jasper 3.7 code base rather than 3.5. The solution was to rebuild the code with appropriate version of ANT and restarting the server with correct ANT_HOME value
  2. Matt,I tried wtih above mentined option like Go to Chart Properties > Chart Data > Details > Select the series > Replace the content of "Series" with empty string "". Then Bar chart X-axis values are displaying exactly center of the bar but Chart legend not displayed and all bars in the chart displayed with same colour.I have to show th legend and bars with different colors. refer the attached With-workaround.jpg. Is there any workaround to fix these problems? Post Edited by samvijay at 11/11/2009 10:55
  3. Even I am facing the same problem, In x-axis the values are not displaying below the bar, how to display the x-axis values center to the bar?, I have attached a sample chart with the mis-allignment Please let me know
  4. Hi, We are using JasperServer Professional 3.5.1 WebService (WSClient.java) functionality to deploy the reports. The JasperServer is deployed in WebLogic 9.2.3 and JDK1.5. We are able to deploy the report, but during this process in WebLogic DOS Window we are getting NPE, from this stack trace we are not able to make out what is the cause of this error. The statck trace is below Code: Post Edited by samvijay at 07/22/2009 09:35
  5. Hi anandharaj, As per your comment the CSS properties needs to be specified in the JRXML file during design, what if we want to apply custom CSS for the HTML report during runtime (dynamically based on the user), do you have any idea how we achieve that functionality -samvijay
  6. Lucianc/swood I did not find the auditing feature even in JS 3.5, is there any plan to implement the same in near future --Samvijay
  7. Or you can try this ((com.jaspersoft.jasperserver.multipleTenancy.MTWebAuthenticationDetails)(org.acegisecurity.context.SecurityContextHolder.getContext().getAuthentication().getDetails())).getTenantId()
  8. I have not used cascading input. Is there any cascading input control patch? I don't know about it, can you share the details here, it will be helpful for other guys who are discussing about the same at http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=32709 Do you tried Cascading Input Control patch. I try a bit but stuck at how i get the HTTP value to run the report.
  9. This should work SecurityContextHolder.getContext().getAuthentication().getPrincipal(); -----or------ (UserDetails(SecurityContextHolder.getContext().getAuthentication().getPrincipal() )).getUsername() Post Edited by Sam Vijay at 04/08/09 12:05
  10. Thanks Lucian, My basic understating of ResourceBundle class was wrong; I was under the impression that we can pass only the .prop file name as resouceBundle. This indeed is an eye opener for me, this will solve my problem --samvijay
  11. Thanks Lucian, Actually I was looking for some magical approach!!!! which does not require modifying the core JasperReport code (like using scriptlet, or config changes etc…). If we extend ResourceBundle then we need to modify the JasperReports code like JRResourcesUtil.java and also we loose the flexibility of using ResourceBundle for few reports, which I want to avoid. Actually I have modified JRFillDataset.java file to read localization data from Database if resourceBundle attribute is not mentioned in JRXML, but I am looking for cleaner and less intrusive approach to get localization data from other than .prop file. --samvijay Post Edited by Sam Vijay at 03/30/09 13:55
  12. Thanks Sherman. I think it was a mistake on my part to ask this question in JasperServer forum, rather I should have asked this question in JasperReports forum, because my question was more to do with JasperReports than JasperServer :-) We upload the JRXML files along with related files like resource bundles, images etc…, when report is executed the resource bundles are loaded by JasperServer using the JasperReports method called loadResourceBundle(..) in the net.sf.jasperreports.engine.util.JRResourcesUtil class, I believe this is the default behavior of JasperServer The ReloadableResourceBundleMessageSource bean in applicationContext.xml reads the JasperServer properties not the Report resource bundle data! If my above understanding is correct, now my question is how do we tell the JasperServer/Reports to read property values (related to a report) from say database instead of resource bundle? Post Edited by Sam Vijay at 03/30/09 09:53
  13. If your aim is to delete resources in JasperServer without using either JasperServer-UI or iReport, then you could probably write a simple Java class with main method that will call JasperServer WebService to delete the resource. This class can be bundled as a jar file with dependencies, and can be executed from .cmd or .sh by passing required arguments You can refer to JasperServer-Web-Services-Guide.pdf for more details on JasperServer WebService
  14. Continuing on this discussion Is there any way to support localization other than through resource bundle? For example reading localization data from database and passing that data to JasperServer during execution using scriptlet or some other mechanism? In a large enterprise application it can become nightmare to maintain hundreds of resource bundles Post Edited by Sam Vijay at 03/25/09 13:21
  15. Even I am getting the same error when I launch the report manually Code:11:51:44,142 ERROR DefaultExtensionsRegistry,http-8080-8:195 - Error instantiating extensions registry for fchartsorg.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from URL [jar:file:/D:/Tools/apache-tomcat-6.0.16/webapps/jasperserver/WEB-INF/lib/jasperreports-ofc-component-0.0.2.1.jar!/com/jaspersoft/sample/ofc/chart_beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.Caused by:org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  16. Hi Sheman, Your inputs really helped me, thanks. First thing I was not using JIAuthenticationSynchronizer, and second I had forgotten to run unit tests, which would populate the jasperserver metadata. Post Edited by Sam Vijay at 03/11/09 11:30
  17. You can download the src from http://sourceforge.net/project/showfiles.php?group_id=162962&package_id=195243&release_id=642675 There are 2 ways to build the code one is using ANT scripts and another is MAVEN scripts (both the build scripts have dependency on each other) For maven based build follow the instructions provided in JasperServer-Source-Build-Guide.pdf, which is part of the source code For ANT based build follow the steps provided in Buildomatic-Auto-Build-Steps.txt I found the MAVEN based build process to be simple. Post Edited by Vijay Kumar at 02/17/09 05:54
  18. Hi, My project requirement is to support authentication based on request parameters, i.e the user details are part of URL, for example http://localhost:8080/jasperserver?USER_NAME=admin&CLIENT_ID=abc (I know this is not a good practice, and there are security issues as well) After doing some hard work!!!, I have reached the stage where the repositoryExplorerFlow page is displayed, but in that page except the menu and icons nothing else is displayed like Folders and Contents of: Please let me know what could be the reason, I have attached the source code and config file. Post Edited by Sam Vijay at 03/11/09 11:30
×
×
  • Create New...