cancel
Showing results for 
Search instead for 
Did you mean: 

text must begin with '{' at character 0

paulinux
Champ in-the-making
Champ in-the-making

No puedo iniciar Sesión como Admin pero si con los usuarios.

Me pueden ayudar?

Muchas Gracias!!

SEVERE: Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Request processing failed; nested exception is org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository] with root cause
org.json.JSONException: A JSONObject text must begin with '{' at character 0

2017-12-07 10:28:20,187 ERROR [alfresco.web.site] [http-apr-8080-exec-3] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository
org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository

Caused by: org.json.JSONException: A JSONObject text must begin with '{' at character 0

12 REPLIES 12

Podrías activar la vista de Desarrollo en el navegador para ver qué diferencia hay entre la petición POST de Login del usuario admin y la de otro usuario que funcione.

Hyland Developer Evangelist

paulinux
Champ in-the-making
Champ in-the-making

Active la vista desarrollador y encontré un error al conectarme como usuario ldap y el usuario admin.

Usuario Ldap:

Usuario Admin:

Se concatena la URL: http://alfresco-qa.mop.gov.cl/shareshareshareshareshareshareshareshareshareshareshareshareshareshare... 

cristinamr
World-Class Innovator
World-Class Innovator

Uhmmmm, ese error lo tuve hace muuuucho tiempo y estaba relacionado con el usuario guest. ¿Lo tienes desactivado por un casual? Mira en el global properties algo como alfresco.authentication.allowGuestLogin=false o en, caso de tener configuración ldap, algo como ldap.authentication.allowGuestLogin=false.

Una prueba rápida: Ponlo a true y mira a ver si puedes acceder.

Si no recuerdo mal, el problema era que teníamos desarrollos que usaban el usuario guest, y al tenerlo desactivado petaba 😛

Echale un vistazo por si es lo mismo (a nosotros recuerdo que nos dió autentico dolor de cabeza dar con esta tontería en su momento).

Cris.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc