Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » JavaBridge cannot display the BIRT dataSet
icon3.gif  JavaBridge cannot display the BIRT dataSet [message #1725128] Tue, 01 March 2016 05:24 Go to next message
sanada yukimura is currently offline sanada yukimuraFriend
Messages: 4
Registered: March 2016
Junior Member
Hi Everyone,

I have spent 3 days to solve this problem.. please help me..

Currently I use:
1. BIRT 2.6.1
2. MySQL Database
3. mysql-connector-java-5.1.38-bin.jar
4. TomCat 7.0 Application Server

I followed the steps from Mr. Osuwaryboy and from Mr. Jason Weathersby and the report runs successfully when there's no datasets in it.

Before I add the dataset, I've deployed the driver into the <tomcat webapps>/WEB-INF/platform/plugins/org.eclipse.birt.report.data.oda.jdbc_2.6.1.v20100909

After deployed the driver and restarting the tomcat, I check the localhost:8080/JavaBridge/report.php
then the error appears... It seems like the JavaBridge cannot read the dataset.

Here's the error:

####################
javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:RunAndRenderTask]]->run. Cause: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report. VM: 1.8.0_51" at:
#-11 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:209)
#-10 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
#-9 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
#-8 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
#-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
#-6 java.lang.reflect.Method.invoke(Unknown Source)
#-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1044)
#-4 php.java.bridge.Request.handleRequest(Request.java:417)
#-3 php.java.bridge.Request.handleRequests(Request.java:500)
#-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145)
#-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60)
#0 C:\Program Files\Apache Software Foundatio in C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\JavaBridge\java\Java.inc on line 195

php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:499)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
root cause

java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:RunAndRenderTask]]->run. Cause: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report. VM: 1.8.0_51" at:
#-11 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:209)
#-10 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
#-9 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
#-8 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
#-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
#-6 java.lang.reflect.Method.invoke(Unknown Source)
#-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1044)
#-4 php.java.bridge.Request.handleRequest(Request.java:417)
#-3 php.java.bridge.Request.handleRequests(Request.java:500)
#-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145)
#-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60)
#0 C:\Program Files\Apache Software Foundatio in C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\JavaBridge\java\Java.inc on line 195

php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:409)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:433)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:481)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
####################

Does anyone know how to solve the problem?
Is there something I missed?

Thank you



Re: JavaBridge cannot display the BIRT dataSet [message #1725296 is a reply to message #1725128] Wed, 02 March 2016 10:16 Go to previous message
sanada yukimura is currently offline sanada yukimuraFriend
Messages: 4
Registered: March 2016
Junior Member
Hi Everyone,,


This has been solved.. I figured it out from old thread.. Thanks! Very Happy
Previous Topic:BIRT 2.3.2 launcher error. Found bug fix/patch, but not sure how to install.
Next Topic:Where's the fetch method?
Goto Forum:
  


Current Time: Sat Apr 27 03:39:48 GMT 2024

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

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

Back to the top