How to Deploying a PDK Portlet programmatically?

I have a portlet that I built using PDK. Now I want to deploy it programmatically. I don't want to use the Jdeveloper wizard or the GUI for Application Server. Is there any way we can deploy the portlet programmatically? any help is really appreciated.

dcmctl command is normally used to deploy a ear/war file dynamically. As far as registration of providers API's are available for PLSQL i.e. database provider registation(not attempted same for JPDK portlets).

Similar Messages

  • Problem Deploying Oracle PDK Portlet to Oracle Application Server 9.0.4.0

    I have a big issue trying to deploy a pdk portlet I have created in JDeveloper (10.1.2). The application is very simple, it consists of 2 JSP's (call them Select.jsp and Display.jsp) and 1 Java Class (Call it DoEverything.java).
    The architecture of the system is VERY simple. The Select.jsp is a simple drop down list that is embedded in an html form, with the options in the drop down populated by a method call from DoEverything.java. Once the user selects an option and hits submit, he is sent to the Display.jsp, which is a simple html table that is populated by another method call from DoEverything.java. (Basically the whole system is a simple "view" of a given table in a DB based on the option selected in Select.jsp).
    The system works perfect in JDeveloper, where I created it using the Oracle PDK Java Portlet wizard. However I'm running into a problem when I try and take it over to the Application Server. The main documentation I have been following is the: Oracle® Application Server Portal Developer's Guide and in particular the section 6.6.2.4.1 Creating a Connection to Oracle Application Server Containers for J2EE where it explains how to connect to the App. Server. The line "The steps that follow describe the procedure for deploying to a standalone instance of Oracle Application Server Containers for J2EE. For information about deploying to a full Oracle Application Server instance, please refer to the Oracle JDeveloper online Help system." is the one that is bothering me the most as I am trying to deploy to a full instance of the Oracle Application Server, but I cannot find anywhere that walks me through this in the online JDeveloper help.
    Anyway, currently we ftp the appropriate JSP's, Java Class, provider.xml and provider properties files to their respective directories on the Application Server, register the provider and reboot the Http Server. (This has worked before except for the fact that when the user selected an option from the Select.jsp and the request was then sent over to the Display.jsp based on the form action the Display.jsp wasn't recognized. We figured the provider.xml file needed to be edited in this case in order to know where Display.jsp was being kept). In any event nothing seems to be working at the moment and my main concern is that it maybe we should be deploying as EAR/WAR (both of which I'm not super familiar and my second main concern is that it seems most people use JavaBeans and Struts and all sorts of different API's whereas here I just have a fairly simple Java Class back end that connects to the database and creates an object based on the attributes contained in the database (1 object for 1 unique row in the DB) and I want to be sure that the way I have developed this should still work with the Oracle AS. I'm hoping its just a matter of getting the directory structure straightened out and editing the provider.xml file to include all the JSP's.
    Sorry for the long post, but if you could address my two main concerns and possible give me or point me towards a good thorough walk through of deploying a simple system (oracle pdk java portlet) like I have developed to the App. Server it would be greatly appreciated !
    Thanks a lot.

    Basically I started to develop this system inside Oracle AS and then when it came time to passing a request to a new page, it crapped out on me on the App. Server. So instead of trying to fix the problem there and then I continued to develop outside Portal and inside Jdeveloper. After a week or two once all my stuff worked perfectly I try and take it back into Portal but only the first JSP of all my Portlets would show up, because as soon as I would submit a form and the action directed me to a new page and Portal would be lost/confused. Obviously I shouldn't have done it that way but none the less...
    So now I'm reading through the documentation you pointed me towards and it seems I have to qualify my parameters and then "attach" them to the url which the form will pass to the actioned page. I'm importing numerous classes (...urlUtils, etc) in order to qualify the parameters and then build this url without affecting any parameters currently present that my portlet does not own.
    What I'm rambling towards here is all this separation of logic and presentation and the whole nine, implies different people can develop different parts of a 'system' mostly independant of one another...so in my situation I shouldn't in huge trouble yet, since underlying everything is a working system. My issue is with oracle and the App Server. If I take my code which works great outside of the App. Server and I fully qualify parameters and make sure my form actions are constructed using the UrlUtils in order to fully qualify them as well, and then I make sure page parameters are mapped to the proper portlet parameter values....should my system work on the App Server (assuming everything is done properly)....or am I still missing something.

  • How to deploy JSR 168 Portlet war into Weblogic Portal Server?

    Hello experts!
    I have the installed Oracle WebLogic Portal 10.3.2 with Examples.
    And I want to deploy my jsr-168 portlet.
    Now I could to import this portlet by docs:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14245/deployment.htm#i1047336
    How can I add the web application as a WSRP producer using WebLogic Portal Administration Console?
    What should I do?

    Hello Kevin,
    my answers:
    Are there any error or warning messages on the application server console when you deploy the generated EAR?When I checked the Auto-deploy checkbox and press Perform Import on the Import Tool page, I had:
    Import Successful... Generated EAR:C:\Oracle\Middleware\wlportal_10.3\samples\domains\portal\helloApp.ear
    But helloApp had the Warning status (Health column) on the Deployment page of the WL Server Administration Console
    Health Information:
    Name: AsyncProliferation
    Health: OK
    Reason: MDB application helloApp is connected to messaging system.
    Name: MessageBufferBean
    Health: Warning
    Reason: MDB application helloApp is NOT connected to messaging system.
    Name: MessageBufferTopicBean
    Health: Warning
    Reason: MDB application helloApp is NOT connected to messaging system.
    If I did NOT check the Auto-deploy checkbox and then install on the Deployment page, I had:
    Messages
    All changes have been activated. No restarts are necessary.
    The deployment has been successfully installed.
    But helloApp had the Warning status (Health column) too.
    Also, earlier you said that you were using WLP 10.3.2, but this issue sounds very similar to something
    that happened in a previous version of WLP, so I just want to check with you again that you're using WLP 10.3.2, correct?Yes, I am using WLP *10.3.2*
    WEB-INF/weblogic.xml ... , WEB-INF/wsrp-producer-config.xml ...
    If you find these files in the generated WAR inside the generated EAR, can you post their contents here?
    weblogic.xml content:
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
    <library-ref>
    <library-name>wlp-framework-full-web-lib</library-name>
    </library-ref>
    <library-ref>
    <library-name>wlp-framework-struts-1.2-web-lib</library-name>
    </library-ref>
    <library-ref>
    <library-name>struts-1.2</library-name>
    </library-ref>
    <session-descriptor>
    <cookie-name>JSESSIONID_hello</cookie-name>
    </session-descriptor>
    </weblogic-web-app>
    wsrp-producer-config.xml content:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsrp-producer-config xmlns="http://www.bea.com/servers/weblogic/wsrp-producer-config/9.0">
    <service-config>
    <registration secure="false" required="true"/>
    <service-description secure="false"/>
    <markup secure="false" rewrite-urls="true" transport="string"/>
    <portlet-management secure="false" required="true"/>
    </service-config>
    <supported-locales>
    <locale>en</locale>
    <locale>en-US</locale>
    </supported-locales>
    <requiredUserProperties properties="specified"/>
    </wsrp-producer-config>

  • How to deploy a JSR-168 Portlet in Weblogic?

    I am running WLS 8.1 with the advanced JSR-168 support installed (not yet running
    SP2). I have a JSR-168 portlet war that I had been testing in the JSR-168 reference
    implementation (pluto). Can someone please point me to the instructions on how
    to now import my portlet war into Workshop so that I can add it to my Weblogic
    portal?
    Thanks!
    -David

    You cannot simply "deploy" a JSR 168 portlet into Weblogic using a WAR file in
    my experience. This is what I did to achieve deployment of a JSR 168 portlet in
    BEA WLS 8.1SP2:
    * File | New | Portlet | Java Portlet
    * Just type in the name of your view class name when asked for it.
    This creates a "YourAppName.portlet" file, which I believe Bea requires for any
    Portlet in order to make it available for use in their portals.
    * Add your files (*.jar, *.java *.jsp, etc).
    * Modify WEB-INF/portlet.xml to include all required descriptor elements that
    you have in your WAR file (keep in mind that there is only one portlet.xml for
    all portlets in a single web application)
    I was unable to use redirects for some reason, but it worked fine with include.
    "David" <[email protected]> wrote:
    >
    I am running WLS 8.1 with the advanced JSR-168 support installed (not
    yet running
    SP2). I have a JSR-168 portlet war that I had been testing in the JSR-168
    reference
    implementation (pluto). Can someone please point me to the instructions
    on how
    to now import my portlet war into Workshop so that I can add it to my
    Weblogic
    portal?
    Thanks!
    -David

  • How to deploy my .WAR as a portlet, not a new page.

    Hi,
    I already know how to deploy my war file in the Portal. But How can I deploy it as a portlet?
    I have tried deploy a simple helloworld.jsp into sample provider. And it works. But when I try to create a new provider (which already config .properties , and provider.xml file). It always gives me "404 Not found" error.
    Oracle support said it must be something wrong with setting problem. But we havn't solve this problem yet.
    Can anyone give me a help or advice?
    help~~~~ please

    hi Harsha,
    Thanks for help.
    I post my instruction to deploye my war file. It was from Oracle support. But it still doesn't work well.
    Could you check?
    Thanks a lot
    1.Go to the Middletier ORACLE_HOME
    2.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\htdocs\
    3.Create a folder called test
    4.Copy your jsp files under this "test" folder
    5.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\WEB-INF\deployment
    6.Copy the file sample.properties which is there to a file called test.properties
    7.Edit test.properties and make the following changes:
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/test/provider.xml
    autoReload=true
    testPageURI=/htdocs/testpage/TestPage.jsp
    8.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\WEB-INF\providers
    9.Create a folder called test
    10.Create a file called provider.xml and put the contents as follows:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <localePersonalizationLevel>none</localePersonalizationLevel>
    <session>true</session>
    <defaultLocale>en</defaultLocale>
    <preferenceStore class="oracle.portal.provider.v2.preference.FilePreferenceSt
    ore">
    <name>prefStore1</name>
    <useHashing>true</useHashing>
    </preferenceStore>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>MyJsp</name>
    <title>MyJsp</title>
    <shortTitle>MyJsp</shortTitle>
    <description>This portlet is a sample implemented by Me.</description>
    <timeout>40</timeout>
    <timeoutMessage>MyJsp timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/htdocs/test/test.jsp</showPage>
    </renderer>
    </portlet>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>2</id>
    <name>MyJsp2</name>
    <title>MyJsp2</title>
    <shortTitle>MyJsp2</shortTitle>
    <description>This portlet is a sample implemented by Me.</description>
    <timeout>40</timeout>
    <timeoutMessage>MyJsp2 timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/htdocs/test/test1.jsp</showPage>
    </renderer>
    </portlet>
    </provider>
    11.In the above change the name of the jsp files from test.jsp and test1.jsp to whatever the name of your jsp file is
    12.Test that the following provider test page comes up:
    http://midtier:port/jpdk/providers/test
    (It should show the name of the 2 portlets above)
    13.If there is a 500 Internal server error, restart OC4J_Portal and try again
    14.Once you get the test page above, go to Portal and register the provider.
    Give the URL as http://midtier:port/jpdk/providers
    and the Service Id as urn:test
    15.Add the portlet to the page.

  • How to deploy portlets?

    Hi,
    We are developing a MIS with ALUI,
    I want to know the best way to achieve the function of roles management and basis information management,
    ALUI can’t achieve my demand completely, so I need to develop a new portlet, the questions is how to develop, how to
    deploy and can I develop it remotely?
    Can anybody give me a hlep?
    Thanks !

    Your question is a little vague...so its very hard to answer...but this is a start
    1. how to develop?
    You can develop portlets in several languages, or integrate with off the shelf apps. There are reams of documentation on this at portal.plumtree.com & bea.com
    2. how to deploy?
    You can migrate between your dev and prod instances using the migration tool which is build into the portal
    3. can I develop it remotely?
    Yes

  • How To Deploy/Run a pure Java Portlet into Webcenter

    Hello Gurus,
    I am new to the portal technologies. So maybe I am asking a very basic question.
    Here it what I would like to achieve.
    1) Create a sample "HelloWorld" portlet (A java class which implements a portlet interface or some standard portlet impl class) and I use doView() method to show "Hello World" content on the screen.
    I need to deploy and test this portlet class into Webcenter. I have JDeveloper as IDE.
    2) Create a sample JSP page which prints "Hello World" content. Convert this into JSR-168 and then deploy and run into Webcenter.
    Please can anyone provide the easiest steps to achive this? Step-by-step instructions will be highly appreciated as this is bit urgent.
    Thanks in advance for any help you can provide on this.
    With kind regards-
    Ashish

    Hello,
    Yes, I`m working with 10g.
    I've used enterprise Manager to deploy the portlet. I`ve selected "create automatic deploy plan"
    The portlet was deployed but I can´t see WSRP interface as http://localhost:8888/WSRPMapPortlet/portlets?WSDL
    As yo can see, I´m deploying WSRPMapPortlet sample.
    I can´t use JDeveloper in my job :(
    Maybe I must do any configuration change to deploy correctly the portlet and expose it in WSRP, I don´t know
    Best Regards
    Miguel Lacosta

  • Existing content area as a portlet programmatically?

    Does anyone know how to expose existing content area as a portlet programmatically?
    I have to write a script that would need to create and "expose" existing content areas as portlets.
    Thanks in advance,
    Alex.

    Did you try refreshing your portlet repository? What release of Portal are you currently using? Which version of the PDK? On which platform?
    Thanks,
    Harry
    testing ignore below!
    http://portalstudio.oracle.com

  • OracleAS - NULL ProviderSession after 15 minutes (Using Oracle PDK Portlet)

    We have recently deployed an oracle pdk portlet java application (developed in JDeveloper 10.1.2.1) to an OC4J on a server running OracleAS 10g (9.0.4).
    We are currently facing issues where our ProviderSession becomes null after 15 minutes.
    In our jsp's we implement the following:
    PortletRenderRequest pReq = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    ProviderUser pUser = pReq.getUser();
    ProviderSession pSession = pUser.getSession(false); In our provider.xml file within our JDeveloper project/portlet we have set the following tag: <session>true</session>. In the provider itself, under the User/Session Information section, we have selected the User option, set the Login Frequency to Once Per Session and checked the box labeled 'Require portal user specific session information'.
    In our web.xml file within our JDeveloper project/portlet we have set the following tag: <session-config><session-timeout>35</session-timeout></session-config>
    As long as we stay within our portlet we don't seem to lose our ProviderSession, but after 15 minutes, if we try to access the portal page (to switch the language on the page for instance) the ProviderSession is null. This operation always works when we are under this 15 minute limit.
    We have tried to change opmn.xml (increasing OC4J start timeout from 900 seconds to 1200 seconds),
    modplsql conf (PlsqlIdleSessionCleanupInterval, changed from 15 to 30 minutes) and we have also tried disabling the Global Inactivity Timeout variables, but no luck as of yet.
    Any help would be much appreciated !
    Thanks

    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

  • How to deploy a BPM Project that has a taskflow project and a Model Project

    Hi All,
    I am going to deploy an Application developed using Jdev 11g (11.1.1.3) which has three projects
    1) A BPM Project which contains Business Processes
    2) An ADF View Controller which contains the task flows based on human tasks used by Project 1
    3) An ADF Model which contains ADF BC view objects which are used by Project 2
    Please elaborate how to deploy this application in Weblogic.
    I initially selected the BPM project (Project 1) and deployed it with reference of Taskflow Project (Project 2).
    But after this when I am clicking a task in the worklist application I am getting the following error:
    java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3715)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:865)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5132)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.hasRefreshParametersChanged(JUMethodIteratorDef.java:527)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:379)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:55)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2975)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3134)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:227)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:117)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1182)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:487)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet._usermanagement._html.__view_jspx._jspx___tag20(__view_jspx.java:986)
         at jsp_servlet._usermanagement._html.__view_jspx._jspx___tag18(__view_jspx.java:912)
         at jsp_servlet._usermanagement._html.__view_jspx._jspx___tag14(__view_jspx.java:722)
         at jsp_servlet._usermanagement._html.__view_jspx._jspx___tag4(__view_jspx.java:308)
         at jsp_servlet._usermanagement._html.__view_jspx._jspx___tag3(__view_jspx.java:242)
         at jsp_servlet._usermanagement._html.__view_jspx._jspx___tag2(__view_jspx.java:192)
         at jsp_servlet._usermanagement._html.__view_jspx._jspx___tag1(__view_jspx.java:141)
         at jsp_servlet._usermanagement._html.__view_jspx._jspService(__view_jspx.java:68)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
         at oracle.portlet.server.adapter.web.ServletExternalContext.include(ServletExternalContext.java:182)
         at oracle.portlet.server.adapter.web.ServletExternalContext.includePath(ServletExternalContext.java:77)
         at oracle.portlet.server.containerimpl.ServerContext.includePath(ServerContext.java:79)
         at oracle.portlet.server.containerimpl.RequestDispatcherImpl.internalInclude(RequestDispatcherImpl.java:99)
         at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:81)
         at org.apache.myfaces.portlet.faces.context.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:578)
         at oracle.portlet.bridge.adf.context.ADFPortletExternalContextImpl.dispatch(ADFPortletExternalContextImpl.java:656)
         at oracle.portlet.bridge.adf.context.ADFPortletExternalContextTimerImpl.dispatch(ADFPortletExternalContextTimerImpl.java:85)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:198)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:693)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.redirectRender(BridgeImpl.java:956)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:697)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:567)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
         at be.syntigo.bc2.userManagementProv.userManagementPortlet.render(userManagementPortlet.java:61)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
         at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
         at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:421)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Regards,
    Sam

    Dear Frank,
    I was deploying from Jdeveloper (as described in Hello World tutorial) where we need to specify an EAR file name and also include the taskflow (Also the view controller in this case) project.
    The model project is referenced from view controller as a project dependency.
    Thanks a lot for your reply.
    War regards,
    Sam

  • Can we call a pdk portlet from other pdk portlet

    Hi friends,
    Can i call a pdk portlet from other pdk portlet when an event happens.
    Scenario:
    I have a pdk portlet with 10 html links. When anyone clicks on a link then a new portlet should be displayed in the same page.
    Is it possible to call one portlet from others.
    Please help me out with ur ideas or any workarounds.
    Thanks & Rgds,
    Dhanu

    Neeraj,
    Let me state my requirements very clear to u.
    1)I have a search portlet at top right corner.
    2)Below there is a region with 3 tabs(say A, B, C).
    3)When anyone searches for anything in the search portlet then the results should be displayed in new search tab(say D).
    4)If any one navigates to other tab(ie A or B or C) then the search tab(ie D) should not be displayed.
    This is my requirement. Can u please suggest me with how this can be achieved. I am just a beginner to Oracle portals10.1.4 and i am using JPDK to create portlets.
    Please do reply ASAP.
    With thanks & Rgds,
    Dhanu

  • Passing builtin arguments to a report deployed as a portlet

    I've got a report deployed as a portlet on a page. I want to be able to set the built-in parameter arguments such as orderbycol_1 and orderby_ord_1 directly without using the show interface call. Ideally I want to pass these parameters as part as the URL for the page (http://myserver.com/portal/page?_pageid=6,3,6_23&_dad=portal&_schema=PORTAL.....etc.)
    This is because I want the report to appear in its page portlet and not in a new window using the parameters I passed into it. An HTML portlet with an iFrame containing the URL link (...JH_REPORT.show?p_arg_names=_show_header&p_arg_values=NO etc. etc.) is not a good enough workaround because I have embedded page links within the report data and the iFrame will cause me to have a page within a page. The main driving reason behind this is that I wish to display custom column headings in my report portlet that if clicked on will change the sort order of the report. I can get this to work if the report appears in show mode in a new window, but not as a portlet within a page.
    I know how to do this with custom portlets - I can simply use the preference path to pull these parameters out from the URL.
    Regards,
    John

    I've now viewed the HTML source in the 'customize' view of my report portlet and noted all the parameters used. I generated a URL based on all of these parameters, e.g.,
    http://myserver.com/portal/page&_dad=portal&_schema=PORTAL&_type=portlet&_providerid=904735153&_portletid=204&_backurl=http://myserver.com/pls/portal/url/PAGE/TESTPAGES/JH_FORM_REP_INTEGRATION&_mode=2&_referencepath=403765_JH_SORT_REPORT2_904735153&p_arg_names=_orderby_col_1&p_arg_values=DATE_OF_PURCHASE&p_arg_names=_orderby_ord_1&p_arg_values=DESC
    and loaded the URL.
    I get the following weird behaviour. If I launch the URL then the report does not change its output on the first attempt.
    However, clicking on the 'Customize' link shows that the orderbycol_1 and orderbtord_1 values have changed! Clicking on OK/Cancel takes me back to the page with the portlet on and the data is now updated! In fact, just hitting refresh on the main page forces the report to execute correctly.
    Is this a caching issue? What is the workaround?
    I have attempted to place all these hidden values into the report portlet (before page section) and using a custom layout, added a a javascript function that would submit the hidden form passing a value dependent on which hyperlink I clicked (the link relating to the column I am wishing to sort on and in what order). It suffers from the same issue.
    I am so close to getting this to work!! Argh!

  • How to reset the JSF Portlet session state in weblogic portal 10.3

    Hi All,
    We are implementing our application with the jsf1.2 with 10.3.0 portal framework.
    in a tab i placed my jsf portlet, it will navigate up to 4 pages. We do have some other tabs too in our application. So when i navigate to other tabs and when i comeback to the jsf portlet tab i am resetting the portlet state to first page by onDeactivation portal event.
    But the problem when the user within the tab and navigate to pages if he clicks again the tab it is not redirecting to start page.
    I know we do have refresh action in our pageflows .. but how to reset the jsf portlet to start page when it is not deactivating. Please do help me..
    Thanks in advance...
    Edited by: Siddu4u on Oct 10, 2011 8:33 PM

    Hello,
    This documentation should help you to use the import tool in the Portal Admin Console:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14245/deployment.htm#i1047336
    Kevin

  • Can I use JavaScript HTML Portlet and PDK Portlets

    Can I use JavaScript HTML Portlet and PDK Portlets?
    My Script works fine with the an HTML portlet but it always gives a an Error Message in the status bar is that normal...
    Other then that I have JavaScript in my PDK portlet page it does not work.. it is the the same javascript I use for in my HTML portlet which works in HTML portlets..

    You'll have to place your JavaScript in the header section of your Portal page. To do so, use HTML/UI templates. For more information, refer to the How to Design and Build Compelling Portal Interfaces whitepaper.
    Good luck,
    Peter

  • Hide show portlets programmatically

    Hi,
    i have to show/hide one portlet programmatically, how can i achieve this.
    for example if session user data is null the portlet will be shown else hidden.
    Please help.

    Urgent Issue... ..
    Any help Please..

Maybe you are looking for

  • How to set different nr of e.g dia wp for different op.modes when in instan

    I wander how to set different nr of e.g dia wp for different op.modes when in instance profile the nr of wp is fixed. thx in advance

  • New MACpro Configuration - Video Cards

    hello, i am trying to configure my macPro online, my question is about the VideoCards, is it better to have 4x the Nvidia Card on the ATI with 512 MB?? I am mainly using Apeture, After effects,Motion and PS. What should i do? Thank you

  • Need help adding Arch to Grub

    I am trying to dual boot Arch Linux and Ubuntu. When I try to boot there is no option for Arch. I have added it to the menu.lst file in ubuntu. Arch is installed on sdb1 according to sudo fdisk -l  I need help!

  • Limit PO!

    Dear friends, I have created a Limit PO(Order type FO) with account assignment category K and Item category B. In invoice,  when i am posting a document w.r.t PO, the PO number field gets blank after saving the document, and the invoice is getting cr

  • Unable to view field from configuration tab after added to CN

    Hello every one, I have one small question. My requirement is : i have to add account emp res field( BuilHeaderadvancedsearch > owner ) on contact search. So i went to BP_CONT_SEARCH > search(view) > search( CN) and create attribute. In wizard, i hav