Hi Alain, thanks very much AGAIN!!
You´re right, I didn´t get it working, however with the new input from you I´m fairly optimistic this time. You have answered a number questions that I have been asking mysqlf and trying to figure out. As with the "host=test.virtualhost.com.war", I thought that it might have something to do with the naming of the ear/war file but I wasn´t quite sure how to go about achieving all the necessary steps reuired to get it working. I think now I should have enough information to have another go :-) ! Thanks again, I´ll let you know if I got it working this time. bye Michael Delamere ----- 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