Struts 2 portlet

Hi,
I deploy struts 2 portlet to tomcat and get errors as below:
Error: URI = "jndi:/localhost/example/WEB-INF/skillportTags/xssString.tld", Line = "2", : Document root element "taglib", must match DOCTYPE root "null".
Error: URI = "jndi:/localhost/example/WEB-INF/skillportTags/xssString.tld", Line = "2", : Document is invalid: no grammar found.
Maybe I've some config but I don't know what is it, I would to write here for someone could help.
Thanks,
suu

Thank you, for fast reply
and here is another errors
14:12:34 ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'struts.portlet.eventAction' on 'class org.apache.struts2.portlet.dispatcher.DirectRenderFromEventAction: Error setting expression 'struts.portlet.eventAction' with value '[Ljava.lang.String;@855379'
I also search more on google but not found any result yet.
Thanks,
suu

Similar Messages

  • Opening a New page on click of a link in Struts PDK portlet

    Hi All,
    Please help me to sort out my issue..
    I created a portlet(say P1) using struts Portlet.That portlet is added to a portal page..which has some other portlets already(p2,p3,p4)...So my portal page has 4 portlets p1,p2,p3,p4..In Portlet P1 There is JSP which has a link inside...When i click on the link..I need to open a new JSP page with some prepopulated data inside it..Now the problem is..it is opening a page with data..but in the new page i am seeing all the remaining portlets as well..P1(with new data),P2,P3,P4 portlet..
    But i need to see only the JSP page with my new content..please help me with this..
    Here is the code...what i have written
    INDEX.JSP
    <%@ page contentType="text/html; charset=windows-1252"
    import="java.io.File, java.io.FilenameFilter"
    %>
    <%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
    <html>
    <head>
    <title>
    Struts Sample Portlet - Hello World...
    </title>
    <body>
    <html:link action="/sayActionHello" target="_blank">My Link</html:link>
    </body></html>
    ACTION CLASS
    public class SayHelloAction extends Action {
         public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    System.out.println("Inside execute ................................");
    PortletRenderRequest pReq = (PortletRenderRequest)
         request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    ProviderSession pSession = pReq.getSession();
    if(null != pSession){
         System.out.println("Inside---pSession...........................");
         pSession.setAttribute("sample","Sample Data for Testing");
    return mapping.findForward("success");
    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>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>samstruts</name>
    <title>samstruts</title>
    <description>sample struts Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <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>/sayHello.do</defaultAction>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    Strutss-config
    PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <action-mappings>
    <action path="/sayHello" scope="session" type="com.up.tey.SayHelloAction">
    <forward name="success" path="/jsp/index.jsp"/>
    </action>
    <action path="/sayActionHello" scope="session" type="com.u p.tey.SayHelloAction1" input="/htdocs/jsps/index.jsp">
    <forward name="success" path="/jsps/indexsample.jsp"/>
    </action>
    </action-mappings>
    </struts-config>
    Indexsample.jsp
    <%@ page contentType="text/html; charset=windows-1252"
    import="java.io.File, java.io.FilenameFilter"
    %>
    <%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
    <html>
    <head>
    <title>
    Struts Sample Portlet - Hello World...
    </title>
    <body>
    <h1>HELLO WORLD Sample using Struts !!!!!!<%=session.getAttribute("sample")%></h1>
    </body></html>
    In new window i am cing Indexsample.jsp inside my P1 portlet..But the remaining 3 portlets(p2,p3,p4) are also there..Which i dont want..Please Help..this is really very urgent for me..

    HI
    i am also facing same problem with session but in simple portlet with ajax implementation.
    i am setting session in portlet jsp with following code using oracle application server portal 10g.
    (here portlet jsp means which is included from portlet.)
    session.setAttribute("map",map);(here session is implicit object )
    i want to call ajax jsp from portlet jsp with below code.(i.e setting session in portlet jsp and accessing in ajax jsp)
    var url = "<%=renderRequest.getContextPath()%>/AjaxProcessRequest.jsp?q=" + random;
    var pars = '&namespace=<portlet:namespace/>' +'&imagesPath=' + '<%=imagesPath%>';
    var myAjax = new Ajax.Updater(
    {success: 'emailbody'},
    url,
    method: 'get',
    parameters: pars,
    onFailure: reportError,
    evalScripts: true
    i am accessing map object from session in my AjaxProcessRequest.jsp as shown in below code.
    Map map=(Map)session.getAttribute("map"); (here session is implicit object )
    here map object is getting null from session.
    Please help on this if u know about this session.
    Regards
    Raju

  • Accessing ADF model within Struts based portlet

    Hi,
    I cannot seem to access and initialise the model from within a Struts based portlet.
    Has anyone been able to get this right, and if so, would you mind sharing it with me.
    I suspect it has something to do with the attributes that are being stored in the oc4j session not being visible in the portal session.
    Tnanks

    Hi,
    Not too worry, I sorted the problem out by adding code to access the servlet session in the struts renderer.

  • ADF Struts based portlet

    Hi,
    I cannot seem to access and initialise the model from within a Struts based portlet.
    Has anyone been able to get this right, and if so, would you mind sharing it with me.
    I suspect it has something to do with the attributes that are being stored in the oc4j session not being visible in the portal session.
    Tnanks

    Hello,
    Could you elaborate a bit? I am having trouble with deploying a Model 1 style JSP that uses ADF.
    Thanks!!!

  • Weblogic 8 struts to portlet conversion

    Hello all,
    We are running Weblogic 8 (sp4) Portal. We have converted a struts prototype application into a portlet. We would like to continue to extend this converted prototype under Weblogic adding additional functionality.
    Can we do this? If we add in new pages and struts config mappings, will Weblogic pick this up?
    Or was this a one time conversion from Struts to Portlet and we can not extend?
    Thank you,
    Robert

    Yes,
    Its your stuts module part of the app and proper mofifications will work and you will know the problems during building in application in workshop.
    Thanks
    Vishnu

  • How to use VPD in Java/Struts JSP portlet with SSO

    DB = 10.1.0 (Standard Edition)
    Portal = 9.0.4.1
    10gAS = 9.4.0.1 (EE)
    I am in the beginning stages of developing some portlets that will be Java/Struts JSP based. We use SSO and have implemented some VPD security in our DB by creating some views that use SYS_CONTEXT('USERENV','CURRENT_USERID').
    These Java portlets connect to the DB using a defined JDBC connection for the OC4J container they are deployed in. The problem I'm having is that the call to SYS_CONTEXT is returning the user of the JDBC connection and not the SSO user. So far I have been unable to find any documentation that will point me in the right direction to get this configured properly.
    Deployment and configuration are as follows. Deploy war file to custom container on app server. In the configuration of the OC4J contain the app used the containers default JDBC connection using the oracle.jdbc.pool.OracleDataSource class. Max and Min open connections are blank.
    In the portal configuration under Navigator - Providers tab we defined a new Registered Provider. In the Connections tab for the provider we Specify the URL Http://hpsrv02.simsol.com:7777/discovery-portlets/providers. Under "Specify how the user's identity will be set by the Portal..." the "The user has the same identity in the Web providers application as in the Single Sign-On identity" is selected. Under "User/Session Information" User is selected and Login Frequency is set to "Once per user session". Then we created a new portal page and created a new portlet with the new provider.
    Just an FYI I do have Discoverer working with VPD and any report portlet, dynamic page portlet and any other type of portlet I created all work correctly with VPD it is just the java/struts one that is not working.
    So does any one have any insight into what configuration steps I have missed?
    Any help is much appreciated,
    Ed Klinger

    Ed,
    Your java code must get the SSO username (it's just a HTTP header variable) :
    ie: code sample...
    Enumeration e = request.getHeaderNames();
    while (e.hasMoreElements()) {
    String name = (String)e.nextElement();
    String value = request.getHeader(name);
    out.println("<br> "+name + " = " + value);
    if (name.toUpperCase().trim().equals("OSSO-USER-DN")){
    dn_user=value;
    out.println("<br>******** USER DN = "+dn_user);
    Then, the SSO username can be used in the VPD policy.
    Note that there is a difference between the sso username and the database username . SSO username is not known by database (CURRENT_USERID will return a database username)
    Discoverer worked OK in your case with the SYS_CONTEXT (.. CURRENT_USERID) because authentication is made by database user, probably.

  • Struts in portlets

    Hy!
    We are working on a portal and we would like to use struts inside of a portlet. Can we do that and are there any free examples?
    Thank you for your anwsers,
    kind regards,
    Bo�tjan

    Leonard,
    The PDK 10g, that will be available for download in the same time frame as the Oracle Application 10g (9.0.4) release will contains a Struts portlet renderer and some Struts extented tags to be able to "portletize" a Struts application.
    Portal does not currently support native Struts apps developed in JDev 903:Technically you can pulish Struts application as portlet, but today you have to develop it yourself, the PDK team did not create new APIs to integrate Struts, just use the current APIs, and especially the possibility of using requestDispatcher to forward the PortletRequest to a Struts application.
    Regards
    Tugdual

  • Parameters are not Passed in a Struts(JPDK) Portlet

    Dear All,
    I am getting below problem in Oracle Portal Environment(10.1.2)
    I am passing news_id parameter along with title from one page to another page like below code
    In CompanyNewsShowPage.jsp
    <tr>
    <td class="desc">
    <%
    page_url ="/showpageNews.do?news_id="+com_events[0];
    // System.out.println("value of page url : "+ page_url);
    %>
    <input type="hidden" value="<%=page_url%>" id="hdnpageurl"/>
    <pdk-html:link page="<%=page_url%>" styleClass="desc">
    <%
    String obj_title= com_events[1];
    if((obj_title.length())>30)
    out.println(obj_title= obj_title.substring(0,15)+ "...");
    else
    out.println(com_events[1]);
    %>
    </pdk-html:link>
    </td>
    TO passing
    shownews.jsp
    The code for accepting parameter is below
    <%
    System.out.println("value of newsid :"+ newsid);
    String news_id=request.getParameter("news_id");
    if(news_id !=null)
    newsid= Integer.parseInt(news_id);
    System.out.println("value of newsid :"+ newsid);
    %>
    Kindly any one help me how to pass the parameter from one page to another page above problem, because our go live date is very close.
    But same code it is works in IE browser, but not working after deployed in Oracle Portal Environment.
    However, the
    parameters are not passed from the form to the Struts action. When retrieving the parameters, then
    a null value is retrieved, even when the parameter was specified in the form.
    Regards,
    Chandrashekhara
    Message was edited by:
    user487286
    Message was edited by:
    user487286

    Hi Anton,
    I make some tests and it appeared that it's only the output parameter which is not passed through the step (why ?).
    I get this output parameter by a post-running action which parse the joblog and retrieve the sequence number at the line with the pattern  "vendor" (hereunder) :
    100601 20091008 00 516 Job started  0       
    100601 20091008 00 550 Step 001 started (program ZCO_MANAGE_FILE, variant ECLO2, user ID ABAPUSER)  0 001 ZCO_MANAGE_FILE ECLO2 ABAPUSER   
    100601 20091008 00 001 No vendor specified  0 00233      
    100602 20091008 00 517 Job finished  0
    Here is the postrunning action script wich was working before we upgrade :
      JobFile log = jcsJob.getJobFileByName("log");
      if (log != null)
        com.redwood.scheduler.api.search.SearchResultSet myResultSet = log.search("No vendor specified");
        com.redwood.scheduler.api.search.SearchResult myResult = null;
        while (myResultSet.next())
          myResult = myResultSet.getSearchResult();
          String [] line = myResult.getLineText().split(" ");
          JobParameter jp = jcsJob.getJobParameterByName("VendorCode");
          if (jp != null)
            jp.setOutValueString(line[line.length-1]);

  • Struts Portlet and interMedia

    Hi everyone,
    I'm building a struts app portlet.
    My portlet connects to a database schema, and in there I have a table with a column of ORDImage type.
    I've been using the PDK Struts taglib for the tags that are not supported by Portal.
    But I got to a point where I need to display the images I have in my database. Running the appllication outside Portal, I use the <adf:render> tag, which renders the images perfectly.
    Using the same tag running inside Portal, doesn't render the image.
    The <adf:render> tag renders a &lt;IMG src="..."&gt; tag. The reason why it works fine outside portal is understandable because the URL it puts in the src attribute is relative to the context-root of my app (I suppose).
    Inside portal, it renders the exact same &lt;IMG src="..."&gt; tag, but Portal doesn't understand the URL inside src.
    I have no idea if there is any PDK Struts tag that will do the trick, but I doubt it.
    I'm clueless on how to point Portal in the right direction.
    Any help, anyone ?
    Rui

    Hi,
    This may help. Use the pdk-struts-html:link tag instead.
    Something like
    <jsp:useBean id="prevDetail" class="java.util.HashMap"/>
    <c:set target="${prevDetail}" property="event_PreviousSet" value="PreviousSet"/>
    <c:set target="${prevDetail}" property="sortref" value="${param.sortref}"/>
    <c:set target="${prevDetail}" property="sortacc" value="${param.sortacc}"/>
    <c:set target="${prevDetail}" property="filteron" value="${param.filteron}"/>
    <pdk-struts-html:link action="portal/something.do" name="prevDetail">
    Good luck, Hernando

  • Creating a portlet from an existing Struts 1.1 application

    Hi,
    I have a concern about using struts portlets into the WL Portal. As no examples
    are provided with WLP 81 sp2, I've tried to build working Struts Portlets using
    existing Struts 1.1 applications. It always fail with an error like that one:
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420599> <Unable to
    perform action [portlets/struts/example/tour] for Struts module [portlets/struts/example].
    Please ensure that both module and action are correct.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420037> <There was
    an error loading the requested URI null.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-423012> <There was
    an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for
    the control :: null ::.
    com.bea.netuix.nf.UIControlException: No ActionResult returned for action [portlets/struts/example/tour]
    in Struts module [portlets/struts/example]. Please ensure that both module and
    action are correct in portlet StrutsContent element.
    at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:137)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:357)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:198)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:559)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    My client is waiting for the results of our evaluation prior to acquire this software
    and Struts support is the only thing that delay-us in delivering the final evaluation.
    Without the Struts Support, I'm afraid my client won't use this Portal Server.
    It would be really great if you could provide an example.
    Thanks.
    Julien De Santis-Caron
    CGI Group.

    What I've figured out so far is that the app needs to start from an action. I started
    with the Exadel Struts Studio Community edition tutorial StrutsHello. I copied
    the files as per the Workshop help "Integrating a Struts Application into a Portal".
    At this point I got the same error but them I added a "start" action which simply
    does a forward to "inputname.jsp". I also had to change taglib references to use
    the weblogic supplied versions of the html tags. Then I used the portlet wizard
    to create a new portlet that references the "start" action and dropped this new
    portlet on an otherwise empty portal. So now the portal starts fine and the portlet
    is there. However when I submit the form then I get the same sort of error. The
    form action get filtered by the tag library to generate a portal appropriate URL
    but on the POST it fails to to recognize the action to be run. Anyway maybe if
    a few of use work on this we can make some headway.
    "Julien De Santis-Caron" <[email protected]> wrote:
    >
    >
    Hi,
    I have a concern about using struts portlets into the WL Portal. As
    no examples
    are provided with WLP 81 sp2, I've tried to build working Struts Portlets
    using
    existing Struts 1.1 applications. It always fail with an error like
    that one:
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420599> <Unable
    to
    perform action [portlets/struts/example/tour] for Struts module [portlets/struts/example].
    Please ensure that both module and action are correct.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420037> <There
    was
    an error loading the requested URI null.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-423012> <There
    was
    an error while running a lifecycle stage :: Lifecycle: UIControl.render
    :: for
    the control :: null ::.
    com.bea.netuix.nf.UIControlException: No ActionResult returned for action
    [portlets/struts/example/tour]
    in Struts module [portlets/struts/example]. Please ensure that both
    module and
    action are correct in portlet StrutsContent element.
    at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:137)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:357)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:198)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:559)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    My client is waiting for the results of our evaluation prior to acquire
    this software
    and Struts support is the only thing that delay-us in delivering the
    final evaluation.
    Without the Struts Support, I'm afraid my client won't use this Portal
    Server.
    It would be really great if you could provide an example.
    Thanks.
    Julien De Santis-Caron
    CGI Group.

  • No ActionResult returned for action [/strutsModule/login] in Struts module

    Hi these are the steps followed by me in developing a struts portlet.<br>
    1) I created an Application <br>
    2)Created a new Portal project in the application.<br>
    3)I created a struts project and i placed all my jsps in the folder strutsModule.<br>
    4)In the WEB-INF src folder i placed my actoinClasses and actionForms.(package struture followed like com.portal).<br>
    5)Renamed struts-config.xml to struts-auto-config-strutsModule.xml.<br>
    6)Created a portlet and Portla Pages.<br>
    7)Build an ear and run.<br>
    <b><b><b>Directory struture is as follows.
    <br>strutsInter(Applicaton name)<br>
    data<br>
    strutsInter(Project name)<br>
    campaigns<br>
    framework<br>
    resources<br>
    strutsModule(all jsps kept inthis directory)<br>
    visitorTools<br>
    WEB-INF(.pageflow-struts-generated<br>
    classes<br>
    lib<br>
    -src<br>
    -com<br>
    +bea<br>
    -portal<br>
    +action(LoginAction.java)<br>
    +form(LoginForm.java)<br>
    ApplicationResources.properties<br>
    Controller.jpf<br>
    error.jsp<br>
    index.jsp<br>
    Inter.portal<br>
    Inter.portlet<br>
    Modules<br>
    Libraries<br>
    Security Roles<br></b></b></b>
    Still following these steps i get an <b>No ActionResult returned for action [strutsModule/login] in Struts module [strutsModule]. </b>
    <br>Any corrections else any basic struture i must follow to avoid these errors.Plz give me the directory struture i must follow.<br>
    Thankx,<br>
    RAGHU
    <b></b>

    hi ;
    if it's the first time you try to create a struts module portlet please ensure that you have the following node in your web.xml :
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>com.bea.wlw.netui.pageflow.PageFlowActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/.pageflow-struts-generated/jpf-struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>config/-global</param-name>
    <param-value>/WEB-INF/.pageflow-struts-generated/jpf-struts-config--global.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>moduleConfigLocators</param-name>
    <param-value>com.bea.netuix.servlets.controls.content.StrutsContentModuleConfigLocator</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>

  • Webflow vs. struts

    Hi,
    I am using portal 4.0 .
    I am evaluating whether I can use struts frame work for "page navigation" rather
    than "portal webflow". I would like to know how can I design a struts adapter
    which will work with weblogic portal 4.0.
    Any insight is helpful.
    Thanks,
    Gita

    Hi Subbu,
    as I mentioned before, am am aware of the other versions and
    yes, I know about the 81 struts support :-)
    But we are politically sticked to 4.0... So again, if somebody
    has successfully wrapped struts into an older Portal version, any
    guideline would be helpful.
    Thanks,
    Joerg.
    Hi Joerg,
    FYI, in case you've not already checked out, WLP8.1 supports
    struts apps as is without migration. This support is available as
    an add-on to WLP8.1 from dev2dev. With this approach, you
    can continue to use struts for page navigation, but use WLP for
    portlet aggregation.
    Subbu
    Joerg Schmidt wrote:
    Hi Raphaël,
    I am not sure if you got into contact with Anju, but
    nevertheless your adapter is exactly what I was looking
    for.
    We are migrating a Struts-based application to WLP 4.0
    (yes, i know there is 7.0 and 8.1, but we have political
    issues here :-) and in order to keep the migration time
    as low as possible, the question of wrapping Struts into
    Portlets came up.
    The high level architecture in your ppt was pretty
    straightforeward, so i would like to ask if you could
    provide me with some examples for the components
    you developed, like the struts-redirect-servlet and the
    portlet which does the replacing of the html-part?
    We have not started our development yet, so a short
    code-insight to get some feeling for the amount of
    work necessary would be great!
    Thank you!
    Joerg Schmidt
    ([email protected])
    Hi anju,
    I developed such an adapter to wrap your struts-based
    application into a portlet without needing to use webflow
    mechanism. Please see the attached file that explains
    the philosophy.
    I f you are interested to go further in in that direction, just tell
    me. I will be happy to share technical details with others.
    reagrds,
    raphaël faudou

  • Unable to deploy portlet into standalone oc4j

    Hi,
    I am very new to the portal development and I have been following the portal development/deployment instructions given on oracle for developing a Struts based portlet.
    I have created the a new application server connection to the standalone oc4j 10g 10.1.3 and I have also created the deployment profile.
    But when I try to deploy my application to this standalone connection I always receive the following error. Please help me find a solution for this as I have no idea why this is happening:
    java.io.IOException: The process cannot access the file because another process has locked a portion of the file
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:194)
         at oracle.jdevimpl.deploy.JarUtil.initStoredZipEntry(JarUtil.java:999)
         at oracle.jdevimpl.deploy.JarUtil.writeJarFile(JarUtil.java:720)
         at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:210)
         at oracle.jdevimpl.deploy.war.WarDeployer.deploy(WarDeployer.java:67)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:139)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    *** Warning: Caught class java.io.IOException while trying to process jar entry whose URL of origin is 'file:/C:/jdevstudio10133/j2ee/home/persistence/Oc4jJmsExceptionQueue'. Skipping this entry.
    java.io.IOException: The process cannot access the file because another process has locked a portion of the file
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:194)
         at oracle.jdevimpl.deploy.JarUtil.initStoredZipEntry(JarUtil.java:999)
         at oracle.jdevimpl.deploy.JarUtil.writeJarFile(JarUtil.java:720)
         at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:210)
         at oracle.jdevimpl.deploy.war.WarDeployer.deploy(WarDeployer.java:67)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:139)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    *** Warning: Caught class java.io.IOException while trying to process jar entry whose URL of origin is 'file:/C:/jdevstudio10133/j2ee/home/persistence/jms.state'. Skipping this entry.

    Can anyone please help me? I have tried everything but I am unable to resolve this problem...

  • How to implement Edit Shared Settings (EDIT_DEFAULTS) mode in Struts jsr

    Could anybody tell me How to implement Edit Shared Settings (EDIT_DEFAULTS) mode in Struts JSr168 portlet?

    Could anybody tell me How to implement Edit Shared Settings (EDIT_DEFAULTS) mode in Struts JSr168 portlet?

  • How do I use Struts Tiles with JavaServer Faces?

    I want to use JavaServer Faces and need something like tiles.
    Is it right that tiles is for struts what Portlets is for JavaServer Faces?
    Do I have to use Portlets or is there something else?
    What Do I have to do to use Portlets?
    Do I have to use any "engines" or something like that?
    Thanks

    Miikee_
    I guess you understood me wrong!
    JSF RI (and also MyFaces) are implementation of JavaServer Faces Spec.
    Each JSF app needs to be deployed inside of a Servlet Container.
    (like Tomcat). An no, they aren't coming up with an own servlet engine.
    But... you can also run MyFaces and the RI inside of an portlet container
    (eg pluto) instead of Servlet Container.
    HTH,
    Matthias

Maybe you are looking for

  • Error while migrate my primavera sql database to oracle database

    I have used the migrate batch file to migrate my old database "Primavera V 6.0 SQL" to new database "Primavera V 8.2 Oracle" the process in my labtop is OK but in my PC the process hanged on "Creat remaining database objects (e.g. constraints and ind

  • PDF not opening in Adobe Reader using openWithDefaultApplication

    Hello all, I'm having a huge problem. I've developed an application that opens pdf files from the desktop using openWithDefaultApplication(). It works great on my development PC which has Acrobat Pro. The files open in Acrobat Pro flawlessly. It DOES

  • JS CS3 ScriptUI layout options

    I've been working through the examples and docs and found there are a few ways you can lay out components in the dialog. Here is the first example of a simple dialog with 2 drop menus and static text for each. I've aligned them to the right but it ju

  • What happened to my battery power??

    What is going on with my ipod touch's battery? I won't use it or turn it on for days, yet I'll turn it on and suddenly I'll have 10% battery life. I've read other suggestions about turning off wifi and turning off the push function and STILL my batte

  • Cannot access Adobe website with Safari under Lion

    Hi guys, I have 5 macs at home and upgraded two of them with Lion. Since then, these two computers (MBP 17" + imac 27") can no longer access Adobe website (the other three macs + my ipad 2 can still access Adobe website without any problem). Message