小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

Apache Axis: Remote administrator access is not allowed! - evolutionNext WebLog

 digitaldreamer 2007-04-05

Apache Axis: Remote administrator access is not allowed!

or "How I learned to start worrying, and hate RPC"

Count me in as a frustrated developer that uses Apache Axis for Web Services. Let me tell you about a problem that I encountered and finally solved. Watch out, this is not pretty!

The problem first occurs when you use axis-admin to deploy a wsdd (Web Services Deployment Descriptor) to your remote Admin Service. This, by the way, occurs for Axis version 1.2 or the newer 1.2.1 version. When you run axis-admin client, you get the following:ns1:Server.UnauthorizedRemote administrator access is not allowed!

Another symptom that “the problem” might generate is a 401 error response. Also, in your web server log, you may encounter something like - Rejected remote access from host /x.x.x.x (your IP address).

I’d like to post the solution that I came up with so that many of you do not have to suffer as much as I did. ;) It is possible that another solution may exist somewhere else out there. If you have a link to it, I would surely appreciate your comment.

Onward...

First, make sure that in the WEB-INF directory, there exists a file called server-config.wsdd.

NOTE: If you have used a previous version of Axis, your assumption might be that this file is not needed and that one will be created for you. This was true for previous versions. However, I did not find this to be true in the most current version, at least not in Tomcat 5.5.

If you do not have the server-config.wsdd file, open your axis.jar file and look in org/apache/axis/server. You will find a server-config.wsdd file. Copy this file into the WEB-INF directory of your web server. Then, get ready to edit it. The original server-config.wsdd file should contain the following:  http://xml./axis/wsdd/       

In the fourth line down of this excerpt, change enableRemoteAdmin change to “true”. Your axis-admin will now work. I have a few other things to hash through with this new Axis, and I will post the solutions as I find them...

    本站是提供個人知識管理的網(wǎng)絡存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多