Any idea how to force these stacktraces to appear under the normal log file?
On Sunday, July 2, 2023 at 7:26:57 PM UTC+3 Petr Bodnár wrote:
> A tip to the original question (which was posted in a somewhat confusing
> format??):
>
> You get just this line without any useful error details:
>
> ERROR [org.springframework.boot.SpringApplication] - <Application run
> failed>
>
> This is because for some reasons, someone decided that logged stacktraces
> will go to a dedicated file *by default* - see the log4j2.xml of CAS
> webapp. So you should be able to find the associated error stacktrace
> inside "/tmp/logs/cas_stacktrace.log". The error might be for example
> caused by an incomplete setup for SSL ("server.ssl.enabled=true" is the
> default).
>
> On Monday, 22 May 2023 at 14:12:40 UTC+2 [email protected] wrote:
>
>> Sounds like it is looking for a cluster. So may need add another box and
>> it’s ip address in your cas.properties hazelcast cluster
>>
>> Eugene Willis Jr.
>> Post Creative strategist
>> (P.C.S.)
>> BlackNerdNinja
>> IndieboxKart Media
>> Gogotechsupport
>>
>> BlackNerdNinja.com
>>
>> #Nerd #goninjago
>>
>>
>> On May 22, 2023, at 1:46 AM, fasr favk <[email protected]> wrote:
>>
>> Hello, Am using the latest version of cas war overlay and i'am facing
>> this problem after running the command: gradle bootRun. i tried to clean
>> and rebuild but still having the same error :
>>
>> 2023-05-21 14:49:41,850 INFO
>> [org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator]
>>
>> - <Configuration directory [null] is not a directory or cannot be found at
>> the specific path>
>> 2023-05-21 14:49:41,967 INFO
>> [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] -
>> <Validated CAS property sources and configuration successfully.>
>> 2023-05-21 14:49:41,967 INFO [org.apereo.cas.web.CasWebApplication] -
>> <The following 1 profile is active: "standalone">
>> 2023-05-21 14:49:47,865 WARN
>> [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext]
>>
>> - <Exception encountered during context initialization - cancelling refresh
>> attempt: org.springframework.context.ApplicationContextException: Unable to
>> start web server>
>> 2023-05-21 14:49:47,993 ERROR
>> [org.springframework.boot.SpringApplication] - <Application run failed>
>>
>> --
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/da23c2d9-53ee-40dd-86e1-a2c2e15bffabn%40apereo.org
>>
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/da23c2d9-53ee-40dd-86e1-a2c2e15bffabn%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>>
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/4d4f513d-333e-43c0-b3b5-eeed659bf948n%40apereo.org.