Sonar

The Derby embedded database listens only on the loopback interface

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

the sonar maven plugin must be executed on the same host than the server because derby listens only on 127.0.0.1.
The first step is to add the following properties to conf/derby.properties :

#####

  1. Uncomment the two following properties if the embedded database is derby and if
  2. the sonar maven plugin is executed on a different host than the server.
  3. By default the Derby Network Server will only listen on the loopback address.
    #####
    #derby.drda.host=0.0.0.0
    #derby.drda.portNumber=1527

The problem is now to configure the security policy : http://db.apache.org/derby/docs/dev/adminguide/tadminnetservcustom.html

Activity

Hide
Simon Brandhof added a comment -

Derby should be used only for test/demo purposes. So this Derby limitation is a good thing, it enforces to use another database for production use. It will not be fixed.

Show
Simon Brandhof added a comment - Derby should be used only for test/demo purposes. So this Derby limitation is a good thing, it enforces to use another database for production use. It will not be fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: