Project

General

Profile

Actions

bug #6764

open

If no datasource is defined jetty exits without error message on console

Added by Andreas Müller over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
New
Category:
cdmserver
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Found in Version:

Description

I started jetty from eclipse.

After

2017-06-28 18:19:40.841:INFO:oejshC.ROOT:main: Initializing Spring root WebApplicationContext

it stopped without giving any warnings or errors on the console.
Only in the logfile I found the the missing datasource was the reason.

This should always be shown on the console, too.


original message from chat:

.... im log stand dann irgendwo

18:08:32,111 ERROR AbstractWebApplicationConfigurer:101 - property {cdm.datasource} not found.
18:08:32,111 ERROR AbstractWebApplicationConfigurer:102 - --> This property can be set in three optional ways:
18:08:32,111 ERROR AbstractWebApplicationConfigurer:103 - -->       1. as attribute to the ServletContext
18:08:32,111 ERROR AbstractWebApplicationConfigurer:104 - -->       2. as system property e.g. -Dcdm.datasource
18:08:32,111 ERROR AbstractWebApplicationConfigurer:105 - -->       3. in ~/.cdmLibrary/cdmlib-remote.properties
18:08:32,111 ERROR AbstractWebApplicationConfigurer:106 - Stopping application 

... hatte ich nicht gesehen, weil auch das falsche Logfile auf. Aber seltsam das auf der Console nichts kommt

Actions

Also available in: Atom PDF