Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 405740

Summary: Console warnings about guest credential service when server is started
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Mark Macdonald <mamacdon>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne
Version: 3.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-04-15 12:44:26 EDT
1. download orion
2. start server
3. see errors

Command-line arguments:  -os win32 -ws win32 -arch x86 -consoleLog -console -data serverworkspace

!ENTRY org.eclipse.equinox.ds 4 0 2013-04-15 12:41:07.857
!MESSAGE Could not bind a reference of component org.eclipse.orion.server.authentication.form. The reference i
s: Reference[name = GuestUserAdmin, interface = org.eclipse.orion.server.useradmin.IOrionGuestCredentialsServi
ce, policy = dynamic, cardinality = 0..1, target = null, bind = setGuestUserAdmin, unbind = unsetGuestUserAdmi
n]

!ENTRY org.eclipse.equinox.ds 4 0 2013-04-15 12:41:07.867
!MESSAGE Could not bind a reference of component org.eclipse.orion.server.authentication.form. The reference i
s: Reference[name = GuestUserAdmin, interface = org.eclipse.orion.server.useradmin.IOrionGuestCredentialsServi
ce, policy = dynamic, cardinality = 0..1, target = null, bind = setGuestUserAdmin, unbind = unsetGuestUserAdmi
n]

!ENTRY org.eclipse.equinox.ds 4 0 2013-04-15 12:41:07.899
!MESSAGE Could not bind a reference of component org.eclipse.orion.server.core.useradmin. The reference is: Re
ference[name = GuestUserAdmin, interface = org.eclipse.orion.server.useradmin.IOrionGuestCredentialsService, p
olicy = dynamic, cardinality = 0..1, target = null, bind = setGuestUserAdmin, unbind = unsetGuestUserAdmin]

!ENTRY org.eclipse.equinox.ds 4 0 2013-04-15 12:41:07.909
!MESSAGE Could not bind a reference of component org.eclipse.orion.server.core.useradmin. The reference is: Re
ference[name = GuestUserAdmin, interface = org.eclipse.orion.server.useradmin.IOrionGuestCredentialsService, p
olicy = dynamic, cardinality = 0..1, target = null, bind = setGuestUserAdmin, unbind = unsetGuestUserAdmin]
osgi>

The guest service is an optional feature, but this log spam is disturbing and needs to be fixed. Should either include the guest bundle by default so this service reference is satisfied, or made into an "optional" service reference that doesn't nag you (if such a thing exists?).
Comment 1 John Arthorne CLA 2013-04-15 13:35:26 EDT
(In reply to comment #0)
> The guest service is an optional feature, but this log spam is disturbing
> and needs to be fixed. Should either include the guest bundle by default so
> this service reference is satisfied, or made into an "optional" service
> reference that doesn't nag you (if such a thing exists?).

I think it already is optional, since you have cardinality set to 0..1. I think pulling this bundle into the build is a fine answer, assuming it won't ever be used unless the server is explicitly configured for it.
Comment 2 Mark Macdonald CLA 2013-04-15 13:50:14 EDT
(In reply to comment #1)
> I think it already is optional, since you have cardinality set to 0..1. I
> think pulling this bundle into the build is a fine answer, assuming it won't
> ever be used unless the server is explicitly configured for it.

That is indeed the case -- the guest config option is disabled by default. You have to explicitly enable it in your orion.conf.
Comment 3 Mark Macdonald CLA 2013-11-11 14:14:41 EST

*** This bug has been marked as a duplicate of bug 421481 ***