Hm.

this sounds funny for one simple reason:

The application deploys in the following directory:

$JBOSS_HOME/tmp/deploy/Default/istore.ear/web1002/

Under that there's indeed the required WEB-INF directory. But. The web1002
directory is created at JBoss startup and its name cannot be foretold. And
to be able to configure the physical directory for tomcat you'd need to know
its name beforehand.

It would be much "nicer", if JBoss would deploy to "well-known" directories,
which can be referenced in a reliable manner.

Am I right or have I overlooked something?

Cheers,
J

--
Jarecsni János
PGP Key Fingerprint: 846A C0CB 7F7D 28FD C82B 0F28 73BA 88DE 2BE7 31AD
Patents on 'Standards'???: http://www.userfunded.org/w3cloud.html




|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
|Michael Angelo Libio
|Sent: Friday, November 30, 2001 8:03 AM
|To: Guy Rouillier; [EMAIL PROTECTED]
|Subject: Re: [JBoss-user] virtual hosts again
|
|
|name-based virtual servers are recognizable under tomcat 3.2.3.....
|...so, under server.xml (tomcat's) you should have configured two context
|with their respective physical path.  Under those paths, there should be a
|/WEB-INF directory, and under that, there should be /lib and /classes
|directory.  The /lib directory should contain those library files (.jar,
|.zip) that are needed for the web application.  Then the /classes
|directory,
|you guessed it, are where the .class files are (within their appropriate
|package structure).
|
|----- Original Message -----
|From: "Guy Rouillier" <[EMAIL PROTECTED]>
|To: "JBoss-List" <[EMAIL PROTECTED]>
|Sent: Thursday, November 29, 2001 10:02 PM
|Subject: Re: [JBoss-user] virtual hosts again
|
|
|> What version of Tomcat?  The latest I've used is 3.2.3, and that doesn't
|> recognized name-based virtual servers - only IP based virtual servers.
|>
|> ----- Original Message -----
|> From: "Jarecsni János" <[EMAIL PROTECTED]>
|> To: "JBoss-List" <[EMAIL PROTECTED]>
|> Sent: Wednesday, November 28, 2001 6:26 AM
|> Subject: [JBoss-user] virtual hosts again
|>
|>
|> Hi,
|>
|> sorry for bringing up this question again but noone answered and still I
|> think it's a fundamental question. Maybe I was a bit obscure in my
|previous
|> mail or maybe my English was hard to get :)
|>
|> So here's what we'd like to do:
|>
|> 1. say we host two domains www.foo.com and www.bar.com
|> 2. we have a server running JBoss and Tomcat
|> 3. the DNS is properly configured so both domain names point to
|the server
|> running JBoss
|> 4. the J2EE application for foo.com is under the context path
|"/foo-store"
|> and the one for bar.com is under "/bar-portal"
|>
|> So, my question is how to configure tomcat to serve the request
|> "http://www.foo.com/index.html" and "http://www.bar.com/index.html" using
|> the appropriate J2EE application?
|>
|>
|> Thanks in advance
|>
|> János
|>
|>
|> _______________________________________________
|> 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
|>
|
|_______________________________________________
|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