Expand my Community achievements bar.

SOLVED

Upgrade CQ5.5 to 5.6.1

Avatar

Level 2

I have installed CQ5.5 then followed the official upgrade http://dev.day.com/docs/en/cq/current/deploying/upgrading.html from 5.5 to 5.6.1

Below are errors present in my error.log after restart,
has anybody performed such an upgrade,
how do I resolve these errors,
any advice is welcome:

"17.09.2013 16:21:05.716 *ERROR* [FelixStartLevel] com.day.cq.collab.cq-collab-wiki [com.day.wiki.sling.WikiMailService] The activate method has thrown an exception (java.lang.ClassCastException: org.apache.sling.javax.activation.internal.OsgiMailcapCommandMap cannot be cast to javax.activation.MailcapCommandMap) java.lang.ClassCastException: org.apache.sling.javax.activation.internal.OsgiMailcapCommandMap cannot be cast to javax.activation.MailcapCommandMap"

"17.09.2013 16:21:05.737 *ERROR* [FelixStartLevel] com.day.cq.collab.cq-collab-wiki [com.day.wiki.sling.WikiMailService] Failed creating the component instance; see log for reason"
"17.09.2013 16:21:05.737 *ERROR* [FelixDispatchQueue] com.day.cq.collab.cq-collab-wiki FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null.) org.osgi.framework.ServiceException: Service factory returned null."

"17.09.2013 16:21:16.025 *ERROR* [FelixStartLevel] org.apache.sling.servlets.resolver.internal.SlingServletResolver bindServlet: Servlet service not available from reference [javax.servlet.Servlet]"
"17.09.2013 16:21:16.025 *ERROR* [FelixDispatchQueue] com.day.cq.collab.cq-collab-wiki FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null.) org.osgi.framework.ServiceException: Service factory returned null."

"17.09.2013 16:21:17.919 *ERROR* [FelixStartLevel] com.day.cq.dam.cq-dam-core [com.day.cq.dam.core.impl.servlet.ImageModificationServlet] bind method [bindXmpHandler] not found; Component will fail"
"17.09.2013 16:21:17.919 *ERROR* [FelixStartLevel] com.day.cq.dam.cq-dam-core [com.day.cq.dam.core.impl.servlet.ImageModificationServlet] bind method [bindXmpHandler] not found"

1 Accepted Solution

Avatar

Correct answer by
Level 10

File a daycare ticket and request for cq-5.6.1-hotfix-3106.zip Installing it should resolve wiki issue

View solution in original post

5 Replies

Avatar

Level 1

I m also getting the same error.

I have attached the stack trace.

Avatar

Correct answer by
Level 10

File a daycare ticket and request for cq-5.6.1-hotfix-3106.zip Installing it should resolve wiki issue

Avatar

Level 2

Hotfix cq-5.6.1-hotfix-3106.zip did remove the wiki errors.

Still have the following in my logs, waiting for daycare response:

24.09.2013 16:02:29.979 WARN FelixStartLevel com.day.cq.dam.cq-dam-handler com.day.cq.dam.handler.standard.ooxml.OpenOfficeHandler Could not get service from ref com.day.cq.dam.api.handler.store.AssetStore
24.09.2013 16:02:29.979 ERROR FelixDispatchQueue com.day.cq.dam.cq-dam-core FrameworkEvent ERROR (org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.) org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.

24.09.2013 16:02:29.981 ERROR FelixDispatchQueue com.day.cq.dam.cq-dam-handler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null.) org.osgi.framework.ServiceException: Service factory returned null.

24.09.2013 16:02:29.987 WARN FelixStartLevel com.day.cq.dam.cq-dam-handler com.day.cq.dam.handler.standard.ooxml.MSPowerPointOOXMLHandler Could not get service from ref com.day.cq.dam.api.handler.store.AssetStore
24.09.2013 16:02:29.987 ERROR FelixDispatchQueue com.day.cq.dam.cq-dam-core FrameworkEvent ERROR (org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.) org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.

24.09.2013 16:02:29.988 ERROR FelixDispatchQueue com.day.cq.dam.cq-dam-handler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null.) org.osgi.framework.ServiceException: Service factory returned null.

24.09.2013 16:02:31.777 ERROR FelixStartLevel com.day.cq.dam.cq-dam-core com.day.cq.dam.core.impl.servlet.ImageModificationServlet bind method bindXmpHandler not found; Component will fail
24.09.2013 16:02:31.777 ERROR FelixStartLevel com.day.cq.dam.cq-dam-core com.day.cq.dam.core.impl.servlet.ImageModificationServlet bind method bindXmpHandler not found

Avatar

Level 10

Are you getting the message one time then you can ignore. Because the bundle was searching for service which are not active but after some time both the service may be active.  Restart the system & verify.

If issue still persist use the tool [1] and verify. To daycare upload the zip file from http://<host>:<port>/system/console/config & assigned specialist will do the needful.

Also update daycare in case you are using linux 64 bit OS.

[1]   http://dev.day.com/content/dam/day/onlinetool/COI.html

Avatar

Level 2

Restarted the system today and the following error remains only:

27.09.2013 12:17:28.120 *ERROR* [FelixStartLevel] com.day.cq.dam.cq-dam-core [com.day.cq.dam.core.impl.servlet.ImageModificationServlet] bind method [bindXmpHandler] not found; Component will fail
27.09.2013 12:17:28.121 *ERROR* [FelixStartLevel] com.day.cq.dam.cq-dam-core [com.day.cq.dam.core.impl.servlet.ImageModificationServlet] bind method [bindXmpHandler] not found

Used your tool http://dev.day.com/content/dam/day/onlinetool/COI.html to get the following:

Added
Symbolic Name                                 Bundle Name                                                 Expected Version Number    Actual Version Number
com.day.cq.collab.cq-collab-wiki         Day Communique 5 SocialCollab Wiki                                                       5.4.2
com.day.cq.collab.cq-collab-wiki-api    Day Communique 5 SocialCollab Wiki API                                                 5.4.0

Changed
Symbolic Name                                 Bundle Name                                                 Expected Version Number    Actual Version Number
com.day.crx.sling.server                     Day CRX Sling - CRX Embedded Repository     2.4.30                                 2.4.32

Deleted
Symbolic Name                                          Bundle Name                                                 Expected Version Number    Actual Version Number
org.apache.felix.webconsole.plugins.event    Apache Felix Web Console Event Plugin          1.0.2    

Updated daycare as you suggested.

Thanks