Skip to main content



      Home
Home » Archived » BIRT » ClassLoader error loading BIRT within Sybase EAServer 4.2 application server
ClassLoader error loading BIRT within Sybase EAServer 4.2 application server [message #101353] Wed, 21 December 2005 17:47 Go to next message
Eclipse UserFriend
Originally posted by: doug_porter.dailyaccess.nospam.com

I am trying to use the Report Engine from within a Java CORBA component in my application server. I continually get this error in
the appserver log when trying to hit the component from a client. The libraries are on the classpath but I still get this error.
If I remove the libraries I get a very short NoClassDefFoundError so I think it is seeing the libraries fine, just can't load them.

Any ideas or suggestions?

--Error Log-----------------
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(JaguarC lassLoader.java:838)
Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarC lassLoader.java:683)
Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarC lassLoader.java:676)
Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarC lassLoader.java:665)
Dec 21 16:29:02 2005: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315 )
Dec 21 16:29:02 2005: at com.dailyaccess.report._sk_Report_ReportGenerator.create(_sk _Report_ReportGenerator.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_ReportGenerator.create(_sk _Report_ReportGenerator.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
Re: ClassLoader error loading BIRT within Sybase EAServer 4.2 application server [message #101677 is a reply to message #101353] Thu, 22 December 2005 11:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: doug_porter.dailyaccess.nospam.com

Problem solved. For any other EAServer users, 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 EAServer Programmer's guide:
http://tinyurl.com/b6whr

Doug Porter
DailyAccess Corporation

"Doug Porter" <doug_porter@dailyaccess.nospam.com> wrote in message news:doclvt$j9e$1@utils.eclipse.org...
> I am trying to use the Report Engine from within a Java CORBA component in my application server. I continually get this error in
> the appserver log when trying to hit the component from a client. The libraries are on the classpath but I still get this error.
> If I remove the libraries I get a very short NoClassDefFoundError so I think it is seeing the libraries fine, just can't load
them.
>
> Any ideas or suggestions?
>
> --Error Log-----------------
> 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(JaguarC lassLoader.java:838)
> Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarC lassLoader.java:683)
> Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarC lassLoader.java:676)
> Dec 21 16:29:02 2005: at com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarC lassLoader.java:665)
> Dec 21 16:29:02 2005: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315 )
> Dec 21 16:29:02 2005: at com.dailyaccess.report._sk_Report_ReportGenerator.create(_sk _Report_ReportGenerator.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_ReportGenerator.create(_sk _Report_ReportGenerator.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
>
>
Re: ClassLoader error loading BIRT within Sybase EAServer 4.2 application server [message #101782 is a reply to message #101677] Thu, 22 December 2005 13:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: to.sreddy.gmail.com

Is it Jar files in WEB-INF--> Lib folder and class files in
WEB-INF-->Classes folder or do we need to copy all jars also into
web-inf-->Classes?
Re: ClassLoader error loading BIRT within Sybase EAServer 4.2 application server [message #101790 is a reply to message #101782] Thu, 22 December 2005 14:46 Go to previous message
Eclipse UserFriend
Originally posted by: doug_porter.dailyaccess.nospam.com

I was not trying to use BIRT from a web application within EAServer, just as a container for CORBA Java components. I put only the
Jar files in the java/classes folder. Looks like from the docs that EAServer will use them in web applications if they are in the
java/classes folder.

Doug Porter
DailyAccess Corporation

"srini" <to.sreddy@gmail.com> wrote in message news:b6e4cd09b3e1d737acbcfe5475f396ca$1@www.eclipse.org...
> Is it Jar files in WEB-INF--> Lib folder and class files in
> WEB-INF-->Classes folder or do we need to copy all jars also into
> web-inf-->Classes?
>
Previous Topic:Is there a Row filter?
Next Topic:XML data source streaming.
Goto Forum:
  


Current Time: Mon May 12 12:12:45 EDT 2025

Powered by FUDForum. Page generated in 0.02940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top