TomEE 7.0.4 and contextPath

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

TomEE 7.0.4 and contextPath

fabian-a.richter

Hey,

 

sorry to bother you guys again, but I am trying to change the context path of my webapp in TomEE 7.0.4 but the old method of setting <Context path="/somehting”> in META-INF/context.xml is not working anymore.

 

What is the current best practice to “overwrite” the webapp/context name?

 

Thanks in advance and best

Fabian

 


smime.p7s (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: TomEE 7.0.4 and contextPath

Romain Manni-Bucau
If you put the war in webapps (or auto deploy) you must rename the war file
now (tomcat change).

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le lun. 18 juin 2018 à 17:01, <[hidden email]> a écrit :

> Hey,
>
>
>
> sorry to bother you guys again, but I am trying to change the context
> path of my webapp in TomEE 7.0.4 but the old method of setting <Context
> path="/somehting”> in META-INF/context.xml is not working anymore.
>
>
>
> What is the current best practice to “overwrite” the webapp/context name?
>
>
>
> Thanks in advance and best
>
> Fabian
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: TomEE 7.0.4 and contextPath

Mark Struberg-2
 that's news to me.
Which ticket was that?Could not find it on bugzilla.

    On Monday, 18 June 2018, 17:15:01 CEST, Romain Manni-Bucau <[hidden email]> wrote:  
 
 If you put the war in webapps (or auto deploy) you must rename the war file
now (tomcat change).

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le lun. 18 juin 2018 à 17:01, <[hidden email]> a écrit :

> Hey,
>
>
>
> sorry to bother you guys again, but I am trying to change the context
> path of my webapp in TomEE 7.0.4 but the old method of setting <Context
> path="/somehting”> in META-INF/context.xml is not working anymore.
>
>
>
> What is the current best practice to “overwrite” the webapp/context name?
>
>
>
> Thanks in advance and best
>
> Fabian
>
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: TomEE 7.0.4 and contextPath

Romain Manni-Bucau
outch makes years now but think i sent it on tomcat list:
https://markmail.org/search/?q=rmannibucau%20tomcat%20context.xml%20path%20list%3Aorg.apache.tomcat.dev%2F#query:rmannibucau%20tomcat%20context.xml%20path%20list%3Aorg.apache.tomcat.dev%2F+page:1+mid:nu4lsudwup67w34d+state:results

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le lun. 18 juin 2018 à 17:35, Mark Struberg <[hidden email]> a
écrit :

>  that's news to me.
> Which ticket was that?Could not find it on bugzilla.
>
>     On Monday, 18 June 2018, 17:15:01 CEST, Romain Manni-Bucau <
> [hidden email]> wrote:
>
>  If you put the war in webapps (or auto deploy) you must rename the war
> file
> now (tomcat change).
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
>
> Le lun. 18 juin 2018 à 17:01, <[hidden email]> a
> écrit :
>
> > Hey,
> >
> >
> >
> > sorry to bother you guys again, but I am trying to change the context
> > path of my webapp in TomEE 7.0.4 but the old method of setting <Context
> > path="/somehting”> in META-INF/context.xml is not working anymore.
> >
> >
> >
> > What is the current best practice to “overwrite” the webapp/context name?
> >
> >
> >
> > Thanks in advance and best
> >
> > Fabian
> >
> >
> >