Portlet Javascript not working in webcenter portal application

Hi,
the javascript in my portlet is working fine when i deploy it as a separate application, but when i consume it in a portal application it doesnt work.
here is the javascript that i am using in my portlet.
<af:document id="d1">
<trh:script>
function displayTabbedPanel(actionEvent){
AdfPage.PAGE.findComponent('tabbedPanel').setVisible(true);
function enableDisable(actionEvent){
document.getElementById(AdfPage.PAGE.findComponent('thisMonth').getClientId()).disabled=true;
document.getElementById(AdfPage.PAGE.findComponent('nextMonth').getClientId()).disabled=true;
document.getElementById(AdfPage.PAGE.findComponent('targetDate').getClientId()).disabled=false;
document.getElementById(AdfPage.PAGE.findComponent('targetEnd').getClientId()).disabled=false;
function enableDisableInputBox(actionEvent){
document.getElementById(AdfPage.PAGE.findComponent('thisMonth').getClientId()).disabled=false;
document.getElementById(AdfPage.PAGE.findComponent('nextMonth').getClientId()).disabled=false;
document.getElementById(AdfPage.PAGE.findComponent('targetDate').getClientId()).disabled=true;
document.getElementById(AdfPage.PAGE.findComponent('targetEnd').getClientId()).disabled=true;
function validateDate(actionEvent){
var targetEnd = actionEvent.getSource();
var targetStart = AdfPage.PAGE.findComponent('targetDate');
var popup = AdfPage.PAGE.findComponent('msg');
var startDateValue = targetStart.getValue();
var endDateValue = targetEnd.getValue();
var month = startDateValue.getMonth();
var day = startDateValue.getDate();
var year = startDateValue.getYear();
var startDate = new Date(year,month,day);
month = endDateValue.getMonth();
day = endDateValue.getDate();
year = endDateValue.getYear();
var endDate = new Date(year,month,day);
if(startDate>endDate){
alert("END DATE IS INVALID FOR SELECTED START DATE");
document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=true;
else{
document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=false;
function checkAlphanumeric(actionEvent){
var requestor = actionEvent.getSource();
var re = /^[a-zA-Z_0-9]$/;
if (! re.test(requestor.getValue()))
{ alert("Please enter alphanumeric only");
document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=true;
else{
document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=false;
</trh:script>
Thanks,
Dhiraj

You mean you have exposed the taskflow and consumed it as a portlet in Webcenter ?
You may want to check it on the Webcenter Portal forum too - WebCenter Portal

Similar Messages

  • Webclipping Portlet in Webcenter portal application

    When creating a web-clipping port-let in Webcenter portal application, we register the url for the webclipping portlet (http://localhost:7101/portalTools/webClipping/providers/webClipping) as Oracle PDK Producer connection as mentioned in Web center portal developer's guide http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_pages.htm#CHDJDGIF.
    The content for the web-clipping portlet is to be specified at runtime only.
    Is it possible to define the contents for the web clipping portlet in design time/JDeveloper itself.
    Thanks,
    Navaneeth

    You mean you have exposed the taskflow and consumed it as a portlet in Webcenter ?
    You may want to check it on the Webcenter Portal forum too - WebCenter Portal

  • WebCenter Portal Application & not WebCenter Application

    I installed JDeveloper & then installed two WebCenter plugin thru 'Check for Updates' feature. Now it's showing me option to create 'WebCenter Portal Application', however I am not getting option to create 'WebCenter Application'. How can I get this?
    Thanks.

    WebCenter framework features(Standard Portal features) will enable automatically while creating a new portal application from the jdeveloper
    Still it will allow you to disable the standard portal features while creating the project, You can find the same at step4 of your project creating with the disable option "conigure the application with standard Portal features"

  • .JSP page is not running webcenter portal Application

    Hi,
    I have created .jsp page in my webcenter portal application.
    When I run that page it is giving, error 404- Not found exception.
    Please help me how to run jsp page in webcenter app, it that need any extra configurations?
    Thanks
    Deepthi

    See this tutorial: http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10273/toc.htm
    Try to follow the instructions thoroughly - you might have missed something important.

  • WebCenter Portal application with OID

    Can someone show the way to resolve the below Challenge?
    Intention: Integrate OID User repository with Oracle WebCenter Portal application
    Sequence of steps followed:
    1) We have created a new provider under WLS and made the control flag to sufficient,
    2) Reorder the OID Provider with the default provider and changed the default provider control flag to optional
    3) Created new WebCenter Portal application(with the default webcenter framework template) and deployed into custom managed server
    4) Now iam able to login to the sample portal application with the OID Users
    Challenge: i can able to get the administration tab in the application(Sample deployed application) by making the OID Group as a Administrator role, but if i go to the security tab under the webcenter framework administration option it is not fetching any user/group list from OID+*,
    it is showing the popup message like "An unknown error occured during data streaming, Ask your system administrator to inspect the server side logs "
    and here are the logs from custom managed server,
    <Jun 21, 2012 8:40:46 AM CEST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl>; <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:298)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
    at com.sun.el.parser.AstEqual.getValue(AstEqual.java:54)
    at com.sun.el.parser.AstAnd.getValue(AstAnd.java:59)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1204)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.isRendered(UIXComponentBase.java:423)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:154)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:213)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:343)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1386)
    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:104)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1957)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:1618)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1022)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:506)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:113)
    at org.apache.myfaces.trinidadinternal.context.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:222)
    at org.apache.myfaces.trinidad.component.UIXIterator.visitTree(UIXIterator.java:251)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at oracle.adf.view.rich.component.rich.RichDocument.visitTree(RichDocument.java:198)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:43)
    at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:757)
    at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:525)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3607)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1508)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.renderView(CustomViewHandler.java:258)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:34)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:45)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.NullPointerException
    at oracle.webcenter.security.common.WCGroup.<init>(WCGroup.java:74)
    at oracle.webcenter.security.common.IdentityWrapper.getGroup(IdentityWrapper.java:183)
    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 javax.el.BeanELResolver.getValue(BeanELResolver.java:293)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
    at com.sun.el.parser.AstEqual.getValue(AstEqual.java:54)
    at com.sun.el.parser.AstAnd.getValue(AstAnd.java:59)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1204)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.isRendered(UIXComponentBase.java:423)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:154)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:213)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:343)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1386)
    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:104)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1957)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:1618)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1020)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:506)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:113)
    at org.apache.myfaces.trinidadinternal.context.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:222)
    at org.apache.myfaces.trinidad.component.UIXIterator.visitTree(UIXIterator.java:251)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at oracle.adf.view.rich.component.rich.RichDocument.visitTree(RichDocument.java:198)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:43)
    at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:756)
    at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:525)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3606)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1508)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.renderView(CustomViewHandler.java:258)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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:301)
    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:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    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.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Edited by: ngsankar on Jun 21, 2012 9:55 AM

    Do you have same more logs? Maybe in AdminServer?
    When you get
    ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.ELException: java.lang.NullPointerException
    Usually is a error that you isn't catched in some class and you get error in your jspx page.

  • How to create custom template for webcenter portal application

    Hi,
    I created webcenter portal application in my jdev using the webcenter portal application template provided by the webcenter framework.
    I tried to create custom template for my application by following steps:
    1. Created new application using webcenter portal application template with all default package structure.
    2. Right click pagetemplates folder under webcontent package and select new option.
    3. New gallery opens up.
    4. Selected JSF under webtier and JSF Page Template under items in the right hand side and clicked Ok button.
    5. New wizard opens up for creating new JSF page template.
    6. Gave template name(file name) and Page Template Name(template def name).
    7. Selected checkbox staing start a Quick Start Layout and selected three column layout and selected Ok.
    8. Selected checkbox for Create Associated ADFm Page Defination(so that page templates can be changes at run time).
    9. Created some Facet Definations (header, footer, content1, content2, LHN, RHN).
    10. Clicked Ok button which will create custom template.
    11. Added some Panel Group Layout component from Component Palette.
    12. Created new page (.jspx) with this template.
    Now when I try to add producer portlets created using Producer Portlet application template and connected to the above application using WSRP2.0, I'm facing problem.
    The prolem is that I'm not able to add more than one portlet in one single page?
    Kindly let me know whether the steps followed by me is wrong some where and needs to corrected and let me know how I can add more than one portlet to page?
    Basically I cant see more than one placeholders in my page to add portlets.

    Thanks Yannick.
    In the step 9 I had mentioned that I created various facet definations (header, footer, content, content1 RHN and LHN).
    Is this is not facet you are talking about or should I drop facet ref from the resource palette?
    Can't I add moer than one portlet to my page at design time itself?
    Annoying since in weblogic portal we do this at design time(.portal).

  • How to migrate application to webcenter portal application

    Hi, I am interested in turning a fusion web application to a webcenter portal app to utilize features such as navigation models, resource manager, and catalogs, etc.
    section 8.2.1 of webcenter development guide indicates that "migrating a non-portal webcenter application to a webcenter portal application is not supported" - but perhaps possible with tedious manual steps.
    Has anyone ever tried such feat? if not, what could be the steps/considerations involved, any suggestions? (and what about doing this the other way around? - i.e., create new app from webcenter portal template and then import projects from non-portal one)
    Thanks and regards,
    Joe

    you are right. we actually experimented with deploying one project in the fusion app as shared ADF lib to be consumed in a new portal app, which works out well. but then the challenge is that the fusion app already has 50+ projects - it'd be more conforming if there's a way to reliably bring in all webcenter features to a new project under the same fusion app.
    I am thinking for whatever "webcenter portal application template" prescribes jdeveloper to do when a new application based on such template is created, if we can manually perform the exact steps from the jdeveloper gui, we should end up with the same portal project, unless some items are not exposed in ui but are programmatic outputs?. (I guess some part of this consideration is jdeveloper specific)
    Learning how the webcenter portal template (or others in general) was created in the first place might be helpful as well.

  • Exception while creating default webcenter portal application

    Hi Experts,
    I am facing a strange issue and need your guidance.
    I tried to create a basic webcenter portal via JDeveloper and tried to run the same.
    However, while running the basic application without any modifications gives me following error:
    oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.portalapp.pages.loginPageDef of type Form Binding Definition is not found.
    at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2703)
    at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2715)
    at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:292)
    at oracle.adf.model.binding.DCBindingContainerReference.getDef(DCBindingContainerReference.java:107)
    at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1624)
    at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:371)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:246)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:203)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    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.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    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.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/pages/loginPageDef.xml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1163)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:2837)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1204)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1153)
    at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2659)
    ... 45 more
    Not sure why this is happening.
    Going through information available I have tried following things:
    1) Recreated new webcenter portal application and it gives same error
    2) Deleted the default domain and tried creating a new domain
    3) My work folder doesn't consist of any spaces
    Please let me know what else can be tried.
    Thanks in advance.

    From Yannick's Blog -
    You need to identify the navigation model as a portal resource. Just right click on your navigation model in JDev
    and select Create Portal Resource. This should solve the issue.http://www.yonaweb.be/webcenter_tutorial/closer_look_at_navigation_model

  • Get weblogic deployment version from webcenter portal application

    Hi everybody,
    I was wondering whether it is possible to retrieve the version number of a deployed webcenter portal application from the application itself. The usecase here is that we want to display the version number in the portal application itself. I have set the current version in the MANIFEST.MF and the deployment works and provides the correct version number. Now I am wondering how to retrieve this value. I have tried reading from the MANIFEST.MF from within the application but I only manage to get the manifest for the webcenter framework... (This is undoubtedly because it reads from the WAR and not the EAR)
    I am using Webcenter Portal 11.1.1.6.
    Any pointers?
    Thank you!

    Hi! Thanks for your reply. I think you may have misunderstood me. I do not need the server version, but the version of a deployed application on the server. (like "portalapp (V1.0)") Using the MANIFEST.MF I can specify a version.
    I can see there might be a way to do so by connecting to the weblogic server using the method referenced by you but I wonder if there could be an easier way.
    Greetings,
    Marcel

  • Error in executing new webcenter portal application

    Hi
    i am getting error in executing new webcenter portal application, even while executing existing webcenter portal application.Installed all necessary bundles.And my installation is under OR_MW_1 folder.
    [Running application SmartSystems on Server Instance IntegratedWebLogicServer...]
    [11:29:32 AM] ---- Deployment started. ----
    [11:29:32 AM] Target platform is (Weblogic 10.3).
    [11:29:33 AM] Retrieving existing application information
    [11:29:33 AM] Running dependency analysis...
    [11:29:33 AM] Deploying 3 profiles...
    [11:29:33 AM] Wrote MAR file to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\SmartSystems\AutoGeneratedMar
    [11:29:34 AM] Wrote Web Application Module to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\SmartSystems\PortalWebApp.war
    [11:29:34 AM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Any customizations created while running the application will be written to 'C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.mds.dt\adrs\SmartSystems\AutoGeneratedMar\mds_adrs_writedir'.
    [11:29:35 AM] Wrote Enterprise Application Module to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\SmartSystems
    [11:29:35 AM] Deploying Application...
    <May 6, 2013 11:29:36 AM IST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>
    <May 6, 2013 11:29:37 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1367819975651' for task '2'. Error is: 'weblogic.management.DeploymentException: '
    weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         Truncated. see log file for complete stacktrace
    >
    <May 6, 2013 11:29:37 AM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <May 6, 2013 11:29:37 AM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <May 6, 2013 11:29:37 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'SmartSystems [Version=V2.0]'.>
    <May 6, 2013 11:29:37 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         Truncated. see log file for complete stacktrace
    >
    [11:29:37 AM] #### Deployment incomplete. ####
    [11:29:37 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application SmartSystems due to error deploying to IntegratedWebLogicServer.
    [Application SmartSystems stopped and undeployed from Server Instance IntegratedWebLogicServer]

    Have you included libraries for this ?
    java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener

  • Best Approach for Security in WebCenter Portal Application

    Hi,
    We are analyzing a right approach for webcenter portal security on an application . We found that we can do all Roles and Security in Page Hierarchy which in turn stores the security details in Jazn-data.xml . Is this the right approach for defining the roles and security for a webcenter portal application .
    What is the importance of Configuring WS_security in webcenter Portal Application and do we need to define this WS_Security even after defining them in page hierarchy. Could you please guide us on this .
    Thank you,
    Sashank P

    Hi Shashank,
    First sorry for late reply,
    WS_Security, can you please explain what do you mean by WS_Security, from the term i could not infer which part you are talking about.
    Let me tell you about the Webcenter security -
    This is the heirarchy , the Fusion middelware forms the base with webcenter at the top.\
    Webcenter Security
    |
    ADF Security
    |
    Fustion Midddleware Security (OPSS)
    Now you are goin to apply security to your Webcenter and ADF layers.
    Lets come back to the question .
    Any webcenter portal, you have to use the Jazn-Data.xml file to secure all the content whether its the navigation /pages /admin pages/taskflows etc.
    Its pretty much easy to use , let me know if you have any difficulty on that.
    Page hierarchy -> Yes you have an option to set your security for pages alone, here you have addition fine grain permisions (update/delete/personalise etc).
    If you need those fine grain permissions you can use this.
    To Conclude i would say use jazn-data for taskflows/components/admin page protection etc.
    Use Page heirarchy's fine grain permission to pages and navigation model's visible attribute to show/hide navigation based on user's roles.
    Let me know if this helps

  • Working with WebCenter Portal & ADF Skin Editor Together

    Hi all.
    I want to ask to webcenter community developers about the best practice to work with ADF Skin Editor for WebCenter Apps.
    I usually deployed my ADF Skin JAR Libraries as Shared Libs and consumed them from pure ADF Applications without problems.
    However, in WebCenter Portal Framework Applications resources are readed at MDS Path: /oracle/webcenter/portalapp/skins/... (like portal-skin.css) or at the shared lib called oracle.webcenter.skin
    My objetive is to provide more Skin's to WebCenter Portal Application from ADF JAR Librarys created by ADF Skin Editor and be selectable (like /oracle/webcenter/portalapp/skins/... resources) in Runtime in Administration page.
    How can i achieve it easly? (Please don't provide off doc, i read it).
    Have i to override SkinPhaseListener of WebCenter to read from another locations?.
    Thanks.

    Hi.
    Finally for WebCenter Portal Applications we are using ADF Skin Editor as support to skin ADF Components.
    When we've got our skin defined in ADF Skin Editor then copy to CSS file under MDS folder (/oracle/webcenter/portalapp...) and create a Portal Resource of it.
    If you want to deploy your ADF Skins as Shared Libs or included directly to WebCenter Portal App as ADF JAR Library then you'll see that they don't appear at Runtime to be selectable in admin page.
    If you want these skins be selectable at runtime you have to register them in generic-resources.xml manually.
    PD: Setting trinidad skins at "FINEST" level debug you can see what trinidad-skins is WebCenter loading.
    I hope this help you.
    PD: Your problem is little different because you are in WebCenter Spaces.
    Regards.

  • Deployment issue of webcenter portal application

    Hi,
    While deploying webcenter portal application I am getting below exception:
    Caused By: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
    This is what I did:
    1. Created a separate schema using webcenter RCU.
    2. Extended domain for 'custom managed sever' using oracle.wc_custom_portal_template_11.1.1.jar template.
    3. For 3 new data sources (custom), used new schema details.
    4. Restarted domain.
    5. I could see my new managed server running, however there was no machine associated to it and I did that from console.
    Now when I deploy my webcenter portal application on this managed server I am getting problem.
    I tried below solutions but no luck:
    1. Tried deploying ear from console but same error.
    2. Tried deploying ear on admin server but same error.
    Kindly suggest if I am missing any step...
    Thanks!

    it's working now.
    this is what i did:
    1. commented following in weblogic-application.xml file:
    <!--listener>
    <listener-class>oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener</listener-class>
    </listener-->
    2. then i started getting following error:
    [03:36:42 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'myapp'
    [03:36:42 PM] Caused by: java.lang.ClassNotFoundException: oracle.webcenter.portalwebapp.servlet.PortalErrorServlet
    i found this PortalErrorServlet servlet entry in web.xml file, so i commented that as well.
    n now application is deployed.
    and i got this clue when i deployed sample application available on yannick's site, which got deployed successfully and that application didn't has entry for above classes...
    thanks.
    Edited by: user5636757 on Dec 3, 2012 7:50 AM

  • Message Board taskflows - useless in custom WebCenter Portal application?

    Hi,
    I am developing custom Webcenter portal application. I have added Message Board - wall viewer taskflow (/oracle/webcenter/peopleconnections/wall/controller/taskflows/WallViewer.xml#WallViewer) to the page. In binding parameters, I can set parameters like userId (I have set it to #{securityContext.userName}). After that each user can post to the wall and see his previous entries. But how can I let my user see posts from other users?
    I have connected from my portal to WebCenter Spaces via Webservice API. Created group space named 'myspace' with API and added users as members. I also set my custom portal application to use the same database as Spaces application, to be sure that group spaces I create and entries from Message Board will be stored in the same database.
    But when I try to use binding paramter spaceName (I set it to #{'myspace'}) I get error message "Failed to find the space of the message board."
    So how can I display messages from group space in my custom portal via Message Board taskflow? In custom portal I only managed to achieve situation, where single user can only see his own posts, what makes this taskflow pretty useless

    I did further research, maybe this will give you a clue:
    I browsed into code of Message Board taskflow (peopleconnections-view.jar -> oracle.webcenter.peopleconnections.wall.controller.taskflows.WallViewer.xml). The first activity in this taskflow is method call - checkGroupSpaceName, which execures method bound as #{pageFlowScope.WCPeopleConnWallViewerBean.checkGroupSpaceName}
    I decompiled oracle.webcenter.peopleconnections.wall.internal.view.WallViewerBean class. In checkGroupSpaceName method there is a line
    scope = ServiceContext.getContext().findScope(spaceName)
    On the jspx page where Message Boards taskflow is added, I've put a line:
    <af:outputText value="#{serviceCtx.allScopes}" id="pt_ot2"/>
    which displays as output:
    [Scope[name=defaultScope, guid=s8bba98ff_4cbb_40b8_beee_296c916a23ed]]
    So clearly Webcenter does not "see" the scope of any space, especially it doesn't see "myspace" scope.
    Any ideas what do do?

  • Obfuscated JavaScript not works in safari 5.0.2

    Hi All,
    I'm very new to safari browser and currently makes my web application in safari. It works fine with few bugs in UN-obfuscated JavaScript.
    Obfuscated JavaScript not works in Safari. Kindly let me know the solution or set up. This is quite urgent and seeks for earlier response.
    Thanks in advance.

    For OS X javascript issues, post to the Unix or Developer forums under OS X Technologies. For windoze issues, I have no suggestions, since I don't do that technology.

Maybe you are looking for

  • Third Party Sales Incorrect Status Update at the order level

    Hi, We follow a third party sales in our system Sales order > PR> PO> MIGO>MIRO>VF03 Howeevr, the status of the sales order is being processed. The quantity is same, item relevance for delivery is unchecked at schedule line and item category. Our use

  • Help - Canon Mark IV CR2's won't open in ACR from Bridge CS3

    Hello, I have CS3 - Bridge version 2.1.1.9 and I've uploaded 200 RAW images that show up blank.  The files show 21 mb and as a .CR2, show up in the camera, however, no previews in Bridge. Do I need a newer version of Bridge and ACR? Thanks, Captain

  • Problem Removing Mask

    Hi, I have a mobile IOS application that utilizes the TabbedViewNavigatorApplication component. The app has a skin that defines a background image for the entire app, and the skin is defined as an actionscript class. On one of my views, I am displayi

  • Ora-06531 reference to uninitialized collection --- Please help

    Hello, I am getting this "ora-06531 reference to uninitialized collection" while executing the below procedure. ======================= PROCEDURE iud_account_col ( pv_account_version IN account_version_t AS LC_USR_ID CONSTANT VARCHAR2(30) := pkg_util

  • Connecting server to Home Hub 1.5

    All Apologies for this probably being a silly question, but I want to connect my Home Hub 1.5 to another computer using one of the ethernet ports and I am struggling. The reason for connecting the computer is that I am using the computer as a music s