Axis版本1.4.1部署在IBM WAS 8.5上

时间:2014-04-01 16:38:20

标签: java websphere

我正致力于将应用程序从WAS 6.1迁移到WAS 8.5。这些应用程序使用轴版本1.4.1但是当它们部署在WAS 8.5中时,Axis servlet错误发生错误:

WarBasedAxisC E org.apache.axis2.deployment.WarBasedAxisConfigurator <init> org.apache.commons.fileupload.FileUploadException                                      org.apache.axis2.deployment.DeploymentException: org.apache.commons.fileupload.FileUploadException

webapp E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: Error occured while initializing servlets: {0}
javax.servlet.ServletException: javax.servlet.ServletException: org.apache.axis2.deployment.DeploymentException: org.apache.commons.fileupload.FileUploadException 

我从IBM解决方法获得此链接。

http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en

我执行了第一步,第二步和第三步。但是当我尝试在WAS 8.5上加载应用程序时,它失败并出现以下错误:

The following exception occurred. Check log for details. 
com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml]

我已经搜索了其他解决方案,但没有运气......

是否有人绊倒了这个问题并解决了它?

感谢。

编辑:我通过使用添加的jar重建应用程序来解决此错误。但是我仍然在starup中获得Axis例外......

E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E:初始化servlet时出错:{0} javax.servlet.ServletException:javax.servlet.ServletException:org.apache.axis2.deployment.DeploymentException:org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher与org.apache.axis2.engine.Handler不兼容

1 个答案:

答案 0 :(得分:0)

我认为此链接可以帮助您解决axis2版本上的问题。如果您想使用您的AXIS版本,则需要禁用内部处理器:http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/topic/com.ibm.websphere.base.doc/ae/twbs_thirdparty.html