错误消息: 2018-07-17 21:59:15,134错误[stderr](主)由以下原因引起:org.wildfly.swarm.container.DeploymentException:WFSWARM0004:部署失败:{“ WFLYCTL0412:未安装的必需服务:” => [ “ jboss.ra.activemq-rar”],“ WFLYCTL0180:缺少/不可用依赖项的服务” => [“ jboss.deployment.unit。\” message-co nsumer-1.0.1-SNAPSHOT.war \“。component.MediationQueueMDB.CREATE丢失[jboss.ra.activemq-rar]”]}
从我的pom.xml
class MyScreenIso extends React.Component {
// Provides the navbar header to AppNavigator's Stack Navigation
static navigationOptions =
({ navigation, screenProps }) => {
// refining the screenProps type to one we expect
const typedScreenProps = screenProps;
const backBtnLabel = typedScreenProps.previousTitle ? `Go back to ${typedScreenProps.previousTitle}` : 'Go back';
return {
headerLeft: (
<McIcon
style={Styles.headerIcon}
size={30}
accessibilityLabel={backBtnLabel}
accessibilityRole="link"
name="arrow-left"
onPress={() => {
navigation.goBack();
}}
/>
)
};
};
从我的yml配置文件中:
群居:
记录:TRACE
部署: org.apache.activemq:activemq-rar.rar
绑定: 地址:127.0.0.1
资源适配器: 资源适配器: activemq-rar: 存档:activemq-rar.rar 交易支持:LocalTransaction 配置属性: ServerUrl: 值:failover:tcp:// localhost:45549 用户名: 值:好友 密码: 值:passw0rd UseInboundSession: 值:false
connection-definitions: AMQConnectionFactory: jndi名称:ConnectionFactory 类名称:org.apache.activemq.ra.ActiveMQManagedConnectionFactory 已启用:true 最小池大小:1 最大池大小:20 池预填充:false same-rm-override:false use-java-context:true
<dependency> <groupId>org.wildfly.swarm</groupId> <artifactId>resource-adapters</artifactId> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-rar --> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-ra</artifactId> <version>5.15.4</version> <type>jar</type> <!--<scope>provided</scope>--> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-rar</artifactId> <version>5.15.4</version> <type>rar</type> <!--<scope>provided</scope>--> </dependency>
messaging-activemq: 服务器: 默认: 活动:错误 连接工厂: InVmConnectionFactory: 应答块:true 条目: -“ java:/ ArtemisConnectionFactory”
jca: 存档验证: 启用:false
我使用Wildfly-Swarm and connection to external activemq via resource adapter: WFLYCTL0412作为模型。
有什么想法吗?