Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Erroneous Handlers - BIRT 3.7.1(Issue starting BIRT Platform.)
Erroneous Handlers - BIRT 3.7.1 [message #799822] Thu, 16 February 2012 11:03 Go to next message
Sravan Kumar is currently offline Sravan KumarFriend
Messages: 3
Registered: February 2012
Junior Member
Hi,

I am migrating from BIRT 2.6.1 to BIRT 3.7.1
I have removed old jar files from my lib directory (js.jar, commons-cli-1.0.jar and engineapi.jar)
and copied org.eclipse.birt.runtime_3.7.1.v20110913-1734.jar to the lib directory.
Other jar files were kept in CLASSPATH in Weblogic 10 server while starting up (startWebLogic.cmd) as below.

set BIRTENGINE=C:/birt-runtime-3_7_1/ReportEngine/lib
set BIRT_CLASSPATH=%BIRT_CLASSPATH%;%BIRTENGINE%\com.ibm.icu_4.4.2.v20110208.jar;%BIRTENGINE%\org.apache.commons.codec_1.3.0.v201101211617.jar;%BIRTENGINE%\*.jar;

set CLASSPATH=.;%CLASSPATH%;%BIRT_CLASSPATH%;


I have a BIRT utilities Java file which creates the report engine.
The code is as follows.

// Configure the BIRT Engine and start the BIRT Platform
EngineConfig config = new EngineConfig();

try {
Platform.startup(config);
IReportEngineFactory factory = (IReportEngineFactory) Platform
.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
engine = factory.createReportEngine(config);
} catch (Exception exception) {
exception.printStackTrace();
throw new WrapperedException("ERROR during report engine start up", exception);
}



Platform.startup(config) is throwing the following exception always.


erroneous handlers

java.lang.InternalError: erroneous handlers
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:75)



Please kindly let me know what changes I should make to make this work.

Thanks,
Sravan
Re: Erroneous Handlers - BIRT 3.7.1 [message #800192 is a reply to message #799822] Thu, 16 February 2012 20:01 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Did you remove all the jars that were in the 2.6.1 reportengine/lib
directory from your classpath. BTW if this is a on a windows machine
this might be creating a classpath string that is to long. To test this
create a directory off of the c drive like c:/birtlib and move all the
jars from C:/birt-runtime-3_7_1/ReportEngine/lib to this new directory.
Then change your BIRTENGINE variable.

Jason

On 2/16/2012 6:03 AM, Sravan Kumar wrote:
>
> I have removed old jar files from my lib directory (js.jar,
> commons-cli-1.0.jar and engineapi.jar) and copied
> org.eclipse.birt.runtime_3.7.1.v20110913-1734.jar
Re: Erroneous Handlers - BIRT 3.7.1 [message #800787 is a reply to message #800192] Fri, 17 February 2012 13:49 Go to previous messageGo to next message
Sravan Kumar is currently offline Sravan KumarFriend
Messages: 3
Registered: February 2012
Junior Member
Hi Jason,

Thanks for your response. I have removed all the 2.6.1 jars and then I have added 3.7.1 jars in my application lib directory, I was getting the error "The input line is too long." like you have mentioned, on Windows XP.

But when I was referring the jars from C:/birt-runtime-3_7_1/ReportEngine/lib directory I was not getting this error but I was getting the error I have specified in my first post.

So please clarify me how it is going to help me if I copy the jars to some external directory like c:/birtlib, is it just reducing the length of the path or even the BIRT engine interpretation of the jars as it was outside the BIRT_HOME (though I did not set it now) because my application has lot many other jars in its classpath.

Thanks,
Sravan
Re: Erroneous Handlers - BIRT 3.7.1 [message #801008 is a reply to message #800787] Fri, 17 February 2012 20:10 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Is this a web app that you are calling the report engine from or a
command line app?

Jason

On 2/17/2012 8:49 AM, Sravan Kumar wrote:
> Hi Jason,
>
> Thanks for your response. I have removed all the 2.6.1 jars and then I
> have added 3.7.1 jars in my application lib directory, I was getting the
> error "The input line is too long." like you have mentioned, on Windows XP.
>
> But when I was referring the jars from
> C:/birt-runtime-3_7_1/ReportEngine/lib directory I was not getting this
> error but I was getting the error I have specified in my first post.
>
> So please clarify me how it is going to help me if I copy the jars to
> some external directory like c:/birtlib, is it just reducing the length
> of the path or even the BIRT engine interpretation of the jars as it was
> outside the BIRT_HOME (though I did not set it now) because my
> application has lot many other jars in its classpath.
>
> Thanks,
> Sravan
Re: Erroneous Handlers - BIRT 3.7.1 [message #802719 is a reply to message #801008] Mon, 20 February 2012 10:57 Go to previous message
Sravan Kumar is currently offline Sravan KumarFriend
Messages: 3
Registered: February 2012
Junior Member
I am calling this from a web application, using Weblogic 10 application server.

Thanks,
Sravan
Previous Topic:Convert String Date to Date in BIRT3.7.1
Next Topic:Chart incomplete in PDF
Goto Forum:
  


Current Time: Thu Apr 25 07:00:14 GMT 2024

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

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

Back to the top