tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Cetina <maxtorz...@gmail.com>
Subject Re: -D host on EAR file
Date Thu, 08 Dec 2016 20:52:46 GMT
Hi Romain.

Look this please (log files):

*TomEE 1.7.4 JAX RS*
TomEE INFO: ------------------------- localhost-rhino.com -> /rhino

*TomEE 7.0 plus*
INFO [http-nio-8080-exec-4]
org.apache.tomee.catalina.TomcatWebAppBuilder.init
------------------------- localhost-rhino.com -> /kx-apps-rhino


As you can see in:
TomEE 1.7.4 i could get access using the path */rhino* (i have this path in
my context.xml)
TomEE 7.0 i could get access using the path* /kx-apps-rhino* this is the
module name in my pom.xml


Actual VM option:
-Dkx-apps-rhino.host=localhost-rhino.com

I could get access in TomEE 7 plus using this path */kx-apps-rhino*

Something change here.


2016-12-08 14:33 GMT-06:00 Romain Manni-Bucau <rmannibucau@gmail.com>:

> Hi José,
>
> it is not supposed to have changed
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2016-12-08 21:32 GMT+01:00 José Luis Cetina <maxtorzito@gmail.com>:
>
> > Hi, i was using TomEE 1.7.4 in my ear project. In this project i have 2
> war
> > files, each war file is accessed by their own HOST.
> >
> > I have this in my VM options:
> >
> > -D<MY-MAVEN-MODULE-WAR-NAME>.host=localhost-myhost1.com
> >
> >
> > Then in my context.xml file i have: <Context antiJARLocking="true"
> > path="/mypath">
> >
> > Then i could access to my webapp using:  localhost-myhost1.com/mypath
> >
> > Yesterday i upgrade to TomEE 7 plus and i cannot access to my web
> > applications.
> >
> > Do i have to change something?
> >
> >
> >
> > --
> > -------------------------------------------------------------------
> > *José Luis Cetina*
> > -------------------------------------------------------------------
> >
>



-- 
-------------------------------------------------------------------
*José Luis Cetina*
-------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message