Weblogic portal 10.3 examples

Hi Experts/friends, I am a novice in weblogic portal.
I have couple of questions.
I am trying to work on weblogic portal 10.3 pageflow protlets.
(1) Question
Do I need to create pageflow (may be a JSP page having some login application , or a struts application doing some hello world display) and deploy in weblogic server (not weblogic portal server) , and if I have a portal application which is at weblogic portal server and use on this.
I mean to ask , can't I create a pageflow (any kind of pageflow) in workshop and deploy in weblogic portal server.
Do I need to create a pageflow application or project and need to bring that into weblogic portal server?
(2) Question
Why I am not able to find proper examples or tutorial kind of work for weblogic portal 10.3?
(3) Question
Do we have any tutorial on ISR 168 in oracle-weblogic site (or documentation) ,please provide any examples or links?
Thanks a lot
Viswanadh

Hi Viswanadh,
Since you claim to be new, I will point you to some helpful docs that will walk you through creating simple portlets and running them. Hopefully this will help you create some quick demos.
http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/tutorials/index.html
Also, for Jsr168, and federated portlets, this is a good starting point.
http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/federation/Chap-Intro.html

Similar Messages

  • How to install Portal Examples in Weblogic Portal 10.3.5

    I downloaded installation file portal103_win32.exe from Oracle site which is for Weblogic Portal 10.3.5. During the installation process I could not find anywhere I can choose to install Portal Examples.
    Did I miss anything when I did the installation or Portal Examples have just been removed from the installation file for Weblogic Portal 10.3.5?

    Thank you Emmanuel.
    Is it because the features in Portal Examples were not supported anymore since 10.3.4?

  • Precompile of WebLogic Portal 'stockportal' example fails

              I am trying to precompile a portal web application for WebLogic portal that is based
              on the stockportal. Compilation fails with the message:
              weblogic.servlet.jsp.JspException: (line 3): Could not parse deployment descriptor:
              java.io.IOException: cannot resolve 'es.tld' into a valid tag library
                   at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:782)
              It appears that when precompiling, JSPC is not able to pull TLDs from a JAR file,
              which is how the WebLogic Portal custom tags are specified in the portal web application
              web.xml. It appears to work if I extract the TLD from the tag library JAR and reference
              the extracted file, however I do not want to have to do this for the 20+ tag libraries
              in WebLogic Portal. I've searched this site pretty thoroughly to no avail...is there
              an easier workaround?
              Thanks,
              Andy
              

    Hello Andy,
              It appears that you have come across a known problem concerning precompiling
              JSP's that are dependant upon tag libraries.
              The good news is that a patch has been created to fix this issue.
              I would suggest to open a case to our BEA Support and to precise the issue
              number, which is : CR 55595.
              The patch consists in a jar file that you have to put at the beginning of
              your java class path.
              I hope this helps,
              Ludovic.
              Developer Relations Engineer
              BEA Support
              "Andy Jenkins" <[email protected]> a écrit dans le message news:
              [email protected]...
              >
              > I am trying to precompile a portal web application for WebLogic portal
              that is based
              > on the stockportal. Compilation fails with the message:
              > weblogic.servlet.jsp.JspException: (line 3): Could not parse deployment
              descriptor:
              > java.io.IOException: cannot resolve 'es.tld' into a valid tag library
              > at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:782)
              > It appears that when precompiling, JSPC is not able to pull TLDs from a
              JAR file,
              > which is how the WebLogic Portal custom tags are specified in the portal
              web application
              > web.xml. It appears to work if I extract the TLD from the tag library JAR
              and reference
              > the extracted file, however I do not want to have to do this for the 20+
              tag libraries
              > in WebLogic Portal. I've searched this site pretty thoroughly to no
              avail...is there
              > an easier workaround?
              >
              > Thanks,
              >
              > Andy
              

  • Error on running the .portal on the weblogic portal server 10.3.2 using jsf

    Hi,
    This are the below file that i have included in the project
    login.jspx
    <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ice="http://www.icesoft.com/icefaces/component">
    <jsp:directive.page contentType="text/html;charset=utf-8" />
    <f:view>
    <ice:outputDeclaration doctypeRoot="HTML"
    doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
    doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />
    <html>
    <head>
    <title>ICEfaces,Login Portlet</title>
    <link rel="stylesheet" type="text/css"
    href="./xmlhttp/css/rime/rime.css" />
    </head>
    <body>
    <ice:portlet>
    <ice:outputText value="Welcome to ICEfaces." />
    <ice:form>
    <ice:outputText value="Username" />
    <ice:inputText id="name_t" value="#{Login.userName}"></ice:inputText>
    <ice:outputText value="Password"/>
    <ice:inputText id="password_t" value="#{Login.password}"></ice:inputText>
    <ice:commandButton action="#{Login.checkUserPass}" value="OK"></ice:commandButton>
    </ice:form>
    </ice:portlet>
    </body>
    </html>
    </f:view>
    </jsp:root>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
    version="1.2">
    <application>
    <view-handler>
    com.icesoft.faces.facelets.D2DFaceletViewHandler
    </view-handler>
    <locale-config>
    <supported-locale>de</supported-locale>
    <supported-locale>en</supported-locale>
    </locale-config>
    </application>
    <managed-bean>
    <managed-bean-name>Login</managed-bean-name>
    <managed-bean-class>com.pack.login.Login</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>userName</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/login.jspx</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/success.iface</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>failure</from-outcome>
    <to-view-id>/failure.iface</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    portlet.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
    version="1.2">
    <application>
    <view-handler>
    com.icesoft.faces.facelets.D2DFaceletViewHandler
    </view-handler>
    <locale-config>
    <supported-locale>de</supported-locale>
    <supported-locale>en</supported-locale>
    </locale-config>
    </application>
    <managed-bean>
    <managed-bean-name>Login</managed-bean-name>
    <managed-bean-class>com.pack.login.Login</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>userName</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/login.jspx</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/success.iface</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>failure</from-outcome>
    <to-view-id>/failure.iface</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    Login.java
    package com.pack.login;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    public class Login {
    public String getUserName() {
    return userName;
    public void setUserName(String userName) {
    this.userName = userName;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    private String userName;
    private String password;
    public String checkUserPass(){
    FacesContext facesContext = FacesContext.getCurrentInstance();
    if("icefaces".equals(getUserName()) && "icefaces".equals(getPassword())) {
    return"success";
    FacesMessage facesMessage = new FacesMessage(
    "You have entered an invalid user name and/or password");
    facesContext.addMessage("Login", facesMessage);
    return "failure";
    What are the classes or interfaces that we need to use to render the content and to the process the action in jsf-portlet + icefaces libraris + weblogic portal server 10.3.2
    I have created the .portal file and i have included the instance of the .portlet file in the portal page. When i run .portal file on the server it will throw the below exception.
    <Warning> <netuix> <BEA-423319> <A default JSP response character encoding was not found for webapp [Portal]. Defaulting to [UTF-8]. You can override this default response character encoding for all portals in netuix-config.xml or for each portal or desktop in each portal or desktop definition.>
    12, 2010 9:57:05 AM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /login.jspx) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@18fddac]
    <Error> <netuix> <BEA-423405> <An exception [java.lang.NullPointerException] was thrown while rendering the content at [login.jspx].
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    Truncated. see log file for complete stacktrace
    >
    <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /login.jspx.>
    Login Error opening /login.jspx.
    The source of this error is:
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:488)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:152)
    at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
    at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:148)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:231)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:216)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    ... 71 more
    I have created the .portal file and i have included the instance of the .portlet file in the portal page. When i run .portal file on the server it will throw the below exception.
    <Warning> <netuix> <BEA-423319> <A default JSP response character encoding was not found for webapp [Portal]. Defaulting to [UTF-8]. You can override this default response character encoding for all portals in netuix-config.xml or for each portal or desktop in each portal or desktop definition.>
    12, 2010 9:57:05 AM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /login.jspx) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@18fddac]
    <Error> <netuix> <BEA-423405> <An exception [java.lang.NullPointerException] was thrown while rendering the content at [login.jspx].
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    Truncated. see log file for complete stacktrace
    >
    <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /login.jspx.>
    Login Error opening /login.jspx.
    The source of this error is:
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:488)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:152)
    at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
    at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:148)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:231)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:216)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    ... 71 more
    Thanks in advance.

    First you install a JDK6 version after which you can install your WebLogic and Forms, Reports...
    A step-by-step example is presented here: http://middlewaremagic.com/weblogic/?p=7265
    Look in the 'Install WebLogic' section. Note that you probably do not have to create a separate user,
    also you can use HotSpot instead of JRockit.

  • Announcing: Developing JSF Portlets with WebLogic Portal Whitepaper

    Just Released: Developing JSF Portlets with WebLogic Portal Whitepaper
    A supplemental developer's guide has been published to help guide WLP 10.x customers that wish to use JSF as the web framework for building portlets on WebLogic Portal. This is a sizable document (150 pages) that covers a large number of topics. It also coaches developers on best practices and common pitfalls.
    Important: It also clarifies the supported configuration of JSF within Portal Web Projects. Workshop for WebLogic by default configures a web project in a configuration that is not supported by WebLogic Portal. The guide explains how to address this:
    * Change from the unsupported MyFaces JSF implementation to the supported Sun Reference Implementation (RI)
    * Change from the unsupported "client" STATE_SAVING_METHOD to the supported "server"
    The guide can be downloaded here:
    http://download.oracle.com/technology/products/weblogic/portal/weblogic-portal-jsf-whitepaper.pdf
    To help internet searches locate this document, the table of contents is reproduced below:
    Introduction
    1.1. Prerequisites...................................................................... 8
    1.2. Applicable Versions............................................................ 8
    1.3. Native Portlet Bridges and Standard Portlet Bridges .......... 8
    1.4. JSF Portlet Support Roadmap ........................................... 9
    1.5. Whitepaper Structure ....................................................... 10
    1.6. Look Before You Leap ..................................................... 10
    1.7. For More Information........................................................ 10
    Part 1: Converting JSF Applications into Portlets
    2. IDE Support for JSF Portlets Chapter ...................................... 12
    2.1. Workshop for WebLogic – WebLogic Portal's Supported IDE 12
    2.2. Workshop Features for JSF Support in WebLogic Portal.. 12
    3. Introduction to JSF Portlets Chapter ........................................ 18
    3.1. Creating Your First JSF Portlet......................................... 18
    3.2. Essentials of JSF Portlet Views........................................ 21
    3.3. WebLogic Portal Artifacts................................................. 22
    4. Configuring JSF within WebLogic Portal Chapter..................... 24
    4.1. JSF Library Modules in WebLogic Server ........................ 24
    4.2. Installing the JSF Libraries into a Portal Web Project ....... 25
    4.3. JSF Configuration Settings............................................... 27
    4.4. Configuring JSF 1.2 ......................................................... 29
    4.5. Building an Unsupported JSF Implementation Library Module 31
    4.6. Faces Configuration is Web Application Scoped.............. 31
    5. Navigation within a JSF Portlet Chapter................................... 33
    5.1. Navigating within a Portlet with the JSF Controller ........... 33
    5.2. Redirects.......................................................................... 34
    6. Namespacing Chapter ............................................................. 35
    6.1. Namespacing Managed Bean Names.............................. 35
    6.2. Client ID Namespacing with the View and Subview Components 35
    6.3. Client ID Namespacing with the WLP NamingContainer .. 36
    7. Logging, Iterative Development, and Debugging Chapter ........ 39
    7.1. Logging............................................................................ 39
    7.2. Iterative Development ...................................................... 39
    7.3. Debugging ....................................................................... 40
    8. Custom JavaScript Chapter ..................................................... 42
    8.1. DOM Manipulation within a JSF ....................................... 42
    8.2. Form Validation within a JSF Portlet ................................ 45
    9. Preparing JSF Portlets for Production Chapter ........................ 46
    9.1. Configuration.................................................................... 46
    9.2. Performance and Scalability............................................. 47
    9.3. Security............................................................................ 49
    9.4. Localization...................................................................... 50
    Part 2: Interacting with the Portal Environment
    10. Native Bridge Architecture Chapter ...................................... 54
    10.1. Container Architecture Overview.................................. 54
    10.2. Container Architecture.................................................. 54
    10.3. Container Interactions .................................................. 55
    11. Interportlet Communication Chapter .................................... 56
    11.1. Using Session and Request Attributes for IPC (Anti-pattern) 56
    11.2. Using the WLP Event Facility for IPC with JSF Portlets 56
    11.3. Notifications ................................................................. 60
    11.4. Comparison of the IPC Approaches ............................. 60
    12. Scopes Chapter ................................................................... 62
    12.1. Conceptual Scopes for Standard JSF Applications ...... 62
    12.2. Conceptual Scopes for Portal Applications................... 63
    12.3. Implementation Patterns for Portal Scopes .................. 63
    13. State Sharing Patterns Chapter ........................................... 66
    13.1. State Sharing Concepts ............................................... 66
    13.2. HttpSession Versus HttpServletRequest ...................... 66
    13.3. Base Code for HttpSession Patterns ............................ 67
    13.4. Single Portlet Pattern ................................................... 68
    13.5. Multiple Portlet Patterns ............................................... 69
    14. Rendering Lifecycles Chapter .............................................. 77
    14.1. WLP and JSF Lifecycles .............................................. 77
    14.2. Invocation Order of WLP and JSF Lifecycle Methods... 77
    14.3. Accessing WLP Context Objects from JSF Managed Beans 78
    15. Portal Navigation Chapter .................................................... 80
    15.1. Programmatically Constructing JSF Portlet URLs ........ 80
    15.2. Changing the Active Portal Page.................................. 80
    15.3. Redirects within a Portal............................................... 83
    16. Ajax Enablement Chapter .................................................... 85
    16.1. Ajax in JSF Portlets...................................................... 85
    16.2. Partial Page Rendering Pattern.................................... 85
    16.3. Stateless API Request Pattern ..................................... 86
    16.4. Portlet Aware API Request Pattern .............................. 87
    16.5. Controlling the WLP Ajax Framework........................... 91
    17. Additional WLP Features Chapter........................................ 93
    17.2. Portlet Container Features ........................................... 93
    17.3. Portal Container Features ............................................ 98
    18. Example: Implementing a Login Portlet Chapter .................. 99
    18.1. Login Portlet Motivation................................................ 99
    18.2. Login Portlet Design..................................................... 99
    18.3. Login Portlet Implementation...................................... 101
    Part 3: Integrating Third Party Libraries
    19. Integration Overview Chapter............................................. 111
    19.1. Types of Libraries....................................................... 111
    19.2. Roadmap for MyFaces Trinidad and ADF Faces Rich Client 111
    20. Using the Facelets View Technology Chapter.................... 113
    20.1. Introduction to Facelets .............................................. 113
    20.2. Configuring Facelets Support ..................................... 113
    21. Using the Apache MyFaces Tomahawk Component Library Chapter 115
    21.1. What is Apache MyFaces Tomahawk? ...................... 115
    21.2. Support for Tomahawk in WLP................................... 115
    21.3. Tomahawk Component List........................................ 116
    21.4. Installing and Configuring Tomahawk......................... 119
    21.5. Resolving the Duplicate ID Issue................................ 120
    21.6. Referring to Resources .............................................. 120
    21.7. forceId Attribute.......................................................... 124
    21.8. File Upload................................................................. 125
    22. Using the Apache Beehive Navigation Controller Chapter . 126
    22.1. Apache Beehive Page Flow ....................................... 126
    22.2. JSF and Page Flows .................................................. 126
    22.3. Configuring the JSF Integration with Page Flows ....... 127
    Appendices
    23. Appendix 1: Consolidated List of Best Practices ................ 130
    24. Appendix 2: Known Issues and Workarounds.................... 132
    24.1. CR383659, CR383662 Inconsistent failures with JSF portlets 132
    24.2. CR342124: IllegalStateException due to duplicate client-id 132
    24.3. CR384916: IllegalStateException due to duplicate client-id when using certain components such as Tomahawk and Trinidad...... 133
    24.4. CR361477 Problems with the integration of JSF portlets with Apache Beehive Page Flows.................................................................. 133
    24.5. CR377945 JSF 1.2 suffers from a memory leak during iterative development .............................................................................. 134
    25. Appendix 3: The JSFPortletHelper Class ........................... 135
    26. Appendix 4: The CleanupPhaseListener Class .................. 147

    Hi Peter!
    First, I wish to thank you for the great work.
    We followed your whitepaper and managed to deploy a JSF portlet on WLS.
    But we are not able to register it (consume it) as remote portlet in Oracle Portal 10.1.4. The error log is as follows:
    An error occurred while trying to refresh the provider. (WWC-43190)
    An error occurred during the call to the WSRP Provider:
    java.rmi.RemoteException: serialization error: serialization error:
    unexpected null value for literal data; nested exception is:
    serialization error: serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    unexpected null value for literal data
    Java stack trace from root exception:
    unexpected null value for literal data
    at
    oracle.webdb.wsrp.RegistrationContext_LiteralSerializer.doSerialize(RegistrationContext_LiteralSerializer.java:107)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    oracle.webdb.wsrp.GetServiceDescription_LiteralSerializer.doSerialize(GetServiceDescription_LiteralSerializer.java:88)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:473)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:62)
    at
    oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub.getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:63)
    at
    oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_ServiceDescription_PortType.getServiceDescription(Unknown
    Source)Do you have any idea why this happens? Or you can provide some useful links to WLP -Oracle Portal federation?
    Thank you and best regards,
    PaKo

  • How to implement Breadcrumb functionality in weblogic portal 10.3

    Hi,
    We need to implement the breadcrumb functionality in weblogic portal 10.3.
    Tried to look for it in Google. But couldn't get success.
    Can someone help on how to implement this.
    Thanks
    Uttam

    Please find the example code for Breadcrumbs
    <%
         ArrayList breadcrumbTitles = new ArrayList();
         ArrayList breadcrumbURLs = new ArrayList();
         BookPresentationContext book = BookPresentationContext.getBookPresentationContext(request);
    PagePresentationContext pageCtx = PagePresentationContext.getPagePresentationContext(request);
         if(pageCtx.getDefinitionLabel() != null )
              breadcrumbTitles.add(pageCtx.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());
         if (!(book.getDefaultPage().equals(pageCtx.getDefinitionLabel())))
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, book.getDefaultPage()).toString());
         else
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());           
              PagePresentationContext parentPage = book.getParentPagePresentationContext();           
              while (parentPage != null)
                   breadcrumbTitles.add(parentPage.getTitle());
                   if (parentPage instanceof BookPresentationContext)
                        BookPresentationContext parentBook = (BookPresentationContext)parentPage;
                        // condition for not showing my eagle page when user not logged in. instead show default home page
                        if (parentBook.getDefaultPage().equalsIgnoreCase(""))
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, ""));
                        }else
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, parentBook.getDefaultPage()).toString());
                   else
                        breadcrumbURLs.add(PageURL.createPageURL(request, response, parentPage.getDefinitionLabel()).toString());
                   parentPage = parentPage.getParentPagePresentationContext();
    %>
         <ul class="breadcrumbs">
    <%
                   // compare if current page is selected. then dont show hyper link
                   if (pageCtx.getTitle().toString().equalsIgnoreCase((String)breadcrumbTitles.get(i)))               
    %>
                             <%=breadcrumbTitles.get(i)%>  
    <%          
                        }else
    %>                    
                             <a href="<%=breadcrumbURLs.get(i)%> "><font color="#005596"><%=breadcrumbTitles.get(i)%></font></a></b><img src="<render:getSkinPath imageName="/spacer.gif" />" width="2" /><img align="bottom" src="<render:getSkinPath imageName="/arrow_right.gif" />" />
                             <%
    %>
         </ul>

  • Query- IPC using JSF Portlets in WebLogic Portal

    The question is how to pass data when doing InterPortlet Communication using Local JSF portlets in Weblogic Portal.
    I will eloborate on the particular scenario we have below.
    Two JSF portlets are build (both are not using Java Page Flows). The first porltet has a table of data. When the user clicks on one of the items in the table (which is coded using <h:commandLink/> option), the second portlet should show some details on the item clicked.
    For example:
    If there is a list of books in first portlet, when clicking on one of the book name, the details of book should come up in the second portlet.
    To achieve this, faces event was enabled in first portlet with requestAttrPersistence option set to session.
    For example :
    <netuix:content>
    <netuix:facesContent contentUri="/bookList.faces" requestAttrPersistence="session">
    <netuix:facesEvents>
    <netuix:facesEvent action="/bookDetails.faces" eventName="bookDetailEvent"/>
    </netuix:facesEvents>
    </netuix:facesContent>
    </netuix:content>
    The second portlet was configured to handle faces events, particularly the bookDetailEvent.
    Example:
    <netuix:handleFacesEvent eventLabel="handleFacesEvent1" eventName="bookDetailEvent" fromSelfInstanceOnly="false" onlyIfDisplayed="true" sourceDefinitionLabels="JSFPortlet_1" sourceDefinitionWildcard="this">
    <netuix:invokeFacesAction action="/bookDetails.faces"/>
    </netuix:handleFacesEvent>
    Going by this method, how can we find the particular book whose detail has to be shown? As in JSF, we dont directly access the request attributes, what is the ideal way to pass data from one page to other?
    Please help on this.

    i am also having the same problem.I tried by passing _nfls=false but it didn't work.Can you suuggest where do i need to set this or any other parametrs such as this programmatically?                                                                                                                                                                                                                                                                                                                                                                           

  • WebLogic Portal vs Oracle Portal

    Anyone know the differences in term of features of WebLogic Portal and Oracle Portal?
    i) WebLogic Portal supports Web 2.0 while Oracle Portal doesn't?
    ii) Oracle Portal provides SSO to oracle applications while WebLogic Portal doesn't?
    Any other different features?
    Please advise, thanks.

    There are lots of differences, but I think you should post your question in the WebCenter and Web 2.0 Technology forum with some additional detail as to why you are asking:
    WebCenter Portal
    For example, are you making a technology choice for a particular project? What portal requirements do you have? What are the skillsets of those who will be implementing, etc.
    The long term strategy is to converge on the WebCenter product, but there are nuances that may make other portal products a better fit in the short-term.

  • Detection portlet backing file under weblogic portal

    Hi all
    I am try to work out a interportlet communication example under instruction listed below
    http://download.oracle.com/docs/cd/E13218_01/wlp/docs92/portlets/ipc.html#wp1025202
    Everything works fine until add action to a backing file. I cannot find such option under event handler wizard. From the documentation, it mentions that
    "The Invoke BackingFile selection will not appear unless a backing file is detected by WebLogic Portal. "
    Is any way that can trigger weblogic portal to detect particular backing file? or any example that I can refer to setup such action manually?
    Any help would be apprectiate, thanks.
    wayne

    Hello Wayne,
    The WebLogic Portal forum is a better place to ask WLP questions:
    WebLogic Portal
    However, to answer your question, you can add a backing file to the portlet in Workshop, or manually in the .portlet file as described (at the bottom of the section) here:
    http://download.oracle.com/docs/cd/E13218_01/wlp/docs92/portlets/building.html#wp1077130
    Kevin

  • How to add Friendly URLs in Weblogic Portal?

    Hi,
    We are developing a portal using Weblogic 10gR3. Right now the URL's that are getting formed are very long which includes the nfpb, nfls, pagelabel e.t.c. The requirement is to have a very user friendly url something like http://www.x.com/portal/<<pageLabel>>
    The Weblogic documentation mentions something about URL compression, however unable to apply it for dynamic URL's. We have URL's which are formed on the fly from the WLP Content Repository
    Is there some kind of servlet / filter provided within WLP. I read somewhere about an URLTransformationServlet. But there was no documentation on its usage. Can some one share a sample code snippet with me. That would be really really helpful, as we are having a slight time crunch here.
    Any kind of help on this will be deeply appreciated. Thanks
    Thanks and Regards,
    Lilly

    Dear Team,
    Please help us in Change Portal Url . Please find below details and help us asap.
    Regards
    Radhakrishna
    Generic Note
    I understand [email protected] looks after your account and he should be able to assist you in this matter.
    You could possibly post your question to the oracle forums, like below
    How to add Friendly URLs in Weblogic Portal?
    [email protected] - November 1, 2010 7:05:03 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please let us know how to contact the assigned oracle account manager to engage someone from the professional services team.
    Please update us asap.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 5:28:59 PM GMT+05:30 [Information]
    Generic Note
    I would suggest you contact the assigned oracle account manager to engage someone from the professional services team.
    [email protected] - November 1, 2010 4:55:25 PM GMT+05:30 [Update from Customer]
    Dear Team,
    How to engage oracle professional services to team to get assistance.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 1:48:49 PM GMT+05:30 [Information]
    Generic Note
    As mentioned earlier, changes to the portal url is not provided out of box, the documentation link that I provided mentions a possible way of achieving this by creating a start up servlet, this may or may-not work in all circumstances. If the suggestions provided so far has not helped you so far, I would recommend you engage oracle professional services team to get assistance.
    [email protected] - November 1, 2010 1:36:12 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please find below comments from Dev team.
    While try to incorporate the URL navigation changes at
    our development environment we are getting exception Unable to render /framework/skeletons/bharti_skeleton/singlelevelmenu.jsp .
    I have also checked feasibility for the URL navigation changes provided and will not work for left menu
    and footer URL because while rendering these URL we are not using single level menu jsp or multilevel menu jsp.
    Please check with these comments and update ASAP.
    Regards
    Radhakrishna
    [email protected] - October 28, 2010 7:56:02 PM GMT+05:30 [Update from Customer]
    Hi,
    regarding making changes to the url meets ,we are working on the document which you have provided.we will update with result onc it get finished.
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 7:06:32 PM GMT+05:30 [Information]
    Generic Note
    Since your question about Rich Text support in CMS is not related to portal urls, I would request you raise this as a separate issue.
    In the new SR, please elaborate what you mean by the Rich Text support, whats your proposed use case, whats working and what is not.
    Could you also confirm if the further information I have provided regarding making changes to the url meets your requirement.
    [email protected] - October 28, 2010 7:04:48 PM GMT+05:30 [Update from Customer]
    CMS----Content Management System
    Rich contents are : Media files, Vedios, Movies... etc.
    [email protected] - October 28, 2010 6:58:46 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please clarify the below point also.
    "Please confirm whether CMS support Rich Text in weblogic , currently we have the weblogic version 9.2 . Plz confirm whether it will support or not."
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 5:41:53 PM GMT+05:30 [Information]
    Generic Note
    The following documentation http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/url/simplify.html tells how you can achieve the simple urls you are looking for.
    Could you let me know if this meets your requirement.
    [email protected] - October 28, 2010 12:07:05 PM GMT+05:30 [Reopen Request]
    Hi,
    Please clarify why it is not possible to remove nfpb parameter.
    Call Me on +91 9686971269 ASAP.
    Oracle Support - September 29, 2010 5:39:48 PM GMT+05:30 [ODM Answer]
    === ODM Answer ===
    weblogic portal does not provide any out of the box way to achieve this functionality
    Oracle Support - September 29, 2010 5:39:15 PM GMT+05:30 [ODM Question]
    === ODM Question ===
    need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Oracle Support - September 25, 2010 4:42:01 PM GMT+05:30 [Information]
    Generic Note
    WLProxy configuration falls under the weblogic server product hence you will have to raise an SR with that product to get any suggestions.
    Before that I would suggest you play around with the parameter I have suggested and see how it is impacting the url and then if there is any specific area you are stuck on check with the WLS team.
    Like I mentioned earlier, I do not know if this will completely meet your business requirement, but something you can look into.
    [email protected] - September 25, 2010 4:32:00 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please brief us what all are the changes needs to be done to meet our below requirement.
    Regards,
    Eranna D.
    +91 9686971269
    Oracle Support - September 24, 2010 9:00:57 PM GMT+05:30 [Information]
    Generic Note
    URLCompression servlet is the only option that weblogic portal provides out of the box to compress the URL of WLP. I understand this does not suite your requirement.
    The other option I can think of that can possibly help you achieve this is to configure any weblogic proxy plugin that you might be making use of, see the document
    http://download.oracle.com/docs/cd/E15051_01/wls/docs103/plugins/plugin_params.html#wp1143055 look for PathTrim, PathPrepend
    [email protected] - September 24, 2010 5:41:39 PM GMT+05:30 [Update from Customer]
    Hi,
    Please call me on +91 9686971269 ASAP.
    Regards,
    Eranna D
    [email protected] - September 24, 2010 5:41:22 PM GMT+05:30 [Update from Customer]
    Hi,
    Even thogh after implementing the below changes,still we are not able to get the result. " nfpb parameter is still existing in URL ".
    Implementing URL Compression :
    To configure a webapp to use url compression, follow these steps:
    1. Define the compression servlet in web.xml; for example
    <servlet>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <servlet-class>com.bea.portlet.compression.UrlCompressionServlet
    </servlet-class>
    <init-param>
    <param-name>defaultPage</param-name>
    <param-value>/index.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>errorPage</param-name>
    <param-value>/errors/error.jsp</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    2. Map the compression pattern; for example:
    <servlet-mapping>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <url-pattern>wlp.c</url-pattern>
    </servlet-mapping>
    3. Add the token {url:compression} to the templates for which you want to apply compression.
    Please suggest on this ASAP.
    Regards,
    Eranna D.
    [email protected] - September 24, 2010 5:27:58 PM GMT+05:30 [Customer Problem Description]
    Problem Description: We need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Pls suggest on this.
    Regards,
    Eranna D.

  • Plumtree and Weblogic Portal Server | URL rewriting incompatibility

    Hi All,
    I am using Weblogic Portal as the Producer and Plumtree as the consumer for my WSRP portlets. I have enabled Producer URL rewriting. When i invoke an action URL i get a "Mode is not supported in this portlet." error. The template being passed is <blockingActionTemplate>/wsrpconsumer/pt_action?wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}</blockingActionTemplate>
    and the URL generated is a href="/wsrpconsumer/pt_action?wsrp-navigationalState=&wsrp-interactionState=_action%3D%2FnewAction1&wsrp-mode=&wsrp-windowState="
    The same portlet works fine when Consumer URL rewrting is enabled.
    Plumtree is giving the same error for the portlets at the consumer at http://sunwsrp.dyndns.org/portal/wsrp/wsdl/default. Any help would be highly appreciated
    Thanks

    Hi, I don't have an answer on this but another more basic question. Our agency is using Plumtree Portal v5. I am assigned to develop a remote portlet. According to what I've read on the web as far back as 2003 Plumtree Portal supports WSRP but I'm getting conflicting answers within our agency. This post seems to indicate that the Plumtree Portal can consume WSRP compliant remote portlets. If that is correct, can you point me to documentation/examples? I've found reference to a Plumtree resource called "WSRP Portlet Consumer" for WSRP--does that still exist? Any help would be appreciated.

  • Error While fetching content nodes from Weblogic Portal

    Hi,
    I am trying to deploy an application on Weblogic server which will connect to Weblogic portal repository and fetch content nodes from the specified repository. While accessing the repositroy nodes from my jsp code I get following error:
    I am not very clear what is going wrong
    Error 500--Internal Server Error
    com.bea.content.RepositoryRuntimeException: Repository configuration error.
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:194)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'examplesWebApp.BEA_content.RepositoryOpsHome' didn't find subcontext 'examplesWebApp'. Resolved ''; remaining name 'examplesWebApp/BEA_content/RepositoryOpsHome'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1138)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:246)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:205)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.bea.content.ContentEJBHomeCache.lookup(ContentEJBHomeCache.java:56)
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:187)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)

    Repositories are essentially external to applications.
    Applications are associated with repositories via repository configs. Repository configs allow applications to access repositories.
    1. There is no special 'centralized repository'.
    2. This can be done, but has caveats, especially around caching. If multiple applications have repo configs which refer to the same repository, there can be caching issues. For example, suppose apps A and B both have repo configs for accessing repo R. If you use app A to change some data in repo R, then try to read the change via app B, you can end up with cached data instead of the most recent data in repo R. This is something to be aware of with this type of configuration.
    3. There is typically one WLP admin url per application. For example, if you have an application named 'FooApp', then the admin url can typically be found at 'http://localhost:7001/FooAppAdmin'. Application 'BarApp' may have an admin url at http://localhost:7001/BarAppAdmin.
    You can use the weblogic server console at http://localhost:7001/console to see these -- click on Deployments, then click Monitoriing. In the Context Root column, you can see the various top-level context roots registered for this application.
    4. Repositories are top-level possibly-shared entities, similar to databases.
    Applications 'use' Repositories via Repository Configs.
    Applications 'own' RepositoryConfigs, which allow them to 'use' a specific Repository.
    It's possible to have multiple applications 'use' the same repository (each application would have to have its own RepoConfig referring to the same repository), but there can be caching issues with this configuration -- see (2).
    Each application 'owns' its own set of repo configs, and therefore its own VCR namespace. The VCR namespace is compsed of the RepoConfigs that application 'owns'. For example, if an application has repository configs with names 'Repo1' and 'Repo2', then the VCR namespace includes /Repo1/... and /Repo2/...
    Note that each RepoConfig entry has a name, which becomes its VCR namespace path. The path to a node in a repository begins with / followed by the name of the RepoConfig followed by /. Application A and application B may each be accessing Repo R, but via different names. For example, if A has the path to Repo R registered via name 'RepoR', then its VCR path to Repo R is /RepoR/... If B has the path to Repo R registered via the name 'R', then its VCR path to Repo R is /R/...

  • Setting E-mail Actions in Compaign [WebLogic portal 4.0]

    Dear all,
    I am using WebLogic Portal 4.0. I would like to set up a compaign
    activity that sending a email out after user has registered my portal. I
    read the wlcs demo and know how to configure the compaign and email
    content. But it is quite strange to me that there is no way to set mail
    server and email account. So, I can't receive email after registered.
    Should I set up user profile with property name "Email" in order to send
    the email? And how to configure the server so that I can receive email
    from this campaign function? It seems there is no document about this in
    BEA's edocs. Anybody can help? Thx a lot.
    Regards,
    Karen

    Karen -
    Please review the e-mail section of the Developing Campaign Infrastructure
    Guide (http://edocs.bea.com/wlp/docs40/campdev/mail.htm#1059780).
    Like you thought, you do need to set a user property to contain the email
    address of the user. Additionally, you need to configure the campaign engine
    to know which user property to use when trying to determine a user's email
    address. How to do this is listed in the guide.
    Also, the email service does not immediately deliver the email. Instead, it
    is stored in a set of database tables. Follow the instructions at
    http://edocs.bea.com/wlp/docs40/campdev/mail.htm#1070062 to see how to cause
    a batch of email to be sent.
    As to reading the email, since the normal email delivery is SMTP via
    JavaMail, that's entirely up to you. For example, you can check the account
    via your favorite email client (e.g. Outlook, Netscape, Pine, Telnet to the
    pop-3 port, etc.); or you could write a JSP/webflow/portlet that uses
    JavaMail to display email messages from a server.
    Good luck,
    Greg
    "Karen Law" <[email protected]> wrote in message
    news:[email protected]..
    Dear all,
    I am using WebLogic Portal 4.0. I would like to set up a compaign
    activity that sending a email out after user has registered my portal. I
    read the wlcs demo and know how to configure the compaign and email
    content. But it is quite strange to me that there is no way to set mail
    server and email account. So, I can't receive email after registered.
    Should I set up user profile with property name "Email" in order to send
    the email? And how to configure the server so that I can receive email
    from this campaign function? It seems there is no document about this in
    BEA's edocs. Anybody can help? Thx a lot.
    Regards,
    Karen

  • Weblogic portal 4.0 problem

    I am using user management tag with weblogic portal 4.0(sp2)
    Problem is that when i do
    <um:getProfile scope="session" profileKey="<%=userName%>" />
    <um:setProperty propertyName="firstname" propertySet="userProfile" value="<%=firstName%>" />
    it inserts another row in PROPERTY_VALUE table , whereas it should update the current property(firstname).
    This is happening randomly, not always.
    Any sugestions are welcome.
    Thanx

    Hi,
    Webflows are scoped to a web-application (a web-app is defined in the Servlet
    specification - http://java.sun.com/products/servlet/ ). An InputProcessor is part
    of webflow, so it is scoped to the web-app. You need to put the class where the web
    application classloader can find it. Give the servlet spec a quick look...in
    chapter 9, "Web Applications", it mentions the WEB-INF/classes directory for servlet
    and utility classes.
    Put your class in the proper directory strucure (according to its package name)
    under <portal 4.0-install-dir>/applications/myJ2EEApp/myWebApp/WEB-INF/classes/...
    You can see that webflows are scoped to a web-application (and Pipelines are
    scoped to a J2EE application) at
    http://edocs.bea.com/wlp/docs40/wflopipe/overview.htm#1032978 , "The Relationship
    Between Webflows and Applications". FYI, a J2EE application can be made up of many
    web applications (and EJB jar files). See java.sun.com for the J2EE specification,
    which defines a J2EE application.
    jpmeert wrote:
    hello,
    i am a beginner in J2EE and i have a problem in using webflow(Weblogic portal
    4.0).
    I use the portlet3 given in example of the stockportal.
    I have juste change the class in the ebcc webflow and put my new class compiled
    (not change at all!! only the name). there is no problem i think
    but i dont know where can i put my new class in the directory?
    my error :
    IPProcessor encountered a classnot found in namespace [depotDocBDC] while trying
    to instantiate [examples.stockportal.DepotBDCProcessor].
    java.lang.ClassNotFoundException : examples.stockportal.DepotBDCProcessor
    thx--
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • Weblogic Portal - Disc API bug in response content type

    Hi
    While using WLP Disc APIs in the portal for AJAX calls, the response content type returned by the weblogic portal server is:
    text/x-netuix-json-comment-filtered; charset=ISO-8859-1
    This is not getting changed to 'application/json' inspite of setting this as the content type for a JSF JSP.
    Probably, looks like a bug.
    We have a JSF portlet in which we need to make an AJAX call.
    Please refer to the weblogic whitepaper for the AJAX examples (weblogic-portal-jsf-whitepaper.pdf).
    The example works fine in the dev/build environment. When the portal server is accepting calls through Sun One webserver,
    the logs from the webserver show the response content type from the portal server as "text/x-netuix-json-comment-filtered; charset=ISO-8859-1"
    - I tried changing the content type to "application/json" in the JSF JSP (as per the example from the pdf file). Still the content type does not change.
    - The response from the portal server is suffixed with "\n\r\t". Because of the trailing space/carriage return chars in the portal server response, the sun one webserver is unable to parse (or) eliminate the "\r\n\d" chars to the browser. When the browser receives a response (with the trailing chars), the module.js (weblogic wrapper API for DISC calls) fails.
    - The module.js tries to check whether the response from portal server ends with "**/" but unfortunately, the weblogic protal server returns
    "/** %json response%**/\n\r\d"
    I found a workaround to this issue by having a filter for the JSF JSP which sets the content type as "application/json" and does a flush() before it makes a call to the JSF JSP which responsds to an ajax call. This works as the content type is set and flushed first so any attempt by the portal server to set as "text/x-netuix-json-comment-filtered" does not get reflected in the http response.
    Any support/fix from oracle regarding this will be helpful as most of the webserver integration with the portal server happens during the middle of the project build and might lead to a technical risk.
    Server details: WLPS 10.3, Sun One 7.0
    Thanks
    Ananth Krishnan

    Make sure you're using the Reverse Proxy Plugin for Web Server, not the Application Server Connector (they are VERY similar, but not the same). The RPP knows how to handle 100 Continue, the Connector does not.
    Or use Web Server 7 and its built-in reverse proxy feature.

Maybe you are looking for

  • Lines appear under all text when you press enter--edit?

    Hello, I have a text box, whose formatting I want to edit. When you press enter a horizontal line appears automatically before you enter in text on the new line. I want to edit this line so it is closer to the text. Where do I go to edit this feature

  • I can't download Adobe Flash Builder at all.

    Hello, i've tried to download flash builder 4.5-4.7 trial, premium, standard etc, i've followed instructions, turned off firewalls, popups etc. i really just need a trial version of Adobe Flash Builder. I am going onto my 3rd year in multimedia tryin

  • Although I purchased an audiobook directly from iTunes I cannot get it onto my 4th gen. shuffle. Any advice?

    I just purchased an audiobook  from itunes and I cannot get it on my ipod shuffle 4th gen.  I can get music on it just fine and i have the newest versions of my ipod's software and of itunes.  Any help is appreciated.

  • Customized CRM interface hiding locations

    Hi, Our CRM has been so highly customised that as an Adminstrator I cannot find my way to some of the out of the box locations. For example,  Settings / Auditing / Audit Log Management is not visible. Presumably there must be some server-relative URL

  • Photo Browser for G3

    I've got a G3 for my 7 year old daughter to play a few games, type a few words and generally keep her away from my new iMac! Can anyone recommend a simple photo viewer that will allow me to create a few albums or simply let her use the arrow keys to