轴:没有引擎配置文件 - 中止 [英] Axis: No engine configuration file - aborting

查看:392
本文介绍了轴:没有引擎配置文件 - 中止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序(这是一个WAR文件)使用Axis调用不同的Web服务。昨天我们有一个关于Axis client_config.wsdd文件的奇怪错误。当我们重新启动应用程序服务器(Weblogic 10.3.2)时,应用程序开始写错误日志:

My application - which is a WAR file - calls different web services using Axis. Yesterday we had a strange error regarding to Axis client_config.wsdd file. When we restart the application server (Weblogic 10.3.2), application began to write error logs saying:

org.apache.axis.ConfigurationException: No engine configuration file - aborting!
    at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:175)
    at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
    at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
    at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
    at org.apache.axis.client.Service.getAxisClient(Service.java:104)
    at org.apache.axis.client.Service.<init>(Service.java:113)

但是,在axis.jar中有一个client_config.wsdd文件。我们重新启动了应用服务器,错误消失了。如何可能的轴不能文件已经在axis.jar的wsdd文件?我应该做什么,以防止这种情况再次发生(如复制同一个文件到WEB-INF /类或其他文件夹)?

However, there is a client_config.wsdd file in axis.jar. We restarted the application server, the error is gone. How could it be possible that axis couldn't file the wsdd file that is already in axis.jar? Should I do anything to prevent this situation happen again (like copying the same file to WEB-INF/classes or some other folder)?

谢谢

推荐答案

我通过将client_config.wsdd文件复制到WEB-INF / classes文件夹来解决这个问题。 Axis还没有投诉:)

I solved this by copying the client_config.wsdd file to WEB-INF/classes folder. Axis did not complaint yet :)

这篇关于轴:没有引擎配置文件 - 中止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆