Rendering Portlets Dynamically

Hi
I have been trying to look into how to render the portlets dynamically through the backing bean. I am working on Web Center 10gR3 and portlet rendering in static. What i mean is that we have to define the portlets on the jsp page. In this way we cannot rearrange the portlets, create them in tabular form and many things.
Now i tried rendering the portlets via the Backing bean using the PortletBase Object but im having issues. The Portlet is binded to the pageDefinition in the jsp in this way:
value="#{binding.OmniPortlet}"
Now i cannot set this value in the Backing bean, even if i do i get an error. That binding is null. I am able to render the portlet container but get the error binding is null.
Looking forward for a response.
Thankyou in Advance
Nauman Bashir

Hi Kunel,
Following two parameters you need to change in adf-config.xml file.
parallelPoolSize: The number of threads to use for parallel execution of tasks. (Default value: 10)
parallelQueueSize: The size of the queue of tasks waiting for parallel execution. Tasks are rejected once the queue size is exceeded. (Default value: 20)
In case there are more parallel requests from a WebCenter page than this set queue size then some requests will be blocked.
See more information in the documentation here:
C.5.1 adf-config.xml
of
Oracle WebCenter Framework Developer's Guide
10g (10.1.3.4)
Part Number E12434-01
at
http://download.oracle.com/docs/cd/E12524_01/webcenter.1013/e12434/jpsdg_files.htm#CHDECFBC
Regards,
Imran Mirza

Similar Messages

  • Error Occured while rendering portlet :see provider log for details

    Hi All,
    I have installed OAS 10.1.3.1 on RHEL 5.4 64 bit m/c when after deploying the application when i tried to access the application through portlet i am getting the following error
    Error Occured while rendering portlet :see provider log for details
    when i opened the application.log it gives the following error description
    11/01/24 01:55:53.397 oz: [instance=(null), id=12768745408768,6] CONFIGURATION: Invalid or null value for property - executionWarningTimeout = null - setting to default value of 20 seconds
    11/01/24 01:55:54.369 oz: [instance=35044_LOGIN_4935021, id=12768745408768,3] CONFIGURATION: Default container renderer not specified
    11/01/24 01:55:54.370 oz: [instance=35044_LOGIN_4935021, id=12768745408768,3] CONFIGURATION: defaulting container renderer to DefaultContainerRenderer
    11/01/24 01:55:57.259 oz: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/u01/app/oracle/product/10.1.3/ozapp/j2ee/OC4J_OZ/application-deployments/oz/oz/persistence/_pages/_jsp/_main/_copyright.java</H3><pre></pre>
    11/01/24 01:55:57.269 oz: [instance=35045_COPYRIGHT_4935021, id=12768745408768,3] ERROR: AbstractResourceRenderer.renderBody - Resource "/action/copyright" returned HTTP Status: 500. Error message: OracleJSP:
    oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/u01/app/oracle/product/10.1.3/ozapp/j2ee/OC4J_OZ/application-deployments/oz/oz/persistence/_pages/_jsp/_main/_copyright.java</H3><pre></pre>. Content returned follows....
    11/01/24 01:55:57.269 oz: [instance=35045_COPYRIGHT_4935021, id=12768745408768,3] ERROR:
    Regards
    Yeshwant

    Hi All,
    After changing the Debug properties in the Web.xml we are getting the following log in application.log
    </pre>
    11/02/01 10:13:00 oz: [instance=35045_COPYRIGHT_4935021, id=12593371698998,3] ERROR: AbstractResourceRenderer.renderBody - Resource "/action/copyright" returned HTTP Status: 500. Error message: OracleJSP:
    oracle.jsp.provider.JspCompileException: <H3>Errors compiling:S:\oracle\product\1020\ozportal\j2ee\OC4J_OZ\application-deployments\oz\oz\persistence\_pages\_jsp\_main\_copyright.java</H3><pre>error: error reading ..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\ldapjclnt10.jar; The system cannot find the path specified
    1 error
    guess the system is refering to ldapjclnt10.jar in some path which is not avalible .
    Could you please let us know the path where we have to keep this perticular jar file.
    Regards
    Yeshwant

  • How to use page parameters with inline rendering portlet

    I am trying to use the inline rendering portlet. Basic functionality works fine.
    What I am trying to do is make the inline rendering portlet use a page parameter. Is this possible?
    I have read pdk articles, but nothing seems to have what I need.
    Any ideas are appreciated.

    Perhaps i might have missed something, but what do you mean by the inline rendering portlet? Are you referring to the URL services portlets that rendered content inline (in the same Portal context & window without popping a new window)?
    I would be able to look into this if you could elaborate on the issue at hand.
    Regards,
    Abhinav

  • How to show or hide portlets dynamically on a Portal Page

    Dear All
    1. I have a Portal Page with One Portlet in the top having like 5 Buttons. Each button click should display a separate portlet in the bottom on this same page.
    2. I have Top Portlet. For bottom I have 5 Portlets P1, P2, P3, P4 and P5. On my .portal file, I dragged and dropped top portlet and all these 5 Portlets one below each other.
    3. Now, I am trying to use BackingFile approach at PageLevel/Portlet level, to get the details of button clicked in top portlet (like name etc), and then show only one portlet at a time in the bottom section (using portlet backingcontext show/hide APIs). I do need to compare the bottom portlets defintion_label etc. which is fine for now.
    Is this the right approach...?
    Or do I have to use Portlet Custom Event approach. So top portlet will trigger event everytime button is clicked with some payload. And bottom 5 portlets listen to that event and show/hide accordingly. But in this approach, I have to attach backingfile to all the bottom portlets to listen to them.
    All the portlets are Pageflow based Portlets. Any ideas or any other simpler approaches, are highly appreciated.
    Thanks
    Ravi Jegga

    Hi Kevin
    1. Thanks a lot for the pointers. I will go with Events. So for bottom Portlets, I will use the same BackingFile. But still it is going to be custom Event. Because only one portlet will be shown. So its like my payload will be portlet def label. In Backing File, I will compare this payload with actual dynamic value and if same, show or hide that portlet. Please let me know if this is correct approach.
    2. Now each one of the Bottom Portlets is a complex pageflow portlet with many buttons of their own. So everytime a button is clicked or action is invoked, the Backing File gets called. And I had to somehow know that the same portlet has to be shown or the show/hide logic should not be called. Is there any way, where backing file gets called or just listen for Events triggered only from main top portlet.
    Thanks for the other message, where looks like you already gave lots of pointers. I will go through them.
    I will design and test this out and will keep you posted with my results.
    Thanks a lot again
    Ravi Jegga

  • How to make an opion to add and remove portlets dynamically from GUI?

    Hi,
    I have a requirment to provide option for the users to remove some section (basically portlets) from the page and add it later based on preferences .I think currenlty we have this option in iGoogle website. please give me some pointers towards the solution.?
    Thanks Jazz

    Hello Jazz,
    If the "preferences" you are referring to are the users' preferences (and not "portlet preferences"), I think the Dynamic Visitor Tools are what you want. There is a demonstration of the dynamic visitor tools at:
    http://wlp.oracle.com/dvt/appmanager/demo/dvt
    Kevin

  • Error rendering portlet

    I have done a simple JPDK portlet in JDev:10.1.2 (pdkjava.jar version: 9.0.4.1.0) and deployed to a locale stand-alone OC4J. The I added the provider successfully to OracleAS Portal 9.0.4.(pdkjava.jar version: 9.0.4.0.0). If I try access the provider manually via a browser it works fine, but when I add the portlet to a page I get the following error:
    portal: id=4451972691432,1 Invalid status code encountered : status=500 reason=Internal Server Error name=content-fetcher16 label=webPortlet
    url=http://<host>:<port>/Application2-Project-context-root/providers/rejdevprovider time=0ms content=<HTML><HEAD><TITLE>500 Internal
    Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>java.io.FileNotFoundException
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:504)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
    at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    </BODY></HTML>
    Any good ideas, please!

    What do you see when you access the provider registration URL from the browser directly?
    Can you post your provider.xml?
    The error message indicates, that a file is missing; most likely the one responsible for rendering the portlet's "show" mode.
    Peter

  • Where is page information stored in DB or can I add a portlet dynamically?

    I want to add a protlet to a page dynamically. I assume if I can find where pages are stored, I can look there for a hint. Does anyone know where they are stored?
    Or
    how do I add a protlet to a page dynamically? I suppose I could use a dynamic page, but what would be the sytax between the oracle tags to tell it to load the portlet?
    thanks

    I doubt that you can achieve this functionality directly.
    For this you can get the clarification from the Content area discussion forum.
    But still we have achieve this functionality in the indirect way.
    Any component created can be exposed as portlet if you can set
    the exposed as portlet => 1 in the table wwv_modules$.

  • Exception occured in the log while rendering portlets on the page.

    Hi Experts
    I am getting following error, While my page is getting rendered with all the portlets:
    Could you please let me know, How can handle this exception?
    <PortletResourceServlet> <_process> Error proxying resource.
    oracle.portlet.client.container.PortletHttpException: HTTP <unknown method> request to URL <unkown url> failed with status code 404 reason <unknown reason>. Check that the producer URL has been correctly specified, that the producer server machine and producer container are running, that the producer application is deployed correctly, and that the client can reach the server if behind a firewall.
      at oracle.portlet.client.techimpl.wsrp.WSRPResourceRenderPipe.post(WSRPResourceRenderPipe.java:153)
      at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:651)
      at oracle.portlet.client.service.pipeline.PipeContext.access$000(PipeContext.java:48)
      at oracle.portlet.client.service.pipeline.PipeContext$1.run(PipeContext.java:498)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
      at oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:242)
      at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:83)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.security.Security.runAs(Security.java:61)
      at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
      at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
      at oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:242)
      at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:196)
      at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:502)
      at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:23)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
      at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
      at java.lang.Thread.run(Thread.java:662)

    Hi Daniel
    Thanks for your reply !
    I am using JSR 268 portlets,.I Configured below WSDL URL in  my portal connections, While creating WSRP producer, and i have not checked the "Use Proxy for Contacting Producer", rest all i have not modified.
         http://localhost:7101/portletProdApp/portlets/wsrp2?WSDL
    Here is my Connections.xml that is generated.
    I am new to this portlets, Could you please let me know how can check for proxy restrictions ?
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <References xmlns="http://xmlns.oracle.com/adf/jndi">
       <Reference name="arorPortlet-wsconn" className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl" xmlns="">
          <Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
          <RefAddresses>
             <XmlRefAddr addrType="WebServiceConnection">
                <Contents>
                   <wsconnection description="http://localhost:7101/portletProdApp/portlets/wsrp2?WSDL">
                      <model name="{urn:oasis:names:tc:wsrp:v2:wsdl}WSRP_v2_Service" xmlns="http://oracle.com/ws/model">
                         <service name="{urn:oasis:names:tc:wsrp:v2:wsdl}WSRP_v2_Service">
                            <port name="WSRP_v2_ServiceDescription_Service" binding="{urn:oasis:names:tc:wsrp:v2:bind}WSRP_v2_ServiceDescription_Binding_SOAP">
                               <policy-references xmlns="http://oracle.com/adf">
                                  <policy-reference category="security" uri="oracle/no_authentication_client_policy" enabled="true" id="oracle/no_authentication_client_policy" xmlns=""/>
                               </policy-references>
                               <soap addressUrl="http://localhost:7101/portletProdApp/portlets/WSRP_v2_ServiceDescription_Service" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                               <operation name="getServiceDescription">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getServiceDescription" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getServiceDescription"/>
                                  <output name="getServiceDescriptionResponse"/>
                               </operation>
                            </port>
                            <port name="WSRP_v2_PortletManagement_Service" binding="{urn:oasis:names:tc:wsrp:v2:bind}WSRP_v2_PortletManagement_Binding_SOAP">
                               <policy-references xmlns="http://oracle.com/adf">
                                  <policy-reference category="security" uri="oracle/no_authentication_client_policy" enabled="true" id="oracle/no_authentication_client_policy" xmlns=""/>
                               </policy-references>
                               <soap addressUrl="http://localhost:7101/portletProdApp/portlets/WSRP_v2_PortletManagement_Service" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                               <operation name="getPortletDescription">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getPortletDescription" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getPortletDescription"/>
                                  <output name="getPortletDescriptionResponse"/>
                               </operation>
                               <operation name="clonePortlet">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:clonePortlet" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="clonePortlet"/>
                                  <output name="clonePortletResponse"/>
                               </operation>
                               <operation name="destroyPortlets">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:destroyPortlets" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="destroyPortlets"/>
                                  <output name="destroyPortletsResponse"/>
                               </operation>
                               <operation name="getPortletsLifetime">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getPortletsLifetime" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getPortletsLifetime"/>
                                  <output name="getPortletsLifetimeResponse"/>
                               </operation>
                               <operation name="setPortletsLifetime">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:setPortletsLifetime" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="setPortletsLifetime"/>
                                  <output name="setPortletsLifetimeResponse"/>
                               </operation>
                               <operation name="copyPortlets">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:copyPortlets" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="copyPortlets"/>
                                  <output name="copyPortletsResponse"/>
                               </operation>
                               <operation name="exportPortlets">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:exportPortlet" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="exportPortlets"/>
                                  <output name="exportPortletsResponse"/>
                               </operation>
                               <operation name="importPortlets">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:importPortlet" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="importPortlets"/>
                                  <output name="importPortletsResponse"/>
                               </operation>
                               <operation name="releaseExport">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:importPortlet" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="releaseExport"/>
                                  <output name="releaseExportResponse"/>
                               </operation>
                               <operation name="setExportLifetime">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:setExportLifetime" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="setExportLifetime"/>
                                  <output name="setExportLifetimeResponse"/>
                               </operation>
                               <operation name="setPortletProperties">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:setPortletProperties" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="setPortletProperties"/>
                                  <output name="setPortletPropertiesResponse"/>
                               </operation>
                               <operation name="getPortletProperties">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getPortletProperties" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getPortletProperties"/>
                                  <output name="getPortletPropertiesResponse"/>
                               </operation>
                               <operation name="getPortletPropertyDescription">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getPortletPropertyDescription" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getPortletPropertyDescription"/>
                                  <output name="getPortletPropertyDescriptionResponse"/>
                               </operation>
                            </port>
                            <port name="WSRP_v2_Markup_Service" binding="{urn:oasis:names:tc:wsrp:v2:bind}WSRP_v2_Markup_Binding_SOAP">
                               <soap addressUrl="http://localhost:7101/portletProdApp/portlets/WSRP_v2_Markup_Service" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                               <operation name="getMarkup">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getMarkup" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getMarkup"/>
                                  <output name="getMarkupResponse"/>
                               </operation>
                               <operation name="getResource">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getResource" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getResource"/>
                                  <output name="getResourceResponse"/>
                               </operation>
                               <operation name="performBlockingInteraction">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:performBlockingInteraction" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="performBlockingInteraction"/>
                                  <output name="performBlockingInteractionResponse"/>
                               </operation>
                               <operation name="handleEvents">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:handleEvents" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="handleEvents"/>
                                  <output name="handleEventsResponse"/>
                               </operation>
                               <operation name="releaseSessions">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:releaseSessions" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="releaseSessions"/>
                                  <output name="releaseSessionsResponse"/>
                               </operation>
                               <operation name="initCookie">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:initCookie" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="initCookie"/>
                                  <output name="initCookieResponse"/>
                               </operation>
                            </port>
                            <port name="WSRP_v2_Registration_Service" binding="{urn:oasis:names:tc:wsrp:v2:bind}WSRP_v2_Registration_Binding_SOAP">
                               <policy-references xmlns="http://oracle.com/adf">
                                  <policy-reference category="security" uri="oracle/no_authentication_client_policy" enabled="true" id="oracle/no_authentication_client_policy" xmlns=""/>
                               </policy-references>
                               <soap addressUrl="http://localhost:7101/portletProdApp/portlets/WSRP_v2_Registration_Service" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                               <operation name="register">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:register" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="register"/>
                                  <output name="registerResponse"/>
                               </operation>
                               <operation name="deregister">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:deregister" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="deregister"/>
                                  <output name="deregisterResponse"/>
                               </operation>
                               <operation name="modifyRegistration">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:modifyRegistration" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="modifyRegistration"/>
                                  <output name="modifyRegistrationResponse"/>
                               </operation>
                               <operation name="getRegistrationLifetime">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:getRegistrationLifetime" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="getRegistrationLifetime"/>
                                  <output name="getRegistrationLifetimeResponse"/>
                               </operation>
                               <operation name="setRegistrationLifetime">
                                  <soap soapAction="urn:oasis:names:tc:wsrp:v2:setRegistrationLifetime" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <input name="setRegistrationLifetime"/>
                                  <output name="setRegistrationLifetimeResponse"/>
                               </operation>
                            </port>
                         </service>
                      </model>
                   </wsconnection>
                </Contents>
             </XmlRefAddr>
          </RefAddresses>
       </Reference>
       <Reference name="arorPortlet" className="oracle.portlet.client.connection.wsrp.WSRPProducerConnection" xmlns="">
          <Factory className="oracle.portlet.client.connection.wsrp.WSRPProducerConnectionFactory"/>
          <RefAddresses>
             <XmlRefAddr addrType="connectionDesc">
                <Contents>
                   <wsrpproducerconnection wsConnection="arorPortlet-wsconn" timeout="600"/>
                </Contents>
             </XmlRefAddr>
          </RefAddresses>
       </Reference>
    </References>

  • After rendering a Dynamic Link section in Premiere, can I re-edit?

    The premise...
    I had finished my After Effects portion of the dynamic link process and naturally, wanted to see how it jibed with visual elements in my premiere project. But there was a problem with the delay in play-back as the effects were not able to play in real-time in Premiere. It was sticking or stuttering or would just get stuck where that orange bar kept filling left to right.. Btw, my computer has plenty of power and meets the requirements. I also, lowered all the playback features to the lowest denominators like quarter resolution, half, reolution etc..
    So i had no choice but to render just only that liniked section. 
    Afterwards, it played beautifully, of course. But now I want to make some edits and tweaks, and this is where my contention lies.
    MY QUESTION is: how do I go back n' forth from PR and AE to watch and re-watch and edit, do I un-render it, then render again, or do I throw it away (the rendered version) and upon doing so, will that section reappear because the link will remember it? 
    Does it re-link again, if i choose to delete it? But that doesn't make sense because I had to choose that area first in Premeire THEN drop it in AE, thereby linking it as the source. So if I threw it away, would After effects go blank?
    I hope this makes sense.
    Thanks ahead of time..
    Best,
    Drew

    I too am tinkering with Dynamic Link recently. My question is similar to Drew's, but in a different form.
    Lets say, once your done in AE and go back to PrP, and you want to edit the original layered material in PrP to add another shot or two to your effected AE comp. I understand in PrP you can right click on the linked AE clip and choose edit original, but that does not bring in all of your projects media files to AE. Just the clips you previously had selected before linking.
    How would one get back to the original PrP sequence before you "linked" for AE? (like clicking a nest sequence to open all your layers). Is the only way to save a copy of your original sequence before linking? 
    Thanks,
    Pete

  • Hide and show portlet dynamically

    i have two pages each page contains one one portlets. in this scenario i can hide/show
    the respective pages.
    Is there any other ways to hide/show porltets dynamically from portal.
    thanks in advance.
    shashi

    put a backing file on the portlet and from the backing file (probably pre render
    method)
    set the visibile to false
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(request);
    portletBackingContext.setVisible(false);
    If that doesn't work for some reason you can set the state to "delete" wil need
    to do this from
    the init method on the backing file
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(request);
    portletBackingContext.setupStateChangeEvent(WindowCapabilities.DELETE.getName());
    You can also use entitlements if this is a security thing.
    "shashishekar" <[email protected]> wrote:
    >
    i have two pages each page contains one one portlets. in this scenario
    i can hide/show
    the respective pages.
    Is there any other ways to hide/show porltets dynamically from portal.
    thanks in advance.
    shashi

  • Error while rendering portlet

    I have a standalone oc4j_portal instance on my pc.
    Applications deployed to this and then registered in portal as a provider work fine.
    My problem comes when i deploy the application to our 10g app server, and try to run a portlet registered against the app server.
    The application log contains the following ...
    04/11/10 11:48:22 Started
    04/11/10 11:48:37 papp2: jsp: init
    04/11/10 11:48:37 papp2: 9.0.4.0.0 Started
    04/11/10 11:50:58 papp2: SOAPServlet: init
    04/11/10 11:50:58 papp2: ServletLogger - Logging level: 4
    04/11/10 11:50:59 papp2: [instance=(null), id=82830936573,5] CONFIGURATION: Invalid or null value for property - executionWarningTimeout = null - setting to default value of 20 seconds
    04/11/10 11:51:13 papp2: [instance=80035_RAEPORTAL2_49519323, id=82830951115,4] CONFIGURATION: Default container renderer not specified
    04/11/10 11:51:13 papp2: [instance=80035_RAEPORTAL2_49519323, id=82830951115,4] CONFIGURATION: defaulting container renderer to DefaultContainerRenderer
    04/11/10 11:51:21 papp2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/u01/app/oracle/ias904das01/j2ee/OC4J_Portal/application-deployments/papp2/papp2/persistence/_pages//_RAE.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>160</TD><TD>[jsp src:line #:111]<br> constructHTMLLink(oracle.portal.provider.v2.render.PortletRenderRequest,int,java.lang.String,java.lang.String,oracle.portal.utils.v2.NameValuePair[],boolean,boolean) in oracle.portal.provider.v2.url.UrlUtils cannot be applied to (oracle.portal.provider.v2.render.PortletRenderRequest,int,java.lang.String,java.lang.String,oracle.portal.utils.NameValue[],boolean,boolean)
    out.print(UrlUtils.constructHTMLLink(pReq, UrlUtils.PAGE_LINK, "a page", "", linkParams, true, true));
    </TD></TR></TABLE>
    04/11/10 11:51:21 papp2: [instance=80035_RAEPORTAL2_49519323, id=82830951115,4] ERROR: ResourceRenderer.renderBody - Resource "/RAE.jsp" returned HTTP Status: 500. Error message: OracleJSP:
    oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/u01/app/oracle/ias904das01/j2ee/OC4J_Portal/application-deployments/papp2/papp2/persistence/_pages//_RAE.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>160</TD><TD>[jsp src:line #:111]<br> constructHTMLLink(oracle.portal.provider.v2.render.PortletRenderRequest,int,java.lang.String,java.lang.String,oracle.portal.utils.v2.NameValuePair[],boolean,boolean) in oracle.portal.provider.v2.url.UrlUtils cannot be applied to (oracle.portal.provider.v2.render.PortletRenderRequest,int,java.lang.String,java.lang.String,oracle.portal.utils.NameValue[],boolean,boolean)
    out.print(UrlUtils.constructHTMLLink(pReq, UrlUtils.PAGE_LINK, "a page", "", linkParams, true, true));
    </TD></TR></TABLE>. Content returned follows....
    04/11/10 11:51:21 papp2: [instance=80035_RAEPORTAL2_49519323, id=82830951115,4] ERROR:
    Is it a jpdk , library issue ?
    Can anyone help

    Hi,
    This is a JPDK library issue. The class NameValuePair was deprecated and in the release of JPDK904, the class was entirely dropped. It has been replaced with NameValue class. Looks like the stand alone OC4J instance is equipped with JPDK 902, and your Portal definitely has JPDK 904. So you will have to change all reference of NameValuePair to NameValue.
    HTH,
    Harsha

  • Show specific portlets dynamically

    I would like to implement a page what shows a specific portlet based on a variable. So dynamically should be determined what portlet should be shown on a page.
    My intention is to create a proxy portlet what based on some logic calls the render method of some other (dynamically determined) portlet what hopefully displays the content of the specific portlet in the proxy-portlet frame. Is there anyone who has done this before or knows how to tackle this?
    I am not familiar with the render engine and do not know how to call the right functions to show content of the portlet object.
    The reason for doing this is to overcome a performance issue what occurs when you put a large number of portlets on a page and use security for showing only one of the portlets. It results in a lot of individual calls to the OID en chokes the system in our configuration.
    Any help is appreciated.
    Kind Regards, Dennis Deursen

    Hi Patrick,
    Thanks for your reply. The portlets we would like to dynamically determine and show are all page-portlets. This implies that we cannot use PL/SQL in these portlets. Maybe there is a way to use a PL/SQL portlet showing the content of a specific page, but I don't know how. Maybe that is something I can investigate. You solution is quite straightforward but sadly only applies to PL/SQL portlets.
    Another way to solve our problem is to use a PL-SQL portlet what defines an i-frame what shows the content a the page and let PL/SQL define dynamically what page to show in the i-frame. The drawback here is that you get nested pages when the page as shown in the i-frame has links. I am trying to add the tag <base target="_top"> to the header of the pages to show in the i-frame but i can't find a way how to change / add html code the the <header>-part of the pages...
    (nice puzzle). Anyhow, there must be a way to solve this on way or the other.
    Dennis Deursen

  • Rendering images dynamically using JEditorPane

    My objective is to generate and render an image/css dynamically and I am using Swings -> JEditorPane
    However, JEditorPane does not seem to be rendering CSS properly. Is this a known issue? Is there a fix?
    Is there any other alternative?

    Here is the scriplet I tried. But it is not redering the image and definitely I am missing something here. Please suggest changes or any direction.
    <%
    File f = image.getThumbnailFile(); //image file from a bean
    ByteArrayOutputStream byteOutput = new ByteArrayOutputStream();
    InputStream inputStream = new FileInputStream(f);
    byte[] bytes = new byte[1024];
    int read;
    try{
              while ( (read = inputStream.read(bytes)) > -1 )
                      byteOutput.write(bytes, 0, read);
              //byte[] ba = byteOutput.toByteArray();
              ByteArrayInputStream byteInput = new ByteArrayInputStream(byteOutput.toByteArray());
              response.setContentType("image/gif");                       
              while ( (read = byteInput.read()) > -1 )          
                   response.getOutputStream().write(read);
              response.getOutputStream().flush();
    catch(Exception e){}                           
    %>

  • Can a portlet dynamically create / programmatically create another portlet?

    Hello. This is my first time posting a question, so please let me know if I'm posting to the wrong newsgroup.
    I'm new to WebLogic Portal, and I downloaded and installed WebLogic Portal 10. I'm working on a portal proof of concept, and my business analyst is asking some tricky questions. One thing he would like to see is when a user clicks a link in one portlet, he would like that portlet to dynamically create/open another portlet on the same portal page. In addition, he wants it to dynamically create a new book so that every time a user clicks on a different link, it dynamically creates a new page in the new book and creates a new portlet on that page.
    After reading through/searching many of the 27 PDFs that came with the download of WebLogic Portal 10, I have not seen anything that refers to dynamic creation of portal artifacts. Does anyone know if this is possible? To me, it doesn't seem like the portal was designed to dynamically create these artifacts. But maybe someone out there knows a way to do this. I'm wondering if I might have to resort to trying to hack my way through a request like that, which is probably not a good idea.
    If anyone can comment on this, I would really appreciate it. Thank you.
    --Steve
    Edited by StevenDHitlin2 at 10/24/2007 6:44 AM

    It's very likely portal backing files can be used.
    They can respond to
    various stages in the portal lifecycle and events to
    manipulate the
    portal structure or perform other business logic.
    http://e-docs.bea.com/wlp/docs100/portals/intro_to_por
    tal_dev.html#wp1028008Gregory,
    Thank you for your reply and for your backing file idea. I read the section you pointed out regarding backing files. In the first paragraph, it states, 'the portlet backing context can be used to specify whether the portlet is visible or hidden'. I noticed that some portal artifacts (books, pages,etc) have a 'hidden' property that can be set to true or false. I didn't really think about it until now, but I suppose I could have my 'dynamic' pages set as hidden=true at first and only make them visible when someone clicks a link in another portlet. The only thing is that my portal would be limited to showing only as many pages as I set up as hidden. For example, if I place three pages in a book and I set them all hidden, then my user can only 'unhide' at most three pages. If he wants more, I have to add more hidden pages to the desktop. It's not the best solution, but I think it would work for now.
    I just have to figure out how to use a backing file to make a portlet tell another portlet or a page to change its hidden property to false. I read a little bit about IPC, and I tried to fiddle around with it a little, but it's still unclear to me how to create a custom event. Does anyone have any advice for me on this topic? Any help would be greatly appreciated. Thank you.
    Steve

  • Rendering a dynamic image(blob) in a BI Publisher Report via an RTF templat

    Been working on this for a while and now at a dead end hoping the experts can direct me to try something new. There is lots in the forums on blobs and displaying in reports and from it all I have gleaned that I need to encode the blob in Base64 and then use this code.
    <fo:instream-foreign-object content type="image/jpg">
    <xsl:value-of select="IMAGE_ELEMENT"/>
    </fo:instream-foreign-object>
    I use this function to encode a 9KB jpeg into a clob (and my jpegs will be less then 32K.
    function encode_base64(p_blob_in in blob) return clob is
    v_clob clob;
    v_result clob;
    v_offset integer;
    v_chunk_size binary_integer := (48 / 4) * 3;
    v_buffer_varchar varchar2(48);
    v_buffer_raw raw(48);
    begin
    if p_blob_in is null then
    return null;
    end if;
    dbms_lob.createtemporary(v_clob, true);
    v_offset := 1;
    for i in 1 .. ceil(dbms_lob.getlength(p_blob_in) / v_chunk_size) loop
    dbms_lob.read(p_blob_in, v_chunk_size, v_offset, v_buffer_raw);
    v_buffer_raw := utl_encode.base64_encode(v_buffer_raw);
    v_buffer_varchar := utl_raw.cast_to_varchar2(v_buffer_raw);
    dbms_lob.writeappend(v_clob, length(v_buffer_varchar), v_buffer_varchar);
    v_offset := v_offset + v_chunk_size;
    end loop;
    v_result := v_clob;
    dbms_lob.freetemporary(v_clob);
    return v_result;
    end encode_base64;
    The xml is simple:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW>
    <IMAGE_NAME>Test</IMAGE_NAME>
    <IMAGE_MIME_TYPE> image/jpeg </IMAGE_MIME_TYPE>
    <IMAGE_ELEMENT>…lots lines of encoded data… </ IMAGE_ELEMENT >
    </ROW>
    </ROWSET>
    Then when I put all together using BI Publisher Desktop 11.1.1.6 in an rtf template and preview the pdf, the preview fails with a long message ( can provide the whole thing if requested) but starting with:
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.xdo.common.image.ImageReader.checkFormat(ImageReader.java:130)
         at oracle.xdo.common.image.ImageReader.analyze
    I suspect the base64 encoding may be the problem but I am out of my realm in trying to debug this. Any help would be most appreciated…sorry for the length of this.

    I thank you again for continuing to try to help me. However, I regret to say that this function does not work. The same error results (see below). It is hard to believe that this cannot be done with APEX and BI Publisher. I would think that other APEX users have the need to display images and do not have the E-Business Suite.
    What I am doing is very straightforward....a small jpeg stored as a blob in an Oracle table that needs to be dynamically displayed from a report in APEX----created with BI Publisher and an rtf template.
    If you have any other ideas, please send them..your help is appreciated.
    Java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.xdo.common.image.ImageReader.checkFormat(ImageReader.java:130)
         at oracle.xdo.common.image.ImageReader.analyze(ImageReader.java:314)
         at oracle.xdo.common.image.ImageReader.load(ImageReader.java:510)
         at oracle.xdo.generator.pdf.PDFGenerator.createPDFImageReference(PDFGenerator.java:3261)
         at oracle.xdo.generator.pdf.PDFGenerator.getImage(PDFGenerator.java:3399)
         at oracle.xdo.generator.pdf.PDFGenerator.getImage(PDFGenerator.java:3388)
         at oracle.xdo.generator.ProxyStreamGenerator.getImage(ProxyStreamGenerator.java:121)
         at oracle.xdo.template.fo.area.AreaTree.getImage(AreaTree.java:779)
         at oracle.xdo.template.fo.area.InstreamForeignObjectArea.loadImage(InstreamForeignObjectArea.java:82)
         at oracle.xdo.template.fo.area.InstreamForeignObjectArea.init(InstreamForeignObjectArea.java:151)
         at oracle.xdo.template.fo.area.GraphicArea.<init>(GraphicArea.java:80)
         at oracle.xdo.template.fo.area.InstreamForeignObjectArea.<init>(InstreamForeignObjectArea.java:51)
         at oracle.xdo.template.fo.elements.FOInstreamForeignObject.doLayout(FOInstreamForeignObject.java:134)
         at oracle.xdo.template.fo.elements.FOInline.doLayout(FOInline.java:147)
         at oracle.xdo.template.fo.elements.FOInline.doLayout(FOInline.java:83)
         at oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:330)
         at oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:226)
         at oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:140)
         at oracle.xdo.template.fo.elements.FOFlow.doLayout(FOFlow.java:84)
         at oracle.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:250)
         at oracle.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:141)
         at oracle.xdo.template.fo.FOHandler.endElement(FOHandler.java:720)
         at oracle.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:595)
         at oracle.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)
         at oracle.xdo11g.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)
         at oracle.xdo11g.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1322)
         at oracle.xdo11g.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:366)
         at oracle.xdo11g.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:312)
         at oracle.xdo11g.parser.v2.XMLParser.parse(XMLParser.java:218)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.xdo.common.xml.XDOSAXParser.invokeParse(XDOSAXParser.java:166)
         at oracle.xdo.common.xml.XDOSAXParser.parse(XDOSAXParser.java:122)
         at oracle.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:407)
         at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1218)
         at RTF2PDF2.runRTFto(RTF2PDF2.java:473)
         at RTF2PDF2.runXDO(RTF2PDF2.java:337)
         at RTF2PDF2.main(RTF2PDF2.java:230)

Maybe you are looking for

  • Unable to Save the Data Using BexSetData

    Hi All, I have a issue regarding saving plan data, Design: I  got a Workbook with several tabs, each tab has a input ready Query and has a layout as below A formatted user facing worksheet containing; an area where the user enters their plan data wit

  • Windows Server 2008 Enterprise SP2 64bit BugCheck 3B Probably caused by : win32k.sys process name: chrome.exe

    indows Server 2008/Windows Vista Kernel Version 6002 (Service Pack 2) MP (12 procs) Free x64 Product: Server, suite: Enterprise TerminalServer SingleUserTS Built by: 6002.18327.amd64fre.vistasp2_gdr.101014-0432 Machine Name: Kernel base = 0xfffff800`

  • Display error message in screen

    Hi Friends, I am working on user exit. I have created a screen for the user to confirm the selection. Based on the user's choice, if yes i have to proceed so i've set screen 0. leave screen. But when they select no i've display an error message and t

  • How to exit infinite loop when using gotopage( )

    I have 10 Pages in one script. At page 9, I want to call page 2 , page 3 and page4 The method is : RSWApp.GotoPage (2) At page 9 it will run infinite loop page2-page4, How can I stop this loop at Page4 Thanks Julia

  • Sound problems with some bought applications

    Hi guys, I have some problems hearing sounds in some applications: I downloaded the Victoria Secret FREE appl and I bought the iQiGong application from ihanwel and i CANNOT hear any sounds. Can you please help me? For the iQiGong, I contacted the com