-
1. Re: How to integrate tc403 with a newly built JBoss3
svevor May 5, 2002 8:14 AM (in response to joe543)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. -
2. Re: How to integrate tc403 with a newly built JBoss3
joe543 May 5, 2002 8:32 AM (in response to joe543)Thanks.
I'll give that a try.
Joe -
3. Re: How to integrate tc403 with a newly built JBoss3
joe543 May 5, 2002 11:02 AM (in response to joe543)Hi,
'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
build.xml jboss
~/dev/jboss/3.0-RC2 > ant
Buildfile: build.xml
BUILD FAILED
Error reading project file
Total time: 1 second
Or should I be using the 'cvs -z3 co jboss-all' ?
Joe -
4. Re: How to integrate tc403 with a newly built JBoss3
davidjencks May 5, 2002 11:23 AM (in response to joe543)how 'bout
cvs [stuff?] co -r Branch_3_0 jboss-all -
5. Re: How to integrate tc403 with a newly built JBoss3
joe543 May 5, 2002 12:37 PM (in response to joe543)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 ?
Thanks
Joe -
6. Re: How to integrate tc403 with a newly built JBoss3
davidjencks May 5, 2002 1:08 PM (in response to joe543)Look closely.
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 -
7. Re: How to integrate tc403 with a newly built JBoss3
joe543 May 5, 2002 1:34 PM (in response to joe543)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.)
Joe -
8. Re: How to integrate tc403 with a newly built JBoss3
adrian.brock May 5, 2002 2:01 PM (in response to joe543)If you download the binary version of a relase,
it reports the CVS tag when it boots.
Regards,
Adrian -
9. Re: How to integrate tc403 with a newly built JBoss3
joe543 May 6, 2002 11:24 AM (in response to joe543)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
following:
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
tomcat.server.root=/path/to/tomcat
setting.
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.
Joe