Viewer Servlet Exception in BIRT Runtime 2.0 [message #131598] |
Thu, 16 February 2006 17:03 |
Eclipse User |
|
|
|
Originally posted by: to.sreddy.gmail.com
I am trying to integrate BIRT 2.0 Web Viewer with RAD 6.0, after the
deployment, when i click on "View Example" link in JSp
i am getting the following error.
[2/16/06 11:47:31:527 EST] 00000037 ServletWrappe E SRVE0068E: Could
not invoke the service() method on servlet ViewerServlet. Exception thrown
: java.lang.NoSuchMethodError: org.mozilla.javascript.ImporterTopLevel:
method initStandardObjects(Lorg/mozilla/javascript/Context;Z)V not found
at
org.eclipse.birt.core.script.ScriptContext.<init>(ScriptContext.java:81)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.<init >(ExecutionContext.java:248)
at
org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.java:118)
at
org.eclipse.birt.report.engine.api.impl.GetParameterDefiniti onTask. <init>(GetParameterDefinitionTask.java:75)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.c reateGetParameterDefinitionTask(ReportEngineHelper.java:221)
at
org.eclipse.birt.report.engine.api.ReportEngine.createGetPar ameterDefinitionTask(ReportEngine.java:271)
at
org.eclipse.birt.report.services.ReportEngineService.createG etParameterDefinitionTask(Unknown
Source)
at org.eclipse.birt.report.viewer.bean.ViewerAttributeBean.init (Unknown
Source)
at org.eclipse.birt.report.viewer.bean.ViewerAttributeBean.<init >(Unknown
Source)
at org.eclipse.birt.report.soapengine.BirtContext.<init>(Unknown Source)
at org.eclipse.birt.report.viewer.servlet.ViewerServlet.doGet(U nknown
Source)
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
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl etWrapper.java:1212)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java(Compiled
Code))
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j ava:2837)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGro up.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHos t.java:204)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai ner.java:1681)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChanne lLink.java:77)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleD iscrimination(HttpInboundLink.java:421)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleN ewInformation(HttpInboundLink.java:367)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.com plete(HttpICLReadCallback.java:94)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete (WorkQueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQ ueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQ ueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(Work QueueManager.java(Compiled
Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compil ed Code))
[2/16/06 11:47:31:778 EST] 00000037 WebApp E SRVE0026E: [Servlet
Error]-[ViewerServlet]: java.lang.NoSuchMethodError:
org.mozilla.javascript.ImporterTopLevel: method
initStandardObjects(Lorg/mozilla/javascript/Context;Z)V not found
at
org.eclipse.birt.core.script.ScriptContext.<init>(ScriptContext.java:81)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.<init >(ExecutionContext.java:248)
at
org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.java:118)
at
org.eclipse.birt.report.engine.api.impl.GetParameterDefiniti onTask. <init>(GetParameterDefinitionTask.java:75)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.c reateGetParameterDefinitionTask(ReportEngineHelper.java:221)
at
org.eclipse.birt.report.engine.api.ReportEngine.createGetPar ameterDefinitionTask(ReportEngine.java:271)
at
org.eclipse.birt.report.services.ReportEngineService.createG etParameterDefinitionTask(Unknown
Source)
at org.eclipse.birt.report.viewer.bean.ViewerAttributeBean.init (Unknown
Source)
at org.eclipse.birt.report.viewer.bean.ViewerAttributeBean.<init >(Unknown
Source)
at org.eclipse.birt.report.soapengine.BirtContext.<init>(Unknown Source)
at org.eclipse.birt.report.viewer.servlet.ViewerServlet.doGet(U nknown
Source)
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
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl etWrapper.java:1212)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java(Compiled
Code))
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j ava:2837)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGro up.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHos t.java:204)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai ner.java:1681)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChanne lLink.java:77)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleD iscrimination(HttpInboundLink.java:421)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleN ewInformation(HttpInboundLink.java:367)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.com plete(HttpICLReadCallback.java:94)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete (WorkQueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQ ueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQ ueueManager.java(Compiled
Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(Work QueueManager.java(Compiled
Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compil ed Code))
I copied i-Text1.3.jar,prototype.js and Six of Axix jar files in correct
place.
Any clue to fix this.
Thanks,
Srini
|
|
|
Re: Viewer Servlet Exception in BIRT Runtime 2.0 [message #131688 is a reply to message #131598] |
Thu, 16 February 2006 18:40 |
Eclipse User |
|
|
|
Originally posted by: sarah.dewar.farrow.com
Hi srini,
There is a conflict with the Rhino library (js.jar). Websphere contains
an older version of js.jar and BIRT contains the latest. BIRT is trying
to call a method that does not exist in the older jar file. You need to
modify the class loader mode to "Parent Last" for the war file. This will
ensure that that BIRT's js.jar is loaded first.
Sarah
|
|
|
|
|
Re: Viewer Servlet Exception in BIRT Runtime 2.0 [message #132223 is a reply to message #131688] |
Fri, 17 February 2006 14:48 |
Eclipse User |
|
|
|
Originally posted by: spsanford2.llbean.com
Sarah Dewar wrote:
> Hi srini,
> There is a conflict with the Rhino library (js.jar). Websphere contains
> an older version of js.jar and BIRT contains the latest. BIRT is trying
> to call a method that does not exist in the older jar file. You need to
> modify the class loader mode to "Parent Last" for the war file. This will
> ensure that that BIRT's js.jar is loaded first.
> Sarah
Hi Sarah,
I didn't know about this feature in WSAD. This is what I was trying to do
when I just copied a newer js.jar file into WSAD's path.
I learn stuff every day!! Thanks!!
~Scott
btw...did you ever get PDFs to generate properly from your i-series box?
I still have the problem on my p-series. Blank browser window and no
error messages!!
|
|
|
|
Re: Viewer Servlet Exception in BIRT Runtime 2.0 [message #132288 is a reply to message #132223] |
Fri, 17 February 2006 15:21 |
Eclipse User |
|
|
|
Originally posted by: sarah.dewar.farrow.com
Hi Scott,
Glad that was helpful and thanks for asking about the iseries. I have yet
to have any success generating a pdf or a chart. I can run reports
containing simple tables and text but no graphics. I'm pretty sure it has
something to do with the fact that iseries does not have a native graphics
environment.
It would be nice if BIRT reported some kind of error to the browser rather
than just display a blank page. Try checking your log files in the logs
dir in your web project (ReportEngine_<the_date>.log). I am getting the
following error message when I try to run a report with a chart.
java.lang.UnsatisfiedLinkError: sun/awt/font/NativeFontWrapper
If any one out there has a clue please pass along your knowledge. I've
already been on the phone with IBM support and still nothing.
Scott, if you find an error in your logs pass it along.
Sarah
> Hi Sarah,
> I didn't know about this feature in WSAD. This is what I was trying to do
> when I just copied a newer js.jar file into WSAD's path.
> I learn stuff every day!! Thanks!!
> ~Scott
> btw...did you ever get PDFs to generate properly from your i-series box?
> I still have the problem on my p-series. Blank browser window and no
> error messages!!
|
|
|
Powered by
FUDForum. Page generated in 0.08649 seconds