Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#5498 closed defect (fixed)

BUG: Tomcat5 5.5.9 fetching source file fails

Reported by: jordiyeh@… Owned by: jberry@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Installing tomcat5 fails to fetch proper files from sites even from darwinport.org dist files.

I wonder if we could add the following to the list http://archive.apache.org/dist/jakarta/tomcat-5/v5.5.9/src/

or bump the version to 5.5.12

Thank you!

Change History (6)

comment:1 Changed 19 years ago by jberry@…

I'll be updating tomcat shortly. They've changed their dist as they're moving from the jarkarta.apache.org domain to their own domain tomcat.apache.org.

comment:2 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to jberry@…
Summary: Tomcat5 5.5.9 fetching source file failsBUG: Tomcat5 5.5.9 fetching source file fails

comment:3 Changed 19 years ago by jberry@…

Resolution: fixed
Status: newclosed

Updated tomcat5 --> 5.5.12, changing dist location to reflect tomcat as top level apache project.

comment:4 Changed 19 years ago by jordiyeh@…

Hi James,

I am getting the following error when upgrading from 5.5.9 to 5.5.12.

Let me know if I am doing something wrong.

Thanks,

Jordi

$ sudo port upgrade tomcat5 Portfile changed since last build; discarding previous state. ---> Fetching tomcat5 ---> Attempting to fetch apache-tomcat-5.5.12-src.tar.gz from http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/src/ ---> Verifying checksum(s) for tomcat5 ---> Extracting tomcat5 ---> Applying patches to tomcat5 ---> Configuring tomcat5 ---> Building tomcat5 with target download dist compat Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-5" && ant download dist compat -Dbase.path=/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-5/Repository -Dnsis.exe=/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-5/.bogus -Dcommons-beanutils.jar=/opt/local/share/java/commons-beanutils.jar -Dcommons-collections.jar=/opt/local/share/java/commons-collections.jar -Dcommons-launcher.jar=/opt/local/share/java/commons-launcher.jar -Dcommons-daemon.jar=/opt/local/share/java/commons-daemon.jar -Dcommons-digester.jar=/opt/local/share/java/commons-digester.jar -Dcommons-el.jar=/opt/local/share/java/commons-el.jar -Dcommons-logging.jar=/opt/local/share/java/commons-logging.jar -Dcommons-logging-api.jar=/opt/local/share/java/commons-logging-api.jar -Dcommons-modeler.jar=/opt/local/share/java/commons-modeler.jar -Dcommons-httpclient.jar=/opt/local/share/java/commons-httpclient.jar -Dcommons-pool.jar=/opt/local/share/java/commons-pool.jar -Dcommons-dbcp.jar=/opt/local/share/java/commons-dbcp.jar -Dcommons-fileupload.jar=/opt/local/share/java/commons-fileupload.jar -Dregexp.jar=/opt/local/share/java/jakarta-regexp.jar -DxercesImpl.jar=/opt/local/share/java/xercesImpl.jar -Dxml-apis.jar=/opt/local/share/java/xml-apis.jar -Dlog4j.jar=/opt/local/share/java/jakarta-log4j.jar -Djmx.jar=/opt/local/share/java/mx4j.jar -Djunit.jar=/opt/local/share/java/junit.jar -Djaxen.jar=/opt/local/share/java/jaxen-core.jar -Dsaxpath.jar=/opt/local/share/java/saxpath.jar -Dstruts.lib=/opt/local/share/java/struts/lib" returned error 1 Command output: [javac] import javax.management.remote.JMXConnectorFactory;

[javac] [javac]

/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/jmx/JMXAccessorTask.java:43: package javax.management.remote does not exist

[javac] import javax.management.remote.JMXServiceURL; [javac] [javac]

/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/jmx/JMXAccessorTask.java:382: cannot resolve symbol

[javac] symbol : variable JMXConnector [javac] location: class org.apache.catalina.ant.jmx.JMXAccessorTask [javac] environment.put(JMXConnector.CREDENTIALS, credentials); [javac] [javac]

/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/jmx/JMXAccessorTask.java:384: cannot resolve symbol

[javac] symbol : class JMXServiceURL [javac] location: class org.apache.catalina.ant.jmx.JMXAccessorTask [javac] return JMXConnectorFactory.connect(new JMXServiceURL(urlForJMX), [javac] [javac]

/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/jmx/JMXAccessorTask.java:384: cannot resolve symbol

[javac] symbol : variable JMXConnectorFactory [javac] location: class org.apache.catalina.ant.jmx.JMXAccessorTask [javac] return JMXConnectorFactory.connect(new JMXServiceURL(urlForJMX), [javac] [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 6 errors

BUILD FAILED /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-5/build.xml:565: The following error occurred while executing this line: /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-5/build.xml:529: The following error occurred while executing this line: /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_java_tomcat5/work/apache-tomcat-5.5.12-src/jakarta-tomcat-catalina/catalina/build.xml:607: Compile failed; see the compiler error output for details.

Total time: 3 minutes 4 seconds

Error: Unable to upgrade port: 1

comment:5 Changed 19 years ago by jberry@…

Hmm. A jmx issue. It did work on my Java 5 environment. I just checked in a change that seems to get it to work on JSE 1.4.2". Will you let us know if that works for you?

comment:6 Changed 19 years ago by jordiyeh@…

Yes, it worked. Thanks for the prompt fix.

Note: See TracTickets for help on using tickets.