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

gholamian

Members
  • Posts

    8
  • Joined

  • Last visited

gholamian's Achievements

  1. what is your production OS? if it is ubuntu you need to install headless java. also installing missing font on system. have a look here. http://stackoverflow.com/questions/3811908/jvm-fonts-and-jasperreports i had a similar issue and mine was fixed by apt-get install ttf-dejavu-core ttf-dejavu-extra -y[/code]
  2. Hi, can any one provide me pt_PT language files please. This is what i currently have. root@cloudreports2:/var/lib/tomcat6/webapps/ROOT/WEB-INF/bundles# ls -l | grep 'pt_' -rw-r--r-- 1 tomcat6 tomcat6 3055 Mar 6 14:32 calendar_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 6398 Mar 6 14:32 ja_mondrian_messages_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 13950 Mar 6 14:32 ja-pro_messages_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 10632 Mar 6 14:32 jasperreports_messages_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 1811 Mar 6 14:32 jasperserver_config_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 209964 Mar 6 14:32 jasperserver_messages_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 55782 Mar 6 14:32 jpivot_messages_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 20042 Mar 6 14:32 jsexceptions_messages_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 18451 Mar 6 14:32 mondrian_exception_messages_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 248 Mar 6 14:32 ScalableInputControlsBundle_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 1283 Mar 6 14:32 scheduling_ws_pt_BR.properties -rw-r--r-- 1 tomcat6 tomcat6 197 Mar 6 14:32 security_pt_BR.properties
  3. Issue was not permission and i installed tomcat using apt-get (not from source or anything). thanks for your reply.
  4. Ok found the reason and fixed was simply copy mariadb java client to java directory. Since i was using the a new server mariadb client was missing. cp mariadb-java-client-1.1.2.jar /usr/share/java/.cd /usr/share/tomcat6/libln -s ../../java/mariadb-java-client-1.1.2.jar mariadb-java-client-1.1.2.jarAlso installed the following pagckages (missing fonts) apt-get install mysql-client libxml2-utils tomcat6 openjdk-6-jre-headless openjdk-6-jdk openjdk-6-jre openjdk-6-jre-lib ttf-dejavu-core ttf-dejavu-extra
  5. Hi, I have compiled jasper 5.5 with remote mysql for db, Ubuntu 12.04 and everything was ok. All the reports are working and no issues so far. then i created a new server (Ubuntu 12.04) and installed tomcat (same version) and all mysql client. after that i stopped tomcat service on my first server. copy the jasper folder from server a to server b. what happen now is when i start tomcat on my second server i keep getting this. i can confirm i can connect to db using mysql command and there are no firewall rules in between. INFO: Illegal access: this web application instance has been stopped already. Could not load ehcache-version.properties.
  6. Hi, Thanks for your reply. I am using 5.5 community edition, however i tried rest_v2/export/ and i get HTTP Status 405 - Method Not Allowedtype Status report message Method Not Allowed description The specified HTTP method is not allowed for the requested resource (Method Not Allowed). Apache Tomcat/6.0.35
  7. Hi, I was wondering if there is a way to download/install only js-export. Reason is i am moving the compiled package to a server with tomcat already installed and i need to import the reports.
  8. I have the following as my report Input Control: Duration:1,2,3 Following parameters: startdateenddateTerms(Duration)startdate parameter: Parameter.Class: java.util.Calendar ($P{Terms}.equals(1) ? ($P{today}.add(Calendar.MONTH, -1) || $P{today}.set(Calendar.DAY_OF_MONTH, 1)):($P{Terms}.equals(2) ? ($P{today}.add(Calendar.MONTH, -2) || $P{today}.set(Calendar.DAY_OF_MONTH, 1)):($P{Terms}.equals(3) ? ($P{today}.add(Calendar.MONTH, -3) || $P{today}.set(Calendar.DAY_OF_MONTH, 1)):$P{today}.getTime() )))[/code]enddate parameter: Parameter.Class: java.util.Calendar ($P{today}.set(Calendar.DAY_OF_MONTH, 1))? null : $P{today}.getTime()[/code]today parameter: Parameter.Class: java.util.Calendar - Calendar.getInstance() terms parameter: Parameter.Class: java.lang.Number I can see the $P{Terms} value passed to report itself. However the startdate parameter returns empty which means the value of $P{Terms} is not passing on to startdate parameter. Is it even possible to pass a value of list/parameter to another parameter?
×
×
  • Create New...