> -----Message d'origine-----
> De: Jarecsni János [mailto:[EMAIL PROTECTED]]
> thank you for the answer, and sorry for not responding
> earlier! Currently
> I'm evaluting the possible solutions to the problem.
I'm working on the Virtual host support on jboss244+catalina ...
I'll have just to make it compile and work ( 8>/ )
work in (slow) progress !!
>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.
good architecture in production. morover with mod_ssl
or apachessl it manage HTTPS support.
>
> 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.
this seems hard to solve since catalina is embedded in jboss
which deploys the WAR in temp directory...
maybe is it possible to force a named directory but I've seen nothing
about that... maybe another patch to do : force WAR deployment into a given
directory.
another idea is to deploy a DIRECTORY,and not a WAR in jboss/deploy ...
this should work in latest jboss3.0 as far as I've heard here, but
I don't know if it is supported with jboss244...
maybe does there already exist another patch to support expanded WAR
or expanded EAR.
> 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?
check also the WARP support (connector type= WARP, using mod_webapp)...
in theory this should allow apache to look for static content
into WAR and EAR.
however (bad news) some people complains that it does not work..
if you make it works, tell it how ! good luck.
I hope I'll make my catalina mbean virtual host patch today.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user