WSO2 ESB - 使用Developer Studio开发服务并在远程服务器上部署和调试它们的配置

时间:2015-02-25 10:45:54

标签: eclipse maven wso2 wso2esb wso2developerstudio

我想建立一个开发环境来开发,构建和部署WSO2 ESB服务。我想使用WSO2 Developer Studio开发服务,并在远程服务器上调试/部署它们。

这是我的配置: Windows 7上的WSO2 Developer Studio 3.7.1 在Centos 7上的WSO2 ESB 3.8.1

调试: 我使用Developer Studio Server Tab(OK)配置了WSO2 Carbone远程服务器,然后我尝试创建一个新的远程启动配置,但developer Studio返回时出现以下异常:

No tab group defined for launch configuration type

部署: 我将Maven配置为执行远程部署,并且它成功运行,但是当我打开ESB控制台时,我找不到任何已部署的服务,我只能在wso2carbon.log服务器日志中找到与登录名和密码成功连接的日志。以下是maven执行:

[INFO] --- maven-car-deploy-plugin:1.0.10:deploy-car (default-deploy-car) @ CappSample ---
[INFO] Deploying to Server...
[INFO] TSPath=c:/bin/wso2/wso2carbon.jks
[INFO] TSPWD=wso2carbon
[INFO] TSType=JKS
[INFO] Server URL=https://wso2-orchestrator.sem:9443
[INFO] UserName=admin
[INFO] Password=admin
[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.
[INFO] Authentication to https://wso2-orchestrator.sem:9443 successful.
[INFO] Uploading target to https://wso2-orchestrator.sem:9443...
[INFO] Uploading target to https://wso2-orchestrator.sem:9443 completed successfully.
[INFO]
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ CappSample ---
[INFO] Skipping artifact deployment
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.856 s
[INFO] Finished at: 2015-02-24T17:21:36+01:00
[INFO] Final Memory: 24M/347M
[INFO] ------------------------------------------------------------------------

感谢任何帮助或建议。 谢谢。

1 个答案:

答案 0 :(得分:0)

远程调试的解决方案是以调试模式运行服务器,并从eclipse创建调试配置以附加到远程Java进程。

从Maven部署仍然无法正常工作并等待解决方案。