Issue Details (XML | Word | Printable)

Key: SONAR-154
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Simon Brandhof
Reporter: Simon Brandhof
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sonar

The Derby embedded database listens only on the loopback interface

Created: 23/Jan/08 11:42 AM   Updated: 27/Mar/08 02:27 PM   Resolved: 27/Feb/08 10:17 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide

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



Freddy Mallet made changes - 28/Jan/08 02:33 PM
Field Original Value New Value
Fix Version/s 1.2 [ 14022 ]
Simon Brandhof added a comment - 27/Feb/08 10:17 AM

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.


Simon Brandhof made changes - 27/Feb/08 10:17 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]
Simon Brandhof made changes - 27/Feb/08 10:17 AM
Fix Version/s 1.2 [ 14022 ]
Simon Brandhof made changes - 27/Mar/08 02:27 PM
Status Resolved [ 5 ] Closed [ 6 ]