Refresh Portlets - PTM5_CACHE problem
Hi,
We have created a list of Discoverer portlets.
Those portlets are refreshing by using a PL/SQL procedure that we have written based on the tables PTM5_CACHE and PTM5_SCHEDULE.
For all the SSO users we created a private connection. As a result every SSO user that enters in the PORTAL can view specific data because we applied VPD. Firstly, we have created many SSO users and as a result a record added in the PTM5_CACHE for this user. Now, we have decided to grant access to the Discoverer Portlets only to 3 SSO users.
The problem is that when a refresh process is triggered then the reports will be refreshed for all the SSO users that we have defined in the first time. We want to define a way in order to refresh the portlets only for the 3 SSO users.
Can we delete the records from PTM5_CACHE and keep only those that refers to the SSO users that will view the Discoverer portlets? Will it be safe or is there any way to perform this?
Thanks in advance for the assistance.
Christos
Does this BI Publisher report appear as a link on the Dashboard page or it is run within BI publisher? If the BI >>publisher report is part of the dashboard, have you checked "View Latest Version"?User will only schedule this report on background, not post on the dashboard. Although I know scheduling will not use cache, but user willl verify the result on web viewer.
Is your answers request executed first based on repository variable and then the BI publisher report is run? Actually, the BIP report's data is all from one Answers query, so when the BIP report is run, the Answer report should be run first (according to my understanding on BIP and Answers coordination), which is based on the repository variable.
I have set the refresh interval to 1 min for the Repository variable.
Thx
Similar Messages
-
hello
i am pretty new to portlets
the problem is that
i want that i dispaly a list of record in one portlet and if user click on that record then on the next protlet this record is shown.
this require two portlets
i followed a lot of links but i dnt get clear understaning about the functions and ipc ie when is processAction() called and when is doedit called etc etc
can any one give complete example or links or help me how to do tht
i am working with jsf.It seems you are trying Inter Portlet Communication for JSF Portlets. Check this article : http://developers.sun.com/portalserver/reference/techart/ipc.html . This describes InterPortlet Communication that was added as an extension to JSR 168(implemented in OpenPortal Portlet Container 1.0_02).
Regards,
Deepak -
I am facing portlet state problem.
Problem is below,
step 1. I opened a page in java portlet, then set some filters for my list boxes and for check boxes, then executed i got all my search results,
then closed the page.
step 2. opened page again, which opens in the same portlet as step 1, then this portlet displays the page with results instead of default page
I tried setting _nfls parameter to false in request URL, but still it is loading the page with state as in step1.(i'e page with filters set and with results)
Any suggestions on how to overcome this?Raju,
Hope this thread helps you.
http://forums.bea.com/bea/message.jspa?messageID=600014822&tstart=0
Let me know if this works for you.
Cheers,
Satish -
Display Portlet Repository Problem - Page cannot be found
hi,
Just upgraded to 3.0.9.
when i go to Portal Homepage ..... Adminster..... Display Portlet Repository, and then select an item, i get the following error msg on my browser:
"The Page cannot be found"
Kin
nullHi
The way I fix this problem was to Edit the portal provider and then click on Refresh Provider. The next time you go into Display Portlet Repository the item should be OK.
The refresh remote provider information - seems not to work.
Hope this helps
Kin -
I am using version 3.0.9.8.4 of the Portal.
I need to refresh the portlet repository or a particular provider programatically at frequent intervals.
I do this using the folllowing code :
-- However I notice although I see the refresh completed successfully message ON EXECUTION of procedure it does not have same effect as refresh through the Portal UI ?
Am I supposed to use anything else or modify anything ?
CREATE OR REPLACE PROCEDURE XXC_REFRESH_REPOSITORY
AS
BEGIN
portal30.wwctx_api_private.set_context('portal30','');
portal30.wwpro_api_provider_registry.refresh_portlet_repository;
commit;
portal30.wwctx_api_private.clear_context;
dbms_output.put_line('Refresh completed sucessfully ');
EXCEPTION
WHEN OTHERS THEN
dbms_output.PUT_LINE(SQLERRM);
portal30.wwctx_api_private.clear_context;
END;i've had problems thru the gui too using JPDK. so what i end up doing is recreating a new portlet provider. for some reason when i make changes to provider.xml, i don't think portal is smart enough to pick up the changes if the sequence of portlets or parameters declared in it when first created changes, it craps out.
i find it easier just to create a new declaration of the portlet provider.
i wish oracle would fix this -
hello
i have suceesfully created a provider and its relative portlets. i can edit the provider with portal, but i can't see it in the portlet repository even when refreshing it.
does anybody knows why?
thanksI have the same problem
I am using portal 3.0.6 on windows NT
I added the protlet provider successfully
but can not see it in portlet repository
even if I refreshed the portlet repository
please help !!
null -
I am having a problem rendering a portlet. I have looked in the log.xml, and I found the following error:
Note: I have removed the <HOST_ID> and <HOST_NWADDR> for security reasons.
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-09-09T09:12:46.927-07:00</TSTZ_ORIGINATING>
<COMPONENT_ID>portlet</COMPONENT_ID>
<MSG_ID>PRT-01029</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID></HOST_ID>
<HOST_NWADDR></HOST_NWADDR>
<MODULE_ID>client</MODULE_ID>
<THREAD_ID>14</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>72057753396483086</UNIQUE_ID><SEQ>2</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Error accessing adf-config.xml</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-09-09T09:12:46.928-07:00</TSTZ_ORIGINATING>
<COMPONENT_ID>portlet</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID></HOST_ID>
<HOST_NWADDR></HOST_NWADDR>
<MODULE_ID>binding</MODULE_ID>
<THREAD_ID>14</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>72057753396483086</UNIQUE_ID><SEQ>2</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>java.lang.NoClassDefFoundError: oracle.portlet.client.adapter.adf.ADFPortletConfigConstants
at oracle.portlet.client.adapter.adf.ADFAdapter.newExternalConfig(ADFAdapter.java:467)
at oracle.portlet.client.adapter.adf.ADFAdapter.createConfig(ADFAdapter.java:259)
at oracle.portlet.client.adapter.adf.ADFAdapter.getConfig(ADFAdapter.java:194)
at oracle.portlet.client.adapter.adf.ADFAdapter.createContext(ADFAdapter.java:350)
at oracle.portlet.client.adapter.adf.ADFAdapter.getContext(ADFAdapter.java:215)
at oracle.portlet.client.adapter.adf.ADFAdapter.init(ADFAdapter.java:95)
at oracle.adf.model.portlet.binding.PortletBinding.prepareModel(PortletBinding.java:799)
at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:621)
at oracle.adf.model.binding.DCBindingContainerDef$1RegionBindingAdapter.refresh(DCBindingContainerDef.java:1011)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2455)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:72)
at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
Any ideas what could be causing this?Hi,
Have you tried deploying your portlet application from within JDev? It looks like the problem lies in deploying libraries. The missing class is located in portlet-client-adf.jar, which is part of the ADF Portlet Components tag library. This library should already be in your WEB-INF/lib directory.
Deploying from the command line is possible and practical, but sometimes a hassle because you manually need to resolve most of the library dependencies. So I would advice to first try to deploy from within JDev using a deployment profile, and then try to move towards command line deployment.
Regards,
Jeroen van Veldhuizen -
Ultra Search Portlet Configuration Problem
Guten Tag,
we are using OracleAS 10g Rel. 2 Portal. I've registered the Provider for Ultra Search.
Now I understand that I have to add a data source in the OC4J_Portal configuration file "data-sources.xml"
I want to make Ultra Search crawl and search our Portal.
So I need to create a news Instance with the following entries (also for the data-sources.xml):
- username and password are the Oracle Ultra Search instance owner's database user name and password.
where do I find these info? It all has been done automatically by the RepCa when installing the IASPortal... ?- database_host is the host name of the back end database computer.
is this the URL of our portal server (with or without /pls/portal/)?- oracle_port is the port to the user's Oracle Database.
the standard Port of the Oracle Listener (1521)?- oracle_sid is the SID of the user's Oracle Database.
Where do I get the SID of Portal DB after Installation?Thx,
GerhardHi echee!
I don't know what happened in the weekend, but now the Ultra Search portlet doesn't throws any exception.
It seems works correctly.
Maybe the servers was restarted or the sheduled crawler recovered something in the indexed data.
I'm totally surprised.
I checked the log files, but I didn't find any failure message.
Now I must build a new Search Portlet for our portal, and I will contact you, if the problem returns.
Csaba. -
How to refresh portlet??
I have couple of questions. Please help me by giving the answers.
1) How to refresh only portlet not whole page?
2) If I can refresh only portlet, is there any property to set so that i can refresh periodicaly?
3) What is Cache expire property in portlet general property what is the purposs of it?
4) How to refresh a browser portlet periodicaly?(This question may be similar to question 1. But just want to check is there any special way to do it for browser portlet)
Thanks,I guess this will answer your question regarding Portlet Caching.
http://www.gexperts.com/articles/portlet-caching.asp
I am working on the remaining questions.
Ram. -
Post Refresh datasource Activation problems
Hello all,
After refreshing my sandbox from my dev system, the datasources are all inactive. I've run the BDLS, recreated the source system connection, run the 'replicate/activate', run the program for activating all transfer rules, etc.
When I go through the datasources one by one, I can 'change' and then activate through RSA1. This sets the M version to match the A version.
Is there a report that will set the M version to match the A version, and successfully activate all my datasources? I would really not like to do them one by one.Yes, but I'm having some trouble with it. When I run it, it throws a 'Problem Class Important" - 'No transfer structure selected'
I don't see where to populate that.
edit:
I managed to get the program to run by leaving the source system out of the variables. Now, it runs, and activates a portion of my datasources, but not all.
Message was edited by:
Kenneth P -
Portlet Consumer Error - automatically refreshing portlets
Hi,
I am developing ADF webcenter apllication (Jdev 11.1.1.7) and i am using portlets to display summary information. When i deploy my application in server, portlets are automatically refreshing for every 2,3 secs finally i got "Portlet Consumer Error" or some times "Because of inactivity, your session has timed out and is no longer active".
Anyone please help me on this.
Regards
vinothI am NOT sure about the Portlet Consumer Error. However, I see few bugs are fixed w.r.t. "Because of inactivity, your session has timed out and is no longer active"
Which version of Webcenter Portal you're referring to ? -
Hello,
<p>
I have two portlets that are in the same page. One portlet is a data submitting portlet that lets user submit data, and the other one is a data presentation page that display all the data that user submitted. When users click on the button to submit data, the page will be refreshed and the new data will be displayed in the second portlet.
<p>
I use adaptive portlet to do auto refresh. It works fine for a long time. However, it suddenly turns error to me. An IE window pops up every time when I submit data. The error message in the popup window is:
<p>
<i>A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.
<br>Do you want to abort the script?</i>
<p>
If I select "Yes", the page won't be refreshed. If I select "No", the page will be frozen. However, the data has been saved in database.
<p>
Does anyone has the same experience or know this issue? How can I fix it?
<p>
Thanks in advance!Hi,
If you are developing in .NET then it should be pretty easy to achieve individual portlet refreshes. If you want to search on the portal for these types of portlets we have called them 'adaptive portlets' (I have no idea why...).
What you need to do it first install our .NET Web Controls support, which you can get from here: http://portal.plumtree.com/portal/server.pt?open=512&objID=3422&PageID=5590&cached=true&mode=2&
Follow the included guide - basically you just need to add a few lines to you web.config then your ASP.NET webapps/portlets will refresh (postback) in-page without refreshing the page.
Hope this gets you started!
Jonathan -
Jsr168 portlet deployment problem in Apache Pluto...
Hi Friends ...i am new to this Apache Pluto..
Accuvally i am trying to deploy my portlets in Apache Pluto 1.1.7 with Tomcat 5.5.20
i tried with the Following procedure
http://portals.apache.org/pluto/v11/deploying.html
but after deploment and when i am hitting the Page i am getting the Problem like
Error rendering portlet.
javax.portlet.PortletException
at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:191)
at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_portlet_0(portlet_002dskin_jsp.java:99)
at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
Could any one help in resolving this ...
And i have one more doubt .....
Using Maven tool and creating WAR ... is this compulsory to Deploy any portlet in Apache Pluto ?+
Thanks & Regards
Suresh.VadlamudiHi Friends ...i am new to this Apache Pluto..
Accuvally i am trying to deploy my portlets in Apache Pluto 1.1.7 with Tomcat 5.5.20
i tried with the Following procedure
http://portals.apache.org/pluto/v11/deploying.html
but after deploment and when i am hitting the Page i am getting the Problem like
Error rendering portlet.
javax.portlet.PortletException
at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:191)
at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_portlet_0(portlet_002dskin_jsp.java:99)
at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
Could any one help in resolving this ...
And i have one more doubt .....
Using Maven tool and creating WAR ... is this compulsory to Deploy any portlet in Apache Pluto ?+
Thanks & Regards
Suresh.Vadlamudi -
Refresh portlet running db procedure
In 9.02, I have a report portlet that calls a stored procedure in the "after displaying header section" of Additonal PL/SQL code section. The procedure reurns totals from the database and prints them in the portlet. Is there anyway to have that portlet continue to refresh every minute (it would need to re-execute the procedure to get up to date totals).
Hi,
You should turn of caching for the component by setting the "expire minutes" to zero. But you will need to refresh the page to see the changes.
Thanks,
Sharmila -
Inter-portlet communication problem
Hello,
Is this possible?
I have to pageflow portlets:
Portlet A:
Page : input.jsp form executes action=register
Action: register() forwards to postregister()
Action: postregister()
Portlet B:
Action: postregister() forwards to login
Action: login()
Portlet B listens to portlet A.
I want B.postregister() to be executed when A.postregister() is executed.
I can make it work if skip A.register and let jsp go to postregister()
which will contain all logic from register(). The problem is that
B.postregister() is executed BEFORE A.postregister() which mean that
user is not registred when portlet B tries to run login.
Best Regards
Anders ThornbergHi Anders,
Make pageflow in portlet A to forward to pageflow in portlet B's action
login, done just after register is executed in flow A.
in Portlet A: register():
* @jpf:forward name="success" path="/portletBpageflow/login.do"
Flow will continue in Portlet B's action login.
- Björn Syse
"Anders Thornberg" <[email protected]> wrote in message
news:[email protected]..
Hello,
Is this possible?
I have to pageflow portlets:
Portlet A:
Page : input.jsp form executes action=register
Action: register() forwards to postregister()
Action: postregister()
Portlet B:
Action: postregister() forwards to login
Action: login()
Portlet B listens to portlet A.
I want B.postregister() to be executed when A.postregister() is executed.
I can make it work if skip A.register and let jsp go to postregister()
which will contain all logic from register(). The problem is that
B.postregister() is executed BEFORE A.postregister() which mean that
user is not registred when portlet B tries to run login.
Best Regards
Anders Thornberg
Maybe you are looking for
-
We were on April vacation this past week and my ipad fell onto the road and shattered the screen. I can still get onto it and maneuver around my apps but the screen is spider webbed and shattered. I have heard their are screen kits you can but to rep
-
How can I call an ".asp" from a Servlet?
I want to make a call to an asp page from my servlet. If i use the conventional way of doing it as follows: RequestDispatcher rd = getServletContext().getRequestDispatcher("http://localhost:8080/abc.asp"); rd.forward(request, response) It gives me Il
-
How to create a hyperlink to send e-mail with attachments (INSDESIGN CS6 for DPS)
Hello, I need to create a hyperlink button that sends e-mails having images as attachment. Can you please help? Thank you.
-
Hi, I don't have CD RW, but I got external HD, how can I create bootable external HD from all Oracle Linux ISO? I mean which software should I use ( on Windows XP) to create bootable hd and install linux? Thanks,
-
'Help cannot search for that phrase'
I am getting the message 'Help cannot search for that phrase' while searching for 'xml' in a chm (generated using RH9). The old CHM (generated using RH8) shows the results for the keyword xml. Is this a known issue? Any workaround to resolve this iss