傲气雄鹰的坑: Axis与Weblogic的冲突
来源:百度文库 编辑:神马文学网 时间:2024/04/27 15:10:52
2006/6/11
Axis与Weblogic的冲突
这几天搞webservice搞得晕死了,在Weblogic 7里面发布Web Application,怎么都不成功,一怒之下又装Weblogic8,但是在本机都可以的,又找了其它测试机器,也可以,就是有一台不行,后来终于在Axis官方网站发现线索: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.
当然了,解决方案也就有了:
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 element in WEB-INF/weblogic.xml to true. An example of weblogic.xml is shown below:
true
If set to true, the 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.
虽然这里说的 是Weblogic8.1,其实是说Weblogic8.1以前的版本都会有问题。
Axis与Weblogic的冲突
这几天搞webservice搞得晕死了,在Weblogic 7里面发布Web Application,怎么都不成功,一怒之下又装Weblogic8,但是在本机都可以的,又找了其它测试机器,也可以,就是有一台不行,后来终于在Axis官方网站发现线索: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.
当然了,解决方案也就有了:
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
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.
虽然这里说的 是Weblogic8.1,其实是说Weblogic8.1以前的版本都会有问题。
傲气雄鹰的坑: Axis与Weblogic的冲突
Spring与WebLogic Server的集成
Spring与WebLogic Server的集成
Spring与WebLogic Server的集成
weblogic的JDNI连接
揭秘傲气的林彪与尽打神仙仗的粟裕私人交往内幕
揭秘傲气林彪与尽打神仙仗的粟裕交往内幕 - Qzone日志
傲气林彪与尽打神仙仗的粟裕交往内幕
揭秘傲气林彪与尽打神仙仗的粟裕交往内幕
揭秘傲气林彪与尽打神仙仗的粟裕交往内幕
傲气林彪与尽打神仙仗的粟裕交往内幕
翱翔--青藏高原的雄鹰
盘旋的雄鹰
折断翅膀的雄鹰
翱翔--青藏高原的雄鹰
才气,谦逊与傲气
经理人与老板的冲突
烟草专卖与公共卫生的冲突
烟草专卖与公共卫生的冲突
烟草专卖与公共卫生的冲突
民主与极权的冲突
民主与极权的冲突
基督教与文化的冲突
伊斯兰与西方的冲突