Quantcast
Channel: General Failure - Raportointi
Viewing all articles
Browse latest Browse all 6

Open reports once again

$
0
0

I am still a bit disappointed at the current open source reporting solutions. But the biggest part of my disappoiment comes from trying them with wrong java. I am very impressed that gjc can run most of the java programs and servelets but it makes them really really slow and doesn't support all of the features. I allready threw pentaho away because it was unbearably slow without thinking that there might be other reasons for it being slow. Now I am back with openreports and trying to install it once again. There are some steps that are missing from my previous post and somethings are a bit unclearly written as it is a journal of what I did instead of being instructions how to do it. This time I am on Debian sarge

  • Download Sun's java, untar. Add paths and JAVA_HOME to /etc/profile
  • Download Apache's tomcat. Run bin/startup.sh
  • Download Ant, untar, move bin and lib directories to somewhere. Add /somewhere/bin to PATH at profile, set somwhere to ANT_HOME in the profile
  • Download Openreports, unzip
psql (PostgreSQL) 7.4.7
contains support for command-line editing

  • Download correct jdbc-version from jdbc.postgresql.org and copy it under Tomcat's common/lib
  • Add database user: createuser openreports -E -P
  • Create database: createdb openreports -EUTF-8 -Oopenreports
  • As postgres add local openreports openreports md5 and host all all 127.0.0.1 255.255.255.0 md5 to pg_hba.conf and do pg_ctl reload
  • Under openreports directory "/database/schema" contains two files: or_ddl_postgre.sql and quarz/tables_postgres.sql. First of them lacks ending semicolons and the second one has commit without begin. Fix these and run both as openreports with pgsql
  • Add user:insert into report_user (reportuser_id,name,password,admin,pdf_export_type) values (0,'mos','xxx',true,0);
  • Fix openreports/src/hibernate.properties and openreports/src/quarz.properties as described in the previous post
  • ant war
  • Shutdown tomcat, copy openreports.war from openreports/tomcat to tomcat installation's webapps-directory. Start tomcat and surf to localhost:8080/openreprots/

After adding report and running it there is one annoyance and that is the date-field, it uses MM/dd/YYYY despite the fact I reconfigured it in the administration. Then there are some questions about paramaters and possiblity of doing SSO with another application.


Viewing all articles
Browse latest Browse all 6