|
|
Re: Can't startup the OSGI fr [message #220492 is a reply to message #220478] |
Thu, 22 February 2007 16:47 |
Eclipse User |
|
|
|
Originally posted by: martin.tauber.t-online.de
Gabriele,
do you have all the jars from the reportengine/lib directory in your
classpath?
Regards
Martin
P.S. If your using eclipse select the "run ..." action goto your java
application and select the classpath tab. then press add external jars
and navigate to the reportengine/lib directory and select all the jars
in that directory.
Gabriele schrieb:
> Hi all, - I installed the ReportEngine under
> C:\Devel\birt-runtime-2_1_1\ReportEngine
> - I set BIRT_HOME to C:\Devel\birt-runtime-2_1_1\ReportEngine\
> - I added itext-1.3.jar under
> C:\Devel\birt-runtime-2_1_1\ReportEngine\plugins\com.lowagie .itext\lib
>
> I'm using eclipse, I created a test project with a main class that call
> a method that tries to convert a report to pdf format but I have the
> following exception:
>
> 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 hplus.webapp.birt.Exporting.export(Exporting.java:36)
> at hplus.webapp.birt.Exporting.main(Exporting.java:23)
> Caused by: org.eclipse.birt.core.exception.BirtException: $NO-RB$ Could
> not start the Framework - {0}C:\Develirt-runtime-2_1_1\ReportEngine\
> at
> org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OS GILauncher.java:44)
>
> at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:78)
> ... 2 more
>
> I've red a lot of posts of many peoples with the same problems but i
> couldn't solve the problem. Can you help me? Tnx in advance.
>
> Ciao Gabriele
>
>
>
|
|
|
Re: Can't startup the OSGI fr [message #220510 is a reply to message #220478] |
Thu, 22 February 2007 18:31 |
Eclipse User |
|
|
|
Originally posted by: home4slc.pacbell.net
Hi Gabriele,
This may just be a cut and paste error, but it appears that the value
you think you have BIRT_HOME set to and what it is actually set to
according to the stack trace are different.
It looks like there is a missing '\b' in the BIRT_HOME path.
Regards,
Susan
Gabriele wrote:
> Hi all, - I installed the ReportEngine under
> C:\Devel\birt-runtime-2_1_1\ReportEngine
> - I set BIRT_HOME to C:\Devel\birt-runtime-2_1_1\ReportEngine\
> - I added itext-1.3.jar under
> C:\Devel\birt-runtime-2_1_1\ReportEngine\plugins\com.lowagie .itext\lib
>
> I'm using eclipse, I created a test project with a main class that call
> a method that tries to convert a report to pdf format but I have the
> following exception:
>
> 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 hplus.webapp.birt.Exporting.export(Exporting.java:36)
> at hplus.webapp.birt.Exporting.main(Exporting.java:23)
> Caused by: org.eclipse.birt.core.exception.BirtException: $NO-RB$ Could
> not start the Framework - {0}C:\Develirt-runtime-2_1_1\ReportEngine\
> at
> org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OS GILauncher.java:44)
>
> at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:78)
> ... 2 more
>
> I've red a lot of posts of many peoples with the same problems but i
> couldn't solve the problem. Can you help me? Tnx in advance.
>
> Ciao Gabriele
>
>
>
|
|
|
|
Re: Can't startup the OSGI fr [message #798976 is a reply to message #220657] |
Wed, 15 February 2012 09:47 |
suganya govindaraj Messages: 8 Registered: February 2012 |
Junior Member |
|
|
Hi friends,
Am also having this issue. Please someone help me to solve this issue.
I'm new to eclipse BIRT.
The project is configured successfully. And i can view the index page also.
But when i hit ".../run?__report=report/demoReport.rptdesign"
it showing
"+ Cant startup the OSGI framework" ..
Please some one help me to resolve this issue.
Thanks in Advance.
[Updated on: Wed, 15 February 2012 12:09] Report message to a moderator
|
|
|
Re: Can't startup the OSGI fr [message #799272 is a reply to message #798976] |
Wed, 15 February 2012 17:20 |
|
What version of BIRT are you using? How do you want to deploy it (
using the viewer or report engine API)?
Jason
On 2/15/2012 4:47 AM, suganya govindaraj wrote:
> Hi friends,
> Am also having this issue. Please someone help me to solve this issue.
> I'm new to eclipse BIRT. I don't know how to include
> "birt-runtime/ReportEngine/lib" into my project.
>
> When i try to run my project, It showing SEVERE Error listenerStart in
> tomcat. In web.xml, <context-param>
> <param-name>BIRT_VIEWER_CONFIG_FILE</param-name>
> <param-value>/WEB-INF/viewer.properties</param-value>
> </context-param>
>
> <listener>
> <listener-class>org.eclipse.birt.report.listener.ViewerServletContextListener</listener-class>
>
> </listener>
>
> I included these lines. So that only am getting error likewise...
>
> If i stop tomcat. And copied the "jar" files from
> birt-runtime/WebViewerExample/WEB-INF/lib into
> tomcat/webapps/sampleProject/WEB-INF/lib
> The project is configured successfully. And i can view the index page also.
> But when i hit ".../run?__report=report/demoReport.rptdesign" it showing
> "+ Cant startup the OSGI framework" ..
>
> Please some one help me to resolve this issue.
>
> Thanks in Advance.
|
|
|
|
Re: Can't startup the OSGI fr [message #800189 is a reply to message #799916] |
Thu, 16 February 2012 19:56 |
|
Try copying the WebViewerExample folder to your app server. For example
with tomcat put it in the webapps directory. Rename it to birt.
Then copy the jsp file you created to the birt directory.
Start app server and enter the url
http://localhost:8080/birt/yourjsppage.jsp
Jason
On 2/16/2012 8:17 AM, suganya govindaraj wrote:
> Hi,
> At first, thanks for your reply.
>
> Am using BIRT version 2.6.2..
> Actually I want to view my BIRT report in jsp file.
>
> But it showing "+ Cant startup the OSGI framework" ..
>
> My jsp file is
> ---------------
>
>
> <%@ taglib uri="/WEB-INF/birt.tld" prefix="birt" %>
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> </head>
> <body>
>
> <birt:viewer id="birtViewer"
> reportDesign="sample.rptdesign"
> pattern="frameset"
> height="600"
> width="800"
> format="html"
> title="My Viewer Tag"
> showTitle="true"
> showToolBar="true"
> showNavigationBar="true">
> </birt:viewer>
> </body>
> </html>
>
>
> Why am getting Can't startup the OSGI framework error.
|
|
|
|
|
|
Re: Can't startup the OSGI fr [message #805435 is a reply to message #804902] |
Thu, 23 February 2012 19:14 |
|
If you are using BIRT 3.7 or greater you should not have a platform
directory underneath WEB-INF. Without your customizations does the
default birt web project run?
Jason
On 2/23/2012 12:53 AM, suganya govindaraj wrote:
> Hi Jason,
>
> I downloaded "birt-wtp-integration-sdk-3_7_1.zip", copied into eclipse.
> and extracted into the eclipse (installed location. In my case
> D:\Progs\eclipse)..
> And I created new dynamic web project
> http://www.birt-exchange.org/org/forum/index.php/topic/18337-installing-birt-wtp-integration-sdk-2-5-1-in-eclipse-reporting-galileo-2-5-1/page__s__4fa567b4dd6fd90f6987b617252b7b72
> as you mentioned in this post. Then copied my "old source" into this new
> project.
>
> But the Exception is not cleared. It still showing "Can't startup OSGI
> framework".
>
> My Tomcat exception is,
> org.eclipse.birt.core.exception.BirtException: Can't startup the OSGI
> framework
> at org.eclipse.birt.core.framework.Platform.startup(Platform.java:91)
> at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(
> ReportEngineService.java:320)
> at org.eclipse.birt.report.service.BirtViewerReportService.setContext(Bi
> rtViewerReportService.java:1022)
> at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServ
> let.java:148)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPo
> st(BirtSoapMessageDispatcherServlet.java:243)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas
> e.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.serv
> ice(BirtSoapMessageDispatcherServlet.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:206)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.jav
> a:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:191)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:293)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :849)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> ss(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:45
> 4)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.eclipse.birt.core.exception.CoreException
> at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILaunche
> r.java:90)
> at org.eclipse.birt.core.framework.Platform.startup(Platform.java:79)
> ... 23 more
>
>
> And I'm having one more doubt. "platform" folder is required within
> ...\webapps\(mysampleproject)\WEB-INF\....
|
|
|
|
Powered by
FUDForum. Page generated in 0.04546 seconds