Hi Alain, IT WORKS :-) !!
it works like a dream!!! All I had to do was change the application.xml to "host=virtual.host.com". Thank you so much. Also thanks to all others, especially James who kindly answered all my questions! I�ll write a small how-to so that others with the same problem will find it easier to get it working! bye Michael Delamere ----- Original Message ----- From: "Michael Delamere" <[EMAIL PROTECTED]> To: "mddelamere" <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 12:51 PM Subject: Fw: [JBoss-user] JBOSS and Virtual Hosts > > ----- Original Message ----- > From: "Coetmeur, Alain" <[EMAIL PROTECTED]> > To: "'Michael Delamere'" <[EMAIL PROTECTED]> > Sent: Thursday, March 28, 2002 12:21 PM > Subject: RE: [JBoss-user] JBOSS and Virtual Hosts > > > > > > It seems you already have contacted me before (am I right?) > > > > I suppose that this mean that you did not get > > jboss/catalina to work. > > first get the catalina-service.jar at > > > http://sourceforge.net/tracker/?func=detail&aid=512854&group_id=22866&atid=3 > > 76687 > > and put it in place of jboss/lib/ext/cataline-service.jar > > > > > > If you have set the configuration as you told be before, > > (a default host including localhost, and a specific test virtualhost) > > this mean that jboss.war will be deployed as you want onto > > http://localhost/jboss/* > > > > but you cannot deploy a *.WAR under http://test.virtualhost.com/jboss/* > > > > if you deploy > > host=test.virtualhost.com.war it will be deploys under > > http://test.virtualhost.com/* (the root context) > > > > to deploy it under http://test.virtualhost.com/jboss/* > > you have to create a .EAR archive with > > META-INF/application.xml containing: > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <application> > > <display-name>My Application</display-name> > > <module> > > <web> > > <web-uri>jboss.war</web-uri> > > <context-root>/host=test.virtualhost.com/jboss</context-root> > > </web> > > </module> > > </application> > > and with the jboss.war embeded at the root level of the archive > > you should eansily create an ear this way: > > jar cvf jboss-test.ear META-INF/application.xml jboss.war > > > > > > > > look at > > > http://sourceforge.net/tracker/?func=detail&aid=512854&group_id=22866&atid=3 > > 76687 > > and specificaly at the virtualhost howto based on 2 discusions > > including your problem > > > > hope this will works 8) > > > > > > from tha trace I receive from you > > it seemed that the virtual host was > > perfectly managed to catalina... > > the problem was in the context mapping > > and this may just be the .war naming problem... > > hope so! > > > > > > -----Message d'origine----- > > De: Michael Delamere [mailto:[EMAIL PROTECTED]] > > Date: jeudi 28 mars 2002 10:48 > > �: [EMAIL PROTECTED] > > Objet: [JBoss-user] JBOSS and Virtual Hosts > > > > > > Hi All, > > > > As I have not managed to get an answer on this topic in the forum yet, I > > shall try it with this list! > > > > Is it possible to have a virtual host set up in an Apache HTTP Server and > > have it communicate with JBOSS/Tomcat(embeded). > > > > i.e. http://test.virtualhost.com/jboss/servlet/HelloEJB > > > > If I run the line using the localhost as follows: > > i.e. http://localhost/jboss/servlet/HelloEJB > > > > it works fine but as soon as I try it with the virtual host it just will > not > > work. > > > > I�m using the ajp13 connector, could this be the problem? Is there anyone > > in this list who has got it working. I really need some help because I > have > > tried everything and it really is frustrating!! > > > > Thanks in advance > > > > Michael Delamere > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
