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

rhinosystems

Members
  • Posts

    2
  • Joined

  • Last visited

rhinosystems'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. Hello, I'm a newbie, and would like to create a simple report and show in the list of reports. I'd like the report to get it's data from custom data source (my own beans basically). Things I've tried so far, but with some frustration. 1) I found the JasperReports Ultimate Guide Third edition - not very helpful for getting "samples" running - no complete sample code - this is more like a reference as far as I can see. I'd buy the JasperReports Server Ultimate Guide, but I have a few reservations: A) if it is like the 3rd edition I'm looking at, it is probably not worth it - it doesn't have complete sample code; B) It looks like you need to buy this guide on JASPERSOFT, which would lead me to believe that it is for the PRO version, and I'd like to sample around with the community edition first... is the guide geared towards the PRO? If I don't like the guide can I get my money back? 2) I tried building java-webapp-sample\java-webapp-sample-jar - but it won't build because of missing jars - I've added all the jars in <tomcat>/lib/jasper* and under <tomcat>/webapps/jasperserver/WEB-INF/lib/* and no luck - it is missing: com.jaspersoft.jasperserver.irplugin.wsclient.FileContent com.jaspersoft.jasperserver.ws.client.authority.UserAndRoleManagement; com.jaspersoft.jasperserver.ws.client.controller.WSClientManager; com.jaspersoft.jasperserver.ws.client.authority.PermissionsManagement; 3) I tried to run the build from <jasperserver_install>/buildomatic but that failed with "maven" error - I don't have maven installed - I'd prefer just ant type build process if possible, and will just installing maven fix this problem? if you are distributing ant, why not maven too? 4) I've tried to find in <tomcat>/webapps/jasperserver some way of seeing the sample web-apps that are installed as a part of the installation - but nothing jumped out - i saw that "spring" is being used, but I'm no expert in spring to figure this out quickly. So far I've tried a lot of things, and run into barriers that I'm not sure I should pursue past them for fear of further rabbit-holes. Please help me with some direction. Simply put, I just want to get a "sample" custom datasource report installed, and need instructions. Hello World type stuff... :) Thanks, Joel
  2. The procedure you outlined worked for me, except one thing: It needed to have the js-create.ddl as well, and make sure to change TYPE->ENGINE, and maxValue to `maxValue` for this file. Also, notice that you mention "DLL" but it is DDL extensions. I'd recommend creating a BATCH file, and when you see the 'mysql' dir show up in the installation process, then run the script. run the batch script repeatedly, until you see the "last file" copied (into the INSTALLER dir). that directory is created further down the installation process. Here is my script: @rem the SAVE dir is where I put my saved edited files. @set SAVE=c:\software_x86\jasperreports-server-cp-4.0.0_save @set MYSQL_DIR=C:\software_x86\jasperreports-server-cp-4.0.0\buildomatic\install_resources\sql\mysql @set INSTALLER=C:\software_x86\jasperreports-server-cp-4.0.0\scripts\installer @copy /Y %SAVE%\js-pro-create.ddl %MYSQL_DIR%\js-pro-create.ddl @copy /Y %SAVE%\js-create.ddl %MYSQL_DIR%\js-create.ddl @copy /Y %SAVE%\quartz.ddl %MYSQL_DIR%\quartz.ddl @copy /Y %SAVE%\foodmart-mysql.zip %MYSQL_DIR%\foodmart-mysql.zip @copy /Y %SAVE%\installer\foodmart-mysql.sql %INSTALLER%\foodmart-mysql.sql One other WARNING: if you select install into existing TOMCAT dir, then CANCEL installation (I think uninstall too), it will REMOVE your EXISTING tomcat dir (all except a few files). So make sure to either be able to restore your existing TOMCAT dir or create a "new" one during install, and arrange different ports. -Joel
×
×
  • Create New...