Refresh Mechanisms - Urgent!
Hey,
Can anyone tell me if fast refresh is implemented with replication of sql commands or with another way of applying changes, like SQL-Server's Merge Replication?
I'd like to know also how Multimaster Replication Assynchronous Replication is implemented.
Thanx a lot for your help.
Oracle's Adv.Replication uses triggers to capture changes and a queue to store them until they are propagated to a destination site by a local job process that makes Remote Procedural calls to the destination server.
Fast refresh is used by materialized views. Materialized views are for replicating data or data subsets, not DDL. The changes on the master table are captured by a trigger and placed in a materialized view log. A job on the materialized view site connects to the master site and reads the row changes that are stored in the log and applies them to the materialized view. You can also have updates made to the materialized view "pushed" to the master table. This "push" uses an architecture similar to that used for multimaster replication.
Similar Messages
-
Refreshing JEditorPane (Urgent) plz help
hello programmers,
i'm building an html editor:
My html editor has a split pane, the 2 pane got of the split pane are JEditorPanes, one on which i write tag and the other i display them,... thankfully all's working great, my syntax is highlighting and the html is displayed well but i've got the following problem:
when i save a html page , i wanna my browser (on the right side of the slipt pane) to display the html page... it's ok .. it displays it with the method JHTMLEditorPane.setPage(file:/// directory/ file) but the problem is that when i save the page again using the same filename... my html page on the JHTMLEditorPane stays the same... it does not update...
is their a refresh function for the JEditorPane? how can i update my JHTMLPane to reflect the changes i've brought to it? ONe thing , the page changes when i save it by aother file name..... PLz help it's very urgent!!!!!!!
BernardHave you tried to close and then re-open the file in your editorpane after you've saved?
It will work when you change the name because it has to open the file as new. Java can't dynamically update values upon files like C does with pointers. -
Problem in session..loosing user id on refresh..urgent!!!
hi,
actually im getting a problem in my web project i.e. jsp.. when 2 users logged in my system seperately n they enter few records..after that if both refresh the browser at same time.. den watever ill be refreshed first, the other will also get the same records in display.. means my im lossing user name on refresh..may be my session are colapsing.. can u tell me how can i resolve this problem..
its urgent reply me soon..Look out for
- Attributes declared in <%! declaration %> tags. rather than in <% scriptlet %>
- Class attributes in servlets, rather than local method variables
- sharing of static/singleton variables -
Session and Refresh problem, Urgent, please help
Hi, Dear Everyone:
I have two questions to ask. (Environment: OS: Nt4.0, Server: Weblogic5.1)
(1). When I use session to store an object in servlet (processed results
from database) then dispatch to a jsp page to display the results, I got the following
error message.
Wed May 16 15:54:31 CDT 2001:<I> <ServletContext-General> Generated java file:
C:\weblogic\myserver\classfiles\jsp_servlet\_ccproject\_subdisplay.java
java.lang.NullPointerException
at jsp_servlet._ccproject._subdisplay._jspService(_subdisplay.java, Comp
iled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:106)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:124)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:154)
at com.voy.CCPro.DataDumper.doPost(DataDumper.java:69)
at com.voy.CCPro.DataDumper.doGet(DataDumper.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Here is my servlet code:
HttpSession session = req.getSession(true);
Vector temp = buildData.BuildForDisplay(rst);
session.setAttribute("PostTitlePool", temp);
String url = "/ccproject/subdisplay.jsp";
RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
dis.forward(req, res);
Here is my jsp
<%@ page import="com.voy.CCPro.*" %>
<%@ page import="java.util.*" %>
<%
Vector v = new Vector();
v = (Vector)session.getAttribute("PostTitlePool");
Enumeration enum = v.elements();
SequenceData sq = new SequenceData();
while(enum.hasMoreElements())
sq = (SequenceData)enum.nextElement();
if(sq.getIndicator()==0)
out.println(sq.getTitle());
else
out.print(sq.getTitle());
%>
Please tell me what I did wrong or What more do I need to do?
(2). If I changed to use request.setAttribute in servlet, it works. But I got another
strange
result from browser. That is, if I keep on clicking refresh (IE5.5), the same result
appending
the previous one on the same page.
Here is my code in servlet:
req.setAttribute("PostTitlePool",temp);
String url = "/ccproject/subdisplay.jsp";
RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
dis.forward(req, res);
Here is my jsp:
<%@ page import="com.onvoy.CCPro.*" %>
<%@ page import="java.util.*" %>
<%
Vector v = new Vector();
v = (Vector)request.getAttribute("PostTitlePool");
Enumeration enum = v.elements();
SequenceData sq = new SequenceData();
while(enum.hasMoreElements())
sq = (SequenceData)enum.nextElement();
if(sq.getIndicator()==0)
out.println(sq.getTitle());
else
out.print(sq.getTitle());
%>
Please explain it to me why that and how to fix it. I appreciate it very much.
I control this as follows
--> all JSP's don't create session (<@page session="false">)
--> my FrontServlet checks
session=request.getSession(false);
if(session==null)
//invoke method from LoginHandler (Helper Class)
//for check logindata and create session
else
//invoke method from ProtectedResource (Helper Class)
//for check, if user logged on
--> LoginHandler
//method UserAllowed returns true or false
if(!UserAllowed())
//invoke ServiceDispatcher method who displays
//the 'AccessDenied'Page
else
//set loggedIn into the session
session.setAttribute("loggedIn","OK");
//invoke ServiceDispatcher method to display the requested Page
--> ProtectedResource
//check if user logged in
Object o=session.getAttribute("loggedIn");
if(o==null)
//User not logged in
//invoke ServiceDispatcher method to display 'Login' Page
else
//User logged in
//invoke ServiceDispatcher method to display the requested Page
--> URL of the Application
Welcome: http://localhost:8000/APP/login.jsp
submitted FORM sent to FrontServlet
(FORM ACTION="servlet/FrontServlet")
When everything is alright (username/password)
new URL http://localhost:8000/APP/servlet/FrontServlet
and the 'Main' Page is shown
when session is timed out and i refresh page
data is sent again (without asking for username and password)and new
session is created and the 'Main' Page is shown again.
How can i fix this problem
thank you in advance :-) -
What is the recommended way to apply configuration changes to cache configurations?
Let's say we decide to change a near-cache scheme to be tuned down from a 90 second expiry-delay to 15 seconds...
I'm assuming that there are no auto-refresh mechanisms, but i also can't imagine that every node has to be shut down resulting in some outage.You should be able to do a "rolling update", restarting node by node while keeping cluster as a whole up and running.
Regards,
Aleks -
Logic for Refreshing the ALV Report (Very Urgent)
Hi Experts,
My <b>ALV report</b> needs a <b>refresh button</b> on the output.
The <b>Refresh button</b> should be available to allow user to keep this report on screen and <b>refresh regularly</b> rather than <b>going back</b> and <b>running it again.</b>
I am using <b>Function modules</b> and not <b>OOPS Concept</b> here.............As i am<b> unaware</b> of OOPS Please provide me solution in <b>FM's Only</b>.
Kindly send me <b>sample logic</b> for this, <b>Very urgent</b> if ur reply is helpfull.... u will be <b>rewarded heavily</b>.......................
THanks in advance.
Rajesh KumarHi,
This mean to say that if you have a 'refresh' push button in your gui status, every time you press the button, the list should get refreshed.
In ALV, to refresh the table you have to call the method "refresh_table_display".
It has the syntax very similar to creating the table.
It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed)
or
if you want to refresh only the icons around the grid (the data is not refreshed - this option is mostly not used in day to day applications).
the synatx is :-
call method grid (name of grid )->refresh_table_display
exporting
IS_STABLE = <STRUCT OF TYPE LVC_S_STBL> (THIS IS FOR DATA REFRESHING)
I_SOFT_REFRESH = <VARIABLE OF CHAR 01> (THIS IS FOR ICON REFRESHING).
Regards,
Bhaskar -
Urgent: Datatype change, cannot refresh business area
First time I've pulled the Urgent thing but I have a problem. We had a datatype change for an ID field and I cannot refresh the associated business area because it get the following error message after it analyses the differences. There are several areas where this field is referenced, but it is only showing me one. When I try to refresh I get the following:
"This item is used elsewhere, its datatype cannot be changed".
The item is used in several joins within this business area. If they are all changed when the business area refreshes, things should work fine. Any thoughts?So in the database you changed the datatype for this ID field. This ID field I assume is a foreign key in other database tables. Where those tables updated also to the new datatype?
-
Please Help Urgently to refresh the report on the change in data
We want to refresh report at runtime for the Drill Down report if any user changes the Data. We changes the data from the form which is called from the report and we want to this effect on the report on the prompt.
Is there any method to close the report while it is in the queue of Background Engine? Can we refresh the report ? Please help urgently.
Thanks in Advance.Pritesh,
Reports goes out to the database and fetches the data (not a snapshot) and returns the information, formats it and displays it. The only way to refresh, is to rerun the report.
If your are running from the server, you need to make sure you are not fetching from cache (you determine this from destype and set the life of the cache in the servername.ora file).
I am unaware of any way to programatically close the report once displayed. The user must take action to close the report (unless you call the operating system to kill the display). When you rerun the report from Oracle Forms, you will get fresh data.
Regards,
The Oracle Reports Team jls -
Planning Refresh causing Essbase to crash and generate xcp - Urgent
Has anyone seen this before. In our Production environment (9.2.0.3 on Windows), when a security refresh was attempted from Planning Desktop, it crashed the Essbase server. An XCP file was created and it indicates "Set Filter" pending.
Suspecting that it had to do with the the Essbase.sec file, so far, we have tried going back a few days, same result again.
Any thoughts. It is an urgent issue. Oracle support is on conference but any faster response is appreciated.
- Vijay D.VijayDollu wrote:
Has anyone seen this before. In our Production environment (9.2.0.3 on Windows), when a security refresh was attempted from Planning Desktop, it crashed the Essbase server. An XCP file was created and it indicates "Set Filter" pending.
Suspecting that it had to do with the the Essbase.sec file, so far, we have tried going back a few days, same result again.
Any thoughts. It is an urgent issue. Oracle support is on conference but any faster response is appreciated.
- Vijay D.We encountered exactly the same problem. However when we shutdown the Essbase services again, the essbase.sec corrupted again! We don't know why. -
Urgent - MV not getting refreshed
I created a MV as under.
CREATE MATERIALIZED VIEW schema.abc_mv
TABLESPACE "aaa"
REFRESH FAST ON DEMAND START WITH sysdate+0 NEXT SYSDATE+5/1440
AS SELECT *
FROM abc@dblink;
Its not getting refreshed. Yesterday one record was inserted in the abc table but the MV was not refreshed. I tried refreshing the MV manually by running the below script but its still not working. PLEASE HELPPPP!
BEGIN
DBMS_MVIEW.REFRESH('abc_mv');
END;For urgent issues please log with metalink
-
Error when refreshing a workbook - urgent
Hi,
I have a workbook containing 2 queries. No modifications have been made to the queries and they used to run fine.
Recently when I refresh the workbook I get the following error in the SAP Error messagebox:
<b>The property Constant Selection is active for element 1..
The characteristic 0INFOPROV is, however selected in 1. and the propertie
Constant Selection and Display Non Accounted Values are
active in 0INFOPROV. This combination of settings cannot be processed
Message no. BRAIN084
The property 'Display Not Accounted Values' is not allowed here</b>
Note that no modifications have been done to the query. I have 2 variables for input, Fiscal year period and the Version (Plan, Q1, Q2 etc).
Any help would really be appreciated.
Thanks in advanceIn the key figure properties, there is a property called 'Constant selection'. Uncheck this box, resave and try again.
Regards, Frederick -
URGENT help needed:Address data missing after QA Refresh from PRD
All,
Address data for almost all user-ids are missing after QA Refresh from PRD.
In QA, after importing the User-Master although its shows successful. The detailed log shows:
Data inconsistency in USR21. Start RSADRCK2 (See Note 459763)
Exit program AFTER_IMP_ADDRESS3 successfully executed
SAP user has no address SAP*
Error while deleting ADRVP for SAP*
SAP user has no address SAPCPIC...
ERROR: Type "F" user exit with SYS_ERROR: SUSR_CLIENTCOPY_USERBUF_RESET
We also do a Table export - import wherein the tables
USR03
USR07
USR09
USR20
USR21
USR30
are included.
The no. of entries exported and imported are same.
Also FYI in the User-master Transport i can see the following Tables included in the object list
USR01
USR02
USR04
USR05
USR06
USR08
USR14
USR21S
USR22
USRACL
USREXTID
USREXTIDH
Has anyone seen this before?
Any body has any ideas?Hello Bidwan,
I think it is an issue with company address. Just check if company addresses are existing the source client ?After client copy company addreses of target client will only exist in source client. Then if you do impot of the transport containing USR* tables it will try to assign old company addresses to the users but probably they are not exisitng in target client any more.
If this is the case then you need to create those company addresses again using SUCOMP and then once again import the transport for user master.
Regards.
Ruchit. -
Urgent, how to refresh a form with a returned parameter?
Hi people,
I am working in web application using EJB and ADF.
In the main page I have a form and a "search" button.
The "search" button opens a popup window that displays the same form's data in a table with selection and submit. I want to choose a record from the table then submit, close the popup, back to the main page and refresh the form so the current record shows by the form is the record that I have choosen in the popup window.
I did the following:
Created named query "MyEntitySearch"
@NamedQuery(name = "MyEntity.Search",query="select o from myEntity o where o.id = :id"
I made some things so that if id == null -> return all records of the table
else return the selected record.
I dragged and dropped the same method in the main page and in the popup.
In the popup: the submit action listener takes the id of the selected row and close the popup.
public String commandButton1_action() {
System.out.println("retID");
JUCtrlValueBindingRef selectedRowData=(JUCtrlValueBindingRef)
this.getTable1().getSelectedRowData();//return the selected table from the interface
RowImpl row =(RowImpl)selectedRowData.getRow();//get the selected row myEntity selectedValue=(myEntity)row.getDataProvider();//from the entity bean
System.out.println("ID = "+selectedValue.getId());
AdfFacesContext.getCurrentInstance().returnFromDialog(selectedValue,null); //close the dialog window and send the value
return null;
In the main page backing been:
private Long ID=null;
//in the return action listener of the "search" button :
public void ret_action(ReturnEvent returnEvent) {
MyEntity myentity = (myEntity)returnEvent.getReturnValue();
//**return the selected row from the dialog window
ID=(Long)myentity.getId();
BindingContainer bindings = getBindings();
OperationBinding operationBinding =
bindings.getOperationBinding("queryMyEntitySearch");
operationBinding.getParamsMap().put("ID","id");
operationBinding.execute();
System.out.println(ID+"the returned value");
I made the form partial triggers with "search" button, immediate and autosubmitt.
After all of that, unfortunately the form doesn't change its current record to the selected id record.
The returned selected ID from the popup is returned correctly when I printed it. But no changes in the form.
Please to those who know or faced the same problem; I am waiting.
Regards.Hi,
if you need to access the return value of a method you need to ceate an attribute binding for its result set. Go to the pagedef file, create a new attribute binding and choose the method's result item. Then reference the attribute binding.attributename.inputValue
Frank -
Refreshing the jeditorpane with the same file name(URGENT)
Hi,
I'm having trouble getting the JEditorPane to refresh the contents of an HTML file after updating it. Currently the original version of the file is shown and despite using setPage() with the same filename again, nothing happens, and the displayed file remains the same.
I've tried removeAll(), validate() etc... but these have provided no results.
Is there anyway i can clear the contents of the memory or something in order to fetch the updated file again?
Any answers to this problem would be appreciatedJEditorPane specifically doesn't allow loading of the same file/URL twice. It's one of the first checks it makes when you set the page.
I think it'll work fine if you simply call setText("") on the editor pane to clear it down before calling setPage(..) with your file or URL. Even though the setText method doesn't load a file or anything it does create a new document which will not have the same URL as your original file so when you reload you file it will fail in the comparison and load it from scratch again.
Hope this works for you,
Drew -
can anybody please temme abt the refresh logic like how can we refresh the contents of a page with a java code . our case is like
there are 2 pages
main page contains a view and popup page will update some of the values of the view. when we click a update main page popup will appear and we need to update some values and after closing the popup page these values have to reflect on main page .Hi,
see example 81 of http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
Frank
Maybe you are looking for
-
How do I permanently delete a calendar in iCal 5? After clicking on the 'Calendars' button on the top left corner of the main iCal window, a list of all my calendars pops up from which I can toggle each calendar's visibility, but I can't find a way o
-
How to change the storage destination of Lob objects
Hi All I've an existing table with a Lob entry. I'd like to redirect all Lob segments in a precific tablespace. I'd like to do this without reconstruct the table. Is it possible ? Thanks in advance, A.G.
-
Editable Grid vs Custom Buttons
Hi all, I have a grid in edit mode (created with the standard function REUSE_ALV etc etc) and i have a custom User Interface with a button to add a line (just a simple append in my internal table displayed in the grid). All it's ok and works, but if
-
Unable to Merge call using nokia lumia 920
Hi, I am unable to merge call using Nokia lumia 920. I tried to restart the phone change the network still the same issue any suggestions to make this happen is much appriciated
-
Having experienced very slow connection speeds for some two weeks, (anything from 90kbs down to 1kbs), an engineer finally called three or four days ago and changed the line box and filter for the currect models. He found that the error rates were "a