I am using bundle jboss3RC2 with tomcat4.0.3.
I also could't find this tomcat3..jar file
But I got it from jboss3RC1_tomcat-4.0.3 and copied
to my latest latest jboss-RC2 to the deploy directory and now everything works.
I'll give that a try.
'2. Copy the output/lib/tomcat4-service.jar to the jboss/server/default/lib
or the lib directory of whatever configuration you are running.'
This doesn't make sense. There is no 'jboss/server/default/lib'!
Maybe I should first make sure I have the correct version of JBoss3 checked out.
Do I use 'cvs co -r Branch_3_0 jboss/build.xml' to get the JBoss-3.0.0 RC2 source? When I do this I get the following:
~/dev/jboss/3.0-RC2 > ls
~/dev/jboss/3.0-RC2 > ant
Error reading project file
Total time: 1 second
Or should I be using the 'cvs -z3 co jboss-all' ?
cvs [stuff?] co -r Branch_3_0 jboss-all
Ok, that worked.
So I presume this will retrieve the latest jboss-all. Now how do I specify a particular 'jboss-all' like 3.0.0RC2 or 3.0.0RC1 ?
co -rBranch_3_0 means check out Branch_3_0
co means check out head (currently 3.1)
either way, specify jboss-all so you get all the code for the branch you want.
If you want a tagged revision, look in cvs view to find the tag, or use cvs log, and check out using the (non-sticky) tag for the rc2 or whatever release.
I find the free chapters from Karl Fogels book Open Source Development with CVS very helpful
Yes, I figured it was a branch but I was wondering how to specfiy a sub branch(or 'tagged revision' as you put it) in order to co something more specific than 'Branch_3_0'. i.e. by specifying 'Branch_3_0_0_RC2' I can expect not to get Branch_3_0_0_RC1.
Sorry if I'm not making myself very clear. Anyway I think I've got it now.
Thanks for your feedback! (Now I can see if I can integrate tc403.)
If you download the binary version of a relase,
it reports the CVS tag when it boots.
Thanks for that warjort! I've started reading that cvs doc you pointed out and I must say it is very well written.
Now I'm trying to do the tomcat403(binary) integration into JBoss300RC2.
I've run build.sh(from jboss-all/build) and that has produced the output directories.
Now I'm not sure if this is correct but should I be following the instructions in the catalina readme file to do this?
Here is the file's content:
To deploy the embedded tomcat-4.x service into JBoss do the
1. Change the location of the tomcat.server.root to point to the
tomcat-4.x distribution root. This can be done either by editing
the build.xml file or by creating a local.properties file with the
Q: this is the binary tc dist right?
2. Copy the output/lib/tomcat4-service.jar to the jboss/server/default/lib
or the lib directory of whatever configuration you are running.
Q: Which 'output/lib' would this be? There doesn't appear to be a server/default.
3. Edit the output/deploy/tomcat4-service.xml descriptor and change the
<!ENTITY catalina.home "/usr/local/Java/servlets/jakarta-tomcat-4.0.3">
line to the path you want to use for the tomcat-4.x runtime distribution.
Q: by 'runtime' is it meant the destination with jboss?
4. Copy the output/deploy/tomcat4-service.xml descriptor to the
jboss/server/default/deploy directory or the deploy directory of whatever
configuration you are running.
5. Remove the jboss/server/default/deploy/jetty-plugin.sar or else you
will have port already bound errors as both the catalina and jetty
servlet containers start.
In JBoss2.4.x, I put my tomcat4-binary in the CVS working directory and specified jboss.dist and catalina.dist in the jboss/contrib/catalina/src/build.xml and the build created a bundle directory containing the result. How has the process changed for JBoss3.0.0RC2?
Any help is appreciated.