Forum Discussion

Alex79's avatar
Alex79
New Contributor
4 years ago

problems deploying as war my project

Hi,everybody.

I have a problem with deploying war mock soapUI.I used for deploying Docker container and got the next error:

 

 

13-Jul-2021 11:49:10.919 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/afd]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)

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

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

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

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

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

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

at java.base/java.lang.Thread.run(Thread.java:844)

Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/afd] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1EncodableVector->org.bouncycastle.asn1.DEREncodableVector->org.bouncycastle.asn1.ASN1EncodableVector]

at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2104)

at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2048)

at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1994)

at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1964)

at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1917)

at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1157)

at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:769)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 10 more

 

 

FROM tomcat:8.5.35-jre10
ADD afd.war /usr/local/tomcat/webapps/
ADD tomcat-users.xml /usr/local/tomcat/conf/
ENV CATALINA_OPTS="-Xms1G -Xmx1G -Xss10m"
EXPOSE 8080
CMD chmod +x /usr/local/tomcat/bin/catalina.sh
CMD ["catalina.sh", "run"]

 

Why did I get such error?My SoapUI project is valid and it allows to use a mock using SoapUI 5.6.0.It is the error of program?

 

No RepliesBe the first to reply