-
1. Re: how to replace Tomcat in JBoss
peterj Sep 11, 2008 6:51 PM (in response to javatwo)Which patch level of Tomcat did you change? 4.0.5 uses Tomcat 5.5.20
Too bad you are not using 4.2.x or I could provide a more full-proof way of patching Tomcat. -
2. Re: how to replace Tomcat in JBoss
jfclere Sep 12, 2008 2:53 AM (in response to javatwo)4.0.5 uses 5.5.23 you could try the jars from http://repository.jboss.com/apache-tomcat/5.5.23.patch05-brew/lib/
-
3. Re: how to replace Tomcat in JBoss
peterj Sep 12, 2008 11:45 AM (in response to javatwo)4.0.5 uses 5.5.23
Really? Then the packaging process is broken. In the 4.0.5 source I downloaded in October of 2006, the third-party/apache-tomcat/components-info.xml file states:<project name="apache-tomcat-component-info"> <component id="apache-tomcat" licenseType="apache-2.0" version="5.5.20" projectHome="http://tomcat.apache.org" description="Tomcat 5.5 servlet 2.4 web container">
-
4. Re: how to replace Tomcat in JBoss
peterj Sep 12, 2008 11:50 AM (in response to javatwo)Just now looked at the binary at docs/license/third-party-licenses.xml. It states:
<module name='apache-tomcat' licenseType='apache-2.0' version='5.5.20' projectHome='http://tomcat.apache.org' description='Tomcat 5.5 servlet 2.4 web container'>
-
5. Re: how to replace Tomcat in JBoss
javatwo Sep 13, 2008 3:53 AM (in response to javatwo)I downloaded from http://tomcat.apache.org/download-55.cgi
it is 5.5.27.
I like to use 4.2.x, but I had problem using JSF myfaces on that version.
I should try the 5.5.20. Is there a standard way to replace Tomcat in Jboss? The directory structure is different.
Thanks!
Dave -
6. Re: how to replace Tomcat in JBoss
javatwo Sep 13, 2008 3:57 AM (in response to javatwo)The reason I changed Tomcat source is to implement domain-level session cookie, such as mydomain.com.
-
7. Re: how to replace Tomcat in JBoss
peterj Sep 15, 2008 10:19 AM (in response to javatwo)If you get the correct version of Tomcat sources, replacing the catalina.jar should be sufficient.
What I do when I want to make this kind of a change is compile only the java source files that I changed, including the existing JAR files in the classpath. Then I place the compiled classes into the existing JAR file, replacing the existing classes, and keeping all of the classes I did not update. -
8. Re: how to replace Tomcat in JBoss
javatwo Sep 18, 2008 1:05 AM (in response to javatwo)I could not find svn source branch for 5.5.20. the svn directory(branch) name is 5.5.x. I need 5.5.20 exactly. Could you please show me where to find the branch? Thanks.
Dave -
9. Re: how to replace Tomcat in JBoss
peterj Sep 18, 2008 1:07 PM (in response to javatwo)Did you try the Tomcat source archives? http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.20-original/src/
Note that there are 3 (!) different 5.5.20 sources. Do not ask me which one was used by JBossAS.