posts - 17,  comments - 6,  trackbacks - 0
          birt 集成到 weblogic 9中,老是出現問題:

          java.lang.NoSuchMethodError: org.mozilla.javascript.ImporterTopLevel.initStandar
          dObjects(Lorg/mozilla/javascript/Context;Z)V
          at org.eclipse.birt.core.script.ScriptContext.<init>(ScriptContext.java:
          81)
          at org.eclipse.birt.report.engine.executor.ExecutionContext.<init>(Execu
          tionContext.java:248)
          at org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.
          java:118)
          at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.<init>(RunAn
          dRenderTask.java:54)
          at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.createRunA
          ndRenderTask(ReportEngineHelper.java:215)
          at org.eclipse.birt.report.engine.api.ReportEngine.createRunAndRenderTas
          k(ReportEngine.java:258)



          google后,發現兩個解決方案,

          一、替換weblogic.jar中的js.jar文件,
          麻煩,有隱串



          二、在 web應用中加入
          <prefer-web-inf-classes>true</prefer-web-inf-classes>

          導致應用無法發布成功。


          最后自己想出一種方案:
          在weblogic的應動域目錄中,setDomainEnv.cmd文件中, 更改如下:

          @REM SET THE CLASSPATH

          set CLASSPATH=%WL_HOME%\server\lib\mysql5.jar;%WL_HOME%\server\lib\js.jar;%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%;%POST_CLASSPATH%;%WLP_POST_CLASSPATH%


          將js.jar 文件復制到 server/lib目錄中。在類路徑中設置優先載入。

          pdf電子書下載   soa.hntky.com

          posted on 2008-05-29 16:56 風中的舞者 閱讀(2542) 評論(3)  編輯  收藏


          FeedBack:
          # re: weblogic集成birt的問題解決
          2008-06-05 22:36 | Maggie
          向樓主推薦一個好的網站,在那里你可以得到最快,最直接的回答。http://www.actuatechina.com.  回復  更多評論
            
          # re: weblogic集成birt的問題解決
          2009-05-25 10:52 | 猜猜
          您好LZ,我用你說的方法設置了,
          可還是不行,還報那個錯,
          我的weblogic是10.3的
          請問還有辦法解決嗎?  回復  更多評論
            
          # re: weblogic集成birt的問題解決[未登錄]
          2010-12-22 10:04 | water
          我用第二種方法,結果顯示空白內容。我使用的是weblogic10.3
            回復  更多評論
            

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          <2008年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          java技術

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 农安县| 建宁县| 桂阳县| 通化县| 乡城县| 敦化市| 同德县| 襄樊市| 沙雅县| 宽甸| 洪洞县| 新沂市| 莱西市| 上饶市| 新巴尔虎右旗| 河间市| 乐都县| 昆明市| 温泉县| 遵义县| 北海市| 穆棱市| 建水县| 安仁县| 滦平县| 博罗县| 南宫市| 仁布县| 芜湖市| 眉山市| 英山县| 托克逊县| 镇远县| 车致| 齐齐哈尔市| 宾川县| 运城市| 响水县| 沾化县| 靖西县| 封开县|