Project

General

Profile

bug #6764

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

Added by Andreas Müller over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
New
Category:
cdmserver
Target version:
Start date:
06/28/2017
Due date:
% Done:

0%

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

History

#1 Updated by Andreas Kohlbecker over 1 year ago

  • Description updated (diff)

#2 Updated by Andreas Kohlbecker over 1 year ago

what was missing in your case andreas?

  • the ~/.cdmLibrary/datasources.xml file
  • the ~/.cdmLibrary/cdmlib-remote.properties file
  • the bean definition in datasources.xml

#3 Updated by Andreas Müller over 1 year ago

Andreas Kohlbecker wrote:

what was missing in your case andreas?

  • the ~/.cdmLibrary/datasources.xml file
  • the ~/.cdmLibrary/cdmlib-remote.properties file
  • the bean definition in datasources.xml

both files

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)