Skip to main content



      Home
Home » Archived » BIRT » Installing BIRT Web Viewer in WebLogic 10
Installing BIRT Web Viewer in WebLogic 10 [message #233837] Wed, 11 April 2007 19:45 Go to next message
Eclipse UserFriend
Originally posted by: test.tes3456t.com

BIRT Version : 2.1.2
WebLogic Version: 10

I tried to integrate BIRT web viewer into our application and deploy it on
WebLogic 10. Im getting the following error

java.lang.NoSuchMethodError:
org.mozilla.javascript.ImporterTopLevel.initStandardObjects( Lorg/mozilla/javascript/Context;Z)V
at org.eclipse.birt.core.script.ScriptContext.(ScriptContext.ja va:80)
at org.eclipse.birt.core.script.ScriptContext.(ScriptContext.ja va:67)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.(Ex ecutionContext.java:290)
at
org.eclipse.birt.report.engine.api.impl.EngineTask.(EngineTa sk.java:137)

The js.jar file is present in all 3 locations (WEB-INF/lib, platform/lib
etc).

The same error was reported sometimes back
http://dev.eclipse.org/newslists/news.eclipse.birt/msg15967. html not sure
how that problem was solved.

Note: Setting prefer-web-inf to true or false doesnt help. If i set it to
true then other part of our system fails, and when i set it to false the
above error occurs.

Please help.

Thanks
Mustafa
Re: Installing BIRT Web Viewer in WebLogic 10 [message #233920 is a reply to message #233837] Thu, 12 April 2007 04:54 Go to previous message
Eclipse UserFriend
Hi,

Weblogic has an a different version of js.jar.

Normally setting prefer-web-inf-classes to true should work to tell to use
BIRT's one in priority.

Another solution is to put the one from BIRT before in the weblogic
classpath , like :
set CLASSPATH=%BIRT_HOME%\lib\js.jar;%WEBLOGIC_CLASSPATH%;;%CLAS SPATH%

-PY
Previous Topic:BIRT 2.1.1 and PostgreSQL 8.2.3.x
Next Topic:create a java (javascript) method inside birt scripted datasource
Goto Forum:
  


Current Time: Wed Jul 16 22:34:22 EDT 2025

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

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

Back to the top