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

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

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

Mihai Andronache edited comment on TOMEE-2792 at 3/28/20, 8:54 AM:
-------------------------------------------------------------------

Hi [~jgallimore] 

This is Mihai, from the mailing list. I downloaded tomee 8.0.1, setup CATALINA_HOME and CATALINA_BASE and I started the server using /bin/startup.sh. However, in both cases (with or without tomee.xml) the log doesn't have any details, just a few lines general info:
 
{noformat}
Using CATALINA_BASE: /Users/amihaiemil/apache-tomee-plume-8.0.1
Using CATALINA_HOME: /Users/amihaiemil/apache-tomee-plume-8.0.1
Using CATALINA_TMPDIR: /Users/amihaiemil/apache-tomee-plume-8.0.1/temp
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home
Using CLASSPATH: /Users/amihaiemil/apache-tomee-plume-8.0.1/bin/bootstrap.jar:/Users/amihaiemil/apache-tomee-plume-8.0.1/bin/tomcat-juli.jar
Tomcat started.
{noformat}

How can I enable verbose logging?

*EDIT*: Nevermind, I found out about the Logging_Properties variable and the /logs folder that gets created.

Best regards,
Mihai


was (Author: amihaiemil):
Hi [~jgallimore] 

This is Mihai, from the mailing list. I downloaded tomee 8.0.1, setup CATALINA_HOME and CATALINA_BASE and I started the server using /bin/startup.sh. However, in both cases (with or without tomee.xml) the log doesn't have any details, just a few lines general info:
 
{noformat}
Using CATALINA_BASE: /Users/amihaiemil/apache-tomee-plume-8.0.1
Using CATALINA_HOME: /Users/amihaiemil/apache-tomee-plume-8.0.1
Using CATALINA_TMPDIR: /Users/amihaiemil/apache-tomee-plume-8.0.1/temp
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home
Using CLASSPATH: /Users/amihaiemil/apache-tomee-plume-8.0.1/bin/bootstrap.jar:/Users/amihaiemil/apache-tomee-plume-8.0.1/bin/tomcat-juli.jar
Tomcat started.
{noformat}

How can I enable verbose logging?

Best regards,
Mihai

> 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
>            Priority: Major
>
> 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)