Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Birt Viewer 2.6.0 on Websphere 6.1.0.29(There is no report design object available - ERROR )
Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #552510] Thu, 12 August 2010 12:38 Go to next message
Krzysiek  is currently offline Krzysiek Friend
Messages: 9
Registered: August 2010
Junior Member
Hi,
I'm trying to run Birt Viewer 2.6 on Websphere 6.1.0.29. Unfortunately I didn't found any guides how to configure it. So I tried default configuration and change only :
Class loader order
from "Classes loaded with parent class loader first"
to "Classes loaded with application class loader first"
and
WAR class loader policy
from Class loader for each WAR file in application
to Single class loader for application

When I try to "preview" test reports I've got following error:

There is no report design object available.

org.eclipse.birt.report.exception.ViewerException: There is no report design object available.

at org.eclipse.birt.report.context.ViewerAttributeBean.__init(V iewerAttributeBean.java:226)

at org.eclipse.birt.report.context.BaseAttributeBean.init(BaseA ttributeBean.java:233)

at org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)

at org.eclipse.birt.report.context.BirtContext.__init(BirtConte xt.java:44)

at org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)

at org.eclipse.birt.report.servlet.BirtEngineServlet.__getConte xt(BirtEngineServlet.java:76)

at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(BaseReportEngineServlet.java:163)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)

at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at org.eclipse.birt.report.servlet.BaseReportEngineServlet.serv ice(BaseReportEngineServlet.java:116)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl etWrapper.java:1152)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl etWrapper.java:1087)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(We bAppFilterChain.java:145)

at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilte r(FilterInstanceWrapper.java:190)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(We bAppFilterChain.java:130)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(W ebAppFilterChain.java:87)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter( WebAppFilterManager.java:837)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter( WebAppFilterManager.java:680)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:588)

at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleReque st(ServletWrapper.java:525)

at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j ava:3548)

at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGro up.java:269)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai ner.java:818)

at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebCont ainer.java:1478)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChanne lLink.java:126)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleD iscrimination(HttpInboundLink.java:458)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleN ewInformation(HttpInboundLink.java:387)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(H ttpInboundLink.java:267)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback .sendToDiscriminators(NewConnectionInitialReadCallback.java: 214)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback .complete(NewConnectionInitialReadCallback.java:113)

at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.future Completed(AioReadCompletionListener.java:165)

at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(Abstract AsyncFuture.java:217)

at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(As yncChannelFuture.java:161)

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:1 96)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(Result Handler.java:751)

at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)


Regards,
Krzysiek
Re: Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #552560 is a reply to message #552510] Thu, 12 August 2010 15:31 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Does the viewer test page come up if you just put in the context
/WebViewerExample

Have you seen this link?
http://wiki.eclipse.org/BIRT/FAQ/Deployment#Q:_How_do_I_inst all_BIRT_in_WebSphere.3F

Jason

On 8/12/2010 8:39 AM, Krzysiek wrote:
> Hi,
> I'm trying to run Birt Viewer 2.6 on Websphere 6.1.0.29. Unfortunately I
> didn't found any guides how to configure it. So I tried default
> configuration and change only :
> Class loader order from "Classes loaded with parent class loader first"
> to "Classes loaded with application class loader first"
> and WAR class loader policy from Class loader for each WAR file in
> application
> to Single class loader for application
>
> When I try to "preview" test reports I've got following error:
>
> There is no report design object available.
>
> org.eclipse.birt.report.exception.ViewerException: There is no report
> design object available.
>
> at org.eclipse.birt.report.context.ViewerAttributeBean.__init(V
> iewerAttributeBean.java:226)
>
> at org.eclipse.birt.report.context.BaseAttributeBean.init(BaseA
> ttributeBean.java:233)
>
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)
>
>
> at org.eclipse.birt.report.context.BirtContext.__init(BirtConte xt.java:44)
>
> at org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)
>
> at org.eclipse.birt.report.servlet.BirtEngineServlet.__getConte
> xt(BirtEngineServlet.java:76)
>
> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe
> t(BaseReportEngineServlet.java:163)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
>
> at org.apache.axis.transport.http.AxisServletBase.service(AxisS
> ervletBase.java:327)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.serv
> ice(BaseReportEngineServlet.java:116)
>
> at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl
> etWrapper.java:1152)
>
> at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl
> etWrapper.java:1087)
>
> at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(We
> bAppFilterChain.java:145)
>
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF
> ilter.java:68)
>
> at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilte
> r(FilterInstanceWrapper.java:190)
>
> at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(We
> bAppFilterChain.java:130)
>
> at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(W
> ebAppFilterChain.java:87)
>
> at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(
> WebAppFilterManager.java:837)
>
> at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(
> WebAppFilterManager.java:680)
>
> at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
> (ServletWrapper.java:588)
>
> at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleReque
> st(ServletWrapper.java:525)
>
> at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j ava:3548)
>
> at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGro
> up.java:269)
>
> at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai
> ner.java:818)
>
> at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebCont
> ainer.java:1478)
>
> at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChanne
> lLink.java:126)
>
> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleD
> iscrimination(HttpInboundLink.java:458)
>
> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleN
> ewInformation(HttpInboundLink.java:387)
>
> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(H
> ttpInboundLink.java:267)
>
> at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback
> .sendToDiscriminators(NewConnectionInitialReadCallback.java: 214)
>
> at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback
> .complete(NewConnectionInitialReadCallback.java:113)
>
> at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.future
> Completed(AioReadCompletionListener.java:165)
>
> at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(Abstract
> AsyncFuture.java:217)
>
> at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(As
> yncChannelFuture.java:161)
>
> at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
>
> at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:1 96)
>
> at com.ibm.io.async.ResultHandler.runEventProcessingLoop(Result
> Handler.java:751)
>
> at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
>
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
>
>
> Regards,
> Krzysiek
Re: Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #552695 is a reply to message #552560] Fri, 13 August 2010 08:22 Go to previous messageGo to next message
Krzysiek  is currently offline Krzysiek Friend
Messages: 9
Registered: August 2010
Junior Member
Jason Weathersby wrote on Thu, 12 August 2010 11:31
Does the viewer test page come up if you just put in the context
/WebViewerExample



No. In fact the /WebViewerExample is simply not defined for the context
I've tried /preview /frameset and /run and the error is just the same

Jason Weathersby wrote on Thu, 12 August 2010 11:31

Have you seen this link?
http://wiki.eclipse.org/BIRT/FAQ/Deployment#Q:_How_do_I_inst all_BIRT_in_WebSphere.3F

Jason



Yes. I've read all guides from there but they refer to the older version of Birt Runtime and older version of WebSphere. And some "tricks" they describe are simply unavailable for the newest version.
I focused on http://wiki.eclipse.org/BIRT_2.2_on_Websphere_6.0.2.0 (It's the newest version described) But I don't have the "BIRT Web Project " in "File, New, Project " , so I've tried to make a "dynamic web project" and configure it manually - but I've didn't manage to do it.




Re: Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #552822 is a reply to message #552695] Fri, 13 August 2010 16:10 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you want the New Web Project wizard you need to download this:
BIRT Web Tools Integration from here:
http://download.eclipse.org/birt/downloads/build.php?build=R -R1-2_6_0-201006171315

Any chance you can open a bug for this?

Jason




On 8/13/2010 4:22 AM, Krzysiek wrote:
> Jason Weathersby wrote on Thu, 12 August 2010 11:31
>> Does the viewer test page come up if you just put in the context
>> /WebViewerExample
>
>
> No. In fact the /WebViewerExample is simply not defined for the context
> I've tried /preview /frameset and /run and the error is just the same
>
> Jason Weathersby wrote on Thu, 12 August 2010 11:31
>> Have you seen this link?
>> http://wiki.eclipse.org/BIRT/FAQ/Deployment#Q:_How_do_I_inst
>> all_BIRT_in_WebSphere.3F
>>
>> Jason
>
>
> Yes. I've read all guides from there but they refer to the older version
> of Birt Runtime and older version of WebSphere. And some "tricks" they
> describe are simply unavailable for the newest version. I focused on
> http://wiki.eclipse.org/BIRT_2.2_on_Websphere_6.0.2.0 (It's the newest
> version described) But I don't have the "BIRT Web Project " in "File,
> New, Project " , so I've tried to make a "dynamic web project" and
> configure it manually - but I've didn't manage to do it.
>
>
>
>
>
Re: Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #553064 is a reply to message #552822] Mon, 16 August 2010 10:00 Go to previous messageGo to next message
Krzysiek  is currently offline Krzysiek Friend
Messages: 9
Registered: August 2010
Junior Member
Jason Weathersby wrote on Fri, 13 August 2010 12:10
If you want the New Web Project wizard you need to download this:
BIRT Web Tools Integration from here:
http://download.eclipse.org/birt/downloads/build.php?build=R -R1-2_6_0-201006171315


Thanks. I've not seen it before.
Quote:


Any chance you can open a bug for this?

Jason




I have never done it before so I don't even know how Razz
In fact I've found out that when I add "frameset?__report=test.rptdesign&sample=my+parameter" to the context the test report show up - so I does work on WebSphere - but when I've tried to type only the context the "Error 404: SRVE0190E: File not found:" show up (I've tried it on tomcat and it works fine )

Krzysiek
Re: Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #553183 is a reply to message #553064] Mon, 16 August 2010 15:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you try to just add an index.html page to the app and see if it
shows up?

Jason

On 8/16/2010 6:00 AM, Krzysiek wrote:
> Jason Weathersby wrote on Fri, 13 August 2010 12:10
>> If you want the New Web Project wizard you need to download this:
>> BIRT Web Tools Integration from here:
>> http://download.eclipse.org/birt/downloads/build.php?build=R
>> -R1-2_6_0-201006171315
>
> Thanks. I've not seen it before.
> Quote:
>> Any chance you can open a bug for this?
>>
>> Jason
>
>
> I have never done it before so I don't even know how :p In fact I've
> found out that when I add
> "frameset?__report=test.rptdesign&sample=my+parameter" to the context
> the test report show up - so I does work on WebSphere - but when I've
> tried to type only the context the "Error 404: SRVE0190E: File not
> found:" show up (I've tried it on tomcat and it works fine )
>
> Krzysiek
Re: Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #553908 is a reply to message #553183] Thu, 19 August 2010 12:02 Go to previous messageGo to next message
vollerchris  is currently offline vollerchris Friend
Messages: 23
Registered: July 2009
Junior Member
Hi!

I have done the procedure on
http://wiki.eclipse.org/BIRT_2.2_on_Websphere_6.0.2.0
and it's working (can see BIRT start Page with link to the Testreport)!!

The Problem know I have is, that I have copied the oracle-jdbc jar file into WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.jd bc_2.6.0.v20100524\drivers, but I always get the error:

org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details: Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.dbprofile. org.eclipse.datatools.connectivity.oda.OdaException ; java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

Is this the right place? Is there something else to check on WebSphere??

Thanks a lot
chris

[Updated on: Thu, 19 August 2010 12:03]

Report message to a moderator

Re: Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #553979 is a reply to message #553908] Thu, 19 August 2010 14:53 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Chris,

Thanks for writing this up! Did you link it to them faq?
The driver looks like its in the right place. Do you have the driver
loaded anywhere else? Is it in the app servers cp? This may cause an
issue. One thing to try to add the following to your beforeOpen script
of your datasource

reportContext.getAppContext().put("OdaJDBCDriverClassPath", "pathtothedriver");


Jason


On 8/19/2010 8:02 AM, vollerchris wrote:
> Hi!
>
> I have done the procedure on
> http://wiki.eclipse.org/BIRT_2.2_on_Websphere_6.0.2.0
> and it's working (can see BIRT start Page with link to the Testreport)!!
>
> The Problem know I have is, that I have copied the oracle-jdbc jar file
> into WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.jd
> bc_2.6.0.v20100524\drivers, but I always get the error, oracle jdbc
> class not found??
>
> Is this the right place? Is there something else to check on WebSphere??
>
> Thanks a lot
> chris
Previous Topic:Dataset row count
Next Topic:java.sql.Statement has been closed strangely when inner joining 2 datasets
Goto Forum:
  


Current Time: Fri Apr 19 11:05:01 GMT 2024

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

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

Back to the top