> -----Message d'origine-----
> De: Jarecsni János [mailto:[EMAIL PROTECTED]]
> we'd like to set up a virtual host for one of our J2EE apps.
> Now we have a
> context (/istore) under which our application can be
> accessed. The URL of
> our app now is: http://xxx.yyy.com/istore/
>
> However we'd like the following URL to work:
>http://virtual.host.com/ So
> we'd set up our DNS server to point to the machine running JBoss with our
> istore, and the web server should intercept a reqest for "vhos.com" and
> realize that this reqest can be served from a given directory.
>Ok. Sorry for the lengthy introduction, now I can tell you where my problem
>roots. When JBoss deploys istore.ear, it unpacks the webtier to a directory
> named: $JBOSS_HOME/tmp/deploy/Default/istore.war/web1004. It seems that
>JBoss uses the same directory for subsequent runs, so until you don't
>refresh your application, this directory remains used. I tried to add a
><host> tag in the server.xml configuration file in $TOMCAT_HOME/conf. I
>tried to reference this directory but it didn't work.
sure,
in jboss244 server.xml is not at all used...
>We even separated the web tier from the EAR, creating a separate WAR file.
I
>deployed the WAR under tomcat (putting the WAR file into its webapps
>folder), and thus I was able to add a <host> tag, pointing to
webapps/istore
>(this is where tomcat normally deploys). I started tomcat (with the webtier
>of istore in it) and JBoss (running now merely the EJBs of istore). The
idea
>worked... But when the two layers began talking to each other, I got a bit
>sad. Everything was deadly slow. Circulus vitiosus... When I'm able to
>create the virtual host I need, it's damn slow when it's fast, I cannot
>create the vhost. Now I am at a complete loss as how to proceed...
maybe could we work together.
I've just made patches to the catalina MBean
that allows to set many parameter to catalina connectors...
I've mad that for HTTPS redirect, reverse proxy, and
now I understand how the catalina mbean works...
I know where in the Mbean <host> tags are NOT managed
(and how to manage them) but I don't know what it is
(don't smile )
the server.xml defines a tree of objects, where there
exists by default one "host" object... I could add host support in hal a day
if you telle me, what are the parameters, howmany on must and can add...
if you use jboss244 with embeded tomcat I can even give you
the patched jar (with the source anyway)...
_______________________________________________
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