You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Mike Moulton (JIRA)" <ji...@apache.org> on 2009/11/17 06:53:39 UTC

[jira] Created: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Upgrade Jackrabbit Dependency to 1.6
------------------------------------

                 Key: SLING-1190
                 URL: https://issues.apache.org/jira/browse/SLING-1190
             Project: Sling
          Issue Type: Improvement
          Components: JCR
            Reporter: Mike Moulton


Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782225#action_12782225 ] 

Christophe Lombart commented on SLING-1190:
-------------------------------------------

I'm trying to update the project to support Jackrabbit 1.6. I updated the different pom.xml files (only those which are a jackrabbit ref)  and rebuild the entire project. When I start the sling app, I got the following exception [1].  I don't understand why I got this error. I don't see a different between Jackrabbit 1.5 & 1.6 in this area. any idea ? 


[1] Exception when I start the Sling app : 
24.11.2009 23:18:59.151 *ERROR* [SCR Component Actor] org.apache.sling.jcr.jackrabbit.server startRepository: Uncaught Throwable trying to access Repository, calling stopRepository() (java.lang.NoClassDefFoundError: org/apache/jackrabbit/core/config/RepositoryConfig) java.lang.NoClassDefFoundError: org/apache/jackrabbit/core/config/RepositoryConfig
	at org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepository.acquireRepository(SlingServerRepository.java:118)
	at org.apache.sling.jcr.base.AbstractSlingRepository.startRepository(AbstractSlingRepository.java:805)
	at org.apache.sling.jcr.base.AbstractSlingRepository.activate(AbstractSlingRepository.java:629)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:213)
	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
	at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
	at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:138)
	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:225)
	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:117)
	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:982)
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:297)
	at org.apache.felix.scr.impl.manager.AbstractComponentManager$1.doRun(AbstractComponentManager.java:137)
	at org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
	at org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
	at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.ClassNotFoundException: org.apache.jackrabbit.core.config.RepositoryConfig
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:744)
	at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1656)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
	... 20 more


> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>            Reporter: Mike Moulton
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston resolved SLING-1190.
-------------------------------

    Resolution: Fixed

AFAIK, this can be resolved, patch was applied and Sling is on 16

> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.0.4
>            Reporter: Mike Moulton
>            Assignee: Felix Meschberger
>             Fix For: JCR Jackrabbit Server 2.0.6
>
>         Attachments: SLING-1190.patch
>
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-1190:
----------------------------------------

    Assignee: Felix Meschberger

> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.0.4
>            Reporter: Mike Moulton
>            Assignee: Felix Meschberger
>             Fix For: JCR Jackrabbit Server 2.0.6
>
>         Attachments: SLING-1190.patch
>
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-1190.
-----------------------------------


> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.0.4
>            Reporter: Mike Moulton
>            Assignee: Felix Meschberger
>             Fix For: JCR Jackrabbit Server 2.0.6
>
>         Attachments: SLING-1190.patch
>
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783042#action_12783042 ] 

Felix Meschberger commented on SLING-1190:
------------------------------------------

The following is needed to build:

   * Fix the Bundle-Activator setting in the pom (refers to the wrong class)
   * Upgrade dependencies to 1.6.0
   * Build with "bundle" profile:  mvn -Pbundle clean package

To deploy, the Jackrabbit API 1.6.0 bundle must be installed.

This works for me.

Attaching a patch.

> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>            Reporter: Mike Moulton
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783156#action_12783156 ] 

Felix Meschberger commented on SLING-1190:
------------------------------------------

Upgraded Jackrabbit API and Commons to 1.6 in launchpad/bundles in Rev. 884978 and upgraded the embedded repository to Jackrabbit 1.6 in Rev. 884980 [applying attached patch]

> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.0.4
>            Reporter: Mike Moulton
>            Assignee: Felix Meschberger
>             Fix For: JCR Jackrabbit Server 2.0.6
>
>         Attachments: SLING-1190.patch
>
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-1190:
-------------------------------------

    Affects Version/s: JCR Jackrabbit Server 2.0.4
        Fix Version/s: JCR Jackrabbit Server 2.0.5

> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.0.4
>            Reporter: Mike Moulton
>             Fix For: JCR Jackrabbit Server 2.0.6
>
>         Attachments: SLING-1190.patch
>
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1190) Upgrade Jackrabbit Dependency to 1.6

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-1190:
-------------------------------------

    Attachment: SLING-1190.patch

Patch against Sling trunk upgrading Sling to Jackrabbit 1.6:

    * launchpad/bundles includes API and Jackrabbit Commons 1.6
    * bundles/jcr/jackrabbit-server includes Jackrabbit Core and Textextractors 1.6
           plus updated MANIFEST.MF file (to not require build with "bundle" profile)
           plus upgrade to Sling parent POM 7
           plus fix export package versions

> Upgrade Jackrabbit Dependency to 1.6
> ------------------------------------
>
>                 Key: SLING-1190
>                 URL: https://issues.apache.org/jira/browse/SLING-1190
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>            Reporter: Mike Moulton
>         Attachments: SLING-1190.patch
>
>
> Since 1.6 was released in August I think Sling should upgrade it's dependencies to Jackrabbit 1.6. Aside from the many bug fixes in 1.6, there are significant improvements to performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.