Rendering Portlet True through Programmatically in Webcenter Portal App

Hi,
In web-center portal application,
in home.jspx i have dragged & dropped a portlet and declaratively i had given portlet as False, i want to make it True through programmatically, based on some condition in Bean.
How can i achieve this...?
Regards.

Hi.
adfp:porlet tag haven't "visible" property then you have to follow next steps:
- Surround your adfp:portlet with a panelGroupLayout or layout component:
<af:panelGroupLayout id="pgl1" visible="#{myBean.showPortlet}">
                <adfp:portlet value="#{bindings.LocationPortlet1_1}"
                              id="portlet1"/>
</af:panelGroupLayout>- Layout component visible property binding to a boolean property of a manage bean.
public class MyBean {
   private boolean showPortlet;
   private RichPanelGroupLayout yourLayout;
   public MyBean() {
      showPortlet = false;
}- If you want show Portlet then change showPortlet and apply PPR to Layout component
IF YOU ARE IN JAVA OUT OF MYBEAN
... // your code
MyBean myBean = (MyBean) JSFUtils.resolveExpression("#{myBean}");
myBean.setShowPortlet(true);
AdfFacesContext.getCurrentInstance().addPartialTarget(myBean.getYourLayout());IF YOU ARE IN MYBEAN CLASS
... // your code
this.showPortlet = true;
AdfFacesContext.getCurrentInstance().addPartialTarget(this.yourLayout);If you want to do PPR in JSPX then:
<af:panelGroupLayout id="pgl1" visible="#{not empty viewScope.showPortlet ? viewScope.showPortlet : false}">
      <adfp:portlet value="#{bindings.LocationPortlet1_1}" id="portlet1" partialTriggers="test"/>
</af:panelGroupLayout>
<af:commandButton text="anyAction" id="test">
     <af:setActionListener from="true" to="#{viewScope.showPortlet}"/>
</af:commandButton>Regards

Similar Messages

  • Webcenter portal app globalization - howto

    Hi,
    I'm looking for a good guide/tutorial on Custom Webcenter portal app globalization. Webcenter dev guide also doesn't seem to be comprehensive about that.
    I found very straightforward video: http://www.youtube.com/watch?v=ha6FzOkVc24 however it refers to some additional files with code snippets I cannot download anywhere.

    Hi,
    Okay, I know I should use resource bundles for everything. I tried to follow video tutorial mentioned earlier (http://www.youtube.com/watch?v=ha6FzOkVc24):
    - added xlff PortalBundle
    - translated some af:outputText labels on page template
    Now when I try to run my portal in JDeveloper I got following exception:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces - cykl życia otrzymuje nieobsługiwane wyjątki w fazie RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    [----- CUT ---------]
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         ... 66 more
    Caused by: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
    [----- CUT ---------]
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
         ... 116 more
    <PersonalizationFilter> <doFilter> Caught unexpected client exception.
    javax.servlet.ServletException: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
         at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:170)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:737)
    [----- CUT ---------]
         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: java.util.MissingResourceException: Can't find bundle for base name com.mycompany.myproject.portal.PortalBundle, locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
    [----- CUT ---------]
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
         ... 116 more
    where
    ADF_FACES-60098:Faces - cykl życia otrzymuje nieobsługiwane wyjątki w fazie RENDER_RESPONSE 6
    means
    ADF_FACES-60098:Faces - lifecycle recieves unhandled exceptions in phase RENDER_RESPONSE 6
    I tried to duplicate PortalBundle.xlf as PortalBundle_en.xlf, but it doesn't help. What am I doing wrong? Please note that comparing to mentioned tutorial, I don't have phase listener nor ApplicationBean registered.
    But what next - how can I implement language selection control and pass information about selected language to taskflows defined in my ADF library?
    Concerning 2) - I'm not sure what do you mean - why can't I follow instructions from the video on localizing navigation (starting from 7:04) - seem to be pretty straightforward.

  • 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

  • Error while running / creating webcenter portal app

    Hi,
    I had a fresh installation of Oracle JDeveloper Studio Edition Version 11.1.1.6.0. I installed the oracle.webcenter.customization_bundle and oracle.webcenter.framework_bundle as well. Now whenever I want to create a new Webcentre Portal App it's missing out the folders like application sources, in Web content it's missing out 'images' and 'oracle' folders.
    Now even if i open a webcentre app taken from a different machines and run I'm getting this error.
    *** Using port 7101 ***
    C:\Users\supriyo_basu\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\ORACLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\ORACLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\JDK160~1\lib\tools.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\ORACLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\wcps-lib\derby-10.6.1.0.jar;C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\wcps-lib\derbytools-10.6.1.0.jar;D:\Oracle middleware1\jdeveloper\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;D:\Oracle middleware1\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar;D:\ORACLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\ORACLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\ORACLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=D:\ORACLE~1\patch_wls1035\profiles\default\native;D:\ORACLE~1\patch_jdev1111\profiles\default\native;D:\ORACLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~1\WLSERV~1.3\server\bin;D:\ORACLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~1\JDK160~1\jre\bin;D:\ORACLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\SYSTEM;C:\Windows\system32\Wbem;C:\Program Files\CA\eTrustITM\\;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Microsoft Application Virtualization Client;D:\ORACLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    Starting WLS with line:
    D:\ORACLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\ORACLE~1\WLSERV~1.3\server\lib\weblogic.policy "-Djavax.net.ssl.trustStore=D:\Oracle middleware1\wlserver_10.3\server\lib\DemoTrust.jks" -Doracle.adfm.usemds=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\ORACLE~1\WLSERV~1.3 -Dwls.home=D:\ORACLE~1\WLSERV~1.3\server -Dweblogic.home=D:\ORACLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\ORACLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1 -Djrockit.optfile=D:\ORACLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\ORACLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\ORACLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\SUPRIY~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\oracle\store\gmds -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -noverify -Doracle.webcenter.analytics.disable-native-partitioning=false -Doracle.webcenter.tagging.scopeTags=false -XX:+UseParallelGC -XX:+DisableExplicitGC -Dportlet.oracle.home=D:\Oracle middleware1\jdeveloper -Dwc.oracle.home=D:\Oracle middleware1\jdeveloper -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\ORACLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\ORACLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    java.lang.NoClassDefFoundError: middleware1\jdeveloper
    Caused by: java.lang.ClassNotFoundException: middleware1\jdeveloper
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Could not find the main class: middleware1\jdeveloper. Program will exit.
    Exception in thread "main" Process exited.
    How to resolve it?

    Hi,
    The path to your JDeveloper installation has a space in it - "D:\Oracle middleware1". This is known to cause issues with the Integrated WLS.
    I suggest you reinstall JDeveloper into a directory without space for e.g. D:\Oracle_Middleware_1 or even better a shorter path like D:\OR_MW_1.

  • Missing XML files in Export of Portal Resource in WebCenter Portal App

    Using JDeveloper 11.1.1.5.0
    1) Create a JSF fragment in the Portal Project/WebContent/oracle/webcenter/portalapp/pages -> untiltled3.jsff.
    2) From the Component Palette -> Webcenter Content Display Templates, drag a Content Template Def onto the jsff.
    3) Create var = "node".
    4) Drag an AdfOutputText into the contentTemplateDef.
    5) Save.
    6) In Application Navigator, right click on untitled3.jsff -> View Page Definition. No page definition has been created. Create a new page definition.
    7) In Application Navigator, right click on untitled3.jsff -> Create Portal Resource.
    7.1) Select my Content Repository Name(already created a content server Application Resource called UML)
    7.2) Content Type - IDC:GlobalProfile
    7.3) Content Type Default View: true
    7.4) View ID - testTemplate
    7.5) Display Name - untitled3
    7.6) Content Directory - defaulted to /C:/Projects/Application1/Portal/public_html/oracle/webcenter/portalapp/shared/
    8) Click OK.
    9) In Application Navigator, right click on untitled3.jsff -> Export Portal Resource.
    1) Export Archive File Name -> M:\testTemplate6102011
    10) Click OK.
    11) Results in the following:
    This is displayed in the Messages - Log:
    Jun 10, 2011 10:47:12 AM oracle.mds
    WARNING: The associated extended metadata document for the given document name /oracle/webcenter/portalapp/pages/untitled3PageDef.xml is missing.
    Jun 10, 2011 10:47:12 AM oracle.mds
    WARNING: The associated extended metadata document for the given document name /oracle/webcenter/portalapp/pages/untitled3.jsff is missing.
    Jun 10, 2011 10:47:12 AM oracle.mds
    WARNING: The associated extended metadata document for the given document name /oracle/webcenter/portalapp/pages/untitled3PageDef.xml is missing.
    How do I setup JDev to include the missing xml files? What am I doing wrong?
    Follow Up:
    When I Upload my testTemplate6102011.ear in Webcenter Spaces-> Resources -> Content Presenter I get the following error in the Spaces log file:
    Message ID     WCS-12045
    Message Level     1
    Relationship ID     0
    Component     WCSpaces
    Module     oracle.webcenter.lifecycle.siteresource.operation.SiteResourceImportOperation
    Thread ID     [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'
    ECID     5b329033a707e8d5:2d924c4d:130755eef60:-8000-00000000000061c3
    Message     Operation aborted because of an exception thrown by subunit (oracle.webcenter.lifecycle.siteresource.configuration.SiteResourceConfigurationUnit)
    Supplemental Detail     oracle.webcenter.lifecycle.LifecycleException: Unexpected error occurred while adding a generic site resource.
    at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.SiteResourcesHelper.addSiteResource(SiteResourcesHelper.java:222)
    at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.DefaultSiteResourceLifecycleHandler.updateImportRegistry(DefaultSiteResourceLifecycleHandler.java:824)
    at oracle.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.doConfigurationImport(SiteResourceLifecycleHandler.java:273)
    at oracle.webcenter.lifecycle.siteresource.configuration.SiteResourceConfigurationUnit.doImport(SiteResourceConfigurationUnit.java:121)
    at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceImportOperation.doImport(SiteResourceImportOperation.java:129)
    at oracle.webcenter.lifecycle.LifecycleSiteResourceService.doImport(LifecycleSiteResourceService.java:339)
    at oracle.webcenter.lifecycle.view.siteresource.LifecycleSRMImportBean.doImport(LifecycleSRMImportBean.java:198)
    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 com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:43)
    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.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.generalsettings.model.provider.GeneralSettingsProviderFilter.doFilter(GeneralSettingsProviderFilter.java:83)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:250)
    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.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:696)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:109)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
    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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:335)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:224)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    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 oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    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 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.webcenter.portalframework.genericsiteresources.GenericSiteResourcesException: Unexpected error occurred while adding a generic site resource.
    at oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl.addResource(GenericSiteResourcesManagerImpl.java:333)
    at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.SiteResourcesHelper.addSiteResource(SiteResourcesHelper.java:214)
    at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.DefaultSiteResourceLifecycleHandler.updateImportRegistry(DefaultSiteResourceLifecycleHandler.java:824)
    at oracle.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.doConfigurationImport(SiteResourceLifecycleHandler.java:273)
    at oracle.webcenter.lifecycle.siteresource.configuration.SiteResourceConfigurationUnit.doImport(SiteResourceConfigurationUnit.java:121)
    at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceImportOperation.doImport(SiteResourceImportOperation.java:130)
    at oracle.webcenter.lifecycle.LifecycleSiteResourceService.doImport(LifecycleSiteResourceService.java:339)
    at oracle.webcenter.lifecycle.view.siteresource.LifecycleSRMImportBean.doImport(LifecycleSRMImportBean.java:202)
    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 com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:44)
    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.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.generalsettings.model.provider.GeneralSettingsProviderFilter.doFilter(GeneralSettingsProviderFilter.java:83)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:253)
    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.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:701)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:116)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
    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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:176)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:335)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:224)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    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:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    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:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    ... 6 more
    Caused by: oracle.security.idm.OperationFailureException: javax.naming.PartialResultException [Root exception is javax.naming.CommunicationException: DomainDnsZones.fitchdevna.corp:389 [Root exception is java.net.UnknownHostException: DomainDnsZones.fitchdevna.corp]]
    at oracle.security.idm.providers.stdldap.util.LDAPRealm.throwException(LDAPRealm.java:773)
    at oracle.security.idm.providers.stdldap.util.DirectSearchResponse.initSearch(DirectSearchResponse.java:162)
    at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:52)
    at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:44)
    at oracle.security.idm.providers.stdldap.util.LDAPRealm.searchUsers(LDAPRealm.java:489)
    at oracle.security.idm.providers.stdldap.LDIdentityStore.search(LDIdentityStore.java:273)
    at oracle.security.idm.providers.stdldap.LDIdentityStore.searchUsers(LDIdentityStore.java:366)
    at oracle.webcenter.framework.service.Utility.findUserByGuid(Utility.java:765)
    at oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl.addResource(GenericSiteResourcesManagerImpl.java:179)
    ... 104 more
    Caused by: javax.naming.PartialResultException [Root exception is javax.naming.CommunicationException: DomainDnsZones.fitchdevna.corp:389 [Root exception is java.net.UnknownHostException: DomainDnsZones.fitchdevna.corp]]
    at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:224)
    at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171)
    at oracle.security.idm.providers.stdldap.util.DirectSearchResponse.initSearch(DirectSearchResponse.java:137)
    at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:52)
    at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:43)
    at oracle.security.idm.providers.stdldap.util.LDAPRealm.searchUsers(LDAPRealm.java:489)
    at oracle.security.idm.providers.stdldap.LDIdentityStore.search(LDIdentityStore.java:273)
    at oracle.security.idm.providers.stdldap.LDIdentityStore.searchUsers(LDIdentityStore.java:366)
    at oracle.webcenter.framework.service.Utility.findUserByGuid(Utility.java:765)
    at oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl.addResource(GenericSiteResourcesManagerImpl.java:179)
    at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.SiteResourcesHelper.addSiteResource(SiteResourcesHelper.java:214)
    at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.DefaultSiteResourceLifecycleHandler.updateImportRegistry(DefaultSiteResourceLifecycleHandler.java:824)
    at oracle.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.doConfigurationImport(SiteResourceLifecycleHandler.java:273)
    at oracle.webcenter.lifecycle.siteresource.configuration.SiteResourceConfigurationUnit.doImport(SiteResourceConfigurationUnit.java:121)
    at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceImportOperation.doImport(SiteResourceImportOperation.java:129)
    at oracle.webcenter.lifecycle.LifecycleSiteResourceService.doImport(LifecycleSiteResourceService.java:339)
    at oracle.webcenter.lifecycle.view.siteresource.LifecycleSRMImportBean.doImport(LifecycleSRMImportBean.java:198)
    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 com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:43)
    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(FilterCh

    Hi,
    try this forum: WebCenter Portal
    Frank

  • Ucm connection configuration on webcenter portal app

    Hi All,
    We create a webcenter portal application and connect with Webcenter content using Application Resources --> connections --> content repository connection.
    The parameters that we provided for the connection are:
    Socket type: socket, Hostname, Port, Admin username and Password. We havent given the Webserver context root and Url of the webserver plugin.
    In enterprise manager console while we check the webcenter connection configuration, the Web server context root /cs is automatically availble eventhough we havent provide them while creating our connection(checked on connections.xml also), because of which while using content presenter contributor mode, the UCM environment is opened inline.
    We want our UCM enviroment to get opened in a new window as normal one and not on inline and may i know why the webserver context root is automatically available eventhough we didnt provide it explicitly
    thanks

    Faces messages are displayed in a pop-up by ADF. This is the default behaviour.
    If you want to display Faces Messages inline, then include the af:messages tag in an appropriate place with the inline attribute set to true. Add this to your home page.
    <af:messages inline="true" id="m1"/>

  • Error Deploying Webcenter Portal App onto a managed server

    I have created an EAR file without AutoGenerate descriptors, when tried deploying, I got the following error.
    [August 14, 2012 10:25:59 AM EDT] Initiating deploy operation ...
    [August 14, 2012 10:25:59 AM EDT] Saving the oracle configuration changes to archive.
    [August 14, 2012 10:25:59 AM EDT] Archive: /u01/app/oracle/product/middleware/user_projects/domains/base_domain/sysman/upload/deploy/ dotsandbox_application1_V2.0_V2.1/archive/dotsandbox_application1.ear
    [August 14, 2012 10:25:59 AM EDT] Targeting MDS repository: com.bea:Name=mds-CustomPortalDS,Type=JDBCSystemResource to target WC_CustomPortal.
    [August 14, 2012 10:25:59 AM EDT] Targeting MDS repository: com.bea:Name=mds-CustomPortalDS,Type=JDBCSystemResource to target WC_CustomPortal completed.
    [August 14, 2012 10:26:01 AM EDT] [Deployer:149191]Operation 'deploy' on application 'dotsandbox_application1 [ArchiveVersion=V2.0,PlanVersion=V2.1]' is initializing on 'WC_CustomPortal'
    [August 14, 2012 10:26:15 AM EDT] [Deployer:149192]Operation 'deploy' on application 'dotsandbox_application1 [ArchiveVersion=V2.0,PlanVersion=V2.1]' is in progress on 'WC_CustomPortal'
    [August 14, 2012 10:26:19 AM EDT] [Deployer:149193]Operation 'deploy' on application 'dotsandbox_application1 [ArchiveVersion=V2.0,PlanVersion=V2.1]' has failed on 'WC_CustomPortal'
    [August 14, 2012 10:26:19 AM EDT] java.lang.InstantiationError: ServiceContext resource configuration file "META-INF/context.provider" found, but the class defined "class oracle.webcenter.framework.internal.service.DefaultServiceContext" is not an instance of oracle.webcenter.framework.service.ServiceContext.
    [August 14, 2012 10:26:19 AM EDT] ServiceContext resource configuration file "META-INF/context.provider" found, but the class defined "class oracle.webcenter.framework.internal.service.DefaultServiceContext" is not an instance of oracle.webcenter.framework.service.ServiceContext.
    [August 14, 2012 10:26:20 AM EDT] Deploy operation failed.
    Edited by: telugubaludu on Aug 14, 2012 12:31 PM

    >
    [August 14, 2012 10:25:59 AM EDT] Archive: /u01/app/oracle/product/middleware/user_projects/domains/base_domain/sysman/upload/deploy/ dotsandbox_application1_V2.0_V2.1/archive/dotsandbox_application1.earNotice that there is a space in the path between "deploy/" and "dotsandbox_application1_V2.0_V2.1". That's possibly the issue. Check to see if your application name (in the deployment profile) contains a space.

  • 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.

  • How to read xml file present in the UCMS from  webcenter portal application

    Hi,
    I'm new to webcenter portal and would like to know how to read an xml file which is present in UCMS 11g(contributors folder) from webcenter portal application.
    Thanks in advance

    I guess I had mentioned that I want to read it via my webcenter portal app rather than login to ucms and searching it via url.
    I want text labels and button names being stored in the xml file which I'm going to keep in the UCMS.
    After reading that from the xml will be placed at appropriate locations like the button values and label feilds, so that we dont need to deploy entire app for this kind of simple changes.
    Now can anyone provide some help with the api's related to this?

  • 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.

  • Add favicon to webcenter portal

    Hi All,
    I am using jdeveloper version 11.1.1.6.0.In our webcenter portal app i want to set favicon (browser icon) for all pages in my application .
    Any help is appreciated.

    see this
    http://jwebcenter.blogspot.com/2012/08/how-to-add-favicon-image-to-browser.html

  • Can u upload .htm file via portal app

    i have developed a simple webcenter portal application (11.1.1.6)
    i also have UCM 11.1.1.6
    I am able to see contribution folder in my portal app.
    Is it possible to upload a local file (c:\sample.htm) from my webcenter portal app TO ucm ???
    If yes, then what is the taskflow i should use. i used Folder Viewer and Document Explorer and try upload this htm it gives me a popup with
    info ---  Unable to upload document why ?
    thx

    Did you check the following documentation -
    http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10148/jpsdg_doc_lib.htm#CIHCEACA
    Also check the section -29.5 Setting Parameters to Upload Files to Content Repositories
    where it is clearly mentioned -
    "The Document Manager task flow allows you to upload files into content repositories. Oracle WebCenter Framework uses Apache MyFaces Trinidad to handle file upload from a browser to the application server."
    and "To change the default settings of Apache MyFacesTrinidad, you can add three parameters to the web.xml file. To edit this file, open the ViewController project of your application. Under Web Content, open the web.xml file. In the Overview, navigate to Application > Context Initialization Parameters, then click the green plus (+) sign to add the parameters and their values (as described in Table 29-1) or simply update the code in the Source view. After you've made your changes, save the web.xml file, then restart Oracle JDeveloper.
    Table 29-1 Apache MyFaces Trinidad Parameters
    Parameter      Description
    UPLOAD_MAX_MEMORY
    The maximum amount of memory in kilobytes that a single file can use when uploaded.
    UPLOAD_MAX_DISK_SPACE
    The maximum amount of disk space in kilobytes that a single file can use when uploaded.
    UPLOAD_TEMP_DIR
    The directory in which the file being uploaded is temporarily stored.
    Provide the necessary information.
    Hope it helps you to resovle the problem.
    Regards,
    Hoque

  • 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 and Portlet support in JDeveloper 11.1.2 version

    Hi,
    When the WebCenter Portal and Portlet application creation will be available within JDeveloper 11.1.2 version ?
    Thanks
    Eli

    Thanks for your answer.
    My Requirements are:
    1) Develope a stand alone ADF FACES(JSF 2.0) application
    2) Develope a Portal using webcenter- We need to implement portlets by taking some of the functonality that was implemented in section (1) and use the Portlet-JSF bridge to create the portlets.
    Basically, we need to support JSF 2.0 standart.
    As I understood I must use the JDeveloper 11.1.2 version as it support the JSF 2.0. but what about the Webcenter and the Portlet-JSF bridge to support JSF 2.0 ?
    I will be happy to get a clarification for those requirments.
    Thanks a lot !
    Eli

  • Rendering webcenter portal in mobile devices

    Hi,
    Recently I have been doing a lot of POC's to render a webcenter portal in a mobile device . But nothing has turned fruitful so far.
    Can you guys point me the correct direction to render a webcenter portal in a mobile device.
    Any help is highly appreciated.
    Thanks in advance.
    Regards,
    Anand
    Edited by: Anand on Oct 9, 2012 3:31 AM

    Yannick Ongena wrote:
    There's more to do it than just the HTTP protocol.
    There is also javascript, css which causes most of the issues.
    If you build your website and define in your css that the width of a page is 1000px than you can imagine it will not show up properly on a mobile phone...
    Some mobile phones don't support the latest features in javascript.
    ADF uses a lot of PPR which depends on javascript and if the mobile/table browsers don't support those features than you will loose a lot of functionality.Agreed, css might cause formatting issues and extensive Javascript usage might not work on tablets or mobiles browsers. Thanks!

Maybe you are looking for