Hi On Tue, Apr 16, 2013 at 6:09 PM, harish suvarna <[email protected]> wrote: > What all gets stored in the stanbol directory? Do we need to delete the > stanbol folder everytime we get an exception? >
This folder contains the whole configuration of your Stanbol instance. Deleting it is like starting the server the first time. All your configurations, indexes ... will be lost. So while deleting the folder might be helpful for identifying issues it is not something you might want todo on an production server. Related to this you might want to have a look at the "Stanbol in Production Mode" [1] section of the Stanbol Webpage. best Rupert [1] http://stanbol.apache.org/docs/trunk/production-mode/ > > On Tue, Apr 16, 2013 at 1:53 AM, enridaga <[email protected]> wrote: > >> 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 >> > > > > -- > Thanks > Harish -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen
