简体   繁体   English

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

[英]WSO2 ESB - Configuration to Develop Services with Developer Studio and Deploy and Debug them on Remote Server

I want to set up a development environment to develop, build and deploy WSO2 ESB Services. 我想建立一个开发环境来开发,构建和部署WSO2 ESB服务。 I would like to develop services using WSO2 Developer Studio and debug/deploy them on a remote server. 我想使用WSO2 Developer Studio开发服务,并在远程服务器上调试/部署它们。

Here is my configuration: WSO2 Developer Studio 3.7.1 on Windows 7 WSO2 ESB 3.8.1 on Centos 7 这是我的配置:Windows 7上的WSO2 Developer Studio 3.7.1 Centos 7上的WSO2 ESB 3.8.1

Debugging: I configured the WSO2 Carbone remote server using Developer Studio Server Tab (OK) and then I tried to create a new remote launch configuration, but developer studio returned with the following exception: 调试:我使用Developer Studio服务器选项卡(OK)配置了WSO2 Carbone远程服务器,然后尝试创建新的远程启动配置,但是Developer Studio返回了以下异常:

没有为启动配置类型定义选项卡组

Deploying: I configured Maven to execute remote deploy, and it runs succesfully, but when I open ESB Console I cannot find any service deployed, I can only find in the wso2carbon.log server log the successful connection with login and password. 部署:我将Maven配置为执行远程部署,并且成功运行,但是当我打开ESB控制台时,找不到任何已部署的服务,我只能在wso2carbon.log服务器日志中找到具有登录名和密码的成功连接。 The following is the maven execution: 以下是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] ------------------------------------------------------------------------

Any help or suggestion is appreciated. 任何帮助或建议,表示赞赏。 Thank you. 谢谢。

The solution to remotely debug is to run the server in debug mode and from eclipse create a debug configuration to attach to a Remote Java process. 远程调试的解决方案是在调试模式下运行服务器,然后从eclipse创建调试配置以附加到Remote Java进程。

Deploy from Maven is still not working and waiting for a solution. 从Maven部署仍无法正常工作,正在等待解决方案。

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

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