Wso2 未在此服务器中找到要部署的项目。忽视碳应用 通过将ESB配置项目指向现有的synapse配置文件夹,我创建了该项目 然后,我通过选择所需的工件在上面创建了复合应用程序项目 通过右键单击并选择ExportCompositeApplicationProject,最终在复合应用程序项目上创建了CAR文件 已验证工件上的EnterpriseServiceBus角色

Wso2 未在此服务器中找到要部署的项目。忽视碳应用 通过将ESB配置项目指向现有的synapse配置文件夹,我创建了该项目 然后,我通过选择所需的工件在上面创建了复合应用程序项目 通过右键单击并选择ExportCompositeApplicationProject,最终在复合应用程序项目上创建了CAR文件 已验证工件上的EnterpriseServiceBus角色,wso2,wso2esb,wso2carbon,Wso2,Wso2esb,Wso2carbon,我在部署汽车文件时遇到以下错误 T 我是在WSO2 ESB 4.9.0上执行此poc的当artificat.xml文件在工件名称和文件路径中存在不一致时,就会发生这种情况。这两个应该有相同的名字。比如: <artifact name="GetCustomerInSequence" groupId="com.test.uab.customeraccounts.wso2.sequence" version="1.0.0" type="synapse/sequence" serverRole="

我在部署汽车文件时遇到以下错误

T


我是在WSO2 ESB 4.9.0上执行此poc的

artificat.xml
文件在
工件名称
文件路径
中存在不一致时,就会发生这种情况。这两个应该有相同的名字。比如:

<artifact name="GetCustomerInSequence" groupId="com.test.uab.customeraccounts.wso2.sequence" version="1.0.0" type="synapse/sequence" serverRole="EnterpriseServiceBus">
        <file>src/main/synapse-config/sequences/GetCustomerInSequence.xml</file>
    </artifact>
错误的工件文件:

 <artifact name="GetCustomerInSequence" groupId="com.test.uab.customeraccounts.wso2.sequence" version="1.0.0" type="synapse/sequence" serverRole="EnterpriseServiceBus">
            <file>src/main/synapse-config/sequences/GetCustomerInSequence-232.xml</file>
        </artifact>

当服务器角色与服务器不匹配时,会出现此问题。为了避免这种情况,我们必须在创建CApp之前检查在composite pom.xml中为工件定义的服务器角色


在Developer Studio 6.2.0中修复的相关问题。

您是否检查了包含aartifacts的.car文件?我对ESB有点陌生。我在developer studio中没有看到artifact.xml文件。我在ESB配置项目中只能看到pom.xml,在由ESB配置项目创建的复合应用程序项目中只能看到另一个pom.xml。请转到Developer Studio{workspace/YOUR_ESB_config_project/artifact.xml}。我已经用屏幕截图更新了答案。在my artifacts.xml中,工件名称和文件路径似乎是相同的。但仍然面临着同样的问题src/main/synapse config/api/messageretrieverservice.xml
[2016-04-06 08:57:19,297]  INFO - ApplicationManager Deploying Carbon Application : CustomerServiceCA_1.0.0.car...
[2016-04-06 08:57:19,312]  WARN - ApplicationManager No artifacts found to be deployed in this server. Ignoring Carbon Application : CustomerServiceCA_1.0.0.car
 <artifact name="GetCustomerInSequence" groupId="com.test.uab.customeraccounts.wso2.sequence" version="1.0.0" type="synapse/sequence" serverRole="EnterpriseServiceBus">
            <file>src/main/synapse-config/sequences/GetCustomerInSequence-232.xml</file>
        </artifact>
The role creation had solved the problem.
This error means the Server Roles of the C-App Artifacts found in your Carbon Application Archive (CAR), does not match the Server Role of the ESB.