JSR 168 and Struts support sample error

I'm trying to get the sample webapp for JSR 168 and Struts support working with
WebLogic 8.1, and I'm having problems with the struts portlet. The other portlets
seem to work fine, but the Struts portlet gives the following error after clicking
"Save" on most of the forms:
Page Flow Error - Action Not Found
Page Flow: Global.app
Action: html-setters.do
Unable to find action html-setters.do.
That error appears in the browser. At the same time, the following exception
appears in the server window:
<Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control
:: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
page flow lookup for the given action [html-setters.do] in the given PageFlow:
[struts/exercise-taglib].
This exception is followed by hundreds of lines of the following:
at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
as well as several stack overflow errors.
I believe I have installed the JSR168 and Struts support package according to
the instructions, and have copied the required jars into the samples WEB-INF/lib
directory. I also have tried to write my own Struts application in a portlet,
and it gets the exact same errors when I try to submit a form to my actions.
Any insight would be much appreciated!
Thanks,
Patrick

Hi Brodi,
I am having the same problem as Patrick. The problem is not in the struts portlet,
but in the forms the portlet navigates to. After the struts portlet loads, I
am able to use the html:links and navigate through the pages. Though when I try
to submit a form I get the action not found error. For example the html-select
page has a form. This page loads fine, but when I hit the save button I get the
following error.
<Aug 25, 2003 11:00:00 AM EDT> <Error> <netui> <BEA-420012> <There was an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for the contro
l :: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
page flow lookup for the given action [html-select.do] in the given PageFlow:
struts/exercise-taglib].
The application appears to loose the struts context. It tries to find the localhost:7001/samples/html-select.do
action instead of localhost:7001/samples/struts/exercise-taglib/html-select.do
action. How do I keep the application from loosing context?
Thank you,
Karen
"Brodi Beartusk" <[email protected]> wrote:
>
Patrick-
I've seen similar things happen when the module name is either not specified
correctly
in the StrutsContent element in the portlet, or when the module is misconfigured,
usually because of either a mising config file or a mis-named config
file.
Ensure that you have a the struts config file for the exercise-taglib
module in
WEB-INF, named jpf-struts-config-struts-exercise-taglib.xml.
-Brodi Beartusk
"Patrick Callis" <[email protected]> wrote:
I'm trying to get the sample webapp for JSR 168 and Struts support working
with
WebLogic 8.1, and I'm having problems with the struts portlet. Theother
portlets
seem to work fine, but the Struts portlet gives the following errorafter
clicking
"Save" on most of the forms:
Page Flow Error - Action Not Found
Page Flow: Global.app
Action: html-setters.do
Unable to find action html-setters.do.
That error appears in the browser. At the same time, the followingexception
appears in the server window:
<Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was
an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for
the control
:: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could
not do
page flow lookup for the given action [html-setters.do] in the given
PageFlow:
[struts/exercise-taglib].
This exception is followed by hundreds of lines of the following:
at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
as well as several stack overflow errors.
I believe I have installed the JSR168 and Struts support package according
to
the instructions, and have copied the required jars into the samples
WEB-INF/lib
directory. I also have tried to write my own Struts application ina
portlet,
and it gets the exact same errors when I try to submit a form to myactions.
Any insight would be much appreciated!
Thanks,
Patrick

Similar Messages

  • Jsr 168 and struts?

    All,
    I am doing some research on integrating struts framework with jsr168 framework. The reason for this is I do not put all the logic in the processAction method of the Portlet and I wanted to leverage the struts framework.
    In struts the starting point is ActionServlet, whereas for a servlet the starting point should be the portlet class. How do we call ActionServlet from the portletServlet.
    I guess I need to modify the RequestProcessor class method processActionForward method to return the path which should get invoked and feed in that path to the doView method of the portlet class.
    Any ideas around this...??
    Thanks,
    Raghu

    All,
    I am doing some research on integrating struts framework with jsr168 framework. The reason for this is I do not put all the logic in the processAction method of the Portlet and I wanted to leverage the struts framework.
    In struts the starting point is ActionServlet, whereas for a servlet the starting point should be the portlet class. How do we call ActionServlet from the portletServlet.
    I guess I need to modify the RequestProcessor class method processActionForward method to return the path which should get invoked and feed in that path to the doView method of the portlet class.
    Any ideas around this...??
    Thanks,
    Raghu

  • Support for JSR 168 and WSRP

    Hi,
    does SAP EP 7.0 supports JSR 168 and WSRP standards?
    Regards,
    Ladislav

    Hi Ladislav,
    Here are a few pointers that might answer your question:
    - WSRP 1.0 is supported in NetWeaver 7.0 (see this [SAP Help Page|http://help.sap.com/saphelp_nw70/helpdata/en/43/23fb36cad10d23e10000000a1553f7/frameset.htm] for more information)
    - JSR 168 support for Netweaver 7.0 has been discussed often but never confirmed in SAP documentation (check this thread for a recent SAP unofficial comment about its upcoming availability). However, NetWeaver CE 7.1 already supports JSR 168 (see this [SAP Help Page|http://help.sap.com/saphelp_nwce10/helpdata/en/44/5b96b37b6f4de1e10000000a1553f7/frameset.htm])
    Hope this helps.
    Best Regards,
    Joseph

  • JSR 168 and Web Services For Remote Portlets

    Hi,
       I have recently joined SAP.In my previous work experience I have worked extensively on the Sun Java Portal Server and was curious about the following
    1.Does SAP Enterprise Portal Server support JSR 168 compliant Portlets.
    2.If yes the Question that naturally follows is:Can portlets(view Components)in a SAP Portal be remote enabled?In other words does SAP portal support WSRP standards.
    3.If the SAP Enterprise Portal has implemented  the JSR 168 specifications then how does the architecture seperate out the Portal engine from the Portlet Container.
    In other words where does the actual wrapping from a HTTPServletRequest to a Portlet Request happen?
    4.The JSR 168 specifications restricts the use of IFrames and many HTML tags in the fragments that are returned by the portlets running in the Portlet Container.Is this taken care of in SAP Enterprise Portal?
    5.Can WebDynpro applications be embedded in a JSR 168 compliant portlet?
    6.How is parity maintaned between portlet session HTTP session and the Applications session?
    7.Does SAP Portal support deployment through a par model?
    Thanks and Regards
    Sujeet Mishra
    SAP Labs India Ltd
    [email protected]

    > 1.Does SAP Enterprise Portal Server support JSR 168
    > compliant Portlets.
    I'd like to know the answer to this question as well. I wrote an email but didn't receive any response. So i guess JSR 168 isn't supported yet?

  • SAP Enterpirse Portal Development standards (JSR 168 and JSR 286)

    Hi
    I am working on SAP Entperprise Portal Assessment. I  heard SAP-EP not supporting JSR 168 and JSR 286 standards.
    Can anyone please let me know what JSR 186  and  JSR 286 standards are and impact in SAP development work.
    Thanks everyone.

    Hi Ravi,
    SAP EP is definitely not supporting JSR 168.
    The next release (Portal on NetWeaver 7.1) will support JSR 286.
    You have to consider that the huge amount of SAPs standard portlets / iViews (addressing Knowledge Management, Employee Self Service, Business Intelligence, etc.) will not be implementations of JSR 286 but so called portal applications or Web Dynpro applications.
    HTH,
    Carsten

  • Support of JSR 168 and JSR 286 portlets

    Hi,
    As far as I know there is no direct support for JSR 168 compliant portlets in the SAP portal. Remote portlets can be consumed using WSRP. I was wondering whether the SAP portal will provide direct support for JSR 168 or even JSR 286 portlets in future releases?
    Regards,
    Kevin

    Hi Kevin,
    Long time ago SAP promised to implement JSR 168. Nowadays, you don't find much official documentation stating SAP portal is JSR168 compliant.
    SAP introduced the Federated Portal Network (Consumer and Producer portals), also with WSRP support.
    Check:
    cheers,
    Noë

  • JSR-168 and Request Parameters

    Hi!
    I'm creating a portlet application; right now it only has one portlet in it. The landing page for my portlet (view mode) has the following form code:
        <FORM action="<portlet:renderURL/>">
            I'm thinking of a number between 1 and 10.<BR><BR>
            <I>What is it?</I>
            <INPUT name="<portlet:namespace/>number" type="text" size="10" />
            <INPUT name="submit" type="submit" value="Guess!!" />
        </FORM>When I submit this form, I see the parameter in my browser's URL window prefixed with the portlet namespace:
       http://host:port/portal/page/portal/portalpage?__ns36_5643_36_1_1_number=3&submit=Guess%21%21Here is how I'm trying to get the "number" parameter in the Java class associated with this jsp:
                String number = (response.getNamespace()+"number");I have also tried with
                String number = response.getParameter("number");In both cases the variable number gets assigned the null value.
    How can I capture parameters sent by a form on a JSP page on the portlet's Java class?
    I am developing this portlet application with JDeveloper 10.1.3.3.0.4157 and deploying to Oracle Application Server 10.1.2.0.2 with a wsrp-compliant container. Portlet is consumed in Oracle Portal 10.1.4.
    Thank you for your response.

    I'm sorry; I typed it wrong:
    It's
    String number = request.getParameter("number");However, if you're referring to the namespace, then the way I have on my book (Portlet Programming, Effectively Using the JSR-168 Standard, by Cameron McKenzie) is really
    (response.getNamespace()+"number")

  • Failed to Save Document. and Not Supported. Error Message

    Post Author: dscoiho
    CA Forum: General
    I am using Crystal 10 and SQL Server. I have ran into instances when I try to save a report with data or save as I get Failed to Save Document. and Not Supported. error messages. Does anyone have a clue on why this would be happening and is there a work around.

    Post Author: rhartness
    CA Forum: General
    Has anyone found the answer to this problem?  I am experiencing the exact same issue today.  This is quite frustrating!  If anyone has a clue on how to fix this or how to prevent it from happening again please post a reply.
    I'd hate to lose all of my work over the past hour (I couldn't imagine of loosing a days worth of work like the original poster stated) but if there is no fix, I understand.  However, is there something that I could have done to cause this?  If so, I want to avoid doing it in the future.
    Thanks guys.

  • JSR 168 and UIX.

    Hi,
    Iam a newbie working on an JSR 168 app that makes an existing portlets as JSR 168 compatible. The portlets was orginaly developed usign the JPDK api and to incorporate standards we are making it as JSR 168 compatible.
    We used the UIX pages as the front end for showing portlet content. Is it possible to leverage the existing UIX pages using the JSR 168 API. For Rendering the UIX content we used the JPDK classes like the RenderManager , PortletContainerRenderer etc.
    As i understand JSR 168 provides the RenderRequest which represents the request sent to the portlet to handle a render. Can this RenderRequest be used to display UIX pages.
    Just wanted to know a couple of things.
    a) JPDK providers RenderManager , PortletContainerRenderer etc are there equivalents in the JSR 168 API
    b) Difference between the RenderRequest of the JSR and the PorletRenderRequest class .
    At a brief Iam looking for an equivalents of in the JSR 168 API which can accomplish this.
    Thanks
    Mouli

    Hi Mouli,
    In case of JPDK always you will get single request i.e., HttpServletRequest from the portlet.you can get the PortletRenderRequest from HttpServletRequest.
    Way to get PortletRenderRequest from HttpServletRequest :
    ===========================================
    PortletRenderRequest portletRenderRequest=(PortletRenderRequest)oHttpServletRequest.getAttribute("oracle.portal.PortletRenderRequest");
    [NOTE : you need to import the following class.
    import oracle.portal.provider.v2.render.PortletRenderRequest;]
    In case of JSR 168 generally you will get two kinds of request ie., RenderRequest & ActionRequest.Where PortletRequest is the parent interface for this two interfaces.
    For Ex.whenever the portlets first time loaded on portalpage the portlet will get RenderRequest & it will create its own portlet markup.When ever you perform any operation in any portlet then it will have ActionRequest & remaining portlets will have RenderRequest.
    Please feel free to ask anything related to portal technology..Let me know if i specified anything wrong.....
    Thanks & Regards.,
    Bala S Murugan.,
    sendrequestgetresponse At Gmail Dot Com
    http://balamurugan-portlets.blogspot.com/

  • Is the JSR-168 portlet-container supported for 10.1.3?

    And if so, what are the actions to be taken to install it on OC4J 10.1.3 standalone? I tried to install it earlier but ran into problems, see: WSRP Provider registration fails for OC4J10.1.3 container (stack), why?
    I want to use OC4J 10.1.3 as my JSR-168 container, because I can (try and) deploy Tapestry 4.0 portlets in this application server, that use Java annotations. I then want to consume these portlets over WSRP - part of Portal 10.1.4

    <bump count="2"/>

  • Struts Support: Parsing Portlet JSP File failed

    I've manually edited a my .portlet file to contain a strutsContent element (copied
    from the struts.porlet in the JSR 168 and Struts Support sample). When I run my
    portal I get an error message:
    java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
    Can anyone help?
    Thanks in advance,
    --Andy

    Subbu,
    Thanks for the tip - netuix_taglib.jar was indeed the not the correct version.
    Interestingly, this file is not mentioned in the "JSR 168 and Struts Support"
    install docs. I have replaced this file and the struts-example webapp now starts
    (after setting up an action to forward to the index page).
    However, I am having problems with the message bundle properties files ApplicationResources.properties
    and AlternateApplicationResources.properties as neither of these files are being
    picked up.
    These files are located in org/apache/struts/webapp/example in WEB-INF/src and
    WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example resides
    in <WEBAPP>/struts-example).
    I've also tried adding <init-param>'s to the <WEB-APP>/WEB-INF/web.xml file for
    the action servlet as follows:
    <servlet>
    <servlet-name>action</servlet-name>
    <init-param>
    <param-name>application</param-name>
    <param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
    </init-param>
    <init-param>
    <param-name>alternate</param-name>
    <param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
    </init-param>
    </servlet>
    When I use the logon action as the starting action for the portlet, I get:
    Error opening /struts-example/logon.jsp.
    The source of this error is javax.servlet.ServletException: Cannot find message
    resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
    Any help would be appreciated.
    --Andy
    Subbu Allamaraju <subbuATbeaDOTcom> wrote:
    Andy,
    Does this webapp contain the patched versions of netuix_servlet.jar and
    netuix_taglib.jar? Also make sure that the patched netuix_system.jar
    is
    in the system classpath.
    Subbu
    Andy Hull wrote:
    I've manually edited a my .portlet file to contain a strutsContentelement (copied
    from the struts.porlet in the JSR 168 and Struts Support sample). WhenI run my
    portal I get an error message:
    java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
    Can anyone help?
    Thanks in advance,
    --Andy

  • Struts Support: "Cannot  parse the struts configuration file" when using the Struts Portlet Wizard

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

  • JSR 168 / WSRP support in EP

    Hi All,
    As I am getting no clear reply, I would like to ask the SDN-ers for help regarding the JSR 168 and WSRP support by the Portal.
    Can anyone tell me whether any of the above standards is supported by the NW'04 or NW'04s - and if not (i guess this is the case for JSR 168) - for which NW release it is planned ?
    I will appreciate your quick reply
    Regards
    Maciek

    Yeah, but I was hoping for some more up-to-date news... This one is dated august'05. I have a presentation saying that BOTH WSRP and JSR168 will be available as of 04's ("Project Paris").
    We do have the WSRP - but it seems that in the meantime the JSR is gone...

  • JSR 168 support on production environment??

    Hello Oracle people,
    when are you going to support JSR168 portlets in you Oracle Portal?? Where is the money customers pay you for working? not enough? What do we do with this piece of closed source box you gave us if you can not be ahead many other open source (free) products? Can you stand the pace? you say "we support standards"... and I see you are falling behind.

    you should be demanded because of the way you assure support of the JSR168 in your executive brochures... Any layer out there who can help?
    Look this question and how Oracle answers:
    Does Oracle Portal support JSR 168 and WSRP?
    Oracle has been an active member of the standards bodies and been instrumental in the process of defining these portal interoperability standards:
    * JSR-168: Defines how Java developers should write portlets using standard APIs.
    * OASIS WSRP (Web Services for Remote Portlets): Defines the communication protocol between a portal application and the remote portlet./li>
    Oracle fully supports the JSR 168 portlet specification. You can develop JSR 168 portlets using the Java Portlet Wizard, a JDeveloper plug-in. You can also deploy JSR 168 portlets to Oracle's or any other vendor's JSR 168 Java Portlet Container. Portlets deployed to Oracle's container are exposed to portals through WSRP, and can be registered against any portal vendor's WSRP compliant portal. The current version of Oracle Portal (Oracle Portal 10g Release 2 (10.1.2)) does not support WSRP, but you can register and test standard portlets using the OracleAS Portal Developer's Preview for Portlet Standards or the hosted WSRP compliant portal on http://portalstandards.oracle.com. You find additional information about Oracle and Portal standards on http://portalstandards.oracle.com.
    When there is a simple answer: NO we do not support the JSR168 in Oracle Portal. We do a lot of other things... see this and that. But sadly our Oracle Portal does not support it, you can test a preview version but if it crashes its your problem (we proudly do very expensive closed source :).

  • JSR-168 Support

    Do we have any plans to resume support for JSR-168 portlets to extend integration with other portal platforms besides WCI and WLP?

    you should be demanded because of the way you assure support of the JSR168 in your executive brochures... Any layer out there who can help?
    Look this question and how Oracle answers:
    Does Oracle Portal support JSR 168 and WSRP?
    Oracle has been an active member of the standards bodies and been instrumental in the process of defining these portal interoperability standards:
    * JSR-168: Defines how Java developers should write portlets using standard APIs.
    * OASIS WSRP (Web Services for Remote Portlets): Defines the communication protocol between a portal application and the remote portlet./li>
    Oracle fully supports the JSR 168 portlet specification. You can develop JSR 168 portlets using the Java Portlet Wizard, a JDeveloper plug-in. You can also deploy JSR 168 portlets to Oracle's or any other vendor's JSR 168 Java Portlet Container. Portlets deployed to Oracle's container are exposed to portals through WSRP, and can be registered against any portal vendor's WSRP compliant portal. The current version of Oracle Portal (Oracle Portal 10g Release 2 (10.1.2)) does not support WSRP, but you can register and test standard portlets using the OracleAS Portal Developer's Preview for Portlet Standards or the hosted WSRP compliant portal on http://portalstandards.oracle.com. You find additional information about Oracle and Portal standards on http://portalstandards.oracle.com.
    When there is a simple answer: NO we do not support the JSR168 in Oracle Portal. We do a lot of other things... see this and that. But sadly our Oracle Portal does not support it, you can test a preview version but if it crashes its your problem (we proudly do very expensive closed source :).

Maybe you are looking for