AnsweredAssumed Answered

Alfresco Server does not start after system reboot

Question asked by sydforum on Apr 27, 2009
Latest reply on May 25, 2011 by mrogers
i m using 3.1 stable community version on an XP machine. After installation the Alfresco Server starts up perfectly for the first time, but when you reboot the machine both the Server & Virtual server gives error and does not start.
below is the error

Apr 27, 2009 1:58:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Apr 27, 2009 1:58:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 413 ms
Apr 27, 2009 1:58:16 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 27, 2009 1:58:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Apr 27, 2009 1:58:16 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Apr 27, 2009 1:58:18 PM org.apache.catalina.core.StandardContext addApplicationL
istener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is
already configured for this context. The duplicate definition has been ignored.
13:58:30,115  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading pro
perties file from class path resource [alfresco/file-servers.properties]
13:58:36,506  INFO  [domain.schema.SchemaBootstrap] Schema managed by database d
ialect org.hibernate.dialect.MySQLInnoDBDialect.
13:58:36,975  INFO  [domain.schema.SchemaBootstrap] No changes were made to the
schema.
13:58:38,115 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco ro
ot data directory ('dir.root') is: C:\Alfresco\alf_data
13:58:38,178 User:System INFO  [admin.patch.PatchExecuter] Checking for patches
to apply …
13:58:38,350 User:System INFO  [admin.patch.PatchExecuter] No patches were requi
red.
13:58:38,365 User:System INFO  [repo.module.ModuleServiceImpl] Found 1 module(s)
.
13:58:38,397 User:System INFO  [repo.module.ModuleServiceImpl] Starting module '
org.alfresco.module.vti' version 1.0.
13:58:38,912 User:System INFO  [service.descriptor.DescriptorService] Alfresco J
VM - v1.6.0_07-b06; maximum heap size 493.063MB
13:58:38,912 User:System WARN  [service.descriptor.DescriptorService] Alfresco J
VM - WARNING - maximum heap size 493.063MB is less than recommended 512MB
13:58:38,912 User:System INFO  [service.descriptor.DescriptorService] Alfresco s
tarted (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed versi
on 3.0.0 (Stable 1526) schema 1002
2009-04-27 13:58:38.975::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2009-04-27 13:58:39.06::INFO:  jetty-6.1.14
2009-04-27 13:58:39.037::INFO:  Started SocketConnector@0.0.0.0:7070
13:58:39,053 User:System ERROR [web.context.ContextLoader] Context initializatio
n 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(VtiPa
thHelper.java:502)
        at org.alfresco.module.vti.handler.alfresco.VtiPathHelper$2.doWork(VtiPa
thHelper.java:484)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(Au
thenticationUtil.java:437)
        at org.alfresco.module.vti.handler.alfresco.VtiPathHelper.onBootstrap(Vt
iPathHelper.java:482)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLi
fecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecut
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:187)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        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(Lifecycl
eSupport.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:5
16)
        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(DelegatingMethodAcces
sorImpl.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)
Apr 27, 2009 1:58:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 27, 2009 1:58:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.
Apr 27, 2009 1:58:40 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
13:58:42,241  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
Apr 27, 2009 1:58:42 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
13:58:43,678  INFO  [web.scripts.DeclarativeRegistry] Registered 67 Web Scripts
(+0 failed), 71 URLs
13:58:43,678  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentat
ion Web Script Container (in 220.757ms)
Exception in thread "CIFS Server" java.lang.NullPointerException
        at org.alfresco.jlan.debug.Debug.println(Debug.java:93)
        at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:550)
        at java.lang.Thread.run(Thread.java:619)
log4j:WARN No appenders could be found for logger (org.quartz.core.QuartzSchedul
erThread).
log4j:WARN Please initialize the log4j system properly.
13:59:44,541  INFO  [web.scripts.DeclarativeRegistry] Registered 101 Web Scripts
(+0 failed), 105 URLs
13:59:44,541  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramew
ork Web Script Container (in 60855.207ms)
13:59:44,588  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
Apr 27, 2009 1:59:44 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 27, 2009 1:59:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 87850 ms
java.lang.NullPointerException
        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:84
)
Exception in thread "AlfrescoJbpmJobExector:192.168.0.172:1" java.lang.NullPoint
erException
        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:10
0)


Virtual Server error
INFO: Loading properties file from URL [file:C:/Alfresco/virtual-tomcat/conf/alf
resco-shared.properties]
Apr 27, 2009 2:28:09 PM org.springframework.core.io.support.PropertiesLoaderSupp
ort loadProperties
INFO: Loading properties file from URL [file:C:/Alfresco/virtual-tomcat/conf/alf
resco-virtserver.properties]
Apr 27, 2009 2:28:09 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory@6ed322: defining beans [virtserver-properties,avmReau
thenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationServ
ice,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attribut
eServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo,virtS
erverMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWebap
pRegistry,cacheControlInfo]; root of factory hierarchy
Apr 27, 2009 2:28:09 PM org.springframework.beans.factory.support.DefaultSinglet
onBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.Default
ListableBeanFactory@6ed322: defining beans [virtserver-properties,avmReauthentic
atingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationService,avm
Remote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attributeServic
eTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo,virtServerMB
eanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWebappRegist
ry,cacheControlInfo]; root of factory hierarchy

Outcomes