Tomcat can't deploy dotcms_4.2.0_999999.war

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Tomcat can't deploy dotcms_4.2.0_999999.war

mvelasco
Hi guys, I've build a war to deploy on my tomcat environment, I generated dotcms_4.2.0_999999.war and save it on /webapps/dotcms_4.2.0_999999.war

Once I restarted tomcat I got this issue and application never been deployed.

SEVERE: Error deploying web application archive /apps/tomcat1/apache-tomcat-8.0.47/webapps/dotcms_4.2.0_999999.war

java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost1].StandardContext[/dotcms_4.2.0_999999]]

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)

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

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1853)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:748)



Tomcat: 8.0.47
JRE: 1.8.0

Any suggestion?
Thanks

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/5b2be179-011e-41f4-b341-f2233432adab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat can't deploy dotcms_4.2.0_999999.war

mvelasco
Hey I got something, I had to recreate war and now I'm getting this issue:
com.dotmarketing.exception.DotRuntimeException: Error searching and populating the Vanity URL Cache
	com.dotcms.vanityurl.business.VanityUrlAPIImpl.searchAndPopulate(VanityUrlAPIImpl.java:532)
	com.dotcms.vanityurl.business.VanityUrlAPIImpl.initializeActiveVanityURLsCacheBySiteAndLanguage(VanityUrlAPIImpl.java:146)
	com.dotcms.vanityurl.business.VanityUrlAPIImpl.searchLiveCachedVanityUrlBySiteAndLanguage(VanityUrlAPIImpl.java:428)
	com.dotcms.vanityurl.business.VanityUrlAPIImpl.isVanityUrl_aroundBody2(VanityUrlAPIImpl.java:173)
	com.dotcms.vanityurl.business.VanityUrlAPIImpl$AjcClosure3.run(VanityUrlAPIImpl.java:1)
	org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
	com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43)
	com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29)
	com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41)
	com.dotcms.vanityurl.business.VanityUrlAPIImpl.isVanityUrl(VanityUrlAPIImpl.java:157)
	com.dotmarketing.filters.CMSUrlUtil.isVanityUrl(CMSUrlUtil.java:266)
	com.dotmarketing.filters.VanityURLFilter.doFilter(VanityURLFilter.java:82)
	com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404)
	com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:132)
	com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90)
	com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:38)
	com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:108)



El viernes, 24 de noviembre de 2017, 12:11:02 (UTC), mvelasco escribió:
Hi guys, I've build a war to deploy on my tomcat environment, I generated dotcms_4.2.0_999999.war and save it on /webapps/dotcms_4.2.0_999999.war

Once I restarted tomcat I got this issue and application never been deployed.

SEVERE: Error deploying web application archive /apps/tomcat1/apache-tomcat-8.0.47/webapps/dotcms_4.2.0_999999.war

java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost1].StandardContext[/dotcms_4.2.0_999999]]

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)

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

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1853)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:748)



Tomcat: 8.0.47
JRE: 1.8.0

Any suggestion?
Thanks

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7b67d6e5-142f-42f0-8695-40694471bd1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.