AnsweredAssumed Answered

Tomcat is not running

Question asked by vald on Aug 6, 2014
Latest reply on Aug 7, 2014 by mattl
Hi,

I'm pretty new to alfresco. I deployed alfresco using alfresco-enterprise-5.0-installer-win-x32.exe. My os is windows 7 sp1 and this installer comes with a tomcat version 7. I am not able to start tomcat using manager tool. The application log is this
Starting Tomcat Server…
Exit code: 1
Stdout:

Stderr:
Unknown error starting tomcat

So I tried to run tomcat through the startup.bat in the bin folder of the tomcat home directory in alfresco. when I start it, the console throws java.lang.OutOfMemoryError
I'm pasting the console output for your reference. any help would be highly appreciated.
1)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:2957)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:1210)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1690)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1571)
        at org.jaxen.expr.DefaultXPathFactory.createPathExpr(DefaultXPathFactory
.java:84)
        at org.jaxen.JaxenHandler.endPathExpr(JaxenHandler.java:217)
        at org.jaxen.saxpath.base.XPathReader.pathExpr(XPathReader.java:195)
        at org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1007)
        at org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:995)
        at org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.jav
a:943)
        at org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:913)

        at org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:86
0)
        at org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:829)

        at org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:809)
        at org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:787)
        at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:780)
        at org.jaxen.saxpath.base.XPathReader.arguments(XPathReader.java:238)
        at org.jaxen.saxpath.base.XPathReader.functionCall(XPathReader.java:227)

        at org.jaxen.saxpath.base.XPathReader.filterExpr(XPathReader.java:279)
        at org.jaxen.saxpath.base.XPathReader.pathExpr(XPathReader.java:161)
        at org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1007)
        at org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:995)
        at org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.jav
a:943)
        at org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:913)

        at org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:86
0)
        at org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:829)

        at org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:809)
        at org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:787)
        at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:780)

рту 06, 2014 10:52:37 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of clas
s org.alfresco.repo.webdav.WebDAVSessionListener
org.alfresco.error.AlfrescoRuntimeException: 07060001 Workflow deployment failed

        at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.jav
a:345)
        at org.alfresco.repo.workflow.WorkflowDeployer$1$1.doWork(WorkflowDeploy
er.java:469)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(Au
thenticationUtil.java:548)
        at org.alfresco.repo.workflow.WorkflowDeployer$1.execute(WorkflowDeploye
r.java:465)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:454)
        at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeplo
yer.java:460)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onAppl
icationEvent(AbstractLifecycleBean.java:56)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicas
tEventInternal(SafeApplicationEventMulticaster.java:209)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicas
tEvent(SafeApplicationEventMulticaster.java:180)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:303)
        at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:911)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:428)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:4973)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5467)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:87
7)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073
)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
1857)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
1)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:2957)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:1210)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1690)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1571)
        at org.jaxen.expr.DefaultXPathFactory.createPathExpr(DefaultXPathFactory
.java:84)
        at org.jaxen.JaxenHandler.endPathExpr(JaxenHandler.java:217)
        at org.jaxen.saxpath.base.XPathReader.pathExpr(XPathReader.java:195)
        at org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1007)
        at org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:995)
        at org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.jav
a:943)
        at org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:913)

        at org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:86
0)
        at org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:829)

        at org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:809)
        at org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:787)
        at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:780)
        at org.jaxen.saxpath.base.XPathReader.arguments(XPathReader.java:238)
        at org.jaxen.saxpath.base.XPathReader.functionCall(XPathReader.java:227)

        at org.jaxen.saxpath.base.XPathReader.filterExpr(XPathReader.java:279)
        at org.jaxen.saxpath.base.XPathReader.pathExpr(XPathReader.java:161)
        at org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1007)
        at org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:995)
        at org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.jav
a:943)
        at org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:913)

        at org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:86
0)
        at org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:829)

        at org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:809)
        at org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:787)
        at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:780)

рту 06, 2014 10:52:37 AM com.sun.xml.ws.transport.http.servlet.WSServletContextL
istener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
рту 06, 2014 10:52:38 AM com.sun.xml.ws.transport.http.servlet.WSServletContextL
istener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.OutOfMemoryEr
ror: PermGen space
java.lang.OutOfMemoryError: PermGen space

рту 06, 2014 10:52:41 AM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen spa
ce
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1123)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.
java:300)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:443)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:731)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: java.lang.OutOfMemoryError: PermGen space

рту 06, 2014 10:52:41 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Alfresco5\tomcat\webapps\awe.war
рту 06, 2014 10:52:41 AM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable to sta
rt.
org.apache.catalina.LifecycleException: Failed to start component [StandardServe
r[8005]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [St
andardService[Catalina]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:731)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        … 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [St
andardEngine[Catalina]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:443)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        … 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed duri
ng start
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1131)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.
java:300)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        … 11 more

рту 06, 2014 10:52:41 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-8080"]
рту 06, 2014 10:52:42 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-apr-8009"]
рту 06, 2014 10:52:42 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8443"]
рту 06, 2014 10:52:42 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Exception in thread "main" рту 06, 2014 10:52:44 AM org.apache.catalina.startup.
HostConfig deployWAR
INFO: Deploying web application archive C:\Alfresco5\tomcat\webapps\share.war

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "main"
2014-08-06 10:52:45,895  ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Q
uartzSchedulerThread] An error occured instantiating job to be executed. job= 'S
olr.CoreTracker-archive'
org.quartz.SchedulerException: Problem instantiating class 'org.alfresco.solr.t
racker.CoreTrackerJob' -  [See nested exception: java.lang.OutOfMemoryError: Per
mGen space]
        at org.quartz.core.JobRunShell.initialize(JobRunShell.java:147)
        at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:
365)
Caused by: java.lang.OutOfMemoryError: PermGen space
рту 06, 2014 10:52:45 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Alfresco5\tomcat\webapps\wcmqs.war
2014-08-06 10:53:00,931  ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Q
uartzSchedulerThread] An error occured instantiating job to be executed. job= 'S
olr.CoreTracker-alfresco'
org.quartz.SchedulerException: Problem instantiating class 'org.alfresco.solr.t
racker.CoreTrackerJob' -  [See nested exception: java.lang.OutOfMemoryError: Per
mGen space]
        at org.quartz.core.JobRunShell.initialize(JobRunShell.java:147)
        at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:
365)
Caused by: java.lang.OutOfMemoryError: PermGen space
2014-08-06 10:53:01,239  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler_
Worker-3] Tracking communication timed out.
2014-08-06 10:53:15,013  WARN  [solr.tracker.CoreTracker] [SolrTrackerScheduler
_Worker-1] Tracking communication timed out.
2014-08-06 10:56:00,841  ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_
QuartzSchedulerThread] An error occured instantiating job to be executed. job= '
Solr.CoreWatcher'
org.quartz.SchedulerException: Problem instantiating class 'org.alfresco.solr.t
racker.CoreWatcherJob' -  [See nested exception: java.lang.OutOfMemoryError: Per
mGen space]
        at org.quartz.core.JobRunShell.initialize(JobRunShell.java:147)
        at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:
365)
Caused by: java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[192.168.5.166:63735,org.alfresco.util.remot
e.server.socket.HostConfigurableSocketFactory@0]"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "RMI RenewClean-[192.168.5.166:63735,org.alfresco.util.remote.server.so
cket.HostConfigurableSocketFactory@0]"

Outcomes