Now i try to practice this article example (http://helpx.adobe.com/experience-manager/using/first-osgi.html) and i do not call the bundle service, so i just create a static component and template. But last i can't see anything when i create a page in WCM using the template.
anyone could have any suggestion now it make me a little confused !
Solved! Go to Solution.
Views
Replies
Total Likes
Please check the component jcr:content whether the property sling:resourceSuperType is set properly ( eg, sling:resourceSuperType = foundation/components/page ) and you have overridden some jsp ( eg body.jsp) accordingly.
Views
Replies
Total Likes
Can you please elaborate more with screenshot & actual implementation? Are you getting blank page, If so Check the log files if there is any problem.
Views
Replies
Total Likes
[img]1.jpg[/img][img]2.jpg[/img][img]3.jpg[/img][img]4.jpg[/img]
Hi sham hc,
i attached these steps as above, and now the problem as yesterday.
regards,
Brian
Views
Replies
Total Likes
[img]1.jpg[/img][img]2.jpg[/img][img]3.jpg[/img][img]4.jpg[/img]
Views
Replies
Total Likes
And i completely do the steps by it reuqires(http://helpx.adobe.com/experience-manager/using/first-osgi.html) , but at last get the blank page.
It's so weird. And i find the log background happend some error, but i don't think this is the reason why get blank page at last step.
java.io.IOException: Cannot run program "E:\aem\crx-quickstart\launchpad\felix\bundle313\data\image-server\is-home\bin64\ImageServer.exe" (in directory "E:\aem\crx-quickstart\launchpad\felix\bundle313\data\image-server\is-home"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
at com.scene7.is.scalautil.service.Service$.com$scene7$is$scalautil$service$Service$$exec(Service.scala:65)
at com.scene7.is.scalautil.service.Service.run(Service.scala:135)
at com.scene7.is.image_server.ImageServerProxy.configure(ImageServerProxy.scala:122)
at com.scene7.is.image_server.ImageServerProxy.service$lzycompute(ImageServerProxy.scala:67)
at com.scene7.is.image_server.ImageServerProxy.service(ImageServerProxy.scala:60)
at com.scene7.is.image_server.ImageServerProxy.start(ImageServerProxy.scala:79)
at com.adobe.cq.dam.s7imaging.impl.is.ImageServerComponent.activate(ImageServerComponent.java:112)
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:231)
at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39)
at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624)
at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508)
at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:315)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:871)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:838)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:777)
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:321)
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:232)
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:319)
at org.apache.felix.framework.Felix.getService(Felix.java:3574)
at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:572)
at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2012)
at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.prebind(DependencyManager.java:1005)
at org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1439)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:1119)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:807)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:777)
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:321)
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:232)
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:319)
at org.apache.felix.framework.Felix.getService(Felix.java:3574)
at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
at org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:1373)
at org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:1347)
at org.apache.felix.scr.impl.manager.ComponentContextImpl.locateService(ComponentContextImpl.java:118)
at org.apache.sling.servlets.resolver.internal.SlingServletResolver.createServlet(SlingServletResolver.java:950)
at org.apache.sling.servlets.resolver.internal.SlingServletResolver.bindServlet(SlingServletResolver.java:912)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
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:231)
at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39)
at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624)
at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508)
at org.apache.felix.scr.impl.helper.BindMethod.invoke(BindMethod.java:37)
at org.apache.felix.scr.impl.manager.DependencyManager.doInvokeBindMethod(DependencyManager.java:1608)
at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:1593)
at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeBindMethod(SingleComponentManager.java:382)
at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:331)
at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:304)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1480)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1401)
at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:1210)
Caused by: java.io.IOException: CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:177)
at java.lang.ProcessImpl.start(ProcessImpl.java:28)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 93 common frames omitted
19.09.2014 11:55:33.273 *ERROR* [FelixStartLevel] com.adobe.cq.dam.cq-scene7-imaging [com.adobe.cq.dam.s7imaging.impl.is.ImageServerComponent(1129)] Failed creating the component instance; see log for reason
19.09.2014 11:55:33.274 *WARN* [FelixStartLevel] com.adobe.cq.dam.cq-scene7-imaging [com.adobe.cq.dam.s7imaging.impl.ps.PlatformServerServlet(1130)] Could not get service from ref [com.adobe.cq.dam.s7imaging.impl.is.ImageServerComponent]
19.09.2014 11:55:33.278 *ERROR* [FelixDispatchQueue] com.adobe.cq.dam.cq-scene7-imaging FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null.)
org.osgi.framework.ServiceException: Service factory returned null.
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:354)
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:232)
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:319)
at org.apache.felix.framework.Felix.getService(Felix.java:3574)
at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:572)
at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2012)
Views
Replies
Total Likes
Please check the component jcr:content whether the property sling:resourceSuperType is set properly ( eg, sling:resourceSuperType = foundation/components/page ) and you have overridden some jsp ( eg body.jsp) accordingly.
Views
Replies
Total Likes
hi Sumit,
I try to change the superType box and enter the value like your suggestion, please see the screenshot attached updated that i reply to Sham HC. But nothing changed as the same.
thanks a lot.
Regards,
Brian
Views
Replies
Total Likes
hi sumit,
Now this problem is fixed ,and run well. I just change to enter the superType "sling:resourceSuperType = foundation/components/page" for the component defined.
and here why need to give this value "foundation/components/page", could you explain more anything ?
Thanks a lot.
Br,
Brian
Views
Replies
Total Likes
Well, it is the base component. Please have a look at /libs/foundation/components/page for details.
Views
Replies
Total Likes
Views
Likes
Replies