简体   繁体   English

无法使用城墙模块。 WSO2 IS示例客户端

[英]Unable to engage rampart module. WSO2 IS example client

I'm following this tutorial about wso2 is and kerberos: http://wso2.com/library/articles/2012/07/kerberos-authentication-using-wso2-products/ 我正在关注有关wso2 is和kerberos的本教程: http ://wso2.com/library/articles/2012/07/kerberos-authentication-using-wso2-products/

At the end of the tutorial you can download a client.java to test the example. 在本教程的最后,您可以下载client.java来测试示例。

I started another question here in which I told you that I was having libraries problems. 在这里提出另一个问题,我告诉您我遇到了图书馆问题。 After that, I got a rampart error. 之后,我遇到了一个严重错误。 I've read another questions about rampart but I'm clueless about what to do. 我已经阅读了有关垒的其他问题,但对于该如何做一无所知。

This is what I get when I try to run the example: 这是我尝试运行示例时得到的:

pi@raspberrypi:~/org.wso2.identity.esb.kerberos $ ant run
Buildfile: /home/pi/org.wso2.identity.esb.kerberos/build.xml
 [echo] ======================================================================================
 [echo] Using carbon home /home/pi/wso2esb-4.0.3/
 [echo] ======================================================================================

init:

compile:
[javac] /home/pi/org.wso2.identity.esb.kerberos/build.xml:30: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

run:
 [java] log4j:WARN No appenders could be found for logger (org.apache.axiom.om.util.StAXUtils).
 [java] log4j:WARN Please initialize the log4j system properly.
 [java] org.apache.axis2.AxisFault: Unable to engage module : rampart
 [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:351)
 [java]     at org.wso2.identity.esb.kerberos.KerberosClient.run(KerberosClient.java:104)
 [java]     at org.wso2.identity.esb.kerberos.KerberosClient.main(KerberosClient.java:43)
 [java] Could not create service client

BUILD SUCCESSFUL
Total time: 7 seconds

Any idea? 任何想法? Thanks in advance. 提前致谢。

Edit: I put the rampart-1.6.0 in the modules directory but I got the same error. 编辑:我把rampart-1.6.0放在modules目录中,但是我得到了同样的错误。

The sample do not have the rampart mar inside the /org.wso2.identity.esb.kerberos/repo/modules/ . 该示例在/org.wso2.identity.esb.kerberos/repo/modules/没有垒/org.wso2.identity.esb.kerberos/repo/modules/ Try copying the rampart mar to that path. 尝试将城墙3月复制到该路径。

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

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