2015-06-02 20:06 GMT+02:00 Kirys <[email protected]>: > On 06/02/2015 06:12 PM, Romain Manni-Bucau wrote: > >> 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 >> > > I've made some attempt but unsuccesfully (lack of knowlegde of the plugin) > actually it does report > -> addChild: Child name 'localhost' is not unique > I've pushed the experiment to the repo. > > you need to add <keepServerXmlAsthis>true</keepServerXmlAsthis> otherwise we replqce the host with the configured one (default in your case) which is localhost for both <Host/>
Also saw you were using 1.7.1, maybe switch to 1.7.2: https://issues.apache.org/jira/browse/TOMEE-1449 > >> >> 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 >> >> You are welcome ;) > Cya > K. >
