免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
傲氣雄鷹的坑: Axis與Weblogic的沖突
2006/6/11

Axis與Weblogic的沖突

這幾天搞webservice搞得暈死了,在Weblogic 7里面發(fā)布Web Application,怎么都不成功,一怒之下又裝Weblogic8,但是在本機(jī)都可以的,又找了其它測(cè)試機(jī)器,也可以,就是有一臺(tái)不行,后來(lái)終于在Axis官方網(wǎng)站發(fā)現(xiàn)線索:WebLogic 8.1 ships with webservices.jar that conflicts with Axis' saaj.jar and prevents Axis 1.2 from working right out of the box. This conflict exists because WebLogic uses an older definition of javax.xml.soap.* package from Java Web Services Developer Pack Version 1.0, whereas Axis uses a newer revision from J2EE 1.4.
 
當(dāng)然了,解決方案也就有了:
However, there are two alternative configuration changes that enable Axis based web services to run on Weblogic 8.1.
In a webapp containing Axis, set <prefer-web-inf-classes> element in WEB-INF/weblogic.xml to true. An example of weblogic.xml is shown below:
<weblogic-web-app>
  <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
  </container-descriptor>
</weblogic-web-app>If set to true, the <prefer-web-inf-classes> element will force WebLogic's classloader to load classes located in the WEB-INF directory of a web application in preference to application or system classes. This is a recommended approach since it only impacts a single web module.
In a script used to start WebLogic server, modify CLASSPATH property by placing Axis's saaj.jar library in front of WebLogic's webservices.jar.
雖然這里說(shuō)的 是Weblogic8.1,其實(shí)是說(shuō)Weblogic8.1以前的版本都會(huì)有問(wèn)題。
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
WebLogic6.0使用經(jīng)驗(yàn)
項(xiàng)目部署到Tomat報(bào)異常:jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending ...
Tomcat 6.0 Class Loader
XFire: The easy and simple way to develop Web...
BEA 實(shí)戰(zhàn)集錦-探查 Struts 與 WebLogic Server 共用問(wèn)題
jar包與war包的差異
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服