Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Can't startup the OSGI Framework exception
Can't startup the OSGI Framework exception [message #178616] Wed, 19 July 2006 05:38 Go to next message
bhaskar is currently offline bhaskarFriend
Messages: 26
Registered: July 2009
Junior Member
hi,
We are using birt report engine for generating the reports in our web
application using jboss application server. All report engine jar files we
placed in the jboss 'lib' directory. This is the place where jboss loads
all jars files when server starts. With birt2.0 we placed all the jar
files and plugins folder that comes with report engine in the lib folder.
Then there is no need to set the engine home. Every thing is working fine
with this structure. Now we are up grading to birt2.1. With birt2.1 report
engine there is a lib folder and plugins folder. We copied these two
directories in the jboss lib directory. It is not working. We tried with
different combination like copying all jar files in lib directory of
"report engine" to the lib directoy of jboss and plugins folder as it is.
We tried by setting the engine home also.

In all the cases in server console below exception is coming:

org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
OSGI framework
at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:90)
at
org.eclipse.birt.core.framework.Platform.initialize(Platform .java:115)
at
org.eclipse.birt.report.engine.api.ReportEngine.<init>(ReportEngine.java:48)
at com.rrs.corona.reportgenerator.RunReport.run(Unknown Source)
at
com.rrs.corona.reportgenerator.ReportGenerator.createReport( Unknown Source)
at
com.rrs.corona.reportgenerator.ReportGenerator.generateRepor t(Unknown
Source)
at com.rrs.corona.reportgenerator.Listener.onMessage(Unknown Source)
at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java: 707)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.eclipse.birt.core.exception.BirtException: $NO-RB$ Could
not find the Framework - {0}
at
org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OS GILauncher.java:88)
at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:78)
... 8 more
Can't load the report engine

please help me.

Bhaskar.
Re: Can't startup the OSGI Framework exception [message #178627 is a reply to message #178616] Wed, 19 July 2006 06:47 Go to previous messageGo to next message
orkus9 is currently offline orkus9Friend
Messages: 214
Registered: July 2009
Senior Member
hi,

im sure, that knowone here can help you.
If you want to know the real bug (exception), you got do download the
sources of birt and run your application (jboss) in debug mode and debug
the sources. I had these problems (with jboss) too and found solutions
by debugging the source.
im sure, that the jars from plugin-dir should not be copied to the jboss
lib. remove them and debug the source. this is the best and fastest
solution.

orkus9


Bhaskar schrieb:
> hi,
> We are using birt report engine for generating the reports in our web
> application using jboss application server. All report engine jar files
> we placed in the jboss 'lib' directory. This is the place where jboss
> loads all jars files when server starts. With birt2.0 we placed all the
> jar files and plugins folder that comes with report engine in the lib
> folder. Then there is no need to set the engine home. Every thing is
> working fine with this structure. Now we are up grading to birt2.1. With
> birt2.1 report engine there is a lib folder and plugins folder. We
> copied these two directories in the jboss lib directory. It is not
> working. We tried with different combination like copying all jar files
> in lib directory of "report engine" to the lib directoy of jboss and
> plugins folder as it is. We tried by setting the engine home also.
>
> In all the cases in server console below exception is coming:
>
> org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
> OSGI framework
> at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:90)
> at
> org.eclipse.birt.core.framework.Platform.initialize(Platform .java:115)
> at
> org.eclipse.birt.report.engine.api.ReportEngine.<init>(ReportEngine.java:48)
>
> at com.rrs.corona.reportgenerator.RunReport.run(Unknown Source)
> at
> com.rrs.corona.reportgenerator.ReportGenerator.createReport( Unknown Source)
> at
> com.rrs.corona.reportgenerator.ReportGenerator.generateRepor t(Unknown
> Source)
> at com.rrs.corona.reportgenerator.Listener.onMessage(Unknown Source)
> at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java: 707)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.eclipse.birt.core.exception.BirtException: $NO-RB$ Could
> not find the Framework - {0}
> at
> org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OS GILauncher.java:88)
>
> at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:78)
> ... 8 more
> Can't load the report engine
>
> please help me.
>
> Bhaskar.
>
Re: Can't startup the OSGI Framework exception [message #178784 is a reply to message #178627] Wed, 19 July 2006 12:51 Go to previous messageGo to next message
bhaskar is currently offline bhaskarFriend
Messages: 26
Registered: July 2009
Junior Member
Hi orkus,
Finally, i got the solution. We are placing plugins folder as it
is in jboss lib. Plugins folder is required becaz, for pdf reports we have
to place itext.jar in the related folder of plugins. Without itext.jar pdf
reports won't generate. One more thing we missed out is we have to place
configuration folder of the reportengine also along with plugins. This is
used to load osgi bundles.
Anyway, thank u for ur response.

Bhaskar
Re: Can't startup the OSGI Framework exception [message #178899 is a reply to message #178784] Wed, 19 July 2006 16:38 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Bhaskar,

I know you have this working now but make sure that you are only
starting the BIRT engine on the servlet startup and not for every report.
Take a look at:

http://wiki.eclipse.org/index.php/Servlet_Example

Jason

"Bhaskar" <penbachi@rediffmail.com> wrote in message
news:49368f6c36d8acd7201a61fd308ef83b$1@www.eclipse.org...
> Hi orkus,
> Finally, i got the solution. We are placing plugins folder as it
> is in jboss lib. Plugins folder is required becaz, for pdf reports we have
> to place itext.jar in the related folder of plugins. Without itext.jar pdf
> reports won't generate. One more thing we missed out is we have to place
> configuration folder of the reportengine also along with plugins. This is
> used to load osgi bundles.
> Anyway, thank u for ur response.
>
> Bhaskar
>
Previous Topic:Problems with the Design Engine
Next Topic:How to print in Birt report with column headers every page?
Goto Forum:
  


Current Time: Fri Mar 29 04:42:21 GMT 2024

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

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

Back to the top