Ioan Eugen Stan created JAMES-3221:
--------------------------------------
Summary: What config is James loading and from where - log startup
information for operations
Key: JAMES-3221
URL: https://issues.apache.org/jira/browse/JAMES-3221
Project: James Server
Issue Type: Sub-task
Reporter: Ioan Eugen Stan
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?
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: [email protected]
For additional commands, e-mail: [email protected]