You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Franconville Thomas ABRAXAS <Th...@abraxas.ch.INVALID> on 2023/01/25 14:01:09 UTC

Deployment problem from idea to Tomee 8.0.14 with ROOT path

Hello,

I am migrating our war application that should have a ROOT path from jdk 11 and Tomee 8.0.4 to jdk17 and Tomee 8.0.17.
I cannot find how to deploy the migrated application within Intellij Idea as an exploded WAR. The path given to it is always the WAR name instead of </>.
It seems coming with a change done within the class org.apache.openejb.assembler.DeployerEjb on commit 676ed7af4d25f9ca23512b932b26fd5314bf7876 where instead of taking all the path of a file, we take now only the fileName, but inside the property, the key used to store the context hasn't changed.
[cid:image001.png@01D930CB.627E50C0]

All of that works very well with old application / tomee and the same configuration with the contextRoot defined into a the file META-INF/context.xml.

Kind regards

Thomas Franconville





Re: Deployment problem from idea to Tomee 8.0.14 with ROOT path

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Can you create a very small example to reproduce the issue?
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Jan 25, 2023 at 3:01 PM Franconville Thomas ABRAXAS
<Th...@abraxas.ch.invalid> wrote:

> Hello,
>
>
>
> I am migrating our war application that should have a ROOT path from jdk
> 11 and Tomee 8.0.4 to jdk17 and Tomee 8.0.17.
>
> I cannot find how to deploy the migrated application within Intellij Idea
> as an exploded WAR. The path given to it is always the WAR name instead of
> «/».
>
> It seems coming with a change done within the class
> org.apache.openejb.assembler.DeployerEjb on commit
> 676ed7af4d25f9ca23512b932b26fd5314bf7876 where instead of taking all the
> path of a file, we take now only the fileName, but inside the property, the
> key used to store the context hasn’t changed.
>
>
>
> All of that works very well with old application / tomee and the same
> configuration with the contextRoot defined into a the file
> META-INF/context.xml.
>
>
>
> Kind regards
>
>
>
> Thomas Franconville
>
>
>
>
>
>
>
>
>