guys, -Dyour-module-name.host should be useful only for ears.

for war just define 2 <Host> and your webapps either as <Context> in the
right Host or define separated folder (one for each host). I think tomcat 7
docs is better to understand it

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/16 mauro2java2011 <[email protected]>

> escuse me .
> i can specify the -Dyour-module-name.host=yourdomain.com propertie into
> the
> tomee/conf/system.properties ????
>
> the default properties inside the  tomee/conf/system.properties  it is:
> ---------------------------------------------------------------------
>
>
>
> # all this properties are added at JVM system properties at startup
> # here some default Apache TomEE system properties
> # for more information please see
> http://openejb.apache.org/properties-listing.html
>
> # openejb.check.classloader = false
> # openejb.check.classloader.verbose = false
>
> # tomee.jaxws.subcontext = webservices
> # tomee.jaxws.oldsubcontext = false
>
> # openejb.system.apps = true
> # openejb.servicemanager.enabled = true
> # openejb.jmx.active = false
> # openejb.descriptors.output = false
> # openejb.strict.interface.declaration = false
> # openejb.conf.file = conf/tomee.xml
> # openejb.debuggable-vm-hackery = false
> # openejb.validation.skip = false
> # openejb.webservices.enabled = true
> # openejb.validation.output.level = MEDIUM
> # openejb.user.mbeans.list = *
> # openejb.deploymentId.format = {appId}/{ejbJarId}/{ejbName}
> # openejb.jndiname.format = {deploymentId}{interfaceType.annotationName}
> # openejb.deployments.package.include = .*
> # openejb.deployments.package.exclude =
> # openejb.autocreate.jta-datasource-from-non-jta-one = true
> # openejb.altdd.prefix =
> # org.apache.openejb.default.system.interceptors =
> # openejb.jndiname.failoncollision = true
> # openejb.wsAddress.format = /{ejbDeploymentId}
> # org.apache.openejb.server.webservices.saaj.provider =
> # openejb.nobanner = true
> # openejb.offline = false
> # openejb.jmx.active = true
> # openejb.exclude-include.order = include-exclude
> # openejb.additional.exclude =
> # openejb.additional.include =
> # openejb.crosscontext = false
> # openejb.jsessionid-support =
> # openejb.myfaces.disable-default-values = true
> # openejb.web.xml.major =
> # openjpa.Log =
> # openejb.jdbc.log = false
> # javax.persistence.provider =
> org.apache.openjpa.persistence.PersistenceProviderImpl
> # javax.persistence.transactionType =
> # javax.persistence.jtaDataSource =
> # javax.persistence.nonJtaDataSource =
>
>
> ---------------------------------------------------------------------------------
>
> i can add the hostp properties for my virtual host inside it?
> i have also to uncomment otherproperties????
>
> the host finally i have to declare into:
>  server.xml
> the name of the module web
> the system.proerties into tomee/conf/system.oroperties with properties for
> host=modulename?
> escuse me but you can write a complete example configuration for a virtual
> host?the step for :
> server.xml
> module web into web.xml
> system.properties (if it is ok configure inside it ) or inside the file .sh
> ????
>
> tak you very much
> mauro
>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Virtual-host-not-working-tp4662204p4662306.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to