tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?
Date Tue, 31 Jul 2012 08:19:37 GMT
Try last SNAPSHOT (see how here:
http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html
)

If any issue using this new feature, feel free to reopen:
https://issues.apache.org/jira/browse/MTOMCAT-172

HTH,
--
Olivier

2012/7/31 Albert Kam <moonblade.wolf@gmail.com>:
> Hi,
>
> I have been developing with tomcat7:run happily for some months now.
>
> But then i am currently expanding the development where different
> domains would provide different behaviour for the same webapp (imagine
> multitenancy and ACLs based on the domain or the server name)
>
> To make this work in the development mode,
> i would have to modify the hosts file, mapping several .com domains to
> localhost + add some <Alias> to the localhost's <Host>
>
> Currently i am using the standalone tomcat, doing :
> - go to the parent module, install all modules, which results in the
> newest WAR for the webapp
> - go to the webapp project and tomcat7:deploy to it ..
>
> Not as fast-development-mode as tomcat7:run (which doesnt include
> installing the modules + WAR building), but this will do :-)
>
> I may be too hopeful, but is this useful enough to be added as a new
> feature of tomcat maven plugin ?
> I imagine putting these aliases in the plugin's configuration in the pom.xml ..
>
> Thanks !
>
> On Tue, Jul 31, 2012 at 12:54 AM, Olivier Lamy <olamy@apache.org> wrote:
>> Hi,
>> Not possible currently.
>> What is your use case ? those goals are for dev purpose.
>>
>> 2012/7/27 Albert Kam <moonblade.wolf@gmail.com>:
>>> I am currently using the snapshot version of tomcat maven plugin.
>>> And i am using tomcat7:run and tomcat7:run-war-only (for webapps with
>>> overlay) actively.
>>>
>>> And the time has come for me to try out virtual host .. and as i
>>> understand it, i have to configure the host, context, etc ..
>>> But i've been using the embedded tomcat 'supplied' by the tomcat maven
>>> plugin so far,
>>>
>>> so i wonder if there's a way to configure virtual host on the embedded tomcat
?
>>>
>>> Or should i just forget embedded tomcat and setup an independent
>>> tomcat i can configure freely ?
>>>
>>> Thank you,
>>> Albert
>>>
>>> --
>>> Do not pursue the past. Do not lose yourself in the future.
>>> The past no longer is. The future has not yet come.
>>> Looking deeply at life as it is in the very here and now,
>>> the practitioner dwells in stability and freedom.
>>> (Thich Nhat Hanh)
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
>
> --
> Do not pursue the past. Do not lose yourself in the future.
> The past no longer is. The future has not yet come.
> Looking deeply at life as it is in the very here and now,
> the practitioner dwells in stability and freedom.
> (Thich Nhat Hanh)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message