2015-06-02 9:06 GMT-07:00 Kirys <[email protected]>:

> On 06/02/2015 04:55 PM, Romain Manni-Bucau wrote:
>
>> Hmm
>>
>> maybe I did it wrong but there isonly JAXRS and not JAXWS services in this
>> project no?
>>
>
> Yes you are right as always, sorry messed up the acronym.
>
>
>> How should we reproduce, we use your server.xml and copy the war in all
>> appBase?
>>
>
> Into the appbase of the virtual host, obviously you also have to setup the
> resolution of the virtual host properly.
>
> I my home network I've this setup:
> local dns that resolve *.network to private ips
> Apache httpd with mod_proxy_ajp that point to the java host machine but
> also using the virtual host directly result in the same issue.
> that server.xml it's exactly the one on my tomee vm (centos 6.5) the
> domain names associated need to be adapted to your network.
> usually I like to have something like "appname.network" so I deploy the
> war into a virtual host with app base properly set to avoid to rename the
> war into ROOT.war ^_^.
>
>  If you can setup  to just let us reproduce using mvn
>> package tomee:run it would help a lot.
>>
>
> I've never used it (netbeans take care of starting tomee for me) I'm
> trying to understand how to make it deploy to the virtualhost app base.
>
>
you can create a src/main/tomee/conf and put server.xml inside, then mvn
clean package tomee:run will start tomee using it

by default it copies apps in webapps, that were i am no more sure what you
do then. Using DeployerEjb (netbeans probably does it), you can add
openejb.deployer.host property to select the host you want, default is
localhost


>  PS: maybe activate filtering by default through developping project, makes
>> it faster to run on our side
>>
>
> I've set developing as default profile and pushed it to the repo, if that
> was what you were meaning.
>
>
sure thks


> Let me know
> Thank You
> K.
>
>
>

Reply via email to