Error 404 al reiniciar server - Solucionado

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

Error 404 al reiniciar server - Solucionado

Hola soy nuevo en alfresco explico mi situación:
Monte una maquina win 2003 server desde cero con todas las actulizaciones de MS, luego instalé la version comunidad (3.2), hice un par de pruebas todo corre muy bien.
Al momento de apagar y enceder el servidor manda el error:

Estado HTTP 404 - 

——————————————————————————–

type Informe de estado

mensaje

descripci�n El recurso requerido () no est� disponible.


——————————————————————————–

Apache Tomcat/6.0.18

El log lo dejo acá:

05:46:35,796 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
05:46:35,812 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
05:46:35,812 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
05:46:35,968 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
05:47:18,390 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
05:47:23,421 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
05:47:30,265 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
05:47:30,328 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
05:47:33,906 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
05:47:33,906 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
05:47:34,218 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
05:47:34,265 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
05:47:34,796 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
05:47:34,921 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
05:47:35,000 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
05:47:35,203 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
05:47:35,281 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
05:47:36,062 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
05:47:36,109 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
05:47:37,531 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
05:47:37,828 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
05:47:37,828 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
05:47:37,890 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
05:47:38,218 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
05:47:38,218 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
05:47:38,250 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
05:47:38,359 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
05:47:38,562 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
05:47:38,562 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (2039) schema 2019 - Installed version 3.2.0 (2039) schema 2019
05:47:39,640 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
05:47:39,656 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
java.lang.RuntimeException: No root found for :
   root path: /app:company_home/st:sites
   at org.alfresco.module.vti.handler.alfresco.VtiPathHelper$2.doWork(VtiPathHelper.java:502)
   at org.alfresco.module.vti.handler.alfresco.VtiPathHelper$2.doWork(VtiPathHelper.java:484)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
   at org.alfresco.module.vti.handler.alfresco.VtiPathHelper.onBootstrap(VtiPathHelper.java:482)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
05:47:54,687 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@1de6a21: display name [Root WebApplicationContext]; startup date [Sun Dec 20 05:47:54 PST 2009]; root of context hierarchy
05:47:56,281 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@1de6a21]: org.springframework.beans.factory.support.DefaultListableBeanFactory@87be2a
05:48:01,156 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
05:48:01,187 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 727.90985ms)
05:48:01,531 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs
05:48:01,562 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 335.80637ms)
05:48:01,625 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
05:48:09,453 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
05:51:17,234 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
06:14:08,484 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Closing org.alfresco.config.JBossEnabledWebApplicationContext@1de6a21: display name [Root WebApplicationContext]; startup date [Sun Dec 20 05:47:54 PST 2009]; root of context hierarchy
06:18:13,953 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
06:18:13,968 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
06:18:13,968 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
06:18:14,046 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:18:49,390 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
06:18:52,015 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
06:18:57,093 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
06:18:57,125 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:18:59,546 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
06:18:59,671 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
06:18:59,828 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
06:19:00,421 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
06:19:00,546 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
06:19:00,609 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
06:19:00,734 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
06:19:00,750 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:19:01,078 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
06:19:01,093 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:19:01,671 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
06:19:01,734 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
06:19:01,734 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
06:19:01,750 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:19:01,812 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
06:19:01,812 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
06:19:01,828 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
06:19:01,828 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
06:19:01,875 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
06:19:01,875 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (2039) schema 2019 - Installed version 3.2.0 (2039) schema 2019
06:19:02,578 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
06:19:02,609 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
java.lang.RuntimeException: No root found for :
   root path: /app:company_home/st:sites
   at org.alfresco.module.vti.handler.alfresco.VtiPathHelper$2.doWork(VtiPathHelper.java:502)
   at org.alfresco.module.vti.handler.alfresco.VtiPathHelper$2.doWork(VtiPathHelper.java:484)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
   at org.alfresco.module.vti.handler.alfresco.VtiPathHelper.onBootstrap(VtiPathHelper.java:482)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
06:19:07,250 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@1e2eace: display name [Root WebApplicationContext]; startup date [Sun Dec 20 06:19:07 PST 2009]; root of context hierarchy
06:19:07,968 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@1e2eace]: org.springframework.beans.factory.support.DefaultListableBeanFactory@475ec1
06:19:10,000 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
06:19:10,031 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 260.99405ms)
06:19:10,218 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs
06:19:10,234 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 179.72285ms)
06:19:10,281 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
06:19:14,937 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
06:22:20,843 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

Deshabilite el firewall, reinicie los servicios pero sigue el error, lo unico sospechoso son los mensajes de "No root found for :… "
Solo trabaje eliminando espacios, creando usuario, y lo pasé al español, pero nada sospechoso
¿Alguna sugerencia, cambio o lectura que me recomienden?

Grax Smiley Happy
8 Replies
pjcaracuel_2349
Active Member II

Re: Error 404 al reiniciar server - Solucionado

Buenas,

java.lang.RuntimeException: No root found for :
   root path: /app:company_home/st:sites

¿Has borrado el espacio Site? es un espacio del sistema y no deberias hacerlo. Prueba a restaurarlo desde la ventana de administracion del usuario.

Saludos
doctorpc
Member II

Re: Error 404 al reiniciar server - Solucionado

Si, borré algunas carpetas Smiley Tongue, me salió el mensaje de que podía fallar la aplicación, pero como uno es terco, borra cosas no mas..
Fue para personalizar un poco las carpetas… ¿alguna otra carpeta de sistema que no deba borrar?
la otra pregunta ¿como puedo restaurar desde la ventana de admnistracion de usuario si no puedo entrar a alfresco? ¿hay otra manera de entrar  Smiley Surprisedops: ?

Muchas gracias por la rapida respuesta Smiley Happy
pjcaracuel_2349
Active Member II

Re: Error 404 al reiniciar server - Solucionado

Upssssssss….. efectivamente llevas razon, si no puedes acceder a la aplicacion dificilmente podras realizar el restore. Entiendo que no tendras ningun backup hecho, entonces y al ser una instalacion digamos que de pruebas, lo mas rapido es borrar la bbdd y volver a desplegar alfresco de nuevo.

Saludos
doctorpc
Member II

Re: Error 404 al reiniciar server - Solucionado

Efectivamente no tengo backup (pero no es problema reinstalar), y aprovecho el espacio para preguntar a grandes rasgos el como hacer un backup, ¿alfresco tiene integrado un modulo de backup o hay que hacerlo directamente con el gestor de BD y copiar las carpetas a mano?…
Voy a reinstalar y fijarme bien en que carpetas borro xD

Muchas gracias nuevamente!
pjcaracuel_2349
Active Member II

Re: Error 404 al reiniciar server - Solucionado

El backup de Alfresco no viene con el, es una estrategia que tienes que seguir tu.

http://wiki.alfresco.com/wiki/Backup_and_Restore
http://wiki.alfresco.com/wiki/Backup_under_Windows_XP

Saludos
doctorpc
Member II

Re: Error 404 al reiniciar server - Solucionado

Oka, el error fue por borrar espacios con archivos de sistema.

Favor cerrar caso Smiley Happy
pjcaracuel_2349
Active Member II

Re: Error 404 al reiniciar server - Solucionado

Buenas,

Los casos se cierran, pero si puedes editar tu post inicial y añadirle -CERRADO.

Saludos
magracia
Member II

Error 404 al reiniciar server

Buenos dias,

Necesito ayuda con Alfresco lo instalo un compañero y hoy me he encontrado que aparece el error http 404.

al acceder al http://localhost:8080/alfresco, me dice que el recurso requerido () no esta disponible

Apache tomcat /6.0.26

Me podeis ayudar por favor???