我用的JVM的IL,为什么还老是报UIL2的错误,我在jvm-il-service.xml里是这样配置的
<!-- JBossMQ in memory "communication --> <mbean code="org.jboss.mq.il.jvm.JVMServerILService"
name="jboss.mq:service=InvocationLayer,type=JVM">
<depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
<attribute name="ConnectionFactoryJNDIRef">java:/ConnectionFactory</attribute>
<attribute name="XAConnectionFactoryJNDIRef">java:/XAConnectionFactory</attribute>
<attribute name="PingPeriod">0</attribute>
</mbean> <mbean code="org.jboss.naming.NamingAlias"
name="jboss.mq:service=InvocationLayer,type=JVM,alias=JVMConnectionFactory">
<attribute name="FromName">JVMConnectionFactory</attribute>
<attribute name="ToName">ConnectionFactory</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
为什么还要是用UIL2的ConnectionFactory??
<!-- JBossMQ in memory "communication --> <mbean code="org.jboss.mq.il.jvm.JVMServerILService"
name="jboss.mq:service=InvocationLayer,type=JVM">
<depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
<attribute name="ConnectionFactoryJNDIRef">java:/ConnectionFactory</attribute>
<attribute name="XAConnectionFactoryJNDIRef">java:/XAConnectionFactory</attribute>
<attribute name="PingPeriod">0</attribute>
</mbean> <mbean code="org.jboss.naming.NamingAlias"
name="jboss.mq:service=InvocationLayer,type=JVM,alias=JVMConnectionFactory">
<attribute name="FromName">JVMConnectionFactory</attribute>
<attribute name="ToName">ConnectionFactory</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
为什么还要是用UIL2的ConnectionFactory??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货