Opened 14 years ago
Last modified 3 years ago
#28938 new request
tomcat 7
Reported by: | mikejbond@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | blair (Blair Zajac), todmorrison (Tod Morrison), jere@…, macports@…, bgrupe27, robink@…, mmpestorich (Mike M Pestorich), cooljeanius (Eric Gallager), jeabraham, pdegregorio@…, litlfred@…, scottschreckengaust (Scott Schreckengaust), rockettj@…, danielta, arto@…, FranklinYu (Franklin Yu), chrstphrchvz (Christopher Chavez) | |
Port: | tomcat7 |
Description
Would it be possible to add tomcat 7 (latest being 7.0.11) to macports? It's been GA for about six months now and appears to be stable.
Attachments (3)
Change History (31)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | blair@… added |
---|---|
Port: | tomcat7 added |
comment:2 Changed 14 years ago by blair (Blair Zajac)
comment:3 Changed 13 years ago by pengyu.ut@…
Has this been ported to macports? I still don't find tomcat7.
comment:4 Changed 13 years ago by mikejbond@…
I have put together a tomcat7 port based on the tomcat6 Portfile and files. I renamed tomcatctl to tomcat7ctl and updated all the various scripts to make it work. It still uses the src archive as it was simpler and the original tomcat6 port used some files that don't exist in the binary distribution.
I don't know how new ports are usually submitted, I'm attaching it to the ticket as a zip file. Anyone that wishes to use this prior to it being included in macports officially can do the following:
cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java unzip <attached zip file> cd ../.. portindex port install tomcat7
I am using tomcat7 from eclipse for development. I haven't tried to run it standalone so can't guarantee that it will run without some tweaking.
Changed 13 years ago by mikejbond@…
Attachment: | tomcat7.zip added |
---|
comment:5 Changed 13 years ago by mikejbond@…
Correction to the instructions for manually adding the attached zip to the available ports:
cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java unzip <attached zip file> cd .. portindex port install tomcat7
comment:6 Changed 12 years ago by mikejbond@…
Any chance the attached zip containing the Portfile, etc could be added to the ports repository?
comment:8 Changed 12 years ago by todmorrison (Tod Morrison)
Need to add "tomcat-juli.jar" to CLASSPATH when adding "java.util.logging.manager=org.apache.juli.ClassLoaderLogManager" to JAVA_OPTS, i.e. change:
if [ -r "${CATALINA_HOME}/bin/tomcat-juli.jar" ]; then JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" fi
to:
if [ -r "${CATALINA_HOME}/bin/tomcat-juli.jar" ]; then JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/tomcat-juli.jar fi
comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | macports@… added |
---|
Has duplicate #36288.
Changed 12 years ago by slackero (Oliver Georgi)
Attachment: | tomcat7-7.0.32.zip added |
---|
Tomcat 7, v7.0.32 (enhanced by comment:8 https://trac.macports.org/ticket/28938#comment:8)
comment:14 Changed 12 years ago by mmpestorich (Mike M Pestorich)
I attached a Portfile for tomcat7. Basically I just modified the existing tomcat6 portfile and didn't do a lot of testing... but it builds and installs without error. Note that Tomcat 7 requires java 6 in order to be built. You must use java 6 to compile tomcat 7 however you may use java 7 to run tomcat 7 (see: http://tomcat.apache.org/tomcat-7.0-doc/building.html#Download_a_Java_Development_Kit_(JDK)_version_6).
Changed 12 years ago by mmpestorich (Mike M Pestorich)
comment:15 Changed 12 years ago by mmpestorich (Mike M Pestorich)
Woops. Sorry. Guess I should have read all the messages... I just noticed that in the tomcat7.zip there was already an updated Porfile.
comment:17 Changed 12 years ago by mf2k (Frank Schima)
Cc: | jea@… added |
---|---|
Version: | 1.9.2 |
Cc reporter of duplicate #38390.
comment:20 Changed 10 years ago by scottschreckengaust (Scott Schreckengaust)
Cc: | scott@… added |
---|
Cc Me!
comment:22 Changed 9 years ago by raupachz (Björn Raupach)
Any updates on tomcat7 and maybe a tomcat8?
comment:25 Changed 8 years ago by mrichardsonjr
A 6 year old ticket, and now 2 major versions behind (soon to be 3 with the release of Tomcat 9). Think I'll be using HomeBrew.
comment:26 Changed 6 years ago by FranklinYu (Franklin Yu)
Cc: | FranklinYu added |
---|
comment:27 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:28 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Support for Tomcat 7 ended 2021-03-31. Can this request be closed?
Sure, I'd like it to have it also?
Can you provide a Port for it? The number of cycles I have is limited.
BTW, I'm thinking of using the binary Tomcat distribution, not the source one. I don't see any point in compiling Tomcat.