[
https://issues.apache.org/jira/browse/TOMEE-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla closed TOMEE-2913.
----------------------------------
Fix Version/s: 8.0.5
Resolution: Fixed
Already fixed in https://github.com/apache/tomee/commit/4e39eae3b0.
> Deployment of an EAR fails with message-destination-refs
> --------------------------------------------------------
>
> Key: TOMEE-2913
> URL: https://issues.apache.org/jira/browse/TOMEE-2913
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 7.0.8, 7.1.3, 8.0.4
> Reporter: Jonathan Gallimore
> Assignee: Jonathan Gallimore
> Priority: Major
> Fix For: 8.0.5
>
>
> Given an EAR containing an EJB jar and a war, with the EJB jar defining a
> message destination, and the webapp referring to the message-destination with
> the ejb module prefix, e.g. ejb.jar#myqueue, the application will fail to
> deploy, as TomEE will attempt to resolve the message destination in the
> webapp module.
>
> 26-Oct-2020 10:10:09.690 WARNING [main]
> org.apache.openejb.config.ConfigurationFactory.configureApplication Jar not
> loaded.
> /home/jgallimore/dev/daytrader/tomee-server/target/apache-tomee/apps/daytrader-ear-1.1.ear.
> Message destination dt-ejb.jar#TradeBrokerQueue for message-destination-ref
> jms/TradeBrokerQueue not found26-Oct-2020 10:10:09.690 WARNING [main]
> org.apache.openejb.config.ConfigurationFactory.configureApplication Jar not
> loaded.
> /home/jgallimore/dev/daytrader/tomee-server/target/apache-tomee/apps/daytrader-ear-1.1.ear.
> Message destination dt-ejb.jar#TradeBrokerQueue for message-destination-ref
> jms/TradeBrokerQueue not found org.apache.openejb.OpenEJBException: Message
> destination dt-ejb.jar#TradeBrokerQueue for message-destination-ref
> jms/TradeBrokerQueue not found at
> org.apache.openejb.config.AutoConfig.resolveDestinationId(AutoConfig.java:727)
> at
> org.apache.openejb.config.AutoConfig.resolveDestinationLinks(AutoConfig.java:587)
> at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:195) at
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:420)
> at
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:1033)
> at
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:852)
> at
> org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:547)
> at
> org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:630)
> at
> org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:514)
> at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:493)
> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150) at
> org.apache.openejb.OpenEJB.init(OpenEJB.java:307) at
> org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:245) at
> org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:169)
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
> at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:137) at
> org.apache.catalina.startup.Catalina.load(Catalina.java:690) at
> org.apache.catalina.startup.Catalina.load(Catalina.java:712) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:302) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:472)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)