Skip navigation
Keith Howe
Currently Being Moderated

Trying to deploy a font with an app generates "Cannot access font page" error.

Mar 29, 2012 1:02 PM

Tags: #cq5 #font_management #font_installation

I'm trying to deploy a font within an app in CQ5.5 (Windows 64-bit JRE 1.6.0u31) using these instructions.


The server throws a "Cannot access font page" error when trying to process the font entry. Both the temp source file and temp target directory listed in the error seem to exist fine and have wide open permissions. I've tried clearing out these directories entirely but to no avail. The server generates the same error when it tries to process the font on startup as well.


29.03.2012 13:57:17.622 *INFO* [OsgiInstallerImpl] Installed configuration from resource TaskResource(url=jcrinstall:/apps/myapp/config/,, state=INSTALL, attributes=[,], digest=eecad2d31d8c73df7f30b84630205d87)

29.03.2012 13:57:17.626 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent:] No files to delete in temporary folder C:\Users\khowe\AppData\Local\Temp\day_gfx_FontFileProviderImpl_1333051030580_2

29.03.2012 13:57:17.627 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent:] Activated - using temporary folder C:\Users\khowe\AppData\Local\Temp\day_gfx_FontFileProviderImpl_1333051037627_3

29.03.2012 13:57:17.641 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent:] addFont: Cannot access font page /apps/myapp/fonts/verdana.ttf Error renaming C:\Users\khowe\AppData\Local\Temp\ to C:\Users\khowe\AppData\Local\Temp\day_gfx_FontFileProviderImpl_1333051037627_3\c7889920eee18bea9f4051ef58e949e1a69266a6.font









    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(

    at org.apache.felix.scr.impl.helper.BaseMethod.access$500(

    at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(

    at org.apache.felix.scr.impl.helper.BaseMethod.invoke(

    at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(

    at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(

    at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(

    at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(

    at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(

    at org.apache.felix.scr.impl.manager.ImmediateComponentManager.reconfigure(

    at org.apache.felix.scr.impl.config.ImmediateComponentHolder.configurationUpdated(

    at org.apache.felix.scr.impl.config.ConfigurationSupport.configurationEvent(



    at Source)

  • Currently Being Moderated
    Mar 29, 2012 2:43 PM   in reply to Keith Howe

    Hi Keith,


    I believe the problem is that in CQ5.5 (by default), is that anonymous user no longer have access to /apps, /libs, /home like it did in CQ5.4  Try moving /apps/myapp/fonts/verdana.ttf to /etc/designs/myapp/fonts/verdana.ttf and update the 'Day Commons GFX Font Helper' configuration in OSGi.


    Hope that helps.


    Mark as:
  • Currently Being Moderated
    Mar 29, 2012 11:46 PM   in reply to Keith Howe

    What type is your "font" folder? It should be a sling:folder and not a nt:folder.

    Mark as:
  • Currently Being Moderated
    Mar 30, 2012 9:32 AM   in reply to Keith Howe

    I would suggest open a Daycare ticket then.  I suspect the documentation for 5.5 hasn't been updated, and possibly things have changed since 5.4.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points