You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Ioan Eugen Stan (Jira)" <se...@james.apache.org> on 2020/06/16 00:36:00 UTC

[jira] [Assigned] (JAMES-3221) What config is James loading and from where - log startup information

     [ https://issues.apache.org/jira/browse/JAMES-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioan Eugen Stan reassigned JAMES-3221:
--------------------------------------

    Assignee: Ioan Eugen Stan

> What config is James loading and from where - log startup information
> ---------------------------------------------------------------------
>
>                 Key: JAMES-3221
>                 URL: https://issues.apache.org/jira/browse/JAMES-3221
>             Project: James Server
>          Issue Type: Sub-task
>            Reporter: Ioan Eugen Stan
>            Assignee: Ioan Eugen Stan
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I've setup Apache James to run inside docker.
> I have made a mistake and James throws an error on start.
> As an operator I would like to know what James is actually doing when starting up so I can validate that my configuration works ok.
> I don't know where is the location where James is loading my configuration files. 
> From the sample bellow, I can't figure out where is James looking for my configuration. 
> What files is it loading and from where? 
> Spring Boot has some nice starting information. I don't have samples right now to offer.
> Code to raise the issue: 
> https://github.com/ieugen/james-self-hosting-sandbox/commit/36e2b193d4368a8eeb365a4abcc983ba7a2092e2
> {noformat}
> james_1        | WARNING: An illegal reflective access operation has occurred
> james_1        | WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/apache-james/james-server/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> james_1        | WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> james_1        | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> james_1        | WARNING: All illegal access operations will be denied in a future release
> james_1        | 21:39:31.103 [ERROR] o.a.j.GuiceJamesServer - Fatal error while starting James
> james_1        | java.io.FileNotFoundException: james-database
> james_1        | 	at org.apache.james.utils.PropertiesProvider.lambda$getConfiguration$1(PropertiesProvider.java:71)
> james_1        | 	at java.base/java.util.Optional.orElseThrow(Unknown Source)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org