用birt做报表的项目从tomcat移植到weblogic报错!

xiaoyuqi00 2009-05-25 04:50:25
这个项目用birt做的报表,在tomcat下运行很正常,但是部署但weblogic下就报错,调试了很久都不行,

有人说是包冲突,可以剃掉了重复的包,还是不行,请大家帮忙看下!

.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
48m -XX:MaxPermSize=128m
.
WLS Start Mode=Development
.
CLASSPATH=;E:\bea\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic
_patch.jar;E:\bea\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic
_patch.jar;E:\bea\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_
patch.jar;E:\bea\JDK160~1\lib\tools.jar;E:\bea\WLSERV~1.3\server\lib\weblogic_sp
.jar;E:\bea\WLSERV~1.3\server\lib\weblogic.jar;E:\bea\modules\features\weblogic.
server.modules_10.3.0.0.jar;E:\bea\WLSERV~1.3\server\lib\webservices.jar;E:\bea\
modules\ORGAPA~1.5/lib/ant-all.jar;E:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.j
ar;E:\bea\WLSERV~1.3\server\lib\js.jar;;E:\bea\WLSERV~1.3\common\eval\pointbase\
lib\pbclient57.jar;E:\bea\WLSERV~1.3\server\lib\xqrl.jar;;
.
PATH=E:\bea\patch_wlw1030\profiles\default\native;E:\bea\patch_wls1030\profiles\
default\native;E:\bea\patch_cie660\profiles\default\native;E:\bea\WLSERV~1.3\ser
ver\native\win\32;E:\bea\WLSERV~1.3\server\bin;E:\bea\modules\ORGAPA~1.5\bin;E:\
bea\JDK160~1\jre\bin;E:\bea\JDK160~1\bin;C:\Program Files\CVSNT\;C:\Program File
s\Common Files\March Hare Software Ltd\;C:\Program Files\CVSNT\;C:\Program Files
\Common Files\March Hare Software Ltd\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS
\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;D:\pc
Anywhere\;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\C
VSNT\;E:\bea\WLSERV~1.3\server\native\win\32\oci920_8
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
E:\bea\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -
XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform.home=E:\bea
\WLSERV~1.3 -Dwls.home=E:\bea\WLSERV~1.3\server -Dweblogic.home=E:\bea\WLSERV~1.
3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testCo
nsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\bea\patch_wlw1030\profil
es\default\sysext_manifest_classpath;E:\bea\patch_wls1030\profiles\default\sysex
t_manifest_classpath;E:\bea\patch_cie660\profiles\default\sysext_manifest_classp
ath -Dweblogic.Name=AdminServer -Djava.security.policy=E:\bea\WLSERV~1.3\server\
lib\weblogic.policy weblogic.Server
<2009-5-25 下午04时31分13秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Micros
ystems Inc.>
<2009-5-25 下午04时31分15秒 CST> <Info> <Management> <BEA-141107> <Version: WebL
ogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
<2009-5-25 下午04时31分19秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<2009-5-25 下午04时31分19秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing
self-tuning thread pool>
<2009-5-25 下午04时31分20秒 CST> <Notice> <Log Management> <BEA-170019> <The ser
ver log file E:\bea\user_projects\domains\base_domain\servers\AdminServer\logs\A
dminServer.log is opened. All server side log events will be written to this fil
e.>
<2009-5-25 下午04时31分30秒 CST> <Notice> <Security> <BEA-090082> <Security init
ializing using security realm myrealm.>
<2009-5-25 下午04时31分38秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STANDBY>
<2009-5-25 下午04时31分38秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<2009-5-25 下午04时31分53秒 CST> <Warning> <HTTP> <BEA-101162> <User defined lis
tener org.eclipse.birt.report.listener.ViewerServletContextListener failed: java
.lang.NoSuchMethodError: org.mozilla.javascript.Context.initStandardObjects()Lor
g/mozilla/javascript/ScriptableObject;.
java.lang.NoSuchMethodError: org.mozilla.javascript.Context.initStandardObjects(
)Lorg/mozilla/javascript/ScriptableObject;
at org.eclipse.birt.report.engine.api.impl.ReportEngine.setupScriptScope
(ReportEngine.java:216)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEng
ine.java:126)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.createRep
ortEngine(ReportEngineFactory.java:13)
at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(
ReportEngineService.java:338)
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(Bi
rtViewerReportService.java:975)
Truncated. see log file for complete stacktrace
>
<2009-5-25 下午04时31分58秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set
the activation state to true for the application 'WebRoot'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
a:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.NoSuchMethodError: org.mozilla.javascript.Context.initStandardObjects(
)Lorg/mozilla/javascript/ScriptableObject;
at org.eclipse.birt.report.engine.api.impl.ReportEngine.setupScriptScope
(ReportEngine.java:216)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEng
ine.java:126)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.createRep
ortEngine(ReportEngineFactory.java:13)
at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(
ReportEngineService.java:338)
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(Bi
rtViewerReportService.java:975)
Truncated. see log file for complete stacktrace
>
<2009-5-25 下午04时31分59秒 CST> <Notice> <Log Management> <BEA-170027> <The Ser
ver has established connection with the Domain level Diagnostic Service successf
ully.>
<2009-5-25 下午04时31分59秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to ADMIN>
<2009-5-25 下午04时31分59秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to RESUMING>
<2009-5-25 下午04时31分59秒 CST> <Warning> <Server> <BEA-002611> <Hostname "sc-f
xhps2nyjlju", maps to multiple IP addresses: 192.168.0.225, 127.0.0.1>
<2009-5-25 下午04时31分59秒 CST> <Warning> <Server> <BEA-002611> <Hostname "127.
0.0.1", maps to multiple IP addresses: 192.168.0.225, 127.0.0.1>
<2009-5-25 下午04时31分59秒 CST> <Notice> <Server> <BEA-002613> <Channel "Defaul
t[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, htt
p.>
<2009-5-25 下午04时32分00秒 CST> <Notice> <Server> <BEA-002613> <Channel "Defaul
t" is now listening on 192.168.0.225:7001 for protocols iiop, t3, ldap, snmp, ht
tp.>
<2009-5-25 下午04时32分00秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started
WebLogic Admin Server "AdminServer" for domain "base_domain" running in Develop
ment Mode>
<2009-5-25 下午04时32分00秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to RUNNING>
<2009-5-25 下午04时32分00秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server
started in RUNNING mode>
...全文
1203 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
cheer1226 2011-11-29
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 xiaoyuqi00 的回复:]
问题自己已经解决了,分享下

添加weblogic.xml,让他先加载web-inf下的文件

就可以了!
[/Quote]



能不能具体说一下怎么让他先加载?????
watercity0 2010-12-22
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 的回复:]
birt与Weblogic引用到的jar间有冲突。
[/Quote]

使用了这种方法报表没有出来,系统却出了问题。jsp中不能<%java代码%>了。

高手帮忙解决一下?
seseliang 2010-08-26
  • 打赏
  • 举报
回复
怎么解决的能不能具体说下
xiaoyuqi00 2009-05-27
  • 打赏
  • 举报
回复
问题自己已经解决了,分享下

添加weblogic.xml,让他先加载web-inf下的文件

就可以了!
xiaoyuqi00 2009-05-26
  • 打赏
  • 举报
回复
又一天过去了。。。

哪位帮忙解决下!
废穴S猫 2009-05-26
  • 打赏
  • 举报
回复
birt与Weblogic引用到的jar间有冲突。
xiaoyuqi00 2009-05-25
  • 打赏
  • 举报
回复
补充下,

birt版本:2.3.1

weblogic版本:10.3gR3

5,657

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧