在远程服务器中部署WSO2 .car文件时出错

时间:2019-05-17 06:54:49

标签: deployment wso2 wso2esb truststore wso2ei

我正在尝试使用maven将汽车文件部署到远程服务器中。我已经按照https://docs.wso2.com/display/ADMIN44x/Creating+New+Keystores中的说明生成了信任库JKS。

但是当我尝试使用maven部署CAR文件时,出现以下错误:

[错误]将XXXAPICompositeApplication_1.0.0.car上传到https://ei.domain.com失败。 org.apache.axis2.AxisFault:找不到端点引用(EPR)http://localhost:9443/services/AuthenticationAdmin

的服务

我已经在本地进行了测试,没有问题。

我想知道为什么即使我给了远程服务器,它为什么也指本地EPR。请建议我解决此问题。

详细的错误日志如下:

--- maven-car-deploy-plugin:1.1.1:deploy-car (default-deploy-car) @ XXXAPICompositeApplication ---
[INFO] Deploying to Server...
[INFO] TSPath=/home/sampath/Desktop/EI-cert/domain.com.jks
[INFO] TSPWD=xxxxx
[INFO] TSType=JKS
[INFO] Server URL=https://ei.domain.com
[INFO] UserName=admin
[INFO] Password=xxxxxxxxxxxx
[INFO] Operation=deploy
log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisOperation).
log4j:WARN Please initialize the log4j system properly.
[ERROR] Uploading XXXAPICompositeApplication_1.0.0.car to https://ei.domain.com Failed.
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:9443/services/AuthenticationAdmin
    at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
    at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    at org.wso2.carbon.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)

1 个答案:

答案 0 :(得分:0)

这就像端口和协议之间的不匹配一样简单吗?通常,HTTP和9443不能一起使用。也许尝试使用HTTPS?