> -----Original Message-----
> From: Valter Nogueira [mailto:[EMAIL PROTECTED]]
> Subject: [JBoss-user] Virtual Hosts
> 
> 
> Hi everybody,
> 
> I am really sorry to bother you with such fool question. 
> After reading some 
> answers and docs, I can't estabilsh virtual hosts.

You should read the JBoss QuickStart documentation before asking more
questions on JBoss setup, most of what you need to get started is in there.
It's easy to read.  You'll like it!  

http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.Draft4.pdf?downl
oad.

To answer your question directly:

add to jboss-web.xml inside app1.war:
  <jboss-web>
   <context-root>/</context-root>
   <virtual-host>10.1.10.1</virtual-host>
  </jboss-web>

add to jboss-web.xml inside app2.war:
  <jboss-web>
   <context-root>/</context-root>
   <virtual-host>10.1.10.2</virtual-host>
  </jboss-web>

-b


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to