Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Problem after integration with BIRT
Geetha87
Hi,
During the integration phase, i've got this error....
java.lang.NoSuchMethodError: org.mozilla.javascript.ImporterTopLevel.initStandardObjects(Lorg/mozilla/javascript/Context;Z)V
at org.eclipse.birt.core.script.ScriptContext.(ScriptContext.java:81)
at org.eclipse.birt.core.script.ScriptContext.(ScriptContext.java:68)
at org.eclipse.birt.report.engine.executor.ExecutionContext.(ExecutionContext.java:291)
at org.eclipse.birt.report.engine.api.impl.EngineTask.(EngineTask.java:135)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.(RunAndRenderTask.java:60)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.createRunAndRenderTask(ReportEngineHelper.java:292)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.createRunAndRenderTask(ReportEngine.java:288)
at com.sysarris.medcomm.Birt.DynamicReport.doGet(DynamicReport.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
I went through many links that says
"The problem is because the application server contains a older version of
Rhino's js.jar, while BIRT uses the latest version (1.6RC1). Because the js.jar
in the application server is loaded before the one in BIRT, the older version
of class org.mozilla.javascript.Context is loaded. Since the older version of
class org.mozilla.javascript.Context doesn't contain function
initStandardObjects, a runtime java.lang.NoSuchMethodError happened."
Even though i tried replacing js.jar file, i'm unable to fix the error...
Can anybody help me...?
Regards,
Geetha.
Find more posts tagged with
Comments
JasonW
Do you know what JRE you are using? Are you sure the older js.jar is not in the classpath anywhere?
Jason
Geetha87
hey hi,
I got the problem solved.
Geetha.
JasonW
What was the issue?
Jason