linux - Tomcat not getting started after drive swap -
one of our linux tomcat server running out of disk space, hence have added new drive it. have mounted new drive /xyz_new.
the drive full mounted /xyz. have copied tomcat web application data /xyz /xyz_new , have swapped /xyz_new /xyz. data on /xyz. problem when start tomcat services after drive swap, not getting started , gives error below catalina logs:
severe: error deploying web application directory xxxx java.lang.nosuchmethoderror: org.apache.naming.resources.basedircontext.setcacheobjectmaxsize(i)v @ org.apache.catalina.core.standardcontext.setresources(standardcontext.java:2070) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4482) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:799) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:779) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:601) @ org.apache.catalina.startup.hostconfig.deploydescriptor(hostconfig.java:675) @ org.apache.catalina.startup.hostconfig.deploydescriptors(hostconfig.java:601) @ org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:502) @ org.apache.catalina.startup.hostconfig.start(hostconfig.java:1317) @ org.apache.catalina.startup.hostconfig.lifecycleevent(hostconfig.java:324) @ org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:142) @ org.apache.catalina.core.containerbase.start(containerbase.java:1065) @ org.apache.catalina.core.standardhost.start(standardhost.java:840) @ org.apache.catalina.core.containerbase.start(containerbase.java:1057) @ org.apache.catalina.core.standardengine.start(standardengine.java:463) @ org.apache.catalina.core.standardservice.start(standardservice.java:525) @ org.apache.catalina.core.standardserver.start(standardserver.java:754) @ org.apache.catalina.startup.catalina.start(catalina.java:595) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.apache.catalina.startup.bootstrap.start(bootstrap.java:289) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:414)
both drive seems have same settings in /etc/fstab file. tomcat service gets started not creating catalina folder due web application inside tomcat service not working , giving 404 error.
we have checked java_home , catalina_home settings , seems fine. can this?
Comments
Post a Comment