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

javi_123

Members
  • Posts

    63
  • 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

Posts posted by javi_123

  1. They have submitted the case as a defect enhancement, lets see how long will it take to fix this problem.

    I think i have found another problem unless i'm doing something wrong, actually i upgarded from js 4.2.1 to 4.7 which was successful and then i tried to export the contents of the repository from js 4.7 which failed using the following command:

    ./js-export.sh --uris --everything --output-zip everything.zip

    Have you tried to export the repository resources in js 4.7?

    Error message

    ==================== Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'this_11_.maxValue' in 'field list' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2012-07-11 12:49:02,097 ERROR BaseExportImportCommand:45 - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalProfilingState' defined in file [/opt/jasperserver/buildomatic/conf_source/iePro/applicationContext-profiling.xml]: Invocation of init method failed; nested exception is com.jaspersoft.jasperserver.api.JSExceptionWrapper: could not execute query; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalProfilingState' defined in file [/opt/jasperserver/buildomatic/conf_source/iePro/applicationContext-profiling.xml]: Invocation of init method failed; nested exception is com.jaspersoft.jasperserver.api.JSExceptionWrapper: could not execute query; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query =======================================================================
    [/code]
  2.   Hi All,

    I need to create a link in a report which points to a specfic folder in repository.

    In jasperserver 3.7, it was easier to point to a specific repository folder: i.e.

    http://localhost:8080/jasperserver-pro/flow.html?_flowId=repositoryFlow&folder=/adhoc/topics

    In jasperserver 4, 'repositoryFlow' has been replaced by 'searchFlow' but i'm struggling to point to a specific folder in repository.

    I have tried to use the following but still no result:

    http://localhost:8080/jasperserver-pro/flow.html?_flowId=searchFlow&folderUri=/adhoc/topics&mode=browse

    Please reply back with the solution.

    Thanks in advance.

    jav

  3.  Hi All,

    I need to create a link in a report which points to a specfic folder in repository.

    In jasperserver 3.7, it was easier to point to a specific repository folder: i.e.

    http://localhost:8080/jasperserver-pro/flow.html?_flowId=repositoryFlow&folder=/adhoc/topics

    In jasperserver 4, 'repositoryFlow' has been replaced by 'searchFlow' but i'm struggling to point to a specific folder in repository.

    I have tried to use the following but still no result:

    http://localhost:8080/jasperserver-pro/flow.html?_flowId=searchFlow&folderUri=/adhoc/topics&mode=browse

    Please reply back with the solution.

    Thanks in advance.

    jav

  4. Hi All,

    I'm having problem exporting flash charts in Rtf and Flash formats. All the can see is "Flash Component" displayed in chart section when i export to Rtf. Flash exports does'nt disply anything. Are there any settings which i need to make to get it working??

    I'm using jasperreports server 4.1.0 and latest version of flash player.

    Thanks in advance 

    Jav

  5.  I'm not sure whether this is the best way to do it but this is what i have done to display the license page:

    1: Add a new role e.g. ROLE_LICENSE . Make sure this role is assigned to all  users who need to view the license page.

    2: Create two report units,  one report unit is for displaying the license agreement information and another report unit to accept the license agreement. I have attached the report units and this will give you a clear idea what i have done. 

    3: Make following changes in  jasperserver-servlet-pro.xml

     <value>ROLE_LICENSE|redirect:/flow.html?_flowId=viewReportFlow&reportUnit=/public/reports/LicensePage&decorate=no</value>

    <value>ROLE_ADMINISTRATOR|redirect:/flow.html?_flowId=homeFlow</value>

                    <value>ROLE_USER|redirect:/flow.html?_flowId=homeFlow</value>

    This will show the license page once a user logs in.....

    4: Attached license_accepted.jrxml is calling stored procedure in the report sql. This will remove the ROLE_LICENSE from the user once they have accepted the terms and conditions. Next time when the user log in, the license page wont appear.

    Thats all i have done, hope this solves your problem.

    Regards

    Javi

     

  6. I don't know whether it will help but here is what I would suggest and may be it will solve your problem.

    Lets say you have a organization called 'Fred', name you datasource as 'Fred_datasource'.

    Then in you report query you can do like this...

    SELECT

    ....

    FROM '$P!{LoggedInUserTenantId}'_datasource.tablename;

     

    When you login as a user which belongs to a particular organization, it will pass the LoggedInUserTenantId and the data will be filtered based on the LoggedInUserTenantId.

     

    This works as i have already tried it when jasperserver wasn't working on a multi tenant environment.

     

    Regards

    Javi

  7. I think its the same in the Professional edition as well but I'm not sure......Look for viewReportBeans.xml in WEB-INF/flows folder and scroll down to the bottom of the file. Remove the following line:

     

    <entry key="swf" value-ref="swfExporterConfiguration"/>

     

    Make sure you restart the jasper.

     

    Hope it helps

     

     

  8.  Hi All, 

    Resources of a Report Unit should sort by name or label but not my date and time.

    I have created a dashboard as a report unit in which i have got more than hundred resources in it and possibly it will increase day by day. Everytime i add a resource, it gets added at the bottom by the time it was created. 

    I used a standard naming conventions to remember every resource but sum times i need to edit the existing resources and may need to include a subreport within a resource. The naming conventions dosnt work becuase the resources are sort by date and time.

    Is it possible to sort the resource folder by name or label instead of date and time??

    Please reply back with a solution

    Regards

    Javed

  9.  Hi All,

    I need to create a feedback form in jasperserver. 

    It should be a simple from where user has to enter name, email address and message. Once the form is filled, the user should receive a message in their email id and i should receive a confirmation in my email id.

    How can i do it in jasperserver?

    Please reply back with the solution.

    Regards

    Javi

  10. Rohini,

    I can't see any difference in the applicationContext.xml file. May be LoggedInUser is not supported in community edition but i am not sure about it.

     

    I am using jasperserver repository in iReports.

     

    I think its better to log a call to jasperserver through their support portal. I am sure they will respond quickly there becuase they charge for that......

     

    Regards

    Javed

  11. You need to create report throught iReports and then upload it on the jasperserver.

    Inside the report you just need to populate the fields through REPORT QUERY browser in iReports  and then upload the same report to jasperserver in Ad hoc Components/topics folder.

    You can upload the report to jasperserver through iReports by using the jasperserver plugin in iReports. To enable the plugin, choose Window > JasperServer Repository. Then you need to Add a new server and  add the server information. After adding the server information, you will be able to view the Repository contents. Look for Ad hoc Components/topics folder and save the report in that particular folder.

    I have also attached an example report and you can save it in the  Ad hoc Components/topics folder.

    Hope it will help.

    Regards

    Javed

×
×
  • Create New...