bugzilla | 9 Feb 23:29
Picon
Favicon

DO NOT REPLY [Bug 48716] New: Embedded Tomcat JULI aggressively resetting default logging configuration

https://issues.apache.org/bugzilla/show_bug.cgi?id=48716

           Summary: Embedded Tomcat JULI aggressively resetting default
                    logging configuration
           Product: Tomcat 6
           Version: 6.0.24
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev <at> tomcat.apache.org
        ReportedBy: henning.blohm <at> gmail.com

When using Tomcat embedded in conjunction with default JDK logging, any removal
of a StandardContext instance from the Host container will lead to a reset of
all JDK logging configuration.

This is due to 

StandardContext.stop() 

calling 

WebappLoader.stop() 

calling 

org.apache.juli.logging.LogFactory.release(ClassLoader) 

which in turn calls 

LogManager.getLogManager().reset();

and the fact that, when using JDK logging, LogManager.getLogManager returns the
default log manager rather that JULI's log manager. 

Suggestion: Check whether the log manager is actually JULI's.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Konstantin Kolinko | 9 Feb 14:05
Picon

JDT Compiler download (was: r908009)

2010/2/9  <markt <at> apache.org>:

> Author: markt > Date: Tue Feb  9 11:51:30 2010 > New Revision: 908009 > > URL: http://svn.apache.org/viewvc?rev=908009&view=rev > Log: > Update to latest version of JDT compiler > > Modified: >    tomcat/trunk/build.properties.default > >  # ----- Eclipse JDT, version 3.2 or later ----- >  jdt.home=${base.path}/eclipse/plugins >  jdt.lib=${jdt.home} > -jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.3.1.v_780_R33x.jar > -jdt.loc=http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip > +jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.4.4.v_894_R34x.jar > +jdt.loc=http://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-JDT-SDK-3.4.2.zip
Looking at http://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/ there exist a download "JDT Core Batch Compiler" The ecj-3.4.2.jar downloaded from there is just 1.6 MB vs. the 40 MB one that we are downloading now. I have checked that it contains all of the classes that are referenced as imports in our JDTCompiler class, so looks like we can use it instead. Though I have not tried yet. By the way, the latest compiler would be (looking at the version of IDE that I am using) org.eclipse.jdt.core_3.5.1.v_972_R35x.jar Current download URL for the 3.5.1 JDT Core Batch Compiler for main mirror will be (though it will change to archive* eventually): http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/ecj-3.5.1.jar Best regards, Konstantin Kolinko
Mark Thomas | 9 Feb 14:28
Picon
Favicon
Gravatar

Re: JDT Compiler download (was: r908009)

On 09/02/2010 13:05, Konstantin Kolinko wrote:
> Looking at http://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/
> there exist a download "JDT Core Batch Compiler"
> 
> The ecj-3.4.2.jar downloaded from there is just 1.6 MB vs. the 40 MB
> one that we are downloading now.
> 
> I have checked that it contains all of the classes that are referenced
> as imports in our JDTCompiler class, so looks like we can use it
> instead. Though I have not tried yet.

Lets try it then.

> By the way, the latest compiler would be (looking at the version of
> IDE that I am using)
>  org.eclipse.jdt.core_3.5.1.v_972_R35x.jar
> 
> Current download URL for the 3.5.1 JDT Core Batch Compiler for main
> mirror will be (though it will change to archive* eventually):
> 
> http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/ecj-3.5.1.jar

Past experience has been linking to anything other than the archive site
leads to broken builds as the downloads ont he main site don't seem to
use stable URLs.

Mark
Konstantin Kolinko | 9 Feb 14:58
Picon

Re: JDT Compiler download (was: r908009)

2010/2/9 Mark Thomas <markt <at> apache.org>:
> On 09/02/2010 13:05, Konstantin Kolinko wrote:
>> Looking at http://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/
>> there exist a download "JDT Core Batch Compiler"
>>
>> The ecj-3.4.2.jar downloaded from there is just 1.6 MB vs. the 40 MB
>> one that we are downloading now.
>>
>> I have checked that it contains all of the classes that are referenced
>> as imports in our JDTCompiler class, so looks like we can use it
>> instead. Though I have not tried yet.
>
> Lets try it then.
>

+1.

I won't be near the sources for the next 4-5 hours. If it won't be
done at that time, I'll do it.

>> By the way, the latest compiler would be (looking at the version of
>> IDE that I am using)
>>  org.eclipse.jdt.core_3.5.1.v_972_R35x.jar
>>
>> Current download URL for the 3.5.1 JDT Core Batch Compiler for main
>> mirror will be (though it will change to archive* eventually):
>>
>> http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/ecj-3.5.1.jar
>
> Past experience has been linking to anything other than the archive site
> leads to broken builds as the downloads ont he main site don't seem to
> use stable URLs.
>

It is sure that you won't be able to rebuilt old releases once those
go into the archive (supposedly once in a year, when a major release
comes).

I think we can leave old URLs as a comment in the properties file,
or maybe even to add something to BUILDING.txt

Best regards,
Konstantin Kolinko
buildbot | 9 Feb 13:53
Picon
Favicon

buildbot failure in ASF Buildbot on tomcat-trunk

The Buildbot has detected a new failure of tomcat-trunk on ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-trunk/builds/86

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: 
Build Source Stamp: [branch tomcat/trunk] 908009
Blamelist: markt

BUILD FAILED: failed svn

sincerely,
 -The ASF Buildbot
markt | 9 Feb 12:51
Picon
Favicon
Gravatar

svn commit: r908009 - /tomcat/trunk/build.properties.default

Author: markt
Date: Tue Feb  9 11:51:30 2010
New Revision: 908009

URL: http://svn.apache.org/viewvc?rev=908009&view=rev
Log:
Update to latest version of JDT compiler

Modified:
    tomcat/trunk/build.properties.default

Modified: tomcat/trunk/build.properties.default
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=908009&r1=908008&r2=908009&view=diff
==============================================================================
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Tue Feb  9 11:51:30 2010
@@ -69,8 +69,8 @@
 # ----- Eclipse JDT, version 3.2 or later -----
 jdt.home=${base.path}/eclipse/plugins
 jdt.lib=${jdt.home}
-jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.3.1.v_780_R33x.jar
-jdt.loc=http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip
+jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.4.4.v_894_R34x.jar
+jdt.loc=http://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-JDT-SDK-3.4.2.zip

 # ----- Tomcat native library -----
 tomcat-native.version=1.1.19
markt | 9 Feb 12:17
Picon
Favicon
Gravatar

svn commit: r908002 - in /tomcat/trunk/java/org/apache/catalina/loader: LocalStrings.properties WebappClassLoader.java

Author: markt
Date: Tue Feb  9 11:17:05 2010
New Revision: 908002

URL: http://svn.apache.org/viewvc?rev=908002&view=rev
Log:
If the ThreadLocal is set to null, there won't be a memory leak but GC is required to clean up the keys.
Continue to remove the keys if found to reduce the volume of data that has to be looked at when tracing memory leaks.

Modified:
    tomcat/trunk/java/org/apache/catalina/loader/LocalStrings.properties
    tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java

Modified: tomcat/trunk/java/org/apache/catalina/loader/LocalStrings.properties
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/LocalStrings.properties?rev=908002&r1=908001&r2=908002&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/loader/LocalStrings.properties (original)
+++ tomcat/trunk/java/org/apache/catalina/loader/LocalStrings.properties Tue Feb  9 11:17:05 2010
@@ -37,6 +37,7 @@
 webappClassLoader.clearJbdc=A web application registered the JBDC driver [{0}] but failed to
unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
 webappClassLoader.clearRmiInfo=Failed to find class sun.rmi.transport.Target to clear context
class loader. This is expected on non-Sun JVMs.
 webappClassLoader.clearRmiFail=Failed to clear context class loader referenced from
sun.rmi.transport.Target 
+webappClassLoader.clearThreadLocalDebug=A web application created a ThreadLocal with key of type
[{0}] (value [{1}]). The ThreadLocal has been correctly set to null and the key will be removed by GC.
However, to simplify the process of tracing memory leaks, the key has been forcibly removed.
 webappClassLoader.clearThreadLocal=A web application created a ThreadLocal with key of type [{0}]
(value [{1}]) and a value of type [{2}] (value [{3}]) but failed to remove it when the web application was
stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
 webappClassLoader.clearThreadLocalFail=Failed to clear ThreadLocal references
 webappClassLoader.stopThreadFail=Failed to terminate thread named [{0}]

Modified: tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java?rev=908002&r1=908001&r2=908002&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java (original)
+++ tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java Tue Feb  9 11:17:05 2010
@@ -2170,9 +2170,17 @@
                                 args[2] = value.getClass().getCanonicalName();
                                 args[3] = value.toString();
                             }
-                            log.error(sm.getString(
-                                    "webappClassLoader.clearThreadLocal",
-                                    args));
+                            if (value == null) {
+                                if (log.isDebugEnabled()) {
+                                    log.debug(sm.getString(
+                                            "webappClassLoader.clearThreadLocal",
+                                            args));
+                                }
+                            } else {
+                                log.error(sm.getString(
+                                        "webappClassLoader.clearThreadLocal",
+                                        args));
+                            }
                             mapRemove.invoke(map, entry);
                         }
                     }
Bill Barker | 9 Feb 12:01
Picon
Favicon

[GUMP <at> vmgump]: Project tomcat-trunk (in module tomcat-trunk) failed

To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at general <at> gump.apache.org.

Project tomcat-trunk has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 11 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
    - tomcat-trunk :  Java Servlet 3.0 & Server Pages JSP 2.1 implementation (for ...

Full details are available at:
    http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were provided:
 -DEBUG- Dependency on eclipse exists, no need to add for property jdt.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.jsvc.tar.gz.
 -DEBUG- Dependency on junit exists, no need to add for property junit.jar.
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository

The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk/gump_work/build_tomcat-trunk_tomcat-trunk.html
Work Name: build_tomcat-trunk_tomcat-trunk (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true
org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml
-Dbuild.sysclasspath=only
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-09022010.jar
-Dnsis.exe=/srv/gump/public/workspace/tomcat-trunk/BUILDING.txt
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/tomcat-trunk/BUILDING.txt
-Djson-lib.home=.
-Dcommons-daemon.jsvc.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/jsvc.tar.gz
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
-Dtomcat-native.dll.x64=/srv/gump/public/workspace/tomcat-trunk/BUILDING.txt
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-09022010.jar -Djasper-jdt.jar=/srv/gump/packages/
 eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
-Dcommons-dbcp.home=/srv/gump/public/workspace/apache-commons
-Dcommons-pool.home=/srv/gump/public/workspace/apache-commons -Dtomcat-na
 tive.dll.win32=/srv/gump/public/workspace/tomcat-trunk/BUILDING.txt
-Dcommons-logging-api.jar=/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-09022010.jar
-Dtomcat-native.dll.i64=/srv/gump/public/workspace/tomcat-trunk/BUILDING.txt
-Djson-lib.jar=BUILDING.txt
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-jdbc-09022010.jar 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/
 gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/junit/dist/junit-09022010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-09022010.jar:/srv
 /gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-jdbc-09022010.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-09022010.jar
---------------------------------------------
proxyflags:

setproxy:

testexist:
     [echo] Testing  for /srv/gump/public/workspace/tomcat-trunk/BUILDING.txt

downloadfile:

proxyflags:

setproxy:

testexist:
     [echo] Testing  for /srv/gump/public/workspace/tomcat-trunk/BUILDING.txt

downloadfile:

proxyflags:

setproxy:

testexist:
     [echo] Testing  for /srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-09022010.jar

downloadgz:

proxyflags:

setproxy:

testexist:
     [echo] Testing  for /srv/gump/public/workspace/apache-commons/build.xml

downloadgz:
      [get] Getting: http://archive.apache.org/dist/commons/pool/source/commons-pool-1.5.4-src.tar.gz
      [get] To: /usr/share/java/file.tar.gz
      [get] Error getting
http://archive.apache.org/dist/commons/pool/source/commons-pool-1.5.4-src.tar.gz to /usr/share/java/file.tar.gz

BUILD FAILED
/srv/gump/public/workspace/tomcat-trunk/build.xml:1659: The following error occurred while
executing this line:
/srv/gump/public/workspace/tomcat-trunk/build.xml:1792: java.io.FileNotFoundException:
/usr/share/java/file.tar.gz (Permission denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.apache.tools.ant.taskdefs.Get$GetThread.downloadFile(Get.java:736)
	at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:588)
	at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)

Total time: 2 seconds
---------------------------------------------

To subscribe to this information via syndicated feeds:
- RSS: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk/rss.xml
- Atom: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk/atom.xml

============================== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 09000009022010, vmgump:vmgump-public:09000009022010
Gump E-mail Identifier (unique within run) #28.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]
buildbot | 9 Feb 12:30
Picon
Favicon

buildbot success in ASF Buildbot on tomcat-trunk

The Buildbot has detected a restored build of tomcat-trunk on ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-trunk/builds/84

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: 
Build Source Stamp: [branch tomcat/trunk] 907991
Blamelist: markt

Build succeeded!

sincerely,
 -The ASF Buildbot
markt | 9 Feb 11:24
Picon
Favicon
Gravatar

svn commit: r907991 - in /tomcat/trunk: build.properties.default build.xml modules/bayeux/build.xml

Author: markt
Date: Tue Feb  9 10:24:37 2010
New Revision: 907991

URL: http://svn.apache.org/viewvc?rev=907991&view=rev
Log:
Split out the download target so only dependencies for the current target are downloaded rather than everything
Move the bayeux download to the bayeux build file

Modified:
    tomcat/trunk/build.properties.default
    tomcat/trunk/build.xml
    tomcat/trunk/modules/bayeux/build.xml

Modified: tomcat/trunk/build.properties.default
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=907991&r1=907990&r2=907991&view=diff
==============================================================================
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Tue Feb  9 10:24:37 2010
@@ -105,18 +105,19 @@
 commons-daemon.loc=${base-commons.loc}/daemon/binaries/commons-daemon-1.0.1.tar.gz
 commons-daemon.jsvc.tar.gz=${commons-daemon.lib}/bin/jsvc.tar.gz

-# ----- JSON Libraries, 
+# ----- JUnit Unit Test Suite, version 3.7 or later -----
+junit.home=${base.path}/junit3.8.2
+junit.lib=${junit.home}
+junit.jar=${junit.lib}/junit.jar
+junit.loc=${base-sf.loc}/junit/junit3.8.2.zip
+
+# ----- JSON Libraries (for bayeux module) -----
 json-lib.home=${base.path}/json-20080701
 json-lib.lib=http://repo1.maven.org/maven2/org/json/json/20080701/json-20080701.jar
 json-lib.jar=json.jar

-# ----- Dojo Toolkit 
+# ----- Dojo Toolkit (for bayeux module) -----
 dojo-js.home=${base.path}/dojo-release-1.1.1
 dojo-js.loc=http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1.tar.gz
 dojo-js.jar=${dojo-js.home}/dojo/dojo.js

-# ----- JUnit Unit Test Suite, version 3.7 or later -----
-junit.home=${base.path}/junit3.8.2
-junit.lib=${junit.home}
-junit.jar=${junit.lib}/junit.jar
-junit.loc=${base-sf.loc}/junit/junit3.8.2.zip

Modified: tomcat/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=907991&r1=907990&r2=907991&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Tue Feb  9 10:24:37 2010
@@ -362,7 +362,7 @@

   </target>

-  <target name="compile" depends="build-prepare,download">
+  <target name="compile" depends="build-prepare,download-compile">

     <!-- Compile internal server components -->
     <javac srcdir="java" destdir="${tomcat.classes}"
@@ -827,7 +827,7 @@

   </target>

-  <target name="test-compile" depends="compile" >
+  <target name="test-compile" depends="compile,download-test-compile" >
     <mkdir dir="${test.classes}"/>
     <!-- Compile -->
     <javac srcdir="test" destdir="${test.classes}"
@@ -1051,7 +1051,7 @@
     </antcall>
   </target>

-  <target name="dist-prepare">
+  <target name="dist-prepare" depends="download-dist">
     <!-- This is why releasing must be done on Windows / with wine:
          otherwise this check fails and the .exe distro is not generated -->
     <condition property="execute.installer">
@@ -1622,9 +1622,11 @@
     <delete dir="${tomcat.output}" />
   </target>

-  <!-- Download and dependency building -->
-  <target name="download"
-          description="Download (and build as necessary) dependent components" >
+	
+  <!-- ================ Download and dependency building =================== -->
+
+  <target name="download-compile"
+	      description="Download (and build) components necessary to compile" >

     <antcall target="downloadfile">
       <param name="sourcefile" value="${tomcat-native.loc}"/>
@@ -1632,24 +1634,6 @@
       <param name="destdir" value="${tomcat-native.home}"/>
     </antcall>

-    <antcall target="downloadfile">
-      <param name="sourcefile" value="${tomcat-native.dll}/win32/tcnative-1.dll"/>
-      <param name="destfile" value="${tomcat-native.dll.win32}"/>
-      <param name="destdir" value="${tomcat-native.home}"/>
-    </antcall>
-
-    <antcall target="downloadfile">
-      <param name="sourcefile" value="${tomcat-native.dll}/win64/x64/tcnative-1.dll"/>
-      <param name="destfile" value="${tomcat-native.dll.x64}"/>
-      <param name="destdir" value="${tomcat-native.home}"/>
-    </antcall>
-
-    <antcall target="downloadfile">
-      <param name="sourcefile" value="${tomcat-native.dll}/win64/ia64/tcnative-1.dll"/>
-      <param name="destfile" value="${tomcat-native.dll.i64}"/>
-      <param name="destdir" value="${tomcat-native.home}"/>
-    </antcall>
-
     <antcall target="downloadgz">
       <param name="sourcefile" value="${commons-daemon.loc}"/>
       <param name="destfile" value="${commons-daemon.jar}"/>
@@ -1665,14 +1649,14 @@
       <param name="destfile" value="${commons-dbcp.home}/build.xml" />
     </antcall>
     <mkdir dir="${tomcat-dbcp.home}"/>
-  	<condition property="no.build.dbcp">
+    <condition property="no.build.dbcp">
       <available file="${tomcat-dbcp.jar}"/>
     </condition>
     <antcall target="build-tomcat-dbcp">
       <param name="basedir" value="${tomcat-dbcp.home}" />
     </antcall>

-    <!-- Dpwnload src and build Jasper JDT bundle -->
+    <!-- Download src and build Jasper JDT bundle -->
     <antcall target="downloadzip">
       <param name="sourcefile" value="${jdt.loc}"/>
       <param name="destfile" value="${jdt.jar}"/>
@@ -1686,26 +1670,49 @@
       <param name="basedir" value="${jasper-jdt.home}" />
     </antcall>

+  </target>
+
+  <target name="download-test-compile"
+          description="Download additional components for the tests" >
+
     <antcall target="downloadzip">
-      <param name="sourcefile" value="${nsis.loc}"/>
-      <param name="destfile" value="${nsis.exe}"/>
-      <param name="destdir" value="${nsis.home}/.."/>
+      <param name="sourcefile" value="${junit.loc}"/>
+      <param name="destfile" value="${junit.jar}"/>
+      <param name="destdir" value="${base.path}"/>
+    </antcall>
+
+  </target>
+
+  <target name="download-dist"
+          description="Download additional components for a distribution" >
+
+    <antcall target="downloadfile">
+      <param name="sourcefile" value="${tomcat-native.dll}/win32/tcnative-1.dll"/>
+      <param name="destfile" value="${tomcat-native.dll.win32}"/>
+      <param name="destdir" value="${tomcat-native.home}"/>
+    </antcall>
+
+    <antcall target="downloadfile">
+      <param name="sourcefile" value="${tomcat-native.dll}/win64/x64/tcnative-1.dll"/>
+      <param name="destfile" value="${tomcat-native.dll.x64}"/>
+      <param name="destdir" value="${tomcat-native.home}"/>
     </antcall>

     <antcall target="downloadfile">
-      <param name="sourcefile" value="${json-lib.lib}"/>
-      <param name="destfile" value="${json-lib.home}/${json-lib.jar}"/>
-      <param name="destdir" value="${json-lib.home}"/>
+      <param name="sourcefile" value="${tomcat-native.dll}/win64/ia64/tcnative-1.dll"/>
+      <param name="destfile" value="${tomcat-native.dll.i64}"/>
+      <param name="destdir" value="${tomcat-native.home}"/>
     </antcall>

     <antcall target="downloadzip">
-      <param name="sourcefile" value="${junit.loc}"/>
-      <param name="destfile" value="${junit.jar}"/>
-      <param name="destdir" value="${base.path}"/>
+      <param name="sourcefile" value="${nsis.loc}"/>
+      <param name="destfile" value="${nsis.exe}"/>
+      <param name="destdir" value="${nsis.home}/.."/>
     </antcall>

   </target>

+
   <!-- =============== Targets for dependencies that need to =============== -->
   <!-- ================  be built rather than used directly ================ -->

Modified: tomcat/trunk/modules/bayeux/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/bayeux/build.xml?rev=907991&r1=907990&r2=907991&view=diff
==============================================================================
--- tomcat/trunk/modules/bayeux/build.xml (original)
+++ tomcat/trunk/modules/bayeux/build.xml Tue Feb  9 10:24:37 2010
@@ -79,6 +79,12 @@
 	<target name="bayeux">
     <mkdir dir="${tomcat.extras}"/>

+    <antcall target="downloadfile">
+      <param name="sourcefile" value="${json-lib.lib}"/>
+      <param name="destfile" value="${json-lib.home}/${json-lib.jar}"/>
+      <param name="destdir" value="${json-lib.home}"/>
+    </antcall>
+
     <antcall target="downloadgz">
       <param name="sourcefile" value="${dojo-js.loc}"/>
       <param name="destfile" value="${dojo-js.jar}"/>
buildbot | 9 Feb 11:25
Picon
Favicon

buildbot failure in ASF Buildbot on tomcat-trunk

The Buildbot has detected a new failure of tomcat-trunk on ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-trunk/builds/83

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: 
Build Source Stamp: [branch tomcat/trunk] 907983
Blamelist: markt

BUILD FAILED: failed compile

sincerely,
 -The ASF Buildbot

Gmane