Hi Julian,
thanks for the changes! It works for me as well now.
Best,
Sandro
Am 16.11.16 um 13:29 schrieb Julian Sedding:
Hi Sandro
I have committed my changes to these modules and run the full build
multiple times. So I expect that you should be able to run a
successful trunk build now.
Regards
Julian
On Wed, Nov 16, 2016 at 1:18 PM, Robert Munteanu <romb...@apache.org> wrote:
On Tue, 2016-11-15 at 15:51 +0100, Sandro Boehme wrote:
Hi Julian,
thanks for your feedback!
Am 15.11.16 um 10:47 schrieb Julian Sedding:
Hi Sandro
org/apache/sling/jcr/base/LoginAdminWhitelist looks like your
checkout
or snapshots on your machine are not quite up to date. I removed
the
I'am at the latest trunk, did 'mvn clean ...' and created a new
sling
home with the '-c' option at server startup. What else do I have to
do
to be up to date?
method AbstractSlingRepositoryManager.getLoginAdminWhitelist(), so
maybe you need to first build a local snapshot of bundles/jcr/base
and
then try building bundles/jcr/oak-server again.
What version of jcr/base is compatible with which version of jcr/oak-
server?
Sorry for the inconvenience. I should soon be done with refactoring
these modules.
Does that mean there is nothing I can do right now?
According to our Jenkins job
https://builds.apache.org/job/sling-launchpad-builder-1.8/
the launchpad should work without issues.
A couple of additional questions:
- what Java version do you use for building and running Sling?
- what happens if you try to build the project with "-U", to force
updating the snapshots? The command would then be mvn -U clean verify
Robert
Best,
Sandro
Regards
Julian
On Mon, Nov 14, 2016 at 9:50 PM, Sandro Boehme <sandro.boehme@gmx.d
e> wrote:
Hi Robert,
It took me a while to get the trunk to build. I had to
disable the
Rat
checks and update the dependency to org.apache.sling.jcr.base
version
2.4.3-SNAPSHOT in org.apache.sling.jcr.oak.server.
Why isn't there a build job anymore for trunk? Should I build
Sling
differently than described at the website [1]?
The context as is at [2]. Basically, the big 'trunk' jobs were
too slow
and flaky. Now we have many small jobs, with none of them slow
and a
couple of them flaky :-)
But the reactor build should work nonetheless.
I currently can't build it due to repository.apache.org
timeouts, can
you post any errors that you get?
Thanks,
Robert
[2]: https://cwiki.apache.org/confluence/display/SLING/Sling+Je
nkins+Se
tup
The dependency to oasling.jcr.base 2.4.x has been changed by
Julian in the
meantime to prepare for the oak.server-1.1.2 release.
So I could build the trunk a few minutes ago.
But the server doesn't seem to start completely. When accessing
http://localhost:8080 I get an HTTP 503 saying
"Problem accessing /. Reason:
AuthenticationSupport service missing. Cannot authenticate
request."
138 bundles are available and active.
The error log shows me this error:
14.11.2016 21:30:58.119 *ERROR* [OsgiInstallerImpl]
org.apache.sling.jcr.oak.server.internal.OakSlingRepositoryManage
r start:
Uncaught Throwable trying to access Repository, calling
stopRepository()
java.lang.AbstractMethodError:
org.apache.sling.jcr.base.AbstractSlingRepositoryManager.getLogin
AdminWhitelist()Lorg/apache/sling/jcr/base/LoginAdminWhitelist;
at
org.apache.sling.jcr.base.AbstractSlingRepository2.loginAdministr
ative(AbstractSlingRepository2.java:373)
at
org.apache.sling.jcr.base.internal.loader.Loader.getSession(Loade
r.java:326)
at
org.apache.sling.jcr.base.internal.loader.Loader.registerNamespac
es(Loader.java:213)
at
org.apache.sling.jcr.base.internal.loader.Loader.registerBundleIn
ternal(Loader.java:225)
at
org.apache.sling.jcr.base.internal.loader.Loader.registerBundle(L
oader.java:158)
at
org.apache.sling.jcr.base.internal.loader.Loader.<init>(Loader.ja
va:75)
at
org.apache.sling.jcr.base.AbstractSlingRepositoryManager.start(Ab
stractSlingRepositoryManager.java:371)
...
Any advice would be much appreciated!
Best,
Sandro