sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-6679) Replace usage of org.apache.sling.commons.json.* and org.json
Date Wed, 29 Mar 2017 09:41:41 GMT

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

Robert Munteanu commented on SLING-6679:
----------------------------------------

[~karlpauls] - the launchpad does not start anymore after these changes, see https://builds.apache.org/job/sling-launchpad-builder-1.8/

The relevant snippet I have found in the logs is

{noformat}29.03.2017 09:25:22.244 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.BundleStartTask
Could not start bundle org.apache.sling.xss [145]. Reason: {}. Will retry.
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.xss [145](R 145.0):
missing requirement [org.apache.sling.xss [145](R 145.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.serviceusermapping)(version>=1.2.0)(!(version>=2.0.0)))
[caused by: Unable to resolve org.apache.sling.serviceusermapper [139](R 139.0): missing requirement
[org.apache.sling.serviceusermapper [139](R 139.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.commons.json)(version>=2.0.0)(!(version>=3.0.0)))]
Unresolved requirements: [[org.apache.sling.xss [145](R 145.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.serviceusermapping)(version>=1.2.0)(!(version>=2.0.0)))]
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
	at org.apache.sling.installer.core.impl.tasks.BundleStartTask.execute(BundleStartTask.java:97)
	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.doExecuteTasks(OsgiInstallerImpl.java:894)
	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(OsgiInstallerImpl.java:729)
	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstallerImpl.java:286)
	at java.lang.Thread.run(Thread.java:745){noformat}

> Replace usage of org.apache.sling.commons.json.* and org.json
> -------------------------------------------------------------
>
>                 Key: SLING-6679
>                 URL: https://issues.apache.org/jira/browse/SLING-6679
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>
> Following the deprecation of org.apache.sling.commons.json (SLING-6536) we need to replace
its usage everywhere else (at least if we want to be able to release other modules that depend
on it). 
> This is the umbrella issue for getting this done. The idea is to create sub-issues with
patches for individual components, review the patches, and when all are done: close this issue.

> General discussions and problems should go to this issue and specific ones on the sub-issue
in question.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message