JBoss元数据中存在未解析的引用
我在启动JBoss6时收到以下警告 警告[MappedReferenceMetadataResolvedDeployer]JBossMetaData中存在未解析的引用: [myEJB.jar#GenDriver:MessageDestinationReferenceMetaData{name=queue/generator,type=javax.jms.queue,link=null,ignore dependecy=false,jndi name=null,resolvoed jndi name=null,usage=null}] 与此相关的ejb-jar.xml条目包括:JBoss元数据中存在未解析的引用,jboss,ejb,ejb-3.0,ejb-3.1,jboss6.x,Jboss,Ejb,Ejb 3.0,Ejb 3.1,Jboss6.x,我在启动JBoss6时收到以下警告 警告[MappedReferenceMetadataResolvedDeployer]JBossMetaData中存在未解析的引用: [myEJB.jar#GenDriver:MessageDestinationReferenceMetaData{name=queue/generator,type=javax.jms.queue,link=null,ignore dependecy=false,jndi name=null,resolvoed jndi nam
<session>
<ejb-name>GeneratorBean</ejb-name>
<ejb-classgen.bean.GeneratorBean</ejb-class>
<resource-ref>
<res-ref-name>jms/JmsXA</res-ref-name>
<res-type>javax.jms.ConnectionFactory</res-type>
</resource-ref>
<message-destination-ref>
<message-destination-ref-name>queue/generator</message-destination-ref-name>
<message-destination-type>javax.jms.Queue</message-destination-type>
</message-destination-ref>
</session>
<message-driven>
<ejb-name>GenDriver</ejb-name>
<ejb-class>gen.bean.GenDriver</ejb-class>
<transaction-type>Container</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>user</activation-config-property-name>
<activation-config-property-value>gen</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>password</activation-config-property-name>
<activation-config-property-value>gen</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>maxSession</activation-config-property-name>
<activation-config-property-value>1</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>dLQJNDIName</activation-config-property-name>
<activation-config-property-value>java:/queue/generatorDLQ</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>dLQUser</activation-config-property-name>
<activation-config-property-value>gen</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>dLQPassword</activation-config-property-name>
<activation-config-property-value>gen</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref>
<res-ref-name>jms/JmsXA</res-ref-name>
<res-type>javax.jms.ConnectionFactory</res-type>
</resource-ref>
<message-destination-ref>
<message-destination-ref-name>queue/generator</message-destination-ref-name>
<message-destination-type>javax.jms.Queue</message-destination-type>
</message-destination-ref>
</message-driven>
发电机轴承
当一个Bean正在使用另一个在之前未部署的Bean时,会出现此警告。例如,如果您有两个Bean A和B,并且在Bean A中提供了Bean B的ref。因此,当Jboss尝试部署Bean A时,它会搜索Bean B,如果找不到Bean B,则会显示此警告。
您可以忽略此警告。当部署完成并实际调用Bean A时,它将再次搜索Bean B