简体   繁体   English

WSO2:无法在应用程序服务器上将新模块与Axis2接合

[英]WSO2 : Unable to Engage New Module to Axis2 on Application Server

The system is attempting to engage a module that is not available 系统正在尝试使用不可用的模块

i wrote a module according to this sample Writing a Apache Axis2 Module . 我根据此示例编写了一个模块编写Apache Axis2模块 when i add TestModule.mar file using AppServer console, it is placed in this location 当我使用AppServer控制台添加TestModule.mar文件时,它位于此位置

\\wso2as-.1.0\\repository\\deployment\\server\\axis2modules \\ wso2as-.1.0 \\ repository \\ deployment \\ server \\ axis2modules

but when i restart AppServer, it can not initiate and show this message 但是当我重新启动AppServer时,它无法启动并显示此消息

The system is attempting to engage a module that is not available : TestModule 系统正在尝试使用不可用的模块:TestModule

where i have wrong? 我哪里错了?

What is the version of Appserver you are trying out? 您要试用的Appserver是什么版本? You need to edit the axis2.xml, where you ahve to point your module and keep the module in the axis2modules directory. 您需要编辑axis2.xml,在其中指向您的模块并将模块保留在axis2modules目录中。 Check your module name you provided in the axis2 conf and original module name also same or different. 检查您在axis2 conf中提供的模块名称和原始模块名称是否相同或不同。 If there is any spelling mistake it wont deploy the module. 如果有任何拼写错误,它将不会部署该模块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM