Build failed in Jenkins: sling-contrib-1.5 #843

2012-03-20 Thread Apache Jenkins Server
See 

--
[...truncated 3055 lines...]
[INFO] Copying bundle from 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.scripting.xproc/2.0.0-SNAPSHOT/org.apache.sling.scripting.xproc-2.0.0-SNAPSHOT.jar
 to 

[INFO] snapshot 
org.apache.sling:org.apache.sling.extensions.apt.servlet:2.0.3-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] Copying bundle from 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.extensions.apt.servlet/2.0.3-SNAPSHOT/org.apache.sling.extensions.apt.servlet-2.0.3-SNAPSHOT.jar
 to 

[INFO] snapshot 
org.apache.sling:org.apache.sling.extensions.apt.parser:2.0.3-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] Copying bundle from 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.extensions.apt.parser/2.0.3-SNAPSHOT/org.apache.sling.extensions.apt.parser-2.0.3-SNAPSHOT.jar
 to 

[INFO] snapshot 
org.apache.sling.samples:org.apache.sling.samples.path-based.rtp:2.0.5-SNAPSHOT:
 checking for updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/sling/samples/org.apache.sling.samples.path-based.rtp/2.0.5-SNAPSHOT/org.apache.sling.samples.path-based.rtp-2.0.5-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.path-based.rtp/2.0.5-SNAPSHOT/org.apache.sling.samples.path-based.rtp-2.0.5-SNAPSHOT.jar
 to 

[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [build-helper:reserve-network-port {execution: reserve-network-port}]
[INFO] Reserved port 36750 for http.port
[WARNING] DEPRECATED [tasks]: Use target instead
[INFO] [antrun:run {execution: default}]
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
 [echo]  WARNING (SLING-443/SLING-1782) 
**
 [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
 [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see 
SLING-443
 [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see 
SLING-1782
 [echo] 
**
[INFO] Executed tasks
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 50 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 7 source files to 

[WARNING] DEPRECATED [systemProperties]: Use systemPropertyVariables instead.
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 


---
 T E S T S
---
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results[INFO] [animal-sniffer:check {execution: 
default}]
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0

[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [org.apache.sling.launchpad.contrib-testing] in 
[
[INFO] Processing war project
[INFO] Copying webapp webResources 
[
 to 
[

Build failed in Jenkins: sling-samples-1.5 #294

2012-03-20 Thread Apache Jenkins Server
See 

--
[...truncated 946 lines...]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-21_03-47-08/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-21_03-47-08/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO] Building jar: 

[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: 
org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
[INFO] Checking legal files in: 
org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-21_03-47-08/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] Building Apache Sling User Manager UI sample
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] artifact net.alchim31.maven:yuicompressor-maven-plugin: checking for 
updates from oss.sonatype.org
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 

[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 28 resources
[INFO] Copying 3 resources
[WARNING] DEPRECATED [tasks]: Use target instead
[INFO] [antrun:run {execution: default}]
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
 [echo]  WARNING (SLING-443/SLING-1782) 
**
 [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
 [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see 
SLING-443
 [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see 
SLING-1782
 [echo] 
**
[INFO] Executed tasks
[INFO] [yuicompressor:compress {execution: default}]
[INFO] nothing to do, 

 is younger than original, use 'force' option or cl

Jenkins build is back to normal : sling-trunk-1.5 #1609

2012-03-20 Thread Apache Jenkins Server
See 



Build failed in Jenkins: sling-trunk-1.6 #1276

2012-03-20 Thread Apache Jenkins Server
See 

Changes:

[justin] attempting to fix build failure by using a customized version of the 
JUnitBundlesOption having the repository URL baked into it. code may require 
some cleanup, but since I can't reproduce this locally, committing it to see if 
it fixes the problem before investing too much cleanup time.

--
[...truncated 1911 lines...]
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.commons.classloader/builds/2012-03-21_01-57-59/archive/org.apache.sling/org.apache.sling.commons.classloader/1.2.5-SNAPSHOT/org.apache.sling.commons.classloader-1.2.5-SNAPSHOT.jar
Mar 21, 2012 2:01:22 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ 
org.apache.sling.commons.classloader ---
[INFO] META-INF already added, skipping
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO] Building jar: 

[INFO] META-INF already added, skipping
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO] 
[INFO] --- maven-failsafe-plugin:2.12:integration-test (default) @ 
org.apache.sling.commons.classloader ---
[INFO] Failsafe report directory: 


---
 T E S T S
---
Running org.apache.sling.commons.classloader.it.DynamicClassLoaderIT
43 [main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System 
(Version: 2.4.0.RC1) created.
245 [main] INFO org.ops4j.exec.DefaultJavaRunner - DefaultJavaRunner completed 
successfully

602 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.link : downloading...
834 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam/2.4.0.RC1/pax-exam-2.4.0.RC1.jar
844 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.link : 75444 bytes @ [ 
7544kBps ]
877 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : downloading...
893 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-container-rbc:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-container-rbc/2.4.0.RC1/pax-exam-container-rbc-2.4.0.RC1.jar
895 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : 46001 bytes @ [ 
23000kBps ]
901 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link : downloading...
919 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-inject:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-inject/2.4.0.RC1/pax-exam-inject-2.4.0.RC1.jar
923 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link : 5481 bytes @ [ 
1370kBps ]
929 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.extender.service.link : 
downloading...
940 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-extender-service:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-extender-service/2.4.0.RC1/pax-exam-extender-service-2.4.0.RC1.jar
945 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.extender.service.link : 13026 bytes 
@ [ 2605kBps ]
952 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.osgi.compendium.link : downloading...
979 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.osgi:org.osgi.compendium:jar:4.2.0) as 
/home/jenkins/.m2/repository/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar
993 [main] INFO org.ops4j.pax.exam.forked.provi

Build failed in Jenkins: sling-trunk-1.5 #1608

2012-03-20 Thread Apache Jenkins Server
See 

Changes:

[justin] SLING-2242 - changing UncaughtExceptionHandler's log name to 
org.apache.sling.extensions.threaddump.internal.UncaughtExceptionHandler

[justin] SLING-2358 - adding getDefaultCredentials() method in HttpTestBase to 
allow HTTP tests to specify alternate credentials

[justin] SLING-2432 - switching Freemarker script engine to use Freemarker 
logging. Thanks to Sean Kleinjung for the patch.

[justin] SLING-2442 - adding JSP tag lib configuration printer

--
[...truncated 16496 lines...]
17 [main] INFO org.apache.sling.testing.tools.jarexec.JarExecutor - Executing 
java -Xmx512m -jar 

 -p 43643
21 [main] INFO org.apache.sling.testing.tools.sling.TimeoutsProvider - Timeout 
factor set to 1.0 from system property sling.testing.timeout.multiplier
21 [main] INFO 
org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest - Will 
wait up to 60 seconds for server to become ready
23 [main] INFO 
org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest - 
Checking that GET requests return expected content (timeout=60 seconds): 
[/:script src="system/sling.js", 
/.explorer.html:href="/libs/sling/explorer/css/explorer.css", 
/sling-test/sling/sling-test.html:Sling client library tests]
21.03.2012 00:25:16.930 *INFO* [main] Setting sling.home=sling (default)
21.03.2012 00:25:16.930 *INFO* [main] Starting Sling in sling 
(
21.03.2012 00:25:16.934 *INFO* [main] Checking launcher JAR in folder sling
21.03.2012 00:25:16.945 *INFO* [main] Installing new launcher: 
jar:
 2.3.0 (org.apache.sling.launchpad.base.jar.1332289516945)
21.03.2012 00:25:16.946 *INFO* [main] Loading launcher class 
org.apache.sling.launchpad.base.app.MainDelegate from 
org.apache.sling.launchpad.base.jar.1332289516945
21.03.2012 00:25:16.958 *INFO* [main] Starting launcher ...
21.03.2012 00:25:16.960 *INFO* [main] HTTP server port: 43643
21.03.2012 00:25:18.706 *INFO* [main] Startup completed
29041 [main] INFO 
org.apache.sling.testing.samples.integrationtests.http.OsgiConsoleTest - All 3 
paths return expected content, server ready
29041 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle org.apache.sling.junit.core-1.0.7-SNAPSHOT.jar
29203 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle org.apache.sling.junit.scriptable-1.0.7-SNAPSHOT.jar
29211 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle 
org.apache.sling.testing.samples.sampletests-1.0.7-SNAPSHOT.jar
29242 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle 
org.apache.sling.testing.samples.failingtests-1.0.7-SNAPSHOT.jar
29250 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle org.apache.sling.junit.remote-1.0.7-SNAPSHOT.jar
29256 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle org.apache.sling.testing.tools-1.0.5-SNAPSHOT.jar
29267 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle httpclient-osgi-4.1.2.jar
29279 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Installing bundle httpcore-osgi-4.1.2.jar
29289 [main] INFO org.apache.sling.testing.tools.sling.BundlesInstaller - 8 
additional bundles installed from 

29295 [main] INFO org.apache.sling.testing.tools.sling.BundlesInstaller - 
Checking that bundles are installed (timeout 20 seconds): 
[org.apache.sling.junit.core, org.apache.sling.junit.scriptable, 
org.apache.sling.testing.samples.sampletests, 
org.apache.sling.testing.samples.failingtests, org.apache.sling.junit.remote, 
org.apache.sling.testing.tools, org.apache.httpcomponents.httpclient, 
org.apache.httpcomponents.httpcore]
29922 [main] INFO org.apache.sling.testing.tools.sling.BundlesInstaller - 
Starting bundles (timeout 30 seconds): [org.apache.sling.junit.core, 
org.apache.sling.junit.scriptable, 
org.apache.sling.testing.samples.sampletests, 
org.apache.sling.testing.samples.failingtests, org.apache.sling.junit.remote, 
org.apache.sling.testing.tools, org.apache.httpcomponents.httpclient, 
org.apache.httpcomponents.httpcore]
29944 [main] INFO org.apache.sling.testing.tools.osgi.WebconsoleClient - 
Starting bundle org.apache.sling.junit.core via 
/system/

Build failed in Jenkins: sling-trunk-1.6 #1275

2012-03-20 Thread Apache Jenkins Server
See 

Changes:

[justin] SLING-2242 - changing UncaughtExceptionHandler's log name to 
org.apache.sling.extensions.threaddump.internal.UncaughtExceptionHandler

[justin] SLING-2358 - adding getDefaultCredentials() method in HttpTestBase to 
allow HTTP tests to specify alternate credentials

[justin] SLING-2432 - switching Freemarker script engine to use Freemarker 
logging. Thanks to Sean Kleinjung for the patch.

[justin] SLING-2442 - adding JSP tag lib configuration printer

--
[...truncated 1913 lines...]
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.commons.classloader/builds/2012-03-20_22-53-04/archive/org.apache.sling/org.apache.sling.commons.classloader/1.2.5-SNAPSHOT/org.apache.sling.commons.classloader-1.2.5-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.commons.classloader/builds/2012-03-20_22-53-04/archive/org.apache.sling/org.apache.sling.commons.classloader/1.2.5-SNAPSHOT/org.apache.sling.commons.classloader-1.2.5-SNAPSHOT.jar
Mar 20, 2012 10:56:21 PM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] [INFO] META-INF already added, skipping
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping

[INFO] Building jar: 

[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ 
org.apache.sling.commons.classloader ---
[INFO] META-INF already added, skipping
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO] [INFO] Failsafe report directory: 


[INFO] --- maven-failsafe-plugin:2.12:integration-test (default) @ 
org.apache.sling.commons.classloader ---

---
 T E S T S
---
Running org.apache.sling.commons.classloader.it.DynamicClassLoaderIT
43 [main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System 
(Version: 2.4.0.RC1) created.
193 [main] INFO org.ops4j.exec.DefaultJavaRunner - DefaultJavaRunner completed 
successfully

563 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.link : downloading...
773 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam/2.4.0.RC1/pax-exam-2.4.0.RC1.jar
781 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.link : 75444 bytes @ [ 
9430kBps ]
814 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : downloading...
869 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-container-rbc:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-container-rbc/2.4.0.RC1/pax-exam-container-rbc-2.4.0.RC1.jar
872 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : 46001 bytes @ [ 
15333kBps ]
879 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link : downloading...
897 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-inject:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-inject/2.4.0.RC1/pax-exam-inject-2.4.0.RC1.jar
899 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link : 5481 bytes @ [ 
2740kBps ]
905 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.extender.service.link : 
downloading...
917 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-extender-service:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-extender-service/2.4.0.RC1/pax-exam-extender-service-2.4.0.RC1.jar
922 [main] INFO or

Build failed in Jenkins: sling-contrib-1.5 #842

2012-03-20 Thread Apache Jenkins Server
See 

Changes:

[justin] SLING-2432 - switching Freemarker script engine to use Freemarker 
logging. Thanks to Sean Kleinjung for the patch.

--
[...truncated 3016 lines...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [build-helper:reserve-network-port {execution: reserve-network-port}]
[INFO] Reserved port 45529 for http.port
[WARNING] DEPRECATED [tasks]: Use target instead
[INFO] [antrun:run {execution: default}]
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
 [echo]  WARNING (SLING-443/SLING-1782) 
**
 [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
 [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see 
SLING-443
 [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see 
SLING-1782
 [echo] 
**
[INFO] Executed tasks
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 50 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 7 source files to 

[WARNING] DEPRECATED [systemProperties]: Use systemPropertyVariables instead.
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 


---
 T E S T S
---
There are no tests to run.

Results :
[JENKINS] Recording test results
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [animal-sniffer:check {execution: default}]
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0

[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [org.apache.sling.launchpad.contrib-testing] in 
[
[INFO] Processing war project
[INFO] Copying webapp webResources 
[
 to 
[
[INFO] Copying webapp webResources 
[
 to 
[
[INFO] Processing overlay [ id 
org.apache.sling:org.apache.sling.launchpad.base:webapp]
[INFO] Webapp assembled in [367 msecs]
[INFO] Building war: 

[INFO] WEB-INF/web.xml already added, skipping
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.contrib-testing/builds/2012-03-20_21-06-07/archive/org.apache.sling/org.apache.sling.launchpad.contrib-testing/4-SNAPSHOT/org.apache.sling.launchpad.contrib-testing-4-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.contrib-testing/builds/2012-03-20_21-06-07/archive/org.apache.sling/org.apache.sling.launchpad.contrib-testing/4-SNAPSHOT/org.apache.sling.launchpad.contrib-testing-4-SNAPSHOT.war
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] META-INF already added, skipping
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO] Building jar: 

[INFO] META-INF already added, skippin

[jira] [Resolved] (SLING-2242) UncaughtExceptionHandler should log with a better log name

2012-03-20 Thread Justin Edelson (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson resolved SLING-2242.
---

   Resolution: Fixed
Fix Version/s: Extensions Thread Dumper 0.2.4
 Assignee: Justin Edelson

> UncaughtExceptionHandler should log with a better log name
> --
>
> Key: SLING-2242
> URL: https://issues.apache.org/jira/browse/SLING-2242
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Justin Edelson
>Assignee: Justin Edelson
> Fix For: Extensions Thread Dumper 0.2.4
>
>
> The UncaughtExceptionHandler in the threaddump bundle uses 
> org.apache.sling.extensions.threaddump.internal.Activator as the log name. 
> This can create confusion because the exception being logged did not 
> necessarily originate with or even pass through Sling.
> Thus, I recommend changing the log name to 
> org.apache.sling.extensions.threaddump.UncaughtExceptionHandler. This keeps 
> the package structure, but attempts to make it more obvious what is going on.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2242) UncaughtExceptionHandler should log with a better log name

2012-03-20 Thread Justin Edelson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233676#comment-13233676
 ] 

Justin Edelson commented on SLING-2242:
---

in r1303108, changed log name to 
org.apache.sling.extensions.threaddump.internal.UncaughtExceptionHandler

> UncaughtExceptionHandler should log with a better log name
> --
>
> Key: SLING-2242
> URL: https://issues.apache.org/jira/browse/SLING-2242
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Justin Edelson
>Assignee: Justin Edelson
> Fix For: Extensions Thread Dumper 0.2.4
>
>
> The UncaughtExceptionHandler in the threaddump bundle uses 
> org.apache.sling.extensions.threaddump.internal.Activator as the log name. 
> This can create confusion because the exception being logged did not 
> necessarily originate with or even pass through Sling.
> Thus, I recommend changing the log name to 
> org.apache.sling.extensions.threaddump.UncaughtExceptionHandler. This keeps 
> the package structure, but attempts to make it more obvious what is going on.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2358) HttpTestBase should support the ability to use non-default credentials

2012-03-20 Thread Justin Edelson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233673#comment-13233673
 ] 

Justin Edelson commented on SLING-2358:
---

in r1303103, added a getDefaultCredentials() method to HttpTestBase.

> HttpTestBase should support the ability to use non-default credentials
> --
>
> Key: SLING-2358
> URL: https://issues.apache.org/jira/browse/SLING-2358
> Project: Sling
>  Issue Type: Improvement
>  Components: Testing
>Reporter: Justin Edelson
>Assignee: Justin Edelson
>Priority: Critical
> Fix For: Commons Testing 2.0.12
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (SLING-2358) HttpTestBase should support the ability to use non-default credentials

2012-03-20 Thread Justin Edelson (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson resolved SLING-2358.
---

   Resolution: Fixed
Fix Version/s: Commons Testing 2.0.12
 Assignee: Justin Edelson

> HttpTestBase should support the ability to use non-default credentials
> --
>
> Key: SLING-2358
> URL: https://issues.apache.org/jira/browse/SLING-2358
> Project: Sling
>  Issue Type: Improvement
>  Components: Testing
>Reporter: Justin Edelson
>Assignee: Justin Edelson
>Priority: Critical
> Fix For: Commons Testing 2.0.12
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (SLING-2151) Parent POM defines sl4j 1.5.2 while the org.apache.sling.commons.log exports 1.6.1

2012-03-20 Thread Justin Edelson (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson resolved SLING-2151.
---

Resolution: Duplicate

resolving as duplicate of SLING-2432. if that's not the case, feel free to 
reopen.

> Parent POM defines sl4j 1.5.2 while the org.apache.sling.commons.log exports 
> 1.6.1
> --
>
> Key: SLING-2151
> URL: https://issues.apache.org/jira/browse/SLING-2151
> Project: Sling
>  Issue Type: Bug
>  Components: General
>Affects Versions: Parent 10
>Reporter: Róbert Csákány
>
> This causes problems in bundles - for example scripting.freemarker. 
> (LoggerFactory class not found). I've updated in Parent POM in my machine to 
> 1.6.1 and it seems OK.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (SLING-2432) java.lang.NoClassDefFoundError when using Freemarker ScriptingEngine [patch included]

2012-03-20 Thread Justin Edelson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson reassigned SLING-2432:
-

Assignee: Justin Edelson

> java.lang.NoClassDefFoundError when using Freemarker ScriptingEngine [patch 
> included]
> -
>
> Key: SLING-2432
> URL: https://issues.apache.org/jira/browse/SLING-2432
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Reporter: Sean Kleinjung
>Assignee: Justin Edelson
>  Labels: freemarker, patch, scripting
> Fix For: Scripting Freemarker 2.0.0
>
> Attachments: 
> Removed_Freemarker_script_engine_dependency_on_slf4j_.patch
>
>
> The most recent 2.0.0-SNAPSHOT of org.apache.sling.scripting.freemarker 
> contains a direct dependency on org.slf4j.Logger and org.slf4j.LoggerFactory. 
> This bundle explicitly does NOT import these packages, however, and so at 
> runtime script execution will fail with a NoClassDefFoundError because the 
> org.apache.sling.scripting.freemarker.FreemarkerScriptEngine class cannot be 
> initialized. Freemarker provides a suitable logging facility that will 
> degrade gracefully if slf4j is missing, but the aforementioned 
> FreemarkerScriptEngine class does not utilize it.
> The attached patch removes the slf4j dependency, and resolves this issue. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (SLING-2432) java.lang.NoClassDefFoundError when using Freemarker ScriptingEngine [patch included]

2012-03-20 Thread Justin Edelson (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson updated SLING-2432:
--

Fix Version/s: Scripting Freemarker 2.0.0

> java.lang.NoClassDefFoundError when using Freemarker ScriptingEngine [patch 
> included]
> -
>
> Key: SLING-2432
> URL: https://issues.apache.org/jira/browse/SLING-2432
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Reporter: Sean Kleinjung
>Assignee: Justin Edelson
>  Labels: freemarker, patch, scripting
> Fix For: Scripting Freemarker 2.0.0
>
> Attachments: 
> Removed_Freemarker_script_engine_dependency_on_slf4j_.patch
>
>
> The most recent 2.0.0-SNAPSHOT of org.apache.sling.scripting.freemarker 
> contains a direct dependency on org.slf4j.Logger and org.slf4j.LoggerFactory. 
> This bundle explicitly does NOT import these packages, however, and so at 
> runtime script execution will fail with a NoClassDefFoundError because the 
> org.apache.sling.scripting.freemarker.FreemarkerScriptEngine class cannot be 
> initialized. Freemarker provides a suitable logging facility that will 
> degrade gracefully if slf4j is missing, but the aforementioned 
> FreemarkerScriptEngine class does not utilize it.
> The attached patch removes the slf4j dependency, and resolves this issue. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (SLING-2432) java.lang.NoClassDefFoundError when using Freemarker ScriptingEngine [patch included]

2012-03-20 Thread Justin Edelson (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson resolved SLING-2432.
---

Resolution: Fixed

applied patch in r1303033. Thanks!

> java.lang.NoClassDefFoundError when using Freemarker ScriptingEngine [patch 
> included]
> -
>
> Key: SLING-2432
> URL: https://issues.apache.org/jira/browse/SLING-2432
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Reporter: Sean Kleinjung
>Assignee: Justin Edelson
>  Labels: freemarker, patch, scripting
> Attachments: 
> Removed_Freemarker_script_engine_dependency_on_slf4j_.patch
>
>
> The most recent 2.0.0-SNAPSHOT of org.apache.sling.scripting.freemarker 
> contains a direct dependency on org.slf4j.Logger and org.slf4j.LoggerFactory. 
> This bundle explicitly does NOT import these packages, however, and so at 
> runtime script execution will fail with a NoClassDefFoundError because the 
> org.apache.sling.scripting.freemarker.FreemarkerScriptEngine class cannot be 
> initialized. Freemarker provides a suitable logging facility that will 
> degrade gracefully if slf4j is missing, but the aforementioned 
> FreemarkerScriptEngine class does not utilize it.
> The attached patch removes the slf4j dependency, and resolves this issue. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2443) Missing WWW-Authenticate header on OPTIONS request with trunk servlets.resolver bundle

2012-03-20 Thread Bertrand Delacretaz (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233562#comment-13233562
 ] 

Bertrand Delacretaz commented on SLING-2443:


IIUC it's jackrabbit's AbstractWebdavServlet. sendUnauthorized(...) method that 
sends this:

response.setHeader("WWW-Authenticate", getAuthenticateHeaderValue());
if (error == null || error.getErrorCode() != 
HttpServletResponse.SC_UNAUTHORIZED) {
response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
} else {
response.sendError(error.getErrorCode(), error.getStatusPhrase());
}

and that looks a bit tricky to override (just had a quick look)

[1] 
http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java

> Missing WWW-Authenticate header on OPTIONS request with trunk 
> servlets.resolver bundle
> --
>
> Key: SLING-2443
> URL: https://issues.apache.org/jira/browse/SLING-2443
> Project: Sling
>  Issue Type: Bug
>  Components: Servlets
>Reporter: Bertrand Delacretaz
>
> Running the launchpad/builder standalone jar from the trunk correctly returns 
> an WWW-Authenticate header on an OPTIONS request with no credentials:
> $ curl -D - -X OPTIONS http://localhost:8080/
> HTTP/1.1 401 Unauthorized
> WWW-Authenticate: Basic realm="Jackrabbit Webdav Server"
> Content-Type: ...
> But if I replace the org.apache.sling.servlets.resolver 2.1.0 bundle that's 
> in there with the latest snapshot (revision 1302994) that header is missing: 
> it gets removed by the response.reset() call in 
> DefaultErrorHandlerServlet.sendIntro(...), which makes it impossible to 
> connect with WebDAV.
> That response.reset() call was not present in 2.1.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2443) Missing WWW-Authenticate header on OPTIONS request with trunk servlets.resolver bundle

2012-03-20 Thread Felix Meschberger (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233558#comment-13233558
 ] 

Felix Meschberger commented on SLING-2443:
--

Hmm, somehow it sounds wrong that 401 response to ask for authentication go 
through error handling scripts ...

> Missing WWW-Authenticate header on OPTIONS request with trunk 
> servlets.resolver bundle
> --
>
> Key: SLING-2443
> URL: https://issues.apache.org/jira/browse/SLING-2443
> Project: Sling
>  Issue Type: Bug
>  Components: Servlets
>Reporter: Bertrand Delacretaz
>
> Running the launchpad/builder standalone jar from the trunk correctly returns 
> an WWW-Authenticate header on an OPTIONS request with no credentials:
> $ curl -D - -X OPTIONS http://localhost:8080/
> HTTP/1.1 401 Unauthorized
> WWW-Authenticate: Basic realm="Jackrabbit Webdav Server"
> Content-Type: ...
> But if I replace the org.apache.sling.servlets.resolver 2.1.0 bundle that's 
> in there with the latest snapshot (revision 1302994) that header is missing: 
> it gets removed by the response.reset() call in 
> DefaultErrorHandlerServlet.sendIntro(...), which makes it impossible to 
> connect with WebDAV.
> That response.reset() call was not present in 2.1.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (SLING-2443) Missing WWW-Authenticate header on OPTIONS request with trunk servlets.resolver bundle

2012-03-20 Thread Felix Meschberger (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233558#comment-13233558
 ] 

Felix Meschberger edited comment on SLING-2443 at 3/20/12 5:03 PM:
---

Hmm, somehow it sounds wrong that 401 response to ask for authentication go 
through error handling scripts ...

Rather 401 request for HTTP Basic authentication should do:

setStatus
setHeader(WWW-Authenticate)
flush

  was (Author: fmeschbe):
Hmm, somehow it sounds wrong that 401 response to ask for authentication go 
through error handling scripts ...
  
> Missing WWW-Authenticate header on OPTIONS request with trunk 
> servlets.resolver bundle
> --
>
> Key: SLING-2443
> URL: https://issues.apache.org/jira/browse/SLING-2443
> Project: Sling
>  Issue Type: Bug
>  Components: Servlets
>Reporter: Bertrand Delacretaz
>
> Running the launchpad/builder standalone jar from the trunk correctly returns 
> an WWW-Authenticate header on an OPTIONS request with no credentials:
> $ curl -D - -X OPTIONS http://localhost:8080/
> HTTP/1.1 401 Unauthorized
> WWW-Authenticate: Basic realm="Jackrabbit Webdav Server"
> Content-Type: ...
> But if I replace the org.apache.sling.servlets.resolver 2.1.0 bundle that's 
> in there with the latest snapshot (revision 1302994) that header is missing: 
> it gets removed by the response.reset() call in 
> DefaultErrorHandlerServlet.sendIntro(...), which makes it impossible to 
> connect with WebDAV.
> That response.reset() call was not present in 2.1.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2336) Configuration Printer for known JSP tag libraries

2012-03-20 Thread Justin Edelson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233556#comment-13233556
 ] 

Justin Edelson commented on SLING-2336:
---

Created and Fixed SLING-2442 for this without checking if an issue already 
created. Doh!

> Configuration Printer for known JSP tag libraries
> -
>
> Key: SLING-2336
> URL: https://issues.apache.org/jira/browse/SLING-2336
> Project: Sling
>  Issue Type: Wish
>  Components: Scripting
>Affects Versions: Scripting JSP 2.0.18
>Reporter: Felix Meschberger
>
> JSP tag libraries can easily be deployed by just installing a bundle 
> providing the tag libraries. The JSP Script Engine picks these up and 
> internally registers and provides them to JSP scripts.
> It would be helpful to have a Web Console ConfigurationPrinter to dump the 
> registered JSP Tag Libraries

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (SLING-2336) Configuration Printer for known JSP tag libraries

2012-03-20 Thread Justin Edelson (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson resolved SLING-2336.
---

Resolution: Duplicate

> Configuration Printer for known JSP tag libraries
> -
>
> Key: SLING-2336
> URL: https://issues.apache.org/jira/browse/SLING-2336
> Project: Sling
>  Issue Type: Wish
>  Components: Scripting
>Affects Versions: Scripting JSP 2.0.18
>Reporter: Felix Meschberger
>
> JSP tag libraries can easily be deployed by just installing a bundle 
> providing the tag libraries. The JSP Script Engine picks these up and 
> internally registers and provides them to JSP scripts.
> It would be helpful to have a Web Console ConfigurationPrinter to dump the 
> registered JSP Tag Libraries

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2442) add a configuration printer for JSP taglibs

2012-03-20 Thread Justin Edelson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233554#comment-13233554
 ] 

Justin Edelson commented on SLING-2442:
---

added in r1302996

> add a configuration printer for JSP taglibs
> ---
>
> Key: SLING-2442
> URL: https://issues.apache.org/jira/browse/SLING-2442
> Project: Sling
>  Issue Type: Improvement
>  Components: Scripting
>Reporter: Justin Edelson
>Assignee: Justin Edelson
> Fix For: Scripting JSP 2.0.22
>
>
> It'd be nice if there was a web console configuration printer listing the 
> available JSP taglibs by URI along with the bundle the taglib is exposed by. 
> We have all of this information, just need to display it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (SLING-2442) add a configuration printer for JSP taglibs

2012-03-20 Thread Justin Edelson (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson resolved SLING-2442.
---

Resolution: Fixed

> add a configuration printer for JSP taglibs
> ---
>
> Key: SLING-2442
> URL: https://issues.apache.org/jira/browse/SLING-2442
> Project: Sling
>  Issue Type: Improvement
>  Components: Scripting
>Reporter: Justin Edelson
>Assignee: Justin Edelson
> Fix For: Scripting JSP 2.0.22
>
>
> It'd be nice if there was a web console configuration printer listing the 
> available JSP taglibs by URI along with the bundle the taglib is exposed by. 
> We have all of this information, just need to display it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (SLING-2443) Missing WWW-Authenticate header on OPTIONS request with trunk servlets.resolver bundle

2012-03-20 Thread Bertrand Delacretaz (Created) (JIRA)
Missing WWW-Authenticate header on OPTIONS request with trunk servlets.resolver 
bundle
--

 Key: SLING-2443
 URL: https://issues.apache.org/jira/browse/SLING-2443
 Project: Sling
  Issue Type: Bug
  Components: Servlets
Reporter: Bertrand Delacretaz


Running the launchpad/builder standalone jar from the trunk correctly returns 
an WWW-Authenticate header on an OPTIONS request with no credentials:

$ curl -D - -X OPTIONS http://localhost:8080/
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Jackrabbit Webdav Server"
Content-Type: ...

But if I replace the org.apache.sling.servlets.resolver 2.1.0 bundle that's in 
there with the latest snapshot (revision 1302994) that header is missing: it 
gets removed by the response.reset() call in 
DefaultErrorHandlerServlet.sendIntro(...), which makes it impossible to connect 
with WebDAV.

That response.reset() call was not present in 2.1.0.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (SLING-2442) add a configuration printer for JSP taglibs

2012-03-20 Thread Justin Edelson (Created) (JIRA)
add a configuration printer for JSP taglibs
---

 Key: SLING-2442
 URL: https://issues.apache.org/jira/browse/SLING-2442
 Project: Sling
  Issue Type: Improvement
  Components: Scripting
Reporter: Justin Edelson
Assignee: Justin Edelson
 Fix For: Scripting JSP 2.0.22


It'd be nice if there was a web console configuration printer listing the 
available JSP taglibs by URI along with the bundle the taglib is exposed by. We 
have all of this information, just need to display it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (SLING-2441) AuthenticationInfo.put() throws if method is null

2012-03-20 Thread Jeff Young (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Young updated SLING-2441:
--

Attachment: auth_info_put.patch

> AuthenticationInfo.put() throws if method is null
> -
>
> Key: SLING-2441
> URL: https://issues.apache.org/jira/browse/SLING-2441
> Project: Sling
>  Issue Type: Bug
>  Components: Authentication
>Affects Versions: Auth Core 1.0.6
>Reporter: Jeff Young
>  Labels: newbie, patch
> Attachments: auth_info_put.patch
>
>
> Historically the AUTH_TYPE of an AuthenitcationInfo had to be defined (ie: 
> non-null), but we're now using it for anonymous access as well, with a null 
> AUTH_TYPE.  The put() method, however, throws if passed a null AUTH_TYPE.  
> (This is triggered, for instance, by CQ's 
> AuthenticationInfoPostProcessorBridge, which does a putAll().)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (SLING-2441) AuthenticationInfo.put() throws if method is null

2012-03-20 Thread Jeff Young (Created) (JIRA)
AuthenticationInfo.put() throws if method is null
-

 Key: SLING-2441
 URL: https://issues.apache.org/jira/browse/SLING-2441
 Project: Sling
  Issue Type: Bug
  Components: Authentication
Affects Versions: Auth Core 1.0.6
Reporter: Jeff Young


Historically the AUTH_TYPE of an AuthenitcationInfo had to be defined (ie: 
non-null), but we're now using it for anonymous access as well, with a null 
AUTH_TYPE.  The put() method, however, throws if passed a null AUTH_TYPE.  

(This is triggered, for instance, by CQ's 
AuthenticationInfoPostProcessorBridge, which does a putAll().)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: Build failed in Jenkins: sling-trunk-1.6 #1274

2012-03-20 Thread Carsten Ziegeler
Yeah, this dependency is missing/can't be resolved. However the pom
has the necessary repository instruction and it works locally. So I
guess the settings on Jenkins proxy everything?

Regards
Carsten

2012/3/20 Antonio Sanso :
> Would this be an hint :)
>
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.659 sec <<< 
> FAILURE!
> testPackageAdminClassLoader:DynamicClassLoaderIT.testPackageAdminClassLoader:org.ops4j.pax.exam.forked.ForkedTestContainer@1551d7f(org.apache.sling.commons.classloader.it.DynamicClassLoaderIT)
>   Time elapsed: 1.475 sec  <<< ERROR!
> org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find 
> artifact org.junit:com.springsource.org.junit:jar:4.9.0 in central 
> (http://repo1.maven.org/maven2/)
>        at 
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:945)
>
> Regards
>
> Antonio
>
> On Mar 20, 2012, at 7:45 AM, Carsten Ziegeler wrote:
>
> Does anyone have an idea why it's failing on Jenkins? It seems to work
> locally on different machines .
>
> Carsten
>
> 2012/3/19 Apache Jenkins Server 
> mailto:jenk...@builds.apache.org>>:
> See 
>
> Changes:
>
> [cziegeler] Explicitely adding dependency
>
> --
> [...truncated 1895 lines...]
> [JENKINS] Archiving 
> 
>  to 
> /home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.commons.classloader/builds/2012-03-19_17-39-42/archive/org.apache.sling/org.apache.sling.commons.classloader/1.2.5-SNAPSHOT/org.apache.sling.commons.classloader-1.2.5-SNAPSHOT.pom
> [JENKINS] Archiving 
> 
>  to 
> /home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.commons.classloader/builds/2012-03-19_17-39-42/archive/org.apache.sling/org.apache.sling.commons.classloader/1.2.5-SNAPSHOT/org.apache.sling.commons.classloader-1.2.5-SNAPSHOT.jar
> Mar 19, 2012 5:42:47 PM hudson.maven.ExecutedMojo 
> WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
> [INFO] [INFO] META-INF already added, skipping
> [INFO] META-INF already added, skipping
> [INFO] META-INF/LICENSE already added, skipping
> [INFO] META-INF/NOTICE already added, skipping
> [INFO] META-INF/DEPENDENCIES already added, skipping
> [INFO] Building jar: 
> 
>
> [INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ 
> org.apache.sling.commons.classloader ---
> [INFO] META-INF already added, skipping
> [INFO] META-INF already added, skipping
> [INFO] META-INF/LICENSE already added, skipping
> [INFO] META-INF/NOTICE already added, skipping
> [INFO] META-INF/DEPENDENCIES already added, skipping
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.12:integration-test (default) @ 
> org.apache.sling.commons.classloader ---
> [INFO] Failsafe report directory: 
> 
>
> ---
> T E S T S
> ---
> Running org.apache.sling.commons.classloader.it.DynamicClassLoaderIT
> 43 [main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System 
> (Version: 2.4.0.RC1) created.
> 216 [main] INFO org.ops4j.exec.DefaultJavaRunner - DefaultJavaRunner 
> completed successfully
>
> 608 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
> link:classpath:META-INF/links/org.ops4j.pax.exam.link : downloading...
> 860 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
> (org.ops4j.pax.exam:pax-exam:jar:2.4.0.RC1) as 
> /home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam/2.4.0.RC1/pax-exam-2.4.0.RC1.jar
> 883 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
> link:classpath:META-INF/links/org.ops4j.pax.exam.link : 75444 bytes @ [ 
> 3280kBps ]
> 915 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
> link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : downloading...
> 932 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
> (org.ops4j.pax.exam:pax-exam-container-rbc:jar:2.4.0.RC1) as 
> /home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-container-rbc/2.4.0.RC1/pax-exam-container-rbc-2.4.0.RC1.jar
> 938 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
> link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : 46001 bytes @ [ 
> 7666kBps ]
> 943 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
> link:classpath:META-INF/links/org.ops4j.pax.exam.in

Re: Build failed in Jenkins: sling-trunk-1.6 #1274

2012-03-20 Thread Antonio Sanso
Would this be an hint :)


Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.659 sec <<< 
FAILURE!
testPackageAdminClassLoader:DynamicClassLoaderIT.testPackageAdminClassLoader:org.ops4j.pax.exam.forked.ForkedTestContainer@1551d7f(org.apache.sling.commons.classloader.it.DynamicClassLoaderIT)
  Time elapsed: 1.475 sec  <<< ERROR!
org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact 
org.junit:com.springsource.org.junit:jar:4.9.0 in central 
(http://repo1.maven.org/maven2/)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:945)

Regards

Antonio

On Mar 20, 2012, at 7:45 AM, Carsten Ziegeler wrote:

Does anyone have an idea why it's failing on Jenkins? It seems to work
locally on different machines .

Carsten

2012/3/19 Apache Jenkins Server 
mailto:jenk...@builds.apache.org>>:
See 

Changes:

[cziegeler] Explicitely adding dependency

--
[...truncated 1895 lines...]
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.commons.classloader/builds/2012-03-19_17-39-42/archive/org.apache.sling/org.apache.sling.commons.classloader/1.2.5-SNAPSHOT/org.apache.sling.commons.classloader-1.2.5-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
/home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.commons.classloader/builds/2012-03-19_17-39-42/archive/org.apache.sling/org.apache.sling.commons.classloader/1.2.5-SNAPSHOT/org.apache.sling.commons.classloader-1.2.5-SNAPSHOT.jar
Mar 19, 2012 5:42:47 PM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] [INFO] META-INF already added, skipping
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO] Building jar: 


[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ 
org.apache.sling.commons.classloader ---
[INFO] META-INF already added, skipping
[INFO] META-INF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/DEPENDENCIES already added, skipping
[INFO]
[INFO] --- maven-failsafe-plugin:2.12:integration-test (default) @ 
org.apache.sling.commons.classloader ---
[INFO] Failsafe report directory: 


---
T E S T S
---
Running org.apache.sling.commons.classloader.it.DynamicClassLoaderIT
43 [main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System 
(Version: 2.4.0.RC1) created.
216 [main] INFO org.ops4j.exec.DefaultJavaRunner - DefaultJavaRunner completed 
successfully

608 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.link : downloading...
860 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam/2.4.0.RC1/pax-exam-2.4.0.RC1.jar
883 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.link : 75444 bytes @ [ 
3280kBps ]
915 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : downloading...
932 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-container-rbc:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-container-rbc/2.4.0.RC1/pax-exam-container-rbc-2.4.0.RC1.jar
938 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.rbc.link : 46001 bytes @ [ 
7666kBps ]
943 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link : downloading...
956 [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved 
(org.ops4j.pax.exam:pax-exam-inject:jar:2.4.0.RC1) as 
/home/jenkins/.m2/repository/org/ops4j/pax/exam/pax-exam-inject/2.4.0.RC1/pax-exam-inject-2.4.0.RC1.jar
961 [main] INFO org.ops4j.pax.exam.forked.provision.StreamUtils - 
link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link : 54