Jump to content
Changes to the Jaspersoft community edition download ×

is iReport compatable with Linux RedHat


2004 IR Help

Recommended Posts

By: varma - rudraraju2003

is iReport compatable with Linux RedHat

2004-12-08 21:41

hi Giulio Toffoli,

Im new to iReport and JasperReport. i would like to know how much time iReport takes to compile a Report with One text field say "Hello" because im working on Linux (Red Hat) and i have downloaded the source of iReport ,copyed Tools.jar into lib folder of iReport and compiled iReport (using Ant).

when im trying to compile a Report with one text field (Static field).im geting a message saying that

Compiling to file... /home/Desktop/reports/jasper/iReportCompiler/testinggg.jasper -> /home/Desktop/reports/jasper/iReportCompiler/testinggg.java

and active thread is showing Compling message .

thats it .i waited for 2hrs but know use.

can suggest me the way out

thx in adv

varma

 

 

 

 

By: Giulio Toffoli - gt78

RE: is iReport compatable with Linux RedHat

2004-12-09 05:56

 

This takes 1 or 2 seconds. Are you sure you are using the right tools.jar? I seen that I you start iReport with java 1.5 and you have tools.jar of java 1.4, iReport stops.

 

Giulio

 

 

 

 

By: tomh - tomhj

RE: is iReport compatable with Linux RedHat

2004-12-09 07:30

I saw the exact same symptoms the other day (but I was on XP).

 

Turns out I had a third-party JAR file in my classpath that contained an older version of Xerces.

 

The gory details:

 

Inserting output statements in the iReportCompiler source I discovered that the JasperCompileManager.compileReportToFile() call seemed to hang. But it turns out it was throwing a java.lang.AbstractMethodError: javax.xml.parsers.SAXParserFactory.setFeature(Ljava/lang/String;Z)V

 

AbstractMethodError is derived from Error and then Throwable -- which is not the same as Exception.

 

So basically there was an uncaught Throwable occuring which killed the compile thread without cleaning things up.

 

Simple solution was to remove the offending third-party jar and now it works fine.

 

 

 

 

 

By: varma - rudraraju2003

RE: is iReport compatable with Linux RedHat

2004-12-09 21:43

hi giulio,

The following is the properties/configuration of my System.im using jdk 1.4.02 and i have copied tools.jar from lib/ext to lib AND bin of iReport .

plz go thru the details .

 

-- listing properties --

java.runtime.name=Java 2 Runtime Environment, Stand...

sun.boot.library.path=/home/syamraju/Java/jdk/jre/lib/i386

java.vm.version=1.4.2_02-b03

java.vm.vendor=Sun Microsystems Inc.

java.vendor.url=http://java.sun.com/

path.separator=:

java.vm.name=Java HotSpot Client VM

file.encoding.pkg=sun.io

user.country=US

sun.os.patch.level=unknown

java.vm.specification.name=Java Virtual Machine Specification

user.dir=/home/syamraju/Desktop

java.runtime.version=1.4.2_02-b03

java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment

java.endorsed.dirs=/home/syamraju/Java/jdk/jre/lib/endorsed

os.arch=i386

java.io.tmpdir=/tmp

line.separator=

 

java.vm.specification.vendor=Sun Microsystems Inc.

os.name=Linux

sun.java2d.fontpath=

java.library.path=/home/syamraju/Java/jdk/jre/lib/i386/...

java.specification.name=Java Platform API Specification

java.class.version=48.0

java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferences...

os.version=2.4.22-1.2115.nptl

user.home=/home/syamraju

user.timezone=

java.awt.printerjob=sun.print.PSPrinterJob

file.encoding=UTF-8

java.specification.version=1.4

user.name=syamraju

java.class.path=.

java.vm.specification.version=1.0

sun.arch.data.model=32

java.home=/home/syamraju/Java/jdk/jre

java.specification.vendor=Sun Microsystems Inc.

user.language=en

java.vm.info=mixed mode

java.version=1.4.2_02

java.ext.dirs=/home/syamraju/Java/jdk/jre/lib/ext

sun.boot.class.path=/home/syamraju/Java/jdk/jre/lib/rt.ja...

java.vendor=Sun Microsystems Inc.

file.separator=/

java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport...

sun.cpu.endian=little

sun.io.unicode.encoding=UnicodeLittle

sun.cpu.isalist=

 

thx in adv

varma

 

 

 

 

By: Giulio Toffoli - gt78

RE: is iReport compatable with Linux RedHat

2004-12-10 06:35

list all jars il lib directory

 

 

 

 

By: varma - rudraraju2003

RE: is iReport compatable with Linux RedHat

2004-12-13 04:03

hi Giulio,

 

list of jar files in /home/Desktop/reports/jasper/iReport-0.4.0-src/lib

 

barbecue-1.1.jar jcommon-0.9.6.jar

bsh-1.3.0.jar jfreechart-0.9.21.jar

commons-beanutils.jar log4j-1.2.8.jar

commons-collections.jar looks-1.2.2.jar

commons-digester.jar mysql-connector-java-3.0.8-stable-bin.jar

commons-logging-api.jar poi-2.0-final-20040126.jar

commons-logging.jar tinylaf.jar

hsqldb.jar tools.jar

itext-1.02b.jar xalan.jar

jasperreports-0.6.1.jar xercesImpl.jar

jcmdline-1.0.2.jar xmlParserAPIs.jar

 

and this is the list of jar in /home/Desktop/reports/jasper/iReport-0.4.0-src/bin/lib

 

barbecue-1.1.jar jcommon-0.9.6.jar

bsh-1.3.0.jar jfreechart-0.9.21.jar

commons-beanutils.jar log4j-1.2.8.jar

commons-collections.jar looks-1.2.2.jar

commons-digester.jar mysql-connector-java-3.0.8-stable-bin.jar

commons-logging-api.jar poi-2.0-final-20040126.jar

commons-logging.jar tinylaf.jar

hsqldb.jar tools.jar

itext-1.02b.jar xalan.jar

jasperreports-0.6.1.jar xercesImpl.jar

jcmdline-1.0.2.jar xmlParserAPIs.jar

 

 

 

this the list of file in /Home/java/jdk/jre/lib/ext (Linux)

 

 

bsh-1.3.0.jar DataVision.jar jcalendar.jar META-INF sunjce_provider.jar build.xml dnsns.jar jcommon-0.9.6.jar MinML2.jar Test.class gnujaxp.jar jfree.jar modules.txt Test.java

com gnu-regexp-1.1.4.jar jruby.jar org testsuite

commons-beanutils-1.5.jar hsqldb-1.61.jar junit.jar org1 tools.jar

commons-collections-2.1.jar itext-1.02b.jar ldapsec.jar pixie-0.8.1.jar weblogic.jar

commons-digester-1.3.jar j2ee.jar lib poi-2.0-final-20040126.jar xalan.jar

commons-logging-1.0.2.jar jasperreports-0.6.1.jar lib-nodist README xercesImpl.jar

COPYING javax localedata.jar servlet.jar xmlParserAPIs.jar

 

 

 

 

 

By: Giulio Toffoli - gt78

RE: is iReport compatable with Linux RedHat

2004-12-13 15:16

Try the version from cvs repository: the new IReportCompiler class can say more about problems like this.

 

Guilio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...