Skip to main content



      Home
Home » Archived » BIRT » Runtime RC3
Runtime RC3 [message #164129] Wed, 24 May 2006 09:30 Go to next message
Eclipse UserFriend
Originally posted by: lsellam.ebusinessinformation.fr

Hi,
I have a new pb :
I took birt runtime RC3 and I use its api.
But it can initialize the enginehome. I have this exception :


org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
OSGI framework
2006-05-24 15:28:31,143 INFO [STDOUT] at
org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:90)
Re: Runtime RC3 [message #164204 is a reply to message #164129] Wed, 24 May 2006 10:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: carvalho.humberto.almedina.net

lsellam wrote:
> Hi,
> I have a new pb :
> I took birt runtime RC3 and I use its api.
> But it can initialize the enginehome. I have this exception :
>
>
> org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
> OSGI framework
> 2006-05-24 15:28:31,143 INFO [STDOUT] at
> org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:90)

Hi,

I also had the same error and then after I copied the engine.jar into
WEB-INF/lib the error disappear.

The only thing that i don't is that if this is the right way to solve
this problem, because the RC3a already has an engineapi.jar



Humberto Carvalho
Re: Runtime RC3 [message #164219 is a reply to message #164204] Wed, 24 May 2006 11:38 Go to previous messageGo to next message
Eclipse UserFriend
I also had the problem, but it turns out I had the platform directory in
the wrong place. I had it within the web-inf/lib directory, but it was
looking for it in the lib directory.

This is how I determine the location of my enginehome:

String engineHome =
Thread.currentThread().getContextClassLoader().getResource
("org/eclipse/birt/report/engine/api/EngineConfig.class").getPath();
engineHome = engineHome.substring(6, engineHome.indexOf("engineapi.jar"));
engineHome = engineHome.replaceAll("\\%20", " ");
engineConfig.setEngineHome(engineHome);

Not sure if it will be useful for you, but thought I'd post it anyway.
Re: Runtime RC3 [message #164238 is a reply to message #164219] Wed, 24 May 2006 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lsellam.ebusinessinformation.fr

Erica a écrit :
> I also had the problem, but it turns out I had the platform directory in
> the wrong place. I had it within the web-inf/lib directory, but it was
> looking for it in the lib directory.
>
> This is how I determine the location of my enginehome:
>
> String engineHome =
> Thread.currentThread().getContextClassLoader().getResource
>
> ("org/eclipse/birt/report/engine/api/EngineConfig.class").getPath();
> engineHome = engineHome.substring(6, engineHome.indexOf("engineapi.jar"));
> engineHome = engineHome.replaceAll("\\%20", " ");
> engineConfig.setEngineHome(engineHome);
>
> Not sure if it will be useful for you, but thought I'd post it anyway.
>

With the 2.0.1 I have only to specify
/home/toto/apps/birt-runtime_2_0_1/Report Engine
and it works fine.
Is it so different with 2.1.0 RC3
Re: Runtime RC3 [message #164259 is a reply to message #164238] Wed, 24 May 2006 12:03 Go to previous message
Eclipse UserFriend
I believe I could do something similar to what you have done with the
path, but I believe the path you specified would be dependent on the web
server being used. It is possible that we could switch web servers, so I
don't want to code it based on the web server path. If you don't plan on
changing web servers, I would think your solution should work.
Previous Topic:Report Engine on 2.1
Next Topic:Excel
Goto Forum:
  


Current Time: Sun May 11 14:04:32 EDT 2025

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

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

Back to the top