[
https://issues.apache.org/jira/browse/TOMEE-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved TOMEE-2054.
------------------------------------
Resolution: Auto Closed
Hi there!
We wanted to reach out and let you know that we're currently working on
cleaning up open issues in Jira that specifically impact unsupported versions,
including 1.7.x, 7.0.x, and 7.1.x.
If you had previously reported this issue on one of these unsupported versions,
we kindly ask you to check if the problem still persists and can be reproduced
on a supported version such as 8.0.x or 9.0.x. If you find that it is indeed
reproducible on a supported version, you're more than welcome to re-open this
issue.
Thanks!
> When in EAR, the web app doc base is a directory ending with .war do not
> handle it as a file
> --------------------------------------------------------------------------------------------
>
> Key: TOMEE-2054
> URL: https://issues.apache.org/jira/browse/TOMEE-2054
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 7.0.3
> Reporter: Violeta Georgieva Georgieva
> Priority: Major
>
> When in the EAR file, the web application's binaries are a directory and the
> directory name ends with .war, do not handle it as a file.
> With the current implementation the exception below is thrown. Note that the
> name of the directory inside of EAR file is *test.war* and not *test*.
> {code}
> 07-Jun-2017 23:33:34.961 SEVERE
> [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
> sun.reflect.NativeMethodAccessorImpl.invoke ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
> at
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:651)
> at
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:589)
> at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:997)
> at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:718)
> at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:714)
> at
> org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:2223)
> at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:141)
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
> at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1164)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1388)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1392)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1360)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.catalina.LifecycleException: Failed to start component
> [org.apache.catalina.webresources.StandardRoot@71ffc4f4]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> at
> org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4842)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4974)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> ... 16 more
> Caused by: java.lang.IllegalArgumentException: The main resource set
> specified [/<path-to-ear>/test] is not valid
> at
> org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:732)
> at
> org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:690)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> ... 19 more
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)