You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jonathan Gallimore (Jira)" <ji...@apache.org> on 2020/03/27 13:36:00 UTC

[jira] [Created] (TOMEE-2792) CATALINA_BASE without conf/tomee.xml causes conf/openejb.xml file with defaults to be created.

Jonathan Gallimore created TOMEE-2792:
-----------------------------------------

             Summary: CATALINA_BASE without conf/tomee.xml causes conf/openejb.xml file with defaults to be created.
                 Key: TOMEE-2792
                 URL: https://issues.apache.org/jira/browse/TOMEE-2792
             Project: TomEE
          Issue Type: Bug
            Reporter: Jonathan Gallimore
            Assignee: Jonathan Gallimore


Steps to reproduce:
 * Create a CATALINA_HOME and CATALINA_BASE (per RUNNING.txt)
 * Ensure that CATALINA_BASE does not have conf/tomee.xml file
 * Start the server

Observe the following in the log:

27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> ********************************************************************************
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> OpenEJB http://tomee.apache.org/
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> Startup: Fri Mar 27 09:07:06 GMT 2020
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> Copyright 1999-2018 (C) Apache OpenEJB Project, All Rights Reserved.
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> Version: 8.0.1
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> Build date: 20200107
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> Build time: 02:43
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> ********************************************************************************
27-Mar-2020 09:07:06.549 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> openejb.home = /home/jgallimore/srv/apache-tomee-plus-8.0.1
27-Mar-2020 09:07:06.550 INFO [main] org.apache.openejb.OpenEJB$Instance.<init> openejb.base = /home/jgallimore/srv/apache-tomee-plus-8.0.1-base
27-Mar-2020 09:07:06.551 INFO [main] org.apache.openejb.cdi.CdiBuilder.initializeOWB Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@4a22f9e2
27-Mar-2020 09:07:06.553 INFO [main] org.apache.openejb.cdi.CdiBuilder.initializeOWB Succeeded in installing singleton service
27-Mar-2020 09:07:06.576 INFO [main] org.apache.openejb.config.ConfigUtils.searchForConfiguration Cannot find the configuration file [conf/openejb.xml]. Creating one at /home/jgallimore/srv/apache-tomee-plus-8.0.1-base/conf/openejb.xml

 

The newly created conf/openejb.xml is created from default.openejb.conf from openejb-core.

Need to see if this also affects single-instance installs (i.e. where CATALINA_HOME and CATALINA_BASE are the same) where conf/tomee.xml is missing.

Our Arquillian test adaptors run as a single instance - we should consider whether we could add another profile to run the full set of Arquillian tests with different CATALINA_HOME and CATALINA_BASE folders.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)