WebCenter Avitek Sample Portal

The Avitek Sample Portal is a custom portal built using Oracle WebCenter 11g Release 1 and WebCenter Web 2.0 Services. In addition to the source of the sample, it also comes with a Developer’s Guide.
Avitek is intended for customers and partners who want to start building custom WebCenter portals quickly. If you have JDeveloper and the WebCenter 11g extension, you’ll have Avitek running in less than 10 minutes. If you’re starting from scratch, you’ll have it running in less than an hour.
Avitek focuses primarily on site management, content driven templates, and customizable pages. It leverages WebCenter Services for page creation, page customization, and content integration. It showcases different approaches to building site navigation and publishing content.

Important Note: If you are using WebCenter 11gR1 Patch Set 1, due to a bug (to be fixed in the next release) you have to do the following work-around:

1. Shutdown JDeveloper
2. Copy Avitek/SiteModel/deploy/avitek-site-model.jar to
$ORACLE_HOME/jdeveloper/jdev/lib/patches directory
3. Restart JDeveloper

6 Responses

  1. Hey Peter;

    I`m not sure how others are finding the Avitek portal – I`m still very very new to webcenter – but it got both me and Matt very confused last month as we tried using it as a starting point for a re-skin.

    I found it very good as a reference in jDev of particular objects and samples of how to do things such as switch navigation bars horizontal to vertical – but redevelopment of a simple new skin was a nightmare for us.

    The Avitek portal for me should only be used as a reference point no one should develop upon it. I`m not sure how it would really help building custom WebCenter portals quickly. Interaction with the frontend is great but developing with this could cause headaches 😉

    Has anyone else had any experience of Avitek – what are your opinions? Is it just me because I`m still trying to get to grips with webcenter coming from a UCM environment..

  2. Loaded Avitek in jdev 11.1.1.2, did the instructions in Important Note and the portal did come up and does seem to match the accompanying PDF overview.

    However, the Integrated WLS pane in jdev showed a load of errors, some permissions related, path problems, problems with MDS, etc.

    Anyone I can send the output to ?

    BTW it looks OK in FF not so much in Chrome.

    Frankly this was thoroughly unexpected. I expected to need “something” running supporting Avitek or “something” to deploy it to.

    Where is it managing content ? Just with the filesystem ?

    • Steve,

      The integrated WebLogic Server that comes with JDeveloper is fully functional. In a development environment you don’t need a full-blown application server to test what you built. When ready for prime time, your applications will then be deployed to the WebLogic Server(s) managed by the Oracle Fusion Middleware.
      As far as the source for the content: for the sake of simplicity, we used the File System Adapter in this demo. There’s nothing that stops you from simply replacing the File System Adapter to a UCM (Stellent) adapter, and grab the content from there.
      You’re welcome to send me the issues/errors you’re seeing. My email address: .@oracle.com.

      Hope this helps,
      Peter

      • Hi Peter,

        I had downloaded Avitek sample application.
        Copied Avitek/SiteModel/deploy/avitek-site-model.jar to $ORACLE_HOME/jdeveloper/jdev/lib/patches directory
        While running in IntegratedWebLogic server gives me the following error:

        Appreciate for your inputs.

        Thanks & Regards,
        Pandurang Wani,
        Wipro Technologies

        ********************************************************************************************************************************************************************************************************************************

        While Compiling

        MDS-00013: no metadata found for metadata object “/oracle/webcenter/avitek/metadata/node0.xml”
        ADFc: /META-INF/adfc-config.xml:
        ADFc: Duplicate managed bean definition for ‘task_flow_action_bean’ detected.
        <[ServletContext@31346225[app:Avitek module:avitek path:/avitek spec-version:2.5 version:V2.0]] Servlet failed with Exception
        java.lang.NullPointerException

        In Browser
        Error 500–Internal Server Error
        java.lang.NullPointerException
        at oracle.webcenter.avitek.sitemodel.model.MetadataPageService.setupParentRef(MetadataPageService.java:377)
        at oracle.webcenter.avitek.sitemodel.model.MetadataPageService.init(MetadataPageService.java:80)
        at oracle.webcenter.avitek.sitemodel.model.MetadataPageService.getInstance(MetadataPageService.java:58)
        at oracle.webcenter.avitek.sitemodel.navigation.CustomViewHandler.createView(CustomViewHandler.java:55)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:572)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:280)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173

  3. Hi Peter,
    I have installed the Avitek sample portal application from the URL: http://www.oracle.com/technology/products/webcenter/avitek_sample_portal.html

    The application you demoed (http://download.oracle.com/otndocs/tech/webcenter/files/WebCenter11gDemoCustomize.html) has got two different skins/themes (Sky & Earth). Can you point me the location to uptake those skins.

    Thanks,
    Raja P

  4. Hi

    Great post.

    Deployed Avitek Sample application to a Integrated WLS successfully.

    Tried to deploy to a standalone WLS (Webcenter) and it fails due to the node.xsd file can not be deployed to MDS.

    Can you shead some light as to what’s the best way to have Avitek deployed on any standalone WLS?

    Thanks

Leave a reply to Raja Cancel reply