同时安装wso2 esb和cep [英] wso2 esb and cep installation simultaneouslly

查看:111
本文介绍了同时安装wso2 esb和cep的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在同一台计算机上安装和运行ESB和CEP.我尝试将端口偏移设置为1,以防止端口冲突,但是在运行ESB之后,仍然无法运行CEP. cmd中的错误日志如下所示:

I am trying to install and run ESB and CEP both on the same machine. I have tried to set port offset to 1, to prevent port conflict, but still after running ESB, I am not able to run CEP. The error log in cmd is as bellow:

`C:\Program Files\yajsw-stable-11.03_cep\bat>call setenv.bat
"java" -Xmx30m -Djna_tmpdir="C:\Program Files\yajsw-stable-11.03_cep\bat\/../tmp
" -jar "C:\Program Files\yajsw-stable-11.03_cep\bat\/../wrapper.jar" -t     "C:\Program Files\yajsw-stable-11.03_cep\bat\/../conf/wrapper.conf"
YAJSW: yajsw-stable-11.03
OS   : Windows 7/6.1/amd64
JVM  : Oracle Corporation/1.7.0_75
Dec 20, 2015 11:44:31 AM org.apache.commons.vfs2.VfsLog info
INFO: Using "C:\Users\K5563~1.KHA\AppData\Local\Temp\vfs_cache" as temporary files store.
platform null
************* STARTING "WSO2CARBON_cep" ***********************

Service "WSO2CARBON_cep" NOT started
Press any key to continue . . .`

首先:我在哪里以及如何找到正确的日志以找出问题所在?如您所知,在程序开始运行之前,:repository \ logs中什么都没有. 第二:如果您对可能的原因有任何了解,请告诉我.

First : where and how can I find a proper log to figure out what is the problem? As you know, there is nothing in : repository\logs until the program starts to run. Second : if you have any idea about the probable cause, please let me know.

其他信息:我正在使用jdk 1.7.0_75,esb 4.9.0,cep 4.0.0,yajsw 11.03,并且在安装esb和cep后均显示成功消息.作为Windows服务安装时,我给他们提供了不同的服务名称,以防止发生冲突.另外,我可以在Windows服务列表中看到它们.

Additional info : I am using jdk 1.7.0_75, esb 4.9.0, cep 4.0.0, yajsw 11.03, and there was a success message after installation of both esb and cep. I gave them different service names while installing as a windows service, to prevent conflict. Also, I am able to see both of them in windows services list.

感谢阅读.

推荐答案

要将两个碳服务器作为Windows服务启动,请按照下面的博客文章[1]克服此问题.该博客介绍了如何将两种服务作为Windows服务运行.

To start two carbon servers as windows services please follow the blog post below[1] to overcome this issue. The blog explains how two services can be run as windows services.

将两个节点设置为Windows服务时要考虑的一些重要领域是:
1.创建两个文件夹,分别为"esb_service"和"cep_service",并将相关的包复制到每个文件夹

Some important areas to consider when setting up two nodes as windows services are :
1.create two folders as 'esb_service' and 'cep_service' and copy the relevant packs into each foldr

2.如[1]所示,请在wrapper.conf中的相关位置上更新esb_home和cep_home,替换为默认值carbon_home

2.As shown on[1] please update the esb_home and cep_home on the relevant places within the wrapper.conf replacing the carbon_home which is the default value

3.确保两个节点之一的端口偏移量增加1,以避免端口冲突.

3.Make sure that the port offset of one of the two nodes is incremented by one to avoid port conflict.

4.使用installService.bat和startService.bat启动两个yajsw-stable-11.03,以使服务运行

4.start the two yajsw-stable-11.03 with installService.bat and startService.bat to get the services running

注意:我已经使用yajsw-stable-11.03版本尝试了这种情况.

Note: I have tried this scenario using yajsw-stable-11.03 version.

[1] http ://blog.lasindu.com/2015/05/how-to-start-two-or-more-wso2-servers.html

这篇关于同时安装wso2 esb和cep的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆