Can anyone guide me on integrating a existing tomcat and jboss
there are a few things you might look at. i haven't actually gotten tomcat 4.0.3 to integrate the way i want to, but am almost there.
one thing to look at is the /path/to/jboss/deploy/tomcat4-service.sar file. this file is basically a jar (renamed sar) that has config files necessary for embedding tomcat.
In the sar file under the META-INF dir there is a jboss-service.xml file. If you open that file you will notice that there is a <ENTITY catalina.home "some/tomcat/dir"> entry. I have changed this entry to point to where my actual tomcat exists and got everything to start up.
That's only part of it tho. Once this is done and you want to be able to use a web app under the embedded tomcat you need to either provide a jar file or a ear file. The url for the ear deployment is here: http://main.jboss.org/thread.jsp?forum=61&thread=7537
And a thread for using a war file is here: http://main.jboss.org/thread.jsp?forum=61&thread=11816
I wish I could say there was another way, but this is what I've found from reading and trial and error. It is possible, and I've done it, to have your build script build your ejb's, web app, roll them into an ear and deploy them properly in jboss. However, this isn't the best solution for making frequent changes - which I do. So I'm still looking on this one.
A wonderful explanation .I am beginning to understand now
how does tomcat-users.xml work with jboss3.0?