Home > Archive > EAserver > December 2005 > ClassLoader problem using Eclipse BIRT library









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ClassLoader problem using Eclipse BIRT library
Doug Porter

2005-12-21, 8:25 pm

I am tryint to use the BIRT reporting engine (http://www.eclipse.org/birt) from within a Java component. I continually get this
error in the log when trying to hit the component from a client. The jar containing the necessary classes is on the classpath
(easerver/java/lib), but I still get this error. I tried moving it to the BOOTCLASSPATH but to no avail.

Anyone seen this before or have any experience loading BIRT from within EAServer 4.2?

Dec 21 16:29:02 2005: java.lang. NoClassDefFoundError
: org/eclipse/birt/core/exception/BirtException
Dec 21 16:29:02 2005: at java.lang.Class.forName0(Native Method)
Dec 21 16:29:02 2005: at java.lang.Class.forName(Class.java:140)
Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:838)
Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:683)
Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:676)
Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:665)
Dec 21 16:29:02 2005: at java.lang.ClassLoader. loadClassInternal(Cl
assLoader.java:315)
Dec 21 16:29:02 2005: at com.dailyaccess.report. _sk_Report_ReportGen
erator. create(_sk_Report_Re
portGenerator.java:31)
Dec 21 16:29:02 2005: Exception
Dec 21 16:29:02 2005: in thread "Thread-19"
Dec 21 16:29:02 2005: java.lang. NoClassDefFoundError
: org/eclipse/birt/report/engine/api/EngineException
Dec 21 16:29:02 2005: at com.dailyaccess.report. _sk_Report_ReportGen
erator. create(_sk_Report_Re
portGenerator.java:31)
Dec 21 16:29:02 2005: ERROR: UNKNOWN (Report/ReportGenerator - constructor)
Dec 21 16:29:02 2005: SystemException: UNKNOWN (Report/ReportGenerator/getHtmlOutput - developer@)


Doug Porter
DailyAccess Corporation


Doug Porter

2005-12-22, 11:24 am

Problem solved. All that was required was to add all of the BIRT related jars to the EAServer java/classes folder and then
reference them in the Java Classes tab of the component properties. Here is the relevant info from the Programmer's guide:
http://tinyurl.com/b6whr

Doug Porter
DailyAccess Corporation

"Doug Porter" < doug_porterATdailyac
cessDOTnospamDOTcom> wrote in message news:43a9dccf$1@foru
ms-1-dub...
> I am tryint to use the BIRT reporting engine (http://www.eclipse.org/birt) from within a Java component. I continually get this
> error in the log when trying to hit the component from a client. The jar containing the necessary classes is on the classpath
> (easerver/java/lib), but I still get this error. I tried moving it to the BOOTCLASSPATH but to no avail.
>
> Anyone seen this before or have any experience loading BIRT from within EAServer 4.2?
>
> Dec 21 16:29:02 2005: java.lang. NoClassDefFoundError
: org/eclipse/birt/core/exception/BirtException
> Dec 21 16:29:02 2005: at java.lang.Class.forName0(Native Method)
> Dec 21 16:29:02 2005: at java.lang.Class.forName(Class.java:140)
> Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:838)
> Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:683)
> Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:676)
> Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader. loadClass(JaguarClas
sLoader.java:665)
> Dec 21 16:29:02 2005: at java.lang.ClassLoader. loadClassInternal(Cl
assLoader.java:315)
> Dec 21 16:29:02 2005: at com.dailyaccess.report. _sk_Report_ReportGen
erator. create(_sk_Report_Re
portGenerator.java:31)
> Dec 21 16:29:02 2005: Exception
> Dec 21 16:29:02 2005: in thread "Thread-19"
> Dec 21 16:29:02 2005: java.lang. NoClassDefFoundError
: org/eclipse/birt/report/engine/api/EngineException
> Dec 21 16:29:02 2005: at com.dailyaccess.report. _sk_Report_ReportGen
erator. create(_sk_Report_Re
portGenerator.java:31)
> Dec 21 16:29:02 2005: ERROR: UNKNOWN (Report/ReportGenerator - constructor)
> Dec 21 16:29:02 2005: SystemException: UNKNOWN (Report/ReportGenerator/getHtmlOutput - developer@)
>
>
> Doug Porter
> DailyAccess Corporation
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com