hello,
yesterday building sling svn failed with a "PermGen space" error.
Removing the .m2/repository and trying again, now it fails checking the
webapp war. Please advise how to proceed with this to get a working
launchpad:
[INFO] [war:war]
[INFO] Packaging webapp
[...]
[INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8888]
[INFO] [surefire:test {execution: surefire-integration-test}]
[INFO] Surefire report directory:
/home/sling/sling-svn/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)
### while mvn install waits 60 seconds I got time to read the error with
### lynx http://localhost:8888/org.apache.sling.launchpad.testing-6-SNAPSHOT
HTTP ERROR: 503
Cannot handle requests due to missing Repository
RequestURI=/org.apache.sling.launchpad.testing-6-SNAPSHOT/
Powered by Jetty://
### Then maven receives lots of error messages
Server does not seem to be ready, after 60000 msec, got the following
116
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/1257591301954
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/1257591302629
[...]
Tests run: 261, Failures: 261, Errors: 0, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
--
peter