Hi Reto, this happened probably because I got an OutOfMemoryError on a previous launch, which probably resulted in a data corruption. So, deleting the stanbol dir fixed it. I wouldn't get it easier because it looks to me that nothing in the logs reported the misconfiguration before I tried to access the application. Anyway, here are the answers to your questions:
On 16 April 2013 05:40, Reto Bachmann-Gmür <[email protected]> wrote: > Hi Enrico > > Apparently something went wrong on creating the system graph: > > > Do you see an error message that might show the cause the system graph > could not be created correctly? No, except for an OutOfMemoryError on a previous launch. > Did the error occured onthe first start of Stanbol? No, after the launch that produced the OutOfMemoryError > Do you get the same error on http://localhost:8080/system/console/? > Yes, as reported in the previous email > Does it still occur on a subsequent start? Yes > > Does it still occur when you delete the stanbol directory? > No, it then starts smoothly. Thank you Enrico > > Cheers, > Reto > > > On Mon, Apr 15, 2013 at 4:05 PM, enridaga <[email protected]> wrote: > >> Hi all, >> >> Looking at http://localhost:8080/ I obtain http 500: >> >> Caused by: java.lang.RuntimeException: Could not load unsafe method >> java.lang.Object.notifyAll() >> org.apache.clerezza.platform.security.UserUnregisteredException User >> anonymous does not exist in the system graph >> at >> freemarker.ext.beans.BeansWrapper.createUnsafeMethodsSet(BeansWrapper.java:1519) >> >> >> Looking for the felix console at http://localhost:8080/system/console I >> obtain 500: >> >> org.apache.clerezza.platform.security.UserUnregisteredException: User >> anonymous does not exist in the system graph >> at >> org.apache.clerezza.platform.security.UserAwarePolicy.getUserByName(UserAwarePolicy.java:204) >> >> >> I guess it is something related to security, and maybe there is a way of >> configure the default user but I was not able to find hints in the >> documentation about it. >> >> Any idea? Should I open an issue for that? >> >> >> Enrico >> >> -- >> >> ------------------------------------------------------------------------------ >> enridaga >> > > -- ------------------------------------------------------------------------------ enridaga
