Newbie question. What is the difference between the two Apache Tomcat versions? Tomcat-native and Tomcat5? I want to create some Java servlets. Mac OS-X Tiger 10.4.8 Second question: I tried to "port install Tomcat5" and it failed due to inability to find Ant-1.6.5. Apparently all the mirrors now carry only Ant-1.7? Is there a way to tell it to use the newer Ant, or should the portfile be updated? Or is there an old 1.6.5 somewhere? Thanks in advance, --david
On Jan 23, 2007, at 19:10, David McCallie wrote:
Newbie question. What is the difference between the two Apache Tomcat versions? Tomcat-native and Tomcat5? I want to create some Java servlets. Mac OS-X Tiger 10.4.8
It looks to me as though the tomcat5 port is tomcat, and the tomcat- native port is some additional functionality for tomcat, which I don't know whether you need.
Second question: I tried to "port install Tomcat5" and it failed due to inability to find Ant-1.6.5. Apparently all the mirrors now carry only Ant-1.7? Is there a way to tell it to use the newer Ant, or should the portfile be updated? Or is there an old 1.6.5 somewhere?
The apache-ant port was updated to 1.7.0 in December. The fact that you're still seeing 1.6.5 means your port tree is way out of date. Please update it by running "sudo port sync", then try again.
On Jan 23, 2007, at 7:10 PM, David McCallie wrote:
Newbie question. What is the difference between the two Apache Tomcat versions? Tomcat-native and Tomcat5? I want to create some Java servlets. Mac OS-X Tiger 10.4.8
Tomcat5 is the standard Tomcat J2EE container, implemented in Java. From what I can tell, Tomcat-native is an alternate Tomcat implementation that is native to specific platforms and, as a result, is supposed to be more scalable and perform better. For what it's worth, you should know that you don't need any macports to get Tomcat working. Just download the normal Tomcat and unzip the archive to where you want it to be. Set a JAVA_HOME and CATALINA_HOME environment variables to the appropriate variables, and everything works fine. If you need the speed and scalability of a native solution, then the macports version would be necessary. If you just want to run a few servlets though, you probably don't need anything other than the normal Tomcat download. - Tim
On Jan 23, 2007, at 5:10 PM, David McCallie wrote:
Newbie question. What is the difference between the two Apache Tomcat versions? Tomcat-native and Tomcat5? I want to create some Java servlets. Mac OS-X Tiger 10.4.8
Tomcat5 is the tomcat 5 servlet container. Tomcat-native is an extension to tomcat that provides a native (bare- metal c) IO stack that sits on top of apache apr, and is primarily used to speed IO operations when tomcat is front-ended by apache httpd through the ajp protocol using mod_proxy_ajp or mod_jk. Note that tomcat-native is purely an enhancement; all of the foregoing can be done (and is usually done) using non-native java code. The "native" code can speed things up a bit.
Second question: I tried to "port install Tomcat5" and it failed due to inability to find Ant-1.6.5. Apparently all the mirrors now carry only Ant-1.7? Is there a way to tell it to use the newer Ant, or should the portfile be updated? Or is there an old 1.6.5 somewhere?
As mentioned otherwise, you need to update your ports. James.
Thank you all. I was unaware of the "port sync" command. Doh! After sync'ing, I did a "sudo port install tomcat5" and everything worked like magic. --david On 1/23/07, James Berry <jberry@macports.org> wrote:
On Jan 23, 2007, at 5:10 PM, David McCallie wrote:
Newbie question. What is the difference between the two Apache Tomcat versions? Tomcat-native and Tomcat5? I want to create some Java servlets. Mac OS-X Tiger 10.4.8
Tomcat5 is the tomcat 5 servlet container.
Tomcat-native is an extension to tomcat that provides a native (bare- metal c) IO stack that sits on top of apache apr, and is primarily used to speed IO operations when tomcat is front-ended by apache httpd through the ajp protocol using mod_proxy_ajp or mod_jk. Note that tomcat-native is purely an enhancement; all of the foregoing can be done (and is usually done) using non-native java code. The "native" code can speed things up a bit.
Second question: I tried to "port install Tomcat5" and it failed due to inability to find Ant-1.6.5. Apparently all the mirrors now carry only Ant-1.7? Is there a way to tell it to use the newer Ant, or should the portfile be updated? Or is there an old 1.6.5 somewhere?
As mentioned otherwise, you need to update your ports.
James.
"David McCallie" <dmccallie@gmail.com> on Tuesday, January 23, 2007 at 5:10 PM -0800 wrote:
Second question: I tried to "port install Tomcat5" and it failed due to inability to find Ant-1.6.5. Apparently all the mirrors now carry only Ant-1.7? Is there a way to tell it to use the newer Ant, or should the portfile be updated? Or is there an old 1.6.5 somewhere?
I've never used it but the apache-ant port is at 1.7. Have you done a 'port selfupdate' lately?. Mark
participants (5)
-
David McCallie
-
James Berry
-
Mark Duling
-
Ryan Schmidt
-
Tim Dean