Am 2009-11-09 15:01, schrieb Bertrand Delacretaz:
Hi Peter,
I just fixed https://issues.apache.org/jira/browse/SLING-1177 - didn't
run all tests yet but launchpad webapp and testing should now start
correctly at least.
On Mon, Nov 9, 2009 at 2:51 PM, Peter Chiochetti<[email protected]> wrote:
...When I do as stated in the README.txt in launchpad/app - ie. call "mvn -P
full clean install" after the build stops in the webapp tests, starting the
app with "java -jar target/org.apache.sling.launchpad.app-6-SNAPSHOT.jar"
will fail with an
Exception in thread "main" java.lang.SecurityException: Invalid signature
file digest for Manifest main attributes...
That's a different problem, see http://issues.apache.org/jira/browse/SLING-1082
-Bertrand
The ds.factory.enabled property is now set in all sling.properties
files. Still building svn trunk 834075/834084 fails here. Is that due to
the 1082 issue? This is on a Debian GNU/Linux 5.0 system with Java(TM)
SE Runtime Environment (build 1.6.0_12-b04).
While testing the jetty page
http://localhost:8888/org.apache.sling.launchpad.testing-6-SNAPSHOT now
displays "SERVICE_UNAVAILABLE".
From the log:
[INFO] [beddedLocalContainer] Jetty 6.x Embedded starting...
2009-11-09 14:41:28.128::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
2009-11-09 14:41:29.515::INFO: jetty-6.1.1rc1
2009-11-09 14:41:30.025::INFO: Extract
jar:file:/home/sling/sling/launchpad/testing/target/org.apache.sling.launchpad.testing-6-SNAPSHOT.war!/
to
/tmp/Jetty_0_0_0_0_8888_org.apache.sling.launchpad.testing-6-SNAPSHOT.war__org_apache_sling_launchpad_testing-6-SNAPSHOT__-m3vabv/webapp
2009-11-09
14:41:32.590:/org.apache.sling.launchpad.testing-6-SNAPSHOT:INFO:
sling: Setting
sling.home=sling/_org.apache.sling.launchpad.testing-6-SNAPSHOT (servlet
context path)
2009-11-09
14:41:32.590:/org.apache.sling.launchpad.testing-6-SNAPSHOT:INFO:
sling: Checking launcher JAR in
sling/_org.apache.sling.launchpad.testing-6-SNAPSHOT
2009-11-09
14:41:32.598:/org.apache.sling.launchpad.testing-6-SNAPSHOT:INFO:
sling: Installed or Updated launcher JAR file from
file:/tmp/Jetty_0_0_0_0_8888_org.apache.sling.launchpad.testing-6-SNAPSHOT.war__org_apache_sling_launchpad_testing-6-SNAPSHOT__-m3vabv/webapp/WEB-INF//resources/org.apache.sling.launchpad.base.jar
2009-11-09 14:41:32.704::WARN: failed sling
javax.servlet.ServletException: java.lang.SecurityException: Invalid
signature file digest for Manifest main attributes
[...]
2009-11-09 14:41:32.709::INFO: Extract
jar:file:/home/sling/sling/launchpad/testing/target/cargo/cargocpc.war!/
to /tmp/Jetty_0_0_0_0_8888_cargocpc.war__cargocpc__rw8xgv/webapp
2009-11-09 14:41:34.074::INFO: Started SelectChannelConnector @
0.0.0.0:8888
[INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8888]
[INFO] [surefire:test {execution: surefire-integration-test}]
[INFO] Surefire report directory:
/home/sling/sling/launchpad/testing/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletAtDeleteTest
Checking if the required Sling services are started...
(base
URLs=http://localhost:8888/org.apache.sling.launchpad.testing-6-SNAPSHOT
and http://localhost:8888/org.apache.sling.launchpad.testing-6-SNAPSHOT)
Server does not seem to be ready, after 60000 msec, got the following
118
Exceptions:org.apache.sling.commons.testing.integration.HttpStatusCodeException:
Expected status code 302 for POST, got 503,
URL=http://localhost:8888/org.apache.sling.launchpad.testing-6-SNAPSHOT/WaitForSlingStartup/1257777698400
org.apache.sling.commons.testing.integration.HttpStatusCodeException:
Expected status code 302 for POST, got 503,
URL=http://localhost:8888/org.apache.sling.launchpad.testing-6-SNAPSHOT/WaitForSlingStartup/1257777699058
--
peter