Birt Viewer 2.6.0 on Websphere 6.1.0.29 [message #552510] |
Thu, 12 August 2010 08:38  |
Eclipse User |
|
|
|
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 #553979 is a reply to message #553908] |
Thu, 19 August 2010 10:53  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.25678 seconds