Hi!

thank you for the answer, and sorry for not responding earlier! Currently
I'm evaluting the possible solutions to the problem. Someone suggested I
should use Apache in front of JBoss+Catalina (or Tomcat, it doesn't matter
in this respect).
It's relatively easy to set up vhosts under Apache and it has the advantage
of Apache serving static content.

Still it's only questions I have... :)

1) The main problem is that when I deploy an EAR or WAR on the
JBoss+(Tom)Catalina platform, the webtier gets deployed into a directory
which is not like say, Catalina's "webapps/yourWebbAppName" which can be
referenced from a configuration file. This is why I simply don't understand
how would I tell Apache or Tomcat where it finds the webroot of my
application. Without being able to do that, I cannot configure any vhosts.

2) I downloaded Jboss 2.4.4+Catalina and Apache 1.3.23. I read thru the
Apache-Catalina integration howto (now AJP Connector, formerly mod_jk), but
it was rather obscure...
(http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html) It
mentions that I'll have to add some listener to Catalina just to produce a
configuration file that can be referenced from Apache... Ok, I added that
line to Catalina's server.xml, but Catalina didn't find the class referred
to (org.apache.ajp.tomcat4.config.ApacheConfig). Could someone shed a bit of
lite on this too?

Thanks!

János


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Coetmeur, Alain
|Sent: Friday, February 01, 2002 5:18 PM
|To: 'Jarecsni János'; 'JBoss-List'
|Subject: RE: [JBoss-user] FW: virtual hosts again...
|
|
|
|
|> -----Message d'origine-----
|> De: Coetmeur, Alain [mailto:[EMAIL PROTECTED]]
|> there is an attribute "BindAddress" which tells which precise
|> IP address you
|> listen to...
|>
|> maybe should you try
|> <attribute name="BindAddress" value="virtual.host.com"/>
|in jboss.jcml
|
|>
|> but only if this is a different IP address
|>
|> in fact catalina mbean creates a host object
|>  on bindAddress.getHostAddress()
|>  and not directly on the name you give...
|> moreover it does a socket bind on that address
|> (which must be valid!)
|>
|> is it enough ?
|
|if you want to deploy your webapp under root context of the wirtual host,
|try to deploy a war names ".war"
|
|or if you use an EAR, set the context to "/" or "" in application.xml
|<context-root></context-root>
|or
|<context-root>/</context-root>
|
|
|
|_______________________________________________
|JBoss-user mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-user
|


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to