No provider session Error(Struts Portlet)

Hi..
I am trying to develop struts portlet for Oracle Application Server. When viewing the portlet getting 500 Internal Server Error. I have already set the session attribute to true. Still getting the same error. Following is the error message in the log. Please help me..
oracle.portal.provider.v2.PortletException: No provider session.
     at oracle.portal.utils.v2.ContainerException.fillInStackTrace(Unknown Source)
     at java.lang.Throwable.<init>(Throwable.java:195)
     at java.lang.Exception.<init>(Exception.java:41)
     at oracle.portal.utils.v2.ContainerException.<init>(Unknown Source)
     at oracle.portal.provider.v2.PortletException.<init>(Unknown Source)
     at oracle.portal.provider.v2.render.http.StrutsRenderer.getRequestResourcePath(Unknown Source)
     at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
     at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
     at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
     at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
     at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
     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:324)
     at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
     at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
Thanks,
Sirisha

From the stack dump, if that can be of help ...
06/03/08 17:06:52 ooo: [instance=11696_ALERTHISTORY_9285338, id=82633421611,4] ERROR: Failed to handle HTTP Request
oracle.portal.provider.v2.PortletException: No provider session.
at oracle.portal.utils.v2.ContainerException.fillInStackTrace(Unknown Source)
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at oracle.portal.utils.v2.ContainerException.<init>(Unknown Source)
at oracle.portal.provider.v2.PortletException.<init>(Unknown Source)
at oracle.portal.provider.v2.render.http.StrutsRenderer.getRequestResourcePath(Unknown Source)
at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)

Similar Messages

  • Can see the test page, Can register the provider but error in portlet

    Hi all,
    I have done the following settings in my web.xml
    web.xml
    <servlet>
    <servlet-name>calsample</servlet-name>
    <servlet-class>oracle.portal.provider.v1.http.HttpProvider</servlet-class>
    <init-param>
    <param-name>provider_root</param-name>
    <param-value>D:\pdk\pdkoct\pdk\urlservices\providers\calsample</param-value>
    </init-param>
    <init-param>
    <param-name>sessiontimeout</param-name>
    <param-value>1800000</param-value>
    </init-param>
    <init-param>
    <param-name>debuglevel</param-name>
    <param-value>3</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>calsample</servlet-name>
    <url-pattern>/calsample/*</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>CalendarServlet</servlet-name>
    <servlet-class>com.jsos.calendar.CalendarServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
         <param-value>d:/tomcat/conf/calconf.txt</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CalendarServlet</servlet-name>
    <url-pattern>calendar</url-pattern>
    </servlet-mapping>
    provider.xml
    <provider class="oracle.portal.provider.v1.http.DefaultProvider" session="true">
    <portlet class="oracle.portal.provider.v1.http.DefaultPortlet" version="1">
    <id>1</id>
    <name>CalendarServlet</name>
    <title>My Calendar Servlet</title>
    <description>This is my Calendar Servlet implemented as a ServletRenderer.</description>
    <timeout>5</timeout>
    <timeoutMsg>Calendar Servlet Renderer example timed out</timeoutMsg>
    <hasHelp>true</hasHelp>
    <hasAbout>true</hasAbout>
    <showDetails>true</showDetails>
    <showEdit>true</showEdit>
    <showEditDefault>true</showEditDefault>
    <acceptContentTypes>
    <item>text/html</item>
    </acceptContentTypes>
    <portletRenderer class="oracle.portal.provider.v1.http.ServletPageRenderer">
    <appPath>/pdk/calendar</appPath>
    <appRoot>D:\tomcat\webapps\pdk\WEB-INF\lib</appRoot>
         <showServlet>com.jsos.calendar.CalendarServlet</showServlet>
    </portletRenderer>
    </portlet>
    </provider>
    With the above settings, I can see the test page at http://<server_ip>:port/pdk/calsample.
    I am able to register the provider on the Portal server as well.
    While adding the portlet to the portal page, the Calendar Portlet is listed there.
    But, when I press the preview button next to it, It shows "Error: The listener returned the following Message: 500 Internal Server Error".
    Please give me a clue where I am going wrong.
    Thanks in advance.

    Well, over the past few days while desparately trying to make my portlets work, I have tried several things. I started initially with a downloaded version of pdk that contains samples of v1. My first message above reflects the setup I used with v1. While trying to figure-out the problem for error 500, I tried v2 but the same problem persisted.
    However, the clue by Mr. Peter Moskovits to check the application.log has helped me to finally resolve the problem.
    Here is my new WORKING setup:
    \WEB-INF\web.xml:
    <context-param>
    <param-name>oracle.portal.log.LoggerClass</param-name>
    <param-value>oracle.webdb.log.ServletLogger</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.portal.log.LogLevel</param-name>
    <param-value>7</param-value>
    </context-param>
    <!--
    Define the JPDK servlets and their parameters
    -->
    <servlet>
    <servlet-name>SOAPServlet</servlet-name>
    <display-name>SOAPServlet</display-name>
    <description>Extended Portal SOAP Server</description>
    <servlet-class>oracle.webdb.provider.v2.adapter.SOAPServlet</servlet-class>
    <!-- The following parameter enables invalidation caching -->
    <init-param>
    <param-name>invalidation_caching</param-name>
    <param-value>true</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>SOAPServlet</servlet-name>
    <url-pattern>/providers</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>SOAPServlet</servlet-name>
    <url-pattern>/providers/*</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>CalendarServlet</servlet-name>
    <servlet-class>com.jsos.calendar.CalendarServlet</servlet-class>
         <init-param>
         <param-name>config</param-name>
         <param-value>d:/conf/calconf.txt</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CalendarServlet</servlet-name>
    <url-pattern>/calendar</url-pattern>
    </servlet-mapping>
    \WEB-INF\providers\calendar\provider.xml :
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition" >
    <id>1</id>
    <name>Calendar</name>
    <title>Calendar Portlet</title>
    <shortTitle>Calendar</shortTitle>
    <description>This portlet is my calendar portlet.</description>
    <timeout>30</timeout>
    <timeoutMessage>Calendar Portlet timed out</timeoutMessage>
    <renderer class="oracle.portal.provider.v2.render.RenderManager" >
    <showPage/calendar</showPage>
    </renderer>
    </portlet>
    </provider>
    \WEB-INF\deployment\calendar.properties
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/calendar/provider.xml
    autoReload=true
    debugLevel=7
    With the above setup, I am able to access the test page successfully at:
    http://[server-ip]:port/jpdk/providers/calendar
    Which lists my portlet, Calendar.
    Upon registering the portlet provider with the above URL, the portlet provider lists my Calendar portlet there and it shows-up the portlet successfully there.
    Thank you all.

  • 500 Internal Server Error when I add struts portlet in the portal

    I'm using jDeveloper 10g and have created a sample struts app which is working fine when using the regular struts-html.tld tags and struts-bean.tld tags .I'd like to get it working using the pdk-struts-html.tld taglib though so that I can deploy it as a portlet.
    When I run the jsp page as follow:
    <%@ taglib uri="/WEB-INF/pdk-struts-html.tld" prefix="pdk-struts-html"%>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ page contentType="text/html;charset=GBK"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=GBK">
    <title>untitled</title>
    </head>
    <body>
    <pdk-struts-html:errors />
    <pdk-struts-html:form action="/portal/SaveNewBlog.do">
    <bean:message key="userid.prompt"/>
    <pdk-struts-html:text property="userid" />
    <bean:message key="password.prompt"/>
    <pdk-struts-html:password property="password" />
    <pdk-struts-html:submit />
    </pdk-struts-html:form>
    </body>
    </html>
    However, there are some thing wrong with it ,I don't know how to modify it :
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.portal.provider.v2.url.UrlUtils.htmlFormActionLink(Unknown Source)
         at oracle.webdb.provider.v2.taglib.struts.html.PDKFormTag.renderFormStartElement(Unknown Source)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)
         at oracle.webdb.provider.v2.taglib.struts.html.PDKFormTag.doStartTag(Unknown Source)
         at view.portal._enterNewBlog._jspService(enterNewBlog.jsp:11)
         [SRC:/view/portal/enterNewBlog.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Thanks
    yijv

    Sure ...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <div>
        <html:errors/>
        <html:form action="/history.do">
          <input type="hidden" name="<c:out value='${bindings.statetokenid}'/>" value="<c:out value='${bindings.statetoken}'/>"/>
          <c:out value="${bindings.editingMode}" />
          <table border="0" cellpadding="2" cellspacing="0">
            <tr>
              <td>
                <c:out value="${bindings['SystemId'].label}"/>
              </td>
              <td>
                <html:text property="SystemId"/>
              </td>
              <td>
                <c:out value="${bindings['AlertTime'].label}"/>
              </td>
              <td>
                <html:text property="AlertTime"/>
              </td>
            </tr>
            <tr>
              <td>
                <c:out value="${bindings['ZoneName'].label}"/>
              </td>
              <td>
                <html:text property="ZoneName"/>
              </td>
              <td>
                <c:out value="${bindings['AlertCleared'].label}"/>
              </td>
              <td>
                <html:text property="AlertCleared"/>
              </td>
            </tr>
            <tr>
              <td>
                <c:out value="${bindings['AlertReason'].label}"/>
              </td>
              <td>
                <html:text property="AlertReason"/>
              </td>
              <td>
                <c:out value="${bindings['VesselImo'].label}"/>
              </td>
              <td>
                <html:text property="VesselImo"/>
              </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td>
                <c:out value="${bindings['VesselName'].label}"/>
              </td>
              <td>
                <html:text property="VesselName"/>
              </td>
            </tr>
          </table>
          <P>
            <input name="event_Search" type="submit" value="Search">
          </P>
        </html:form>
        <c:choose>
          <c:when test="${empty bindings.AlertHistoryView1.rangeSet}">No alerts matches your search criteria.</c:when>
          <c:otherwise>
            <table border="1" width="100%">
              <tr>
                <th> </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['SystemId']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['ZoneName']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['ValidFrom']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['ValidTo']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['Description']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['IsOpen']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['AlertReason']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['AlertTime']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['AlertLevel']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['AlertStatus']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['AlertCleared']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['VesselImo']}"/>
                </th>
                <th>
                  <c:out value="${bindings.AlertHistoryView1.labels['VesselName']}"/>
                </th>
              </tr>
              <c:forEach var="Row" items="${bindings.AlertHistoryView1.rangeSet}">
                <tr>
                  <td>
                    <c:out value="${Row.currencyString}"/>
                  </td>
                  <td>
                    <c:out value="${Row['SystemId']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['ZoneName']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['ValidFrom']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['ValidTo']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['Description']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['IsOpen']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['AlertReason']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['AlertTime']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['AlertLevel']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['AlertStatus']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['AlertCleared']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['VesselImo']}"/> 
                  </td>
                  <td>
                    <c:out value="${Row['VesselName']}"/> 
                  </td>
                </tr>
              </c:forEach>
            </table>
          </c:otherwise>
        </c:choose>
    </div>I'm trying with the DIV tags ... but no avail so far. It doesn't work without the DIV tags either.
    In regards to the stack trace - it's not in the application log, sorry - too many things going on this weekend ;) The stackdump goes to the browser ...
    java.lang.NullPointerException
         at oracle.portal.provider.v2.url.UrlUtils.htmlFormActionLink(Unknown Source)
         at oracle.webdb.provider.v2.taglib.struts.html.PDKFormTag.renderFormStartElement(Unknown Source)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:511)
         at oracle.webdb.provider.v2.taglib.struts.html.PDKFormTag.doStartTag(Unknown Source)
         at _history._jspService(_history.java:62)
         [SRC:/history.jsp:6]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:782)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:226)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:794)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

  • Error after creating a struts portlet in weblogic 8.1 SP 5

    Hi,
    I am using weblogic 8.1 SP 5, to develop an struts-portlet.
    I tested my struts application and it is working fine.
    I have one action i.e firstAction and 2 jsp's in my struts application.
    The action just forwards to the one jsp through struts-config.
    However, when i try to start the server after creating the struts-portlet i get the following error:
    The source of this error is com.bea.netuix.nf.UIControlException: For portlet [portlet_1_1], could not retrieve a result for the given action [firstAction] in the given PageFlow: [null]. at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:718) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender
    Please Help !!!

    Hi,
    Even I am facing the same issue could any body help me out to solve this issue.

  • Strut-Portlets errors in Weblogic 8.1 SP5

    I am getting the below mentioned error when running a portal containing Struts-Portlet in Webloigc 8.1Sp5.
    I have tried everything but not able to resolve it, does anyone know how to resolve and how to successfully run a Struts-Portlet application?
    Thanks in advance.
    -Raj
    The source of this error is com.bea.netuix.nf.UIControlException: For portlet [portlet_1_3], could not retrieve a result for the given action [strutsAction2] in the given PageFlow: [null]. at com.bea.netuix.servlets.controls.content.NetuiContent.preRender()V(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)Z(ControlLifecycle.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:718) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(ControlTreeWalker.java:181) at com.bea.netuix.nf.Lifecycle.runOutbound(Lcom/bea/netuix/nf/UIContext;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(Lifecycle.java:204) at com.bea.netuix.nf.Lifecycle.run(Lcom/bea/netuix/nf/UIContext;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(Lifecycle.java:153) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(Lcom/bea/netuix/nf/UIContext;Ljavax/servlet/http/HttpServletRequest;)V(UIServlet.java:333) at com.bea.netuix.servlets.manager.UIServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(UIServlet.java:196) at com.bea.netuix.servlets.manager.PortalServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PortalServlet.java:772) at com.bea.netuix.servlets.manager.PortalServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PortalServlet.java:671) at com.bea.netuix.servlets.manager.UIServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(UIServlet.java:147) at javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)

    What happens in a Struts Portlet is that Portal calls into NetUI to get the action to forward to. The problem appears to be that the struts-config is not getting picked up or registered with NetUI.
    One thing to try is to do inter-op between Struts and NetUI/pageflows first to make sure the struts-config is being picked up and then layer on the Portal layer.
    Connie

  • Struts portlet error

    hi
    When i am working on struts portlet framework,i got this error,here i am sending my log file
    java.lang.ClassCastException: com.sun.portal.portletcontainer.portlet.impl.PortletContextImpl cannot be cast to org.apache.pluto.core.impl.PortletContextImpl
    at com.test.PortalServletContextProvider.getServletContext(PortalServletContextProvider.java:24)
    at org.apache.portals.bridges.struts.StrutsPortlet.getServletContext(StrutsPortlet.java:202)
    at org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:286)
    at org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.java:274)
    at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
    at com.sun.portal.portletcontainer.appengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:393)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.sun.portal.portletcontainer.appengine.PortletAppEngineFilter.doFilter(PortletAppEngineFilter.java:105)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:679)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:594)
    at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:818)
    at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:695)
    at com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(PortletContainer.java:209)
    at com.sun.portal.portletcontainer.invoker.WindowInvoker.getPortletContent(WindowInvoker.java:375)
    at com.sun.portal.portletcontainer.invoker.WindowInvoker.render(WindowInvoker.java:249)
    at com.sun.portal.portletcontainer.driver.PortletContent.getContent(PortletContent.java:70)
    at com.sun.portal.portletcontainer.driver.DesktopServlet.getPortletContents(DesktopServlet.java:296)
    at com.sun.portal.portletcontainer.driver.DesktopServlet.getAllPortletContents(DesktopServlet.java:242)
    at com.sun.portal.portletcontainer.driver.DesktopServlet.doGetPost(DesktopServlet.java:121)
    at com.sun.portal.portletcontainer.driver.DesktopServlet.doGet(DesktopServlet.java:90)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    PSPL_PCCTXCSPPCI0006 : Exception thrown while rendering content for portlet window Content Exception
    PSPCD_CSPPD0022 : Number for Portlet Windows Displayed - thin: 0, thick: 3
    i am using open potlet container 2.x and GlassFish server with NetBeans,
    Any body please help me.
    Thanks,

    u r in the wrong forum. if you r using glassfish, u need to visit glassfish.dev.java.net and find out their forum link and post it over there

  • Struts-Portlet

    Hello,
    I have created a very simple login form that uses the struts framework. It validates that there is a userid and password in the textfields before it submits through the action. The problem is, the only way I can get the portlet to recognize that I pushed the submit button, is to add "/login.do" (which is my action) for the <showpage> tag in the provider.xml. So now everytime I navigate to my page with this form on it, it acts like i just pressed the submit button and spits the error messages back to me saying i need to enter a userid and password. I've tried making an initialize action with no validation at all and just forward to my login.jsp, so i put that in the <showpage> tag, but doing this makes it so it doesn't recognize my /login.do action.
    Any suggestions maybe as to what I am doing wrong or missing.
    Here is my provider.xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <!--
    <preferenceStore class="oracle.portal.provider.v2.preference.FilePreferenceStore">
    <name>ProviderPrefStore</name>
    <useHashing>true</useHashing>
    </preferenceStore>
    -->
    <preferenceStore class="oracle.portal.provider.v2.preference.DBPreferenceStore">
    <name>prefStore1</name>
    <connection>jdbc/DBPreferencesDS</connection>
    </preferenceStore>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>modeChanges</name>
    <title>Mode Changes</title>
    <description>Mode Changes Description</description>
    <timeout>360</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>true</hasAbout>
    <showEdit>true</showEdit>
    <hasHelp>true</hasHelp>
    <showEditDefault>true</showEditDefault>
    <showDetails>true</showDetails>
    <showPreview>true</showPreview>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">/login.do</showPage>
    <editPage>/edit.jsp</editPage>
    <helpPage>/help.jsp</helpPage>
    <previewPage>/preview.jsp</previewPage>
    <aboutPage>/about.jsp</aboutPage>
    <editDefaultsPage>/edit_defaults.jsp</editDefaultsPage>
    </renderer>
    <personalizationManager class="oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager">
    <dataClass>com.ahrs.portal.prototype.modes.CustomPersonalization</dataClass>
    </personalizationManager>
    </portlet>
    </provider>

    Thank you so much.
    I did try that before when I was looking through some examples but it kept giving me a 500 server error. So I looked into it some more and it was saying there was no provider session. So i changed the settings on my provider in the portal under the 'user login frequency' that was set at 'Once per session' so i changed it to 'always' and it works fine. Now I have one more issue, if I add another portlet to the same page, this portlet gives me that 500 error again about no provider session. It works fine if it is all by itself but not if there is more than one portlet on the same page.

  • Struts Portlet With Input Parameters

    Hi Everyone,
    Am I able to write a struts portlet that has input parameters? Right now, I have a struts portlet with a provider.xml that looks like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>ManageQuotes</name>
    <title>Manage Quotes Portlet</title>
    <description>Manage Quotes Portlet</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>encryptedDealerNumber</name>
    <displayName>encryptedDealerNumber</displayName>
    </inputParameter>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
    <defaultAction>/viewquotes.do</defaultAction>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    The <session>true</session> and <passAllUrlParams>true</passAllUrlParams> need to be there to have a struts portlet. The problem is when I put my portlet on a page and then check out 'Page Properties', 'Portlet Parameters', there are no parameters that show up for my portlet. Can anyone help me?
    Thanks
    Cory

    I just went through this two days ago. I ended up logging a TAR/SR with Oracle and it turns out Struts portlets do not support input parameters. Instead you have to set the passAllUrlParams tag to true and then just use portletRequest.getParameter("parameterName") to retrieve page parameters. You have to be careful here because in this older style of doing parameters you have to manage all the uniqueness in naming parameters in case you have more than one portlet on the same page. However, it seems that if all you want to do is read the portal page parameters that unique naming doesn't come into play.
    In my case I have an OmniPortlet setting some Page Parameters via an Event. Then in my struts portlet I just do:
    String foo = "";
    String bar = "";
    PortletRenderRequest portletRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    if ( portletRequest != null ) {  
    foo = portletRequest.getParameter("Foo"));
    bar = portletRequest.getParameter("Bar"));
    That seems to work just fine for me, but in my case I will only ever use my portlet once per page so this fine. If you wanted the same portlet to have different page parameters fed to it for different instances on the same page this style won't work since all the portlets would just read the same page parameters since those page parameters names are coded in the implementation code.
    Hope that helps,
    David

  • Struts Portlet to Struts Portlet Communication

    Hello,
    We have two struts portlets (portlet1, portlet2) in our page. We have the following queries:
    1. When user performs some action (submit) in portlet1, can we render the second porlet (portlet2). Second portlet should be visible only after submit in first portlet.
    2. We are trying to pass objects between two struts portlets. Can some one provide an idea on how to achieve this. We are trying to set the objects to be passed in request object, but they are not visible in the second portlet.
    Basically, our requirement is portlet1 will contain the search criteria and when the user clicks on submit, the results should be displayed in another portlet. Both these portlets are struts enabled.

    1. You can create your security manager to dynamically control whether the portlet is displayed or not on the portal page. You can refer to the Portal Developer's Guide to learn more about security managers.
    2. You can use the page parameters and portlet parameters to pass this information from one portlet to the other. The Portal Developer's Guide discusses how to do this.
    If this doesn't work for some reason (the string is way too long - or for any other reason), you can try to save the information to the session context. The session can be shared between two portlets if they belong to the same provider.
    Hope this helps,
    Peter

  • Trouble with console-extension using struts portlet

    hello everyone,
    I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
    e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    (...other debug output from my struts action...)
    .wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
    flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
    .netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
    .netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
    ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
    Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
    <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
    Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
    Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
    ====================================
    Struts config:
    <struts-config>
         <form-beans>
              <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
         </form-beans>
         <action-mappings>
              <action path="/LoggingControllerAction"
                   type="...web.actions.LoggingControllerAction"
                   name="loggingForm"
                   scope="request"
                   validate="false"
                   input="/ext_jsp/helloWorld.jsp">
                   <forward name="success" contextRelative="true"
                        path="/ext_jsp/helloWorld.jsp" />
              </action>
         </action-mappings>
    </struts-config>

    The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
    This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
    In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    This is not mentioned anywhere and should definitely be added to the guide.
    Hope this helps someone encountering the same problem.

  • Pls/portal shows: Error: The portlet could not be contacted  after SSL enab

    The OCS /pls/portal page shows: Error: The portlet could not be contacted, I believe this happened after SSL enabling the system. Anyone out there seen this errof before?

    FYI
    This happens if you remove port 80 as a listening port webcache/em, etc. Oracle claims it needs port 80 for internal communication. For whatever reason the /pls/portal providers are registered in non-SSL. Not sure if Oracle will provide a fix or ?

  • Logging doesn't work from my Struts portlet

    I've got a Struts portlet that uses (or tried to use) Log4J logging. I don't get any logging - not even .log file creation. When the OC4J instance starts up it gives a warning about not having the Log4J system initialized properly. I have a log4j.properties in my WEB-INF/classes directory so I don't understand why it gives this warning, though.
    Is Struts overriding Log4J logging with its commons-logging.jar?
    I also don't get an application.log file which the portlet should create in the applications-deployment/ directory.
    Has anyone run into this with a Struts portlet?

    I should have mentioned that I'm deploying my Struts Portlet in a local OC4J (with PDK support) and using it as a provider to a remote Oracle Portal. For some reason OC4J doesn't recognize the log4j.properties that is in my WEB-INF/classes directory.
    I've also got a TAR opened with Oracle Tech. support and when they deployed my .ear file to a Portal they get an application.log file which I do not get. There must be something on my local OC4J that prevents any logging (neither the application.log or the log4j .log file gets created on my local OC4J).
    Here are the messages that I get when I start OC4J:
    [java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
    [java] INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    [java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
    [java] INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    [java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
    [java] INFO: Initializing, config='oracle.portal.sample.v2.devguide.struts.messages', returnNull=true
    [java] 05/09/02 11:41:39 log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [java] 05/09/02 11:41:39 log4j:WARN Please initialize the log4j system properly.
    [java] 05/09/02 11:41:40 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized

  • Problem with struts portlet in Portal

    Hi,
    I would like to make a struts app as a portlet in bea portal.
    But when I try to make it using standard wizard to create Struts portlet
    after point struts-config.xml I get "Cannot parse the struts configuration file".
    What is wrong ? (I tried with many different struts-config.xml files, it doesn't
    work)
    I can't find any error details. in workshop files ?
    I have bea Workshop 8.1.
    Any help ?
    Thanks,
    Tom

    Ok I found solution on
    weblogic.developer.interest.portal.struts
    but where are error details ? which file ?
    "tmm" <[email protected]> wrote:
    >
    Hi,
    I would like to make a struts app as a portlet in bea portal.
    But when I try to make it using standard wizard to create Struts portlet
    after point struts-config.xml I get "Cannot parse the struts configuration
    file".
    What is wrong ? (I tried with many different struts-config.xml files,
    it doesn't
    work)
    I can't find any error details. in workshop files ?
    I have bea Workshop 8.1.
    Any help ?
    Thanks,
    Tom

  • Creating Struts Portlet

    Hi,
    I am new to Weblogic Portal, I have integrated the struts application and also created the portlet for that. When I attach the struts portlet to Portal file and run my portal application. It shows me the blank portlet.
    I am not getting any issue/ error/ problem.
    I have included the
    <controller processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor"/> in my struts-auto-config-hello.xml file also I have included the
    <init-param>
    <param-name>config/hello</param-name>
    <param-value>/WEB-INF/struts-auto-config-hello.xml</param-value>
    </init-param>
    in my web.xml file.
    Still I am gettin the blank Struts porlet. Please suggest.
    Thanks in Advance.

    Hello,
    I had some problems, please refer to the following stacktrace, please help me!!!!
    Nhan
    com.bea.netuix.nf.UIControlException: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: javax.servlet.ServletException: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at com.bea.netuix.servlets.controls.content.NetuiContentNoBeehive.checkPreRenderExceptions(NetuiContentNoBeehive.java:406)
         at com.bea.netuix.servlets.controls.content.NetuiContentNoBeehive.beginRender(NetuiContentNoBeehive.java:345)
         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)
         Truncated. see log file for complete stacktrace
    Caused By: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: javax.servlet.ServletException: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:721)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:265)
         at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:103)
         at com.bea.netuix.servlets.controls.content.NetuiContentNoBeehive.preRender(NetuiContentNoBeehive.java:294)
         at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
         Truncated. see log file for complete stacktrace
    Caused By: javax.servlet.ServletException: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
         at com.bea.struts.adapter.framework.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:572)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         at com.bea.portlet.adapter.scopedcontent.framework.internal.PageFlowUtilsStrutsDelegate.strutsLookupInternal(PageFlowUtilsStrutsDelegate.java:144)
         at com.bea.portlet.adapter.scopedcontent.framework.internal.PageFlowUtilsStrutsDelegate.strutsLookupInternal(PageFlowUtilsStrutsDelegate.java:74)
         Truncated. see log file for complete stacktrace
    Caused By: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at org.apache.struts.chain.commands.AbstractSelectAction.execute(AbstractSelectAction.java:71)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         Truncated. see log file for complete stacktrace

  • Session error 43999

    Unable to sign in to xfinity home from iPhone or iPad. Keep receiving session error 43999. What a pain!

    Hi Kohn7733 - 
    You are right.  The first way we troubleshoot any error code that has to do with sign in is by confirming that the user is a current subscriber & signing in with the email address associated with their Xfinity Home security account.  I private message users when I need to confirm or provide sensitive account information.
    Thanks,
    Rachel

Maybe you are looking for