tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1636) BrokerXmlConfig xbean:file:conf/activemq.xml resolves to bin directory
Date Thu, 08 Oct 2015 14:17:27 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948719#comment-14948719
] 

Romain Manni-Bucau commented on TOMEE-1636:
-------------------------------------------

[~andyg] this is not exactly true. You see it cause you launch tomee from bin directory. Launching
it from tomee.base will make your config working (path is relative to "pwd" for tomee)

I think we support ${catalina.base}/conf/amq.xml as path which is a more reliable solution

> BrokerXmlConfig xbean:file:conf/activemq.xml resolves to bin directory
> ----------------------------------------------------------------------
>
>                 Key: TOMEE-1636
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1636
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.7.2
>         Environment: NA
>            Reporter: Andy Gumbrecht
>             Fix For: 1.7.3
>
>
> BrokerXmlConfig xbean:file:conf/activemq.xml resolves to the TomEE bin directory.
> BrokerXmlConfig xbean:file:../conf/activemq.xml fails.
> TomEE should parse and resolve the file path as XBean seems to not use a canonical path
to reference this file.
> Possibly worth creating an xbean-spring issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message