Problemas al realizar el Logeo

cancel
Showing results for 
Search instead for 
Did you mean: 
dseco
Member II

Problemas al realizar el Logeo

Alfresco ha presentado intermitencia, en un momento dejó de funcionar y me indicaba que en determinada linea se generaba un error. Baje el servicio y lo levanté nuevament, como resultado obtuve que al llamar a la página principal se desplegaba un mensaje que me indicaba que el recurso no estaba disponible, se generaba un error 404. Después de un parte de bajadas y subidas pude activar la página principal e ingresar los datos de usuario y clave, pero ahora obtengo el siguiente error



Primer error
GRAVE: Excepci�n enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath*:alfresco/extension/*-context.xml]
Offending resource: class path resource [alfresco/application-context.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 24 in XML document from file [C:\Alfresco\tomcat\shared\classes\alfresco\extension\ntlm-authentication-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 24 in XML document from file [C:\Alfresco\tomcat\shared\classes\alfresco\extension\ntlm-authentication-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".
Caused by: org.xml.sax.SAXParseException: Element type "bean" must be followed by either attribute specifications, ">" or "/>".


Error actual
javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
org.alfresco.error.AlfrescoRuntimeException: Not implemented

¿Si no puedo realizar el logeo, como puedo obtener todos los archivos que he cargado al sistema?..en caso que no pueda hacer funcionar ALFRESCO
7 Replies
pjcaracuel_2349
Active Member II

Re: Problemas al realizar el Logeo

Buenas,

El error muestra que un fichero ntlm-authentication-context.xml, esta mal formado.
Editalo con un editor xml y comprueba que este bien formado.

Si no arranca, no podras acceder a los documentos almacenados en Alfresco.

Saludos
dseco
Member II

Re: Problemas al realizar el Logeo

El fin de tag en rojo no estaba, al momento de llamar la URL de conexión se presentaba el mensaje de error 404 y se indicaba que el recurso no estaba disponible, mensaje que envía APACHE. Este archivo nunca lo había manipulado, es más, no sabía que existía. Después de incorporar el ">" cierre de tag puede levantar la página de logeo y al momento de logearme se despliega el error que reporte.´


<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>

   <bean id="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" >
         <property name="allowSetEnabled" value="true" />
         <property name="allowGetEnabled" value="true" />
         <property name="allowDeleteUser" value="true" />
         <property name="allowCreateUser" value="true" />
   </bean>

   <!– The authentication component.                                      –>
   <!– Use the passthru authentication component to authenticate using    –>
   <!– user accounts on one or more Windows servers.                      –>
   <!– Properties that specify the server(s) to use for passthru          –>
   <!– authentication :-                                                  –>
   <!–   useLocalServer   use the local server for authentication         –>
   <!–   domain           use domain controllers from the specified domain–>
   <!–   servers          comma delimted list of server addresses or      –>
   <!–                    names                                           –>
   <bean id="authenticationComponentImpl"         class="org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl"          parent="authenticationComponentBase">———–este tag era el faltante
      <property name="useLocalServer">          
         <value>false</value>
      </property>

      <property name="servers">
                 <value>IP_Respectiva</value>
      </property>

      <property name="personService">
                 <ref bean="personService" />
      </property>

      <property name="nodeService">
                 <ref bean="nodeService" />
      </property>

      <property name="transactionService">
                 <ref bean="transactionComponent" />
      </property>

      <property name="guestAccess">
                 <value>true</value>
      </property>
   </bean>
</beans>
pjcaracuel_2349
Active Member II

Re: Problemas al realizar el Logeo

Vale, postea el contenido de alfresco.log, que seguramente nos dara una pista de lo que pasa.

Saludos
dseco
Member II

Re: Problemas al realizar el Logeo

09:55:43,296 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
09:56:30,609 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
09:56:34,968 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
09:56:43,671 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
09:56:43,734 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
09:56:44,203 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
09:56:44,218 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
09:56:46,312 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
09:56:46,437 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
09:56:46,437 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
09:58:00,390 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
NFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
09:57:49,250 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 1380.8595ms)
09:58:52,515 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
09:58:52,531 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 63230.93ms)
09:58:52,671 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
12:47:12,734 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
12:48:00,515 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
12:48:04,406 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
12:48:12,250 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
12:48:12,296 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
12:48:12,765 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
12:48:12,796 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
12:48:14,718 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
12:48:23,937 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
12:48:23,937 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
12:49:07,734 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
12:49:18,875 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
12:49:29,484 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
12:49:29,484 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 1215.4304ms)
12:50:31,812 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
12:50:31,828 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 62301.234ms)
12:50:31,968 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
pjcaracuel_2349
Active Member II

Re: Problemas al realizar el Logeo

Buenas,

Perdona pero en la traza que has puesto no veo ningun error. Seguro que ese es todo el contenido de Alfresco.log?

Saludos
dseco
Member II

Re: Problemas al realizar el Logeo

Contenido del archivo Alfresco:

11:29:58,250 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
11:30:32,140 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
11:30:36,156 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
11:30:50,921 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
11:30:51,046 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
11:30:51,640 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
11:30:51,656 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
11:30:54,171 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
11:30:54,640 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
11:30:54,640 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
11:33:00,468 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
NFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
11:32:20,484 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 1230.6119ms)
11:33:23,953 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
11:33:23,968 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 63445.324ms)
11:33:24,171 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework


Mensaje desplegado después de ingresar usuario y clave (admin)

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
org.alfresco.error.AlfrescoRuntimeException: Not implemented
pjcaracuel_2349
Active Member II

Re: Problemas al realizar el Logeo

Te recomiendo que le eches un vistazo a este post y ya nos contaras que tal fue.
http://forums.alfresco.com/en/viewtopic.php?f=8&t=7162

Saludos