How syncronize with the data base after pre-loading the data
Hi,
I have pre-loaded the data from the database table into the cache.
If the key is not found in the cache i want to it to connect to database and get the value from the table. How to achieve this?
Hi JK,
I have pasted my cache loader code, config file and the main class in the other post but i m not sure what is the issue with it. Its not working. Please can you tell me what might be the issue with that piece of code. I m not getting any exception either but the load() or loadAll() method is not at all getting triggered on invoking cache.get() or cache.getAll() method. What might be the cause for this issue?
Can you give me the coherence-cache-config.xml contents?
I m not sure whether its the issue with the config file because i have read some where that refreshaheadfactor is required to trigger the loadAll() method.
Edited by: 943300 on Jul 4, 2012 9:57 AM
Similar Messages
-
How do I restore Firefox base after I reinstalled Windows , but I have my system and program old folders safe. ( exact Firefox Application and Program Files folders etc)?
== This happened ==
Every time Firefox opened
== I reinstalled WindowsWhat I mean is I have saved passwords and some website adresses in my Firefox that was on deleted windows ( but I saved the file system so it works from there using another computer) but all I need is passes and saved links . just the complete copy of my old setups and such . is that possible?
-
Cannot syncronize with the Outlook
Treo 750 Unlocked GSMConnecting to a PC through USB sync cable
Message:Cannot syncronize with the Outlook profile you are using, because a different profile was previously set up or the profile is password protected
Please open outlook using the apropriate profile
Suport code 8503001f
Post relates to: Treo 750 (Cingular)
Post relates to: Treo 750 (Cingular)
This question was solved.
View Solution.We'll start simple to see if it works. Lets try deleting the partnerships on both the PC and Device.
To do this on the PC, open Activesync. In Activesync click "File" then "Delete Mobile Device". A prompt should come up and agree to it.
On the mobile device to to Start > Programs > Activesync > Menu > Options > Delete. Again, a prompt will come up and agree to it. Try syncing again and see what happens.
I hope this helps and let me know how it goes
Post relates to: Treo 800w (Sprint) -
How many with the wifi (greyed) problem
Hallo users,
Since I have updated my iphone 3g 16 Gb to the ios 4.2.1 I experienced the well known problem of the WiFi button greyed out
http://support.apple.com/kb/ts1559
In details after (almost two weeks) I have updated the operating system i cannot find any longer the WiFi networks around me and then the grey message no Wifi networks appeared in the settings folder. The Wifi address is no longer present (N/A is the field indication) and the battery duration decreases faster than before this problem occurred.
I have tried all of the suggested solutions:
- Reset the network settings
- Reset the device
- Restore the software
- Restore as a new phone
- Restore froma back up
- Recovery mode then restore
- Downgrade to the IOS 3.1.3
Then i called the Apple Store clsed to my place and the "supervisor" fixed me an appoinment in the Genius Bar where I had to check with the employee if the problem was software-based or hardware-based.
In the Genius bar, the Genius Employee just discussed with me about the several problem an iphone can have without checking at all the device with some diagnostic device as I expected. He just sentenced: "It is an hardware problem".
Since the warranty is expired I was asked to pay 150 euro for a new (refurbished) device 90 days warrantied, same type, same model.
My questione were: How long will last the device that you are proposing? Do you expect I pay once more 150 euro after 90 days if this problem occurr once more?
No answer.
I left the Genius bar and the Genius without paying anything and with my decive.
Now I'm asking myself and you:
- Since this problem is well known by Apple, why there is no adeguate support?
- This problem is caused by the IOS change. Why should I pay for a fault of the IOS developers?
- I was told: You have been unlucky. Sorry..
HOW MANY UNLUCKY PEOPLE EXPERIENCED THE SAME PROBLEMS WITH IPHONE 3G, 3GS,4, 4S, IPAD?
APPLE CANNOT IGNORE US!!Thanks, this has been driving me crazy on both my MacBook and iPhone. It was dropping my wifi every few seconds! Changed the Authentication Type to WPA2-PSK (AES) and wow! It's been at least 2 entire minutes without dropping!
-
How to call a javascript method after table load on JSFF Fragment load?
Hello,
The usecase is to invoke a javascript method after table is done loading (fetching data) when user lands to a JSFF fragment. With JSPX pages I can achieve that by using PagePhaseListener. I have tried with RegionController as follows, and the problem i face is that I cannot prevent multiple calls to the Javascript call when user presses a tab or button in a screen, or changes drop-down value with autosubmit on.
import javax.faces.context.FacesContext;
import oracle.adf.model.RegionBinding;
import oracle.adf.model.RegionContext;
import oracle.adf.model.RegionController;
import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
import org.apache.myfaces.trinidad.util.Service;
public class MyListener implements RegionController{
public MyListener() {
super();
@Override
public boolean refreshRegion(RegionContext regionContext) {
int refreshFlag = regionContext.getRefreshFlag();
System.out.println("Render flag is: "+refreshFlag);
if (refreshFlag == RegionBinding.PREPARE_MODEL)
initializeMethod();
regionContext.getRegionBinding().refresh(refreshFlag);
return false;
public boolean validateRegion(RegionContext regionContext) {
regionContext.getRegionBinding().validate();
return false;
public boolean isRegionViewable(RegionContext regionContext) {
return regionContext.getRegionBinding().isViewable();
public void initializeMethod() {
FacesContext f = FacesContext.getCurrentInstance();
ExtendedRenderKitService service = Service.getRenderKitService(f, ExtendedRenderKitService.class);
service.addScript(f, "myJSFunction();");
@Override
public String getName() {
return null;
I need the javascript to be called only once after the table is done loading when user lands to a fragment (jsff).
Any ideas appreciated?
JDeveloper version is 11.1.1.5.0
Thank you.
Valon
Edited by: Valon on Apr 11, 2013 3:10 PMOne of the requirements is to compare every row with the next row and highlight the changes. There are other requirements as well where JavaScript solution is used.
The question remains the same. Is it doable or not without changing the solution from JavaScript solution to server-side solution ? Can we call a JavaScript only once when the user lands to a jsff fragment ?
Hope that is clear.
Thanks.
Valon -
Lag after pre-loader hits 60% and before movie starts playing.
Hi all,
I’m hoping somebody can shed some light on an issue
that I’m experiencing with a Captivate project I’m
working on. I’ll try to explain this in detail so you
understand the background and scope of this project. These are
being exported as HTML/SWF and being viewed within IE6.
I’ve been tasked with taking a new employee training
course that is currently handled by a live person standing in front
of a room of people and showing them an 18 minute VHS tape and also
covering information that is presented on a PowerPoint file, and
making it into a Captivate movie.
I was able to get the original digital video cut into 4
chunks and converted to SWF by media group that produced the tape.
The four SWF files are 320x240 and range from 13 to 22 megs.
Because of the size of the files and the amount of content, I
created 8 ‘modules’ that make up the larger project.
The last slide of the first module launches the 2nd module, etc.
until the user has seen all of the modules which on their side
(other than a brief pre-loader popping up at times) is mostly
transparent and they think they are just watching a 30 minute
training course.
Basically, what I’ve done is laid out the modules so
that the whole course alternates back and forth between text slides
with voice-overs and the movie clips. The movie clip SWF’s
have been embedded into every other module, so:
Module 1: Intro to the course (text & voice-overs)
Module 2: Video clip 1
Module 3: Discussion about stuff (text & voice-overs)
Module 4: Video clip 2
Module 5: Discussion about stuff (text & voice-overs)
Module 6: Video clip 3
Module 7: Discussion about stuff (text & voice-overs)
Module 8: Video clip 4 and wrap-up
Now here is the problem:
We have 20+ offices and I am located at the main office where
the web servers are located. If I run through this, everything
works great. I tested this in one of our off-site locations today
where they have a semi-fast connection, but still going across a
WAN.
Module 1 loads fine. Hits 60%, plays, user can click Next,
Next, Next to proceed through the training. At the end of Module 1,
we prompt them with some text to let them know there may be a brief
delay before they see the upcoming video clip. Click Next, loads
Module2.swf which has the videoclip1.swf embedded in it (21 megs).
Takes a little while to load which is expected. Hits 60%.
Preloader goes away and then just white screen for at least 10
seconds (sometimes 20-30 seconds, depending on the size of the
embedded movie clip) before the movie actually starts playing.
This is not acceptable as the user will think that something is
broken. If the movie is not completely loaded, then it
shouldn’t have hit 60% and the preloader graphic disappear,
right?
I think that the problem revolves around the movie clip not
being able to play until it is fully loaded, although the Module
has loaded the 60% that it needs to begin playing. The only way
around this that I see is re-arrange my slides so that the video
clip is not the first slide to play in any given module.
We tried this on at least 7 computers, all of which were just
rolled out new last fall, so the machines are definitely beefy
enough to handle this.
Any ideas?
Thanks,
Mikequote:
Originally posted by:
CatBandit
I just read your title, Mike (I don't have time for the whole
article - sorry), but felt it might help to point out that 60% is
40% less than 100%.
Nope, I am not being a wise guy, but I know it's possible to
have so much "weight" in the content of the last 40% that
additional delay might be required while a (early) required element
or object completes down-streaming. Just a thought...
Hi Larry,
Good to see you back on the forums and thanks for the reply.
What you posted further proves my point. From what I've been taught
about Captivate, it loads to 60% and begins to play while the
remaining 40% loads. Not loads to 60% and then some portion of the
remaining 40% may or may not have to load before it starts. If
that's the case, why not just load 100% before it starts and then
have no problems?
It shouldn't matter how large the file is, right? The only
difference is that larger files would take longer to reach the 60%
mark. 60% is 60% is 60%. Compare a feather to a car. 60% of the
weight of each item is still 60%, it doesn't matter how much it
weighs.
60% of a cubic foot of rock is the same percentage
as 60% of a cubic foot of marshmallows.
Anyway, I think the solution here is to fudge the problem by
putting a few 'less weighty' slides in front of the slide with the
embedded video so that the user has something to look at other than
a blank screen. I was just hoping somebody else might have
experience this and had a magic button I could press to make it all
better.
I could handle this if the preloader continued running so the
user had some clue that it was still working, but when the
preloader hits 60% and disappears and then nothing happens for
another 10-20 seconds, that's a problem. -
How can I choose ringtones instead of pre-loaded sounds for alarms
I have a bunch of questions. First, how can I choose ringtones (my last phone had a category called "tones") and other purchased sounds instead of the pre-loaded sounds for my alarms, text message alerts, etc.? Thanks.
Apple no longer sells ringtones... Besides you never needed to buy them because they're easy to make! All you need is DRM free music (burned from cd, iTunes +). Read this link for instructions:
http://www.ehow.com/how2160460custom-iphone-ringtones-free.html -
Can I buy MuVo TX FM with Firmware 1.18.02 pre-load
I bought the MuVo TX FM 52 MB model last year and loved it: I upgraded the firmware to Version .5 with no problems. I gave it to my dad as a gift (and he loves it), and now I want another one, this time the GB model.
Is there any way I could just buy the player with the correct Firmware already loaded on it's I'm going to wait until after Christmas, when hopefully I can get the red GB model for under/around $00.lexluthor wrote:
where'd you get .8.02?
I go to the TX FM firmware page and there's nothing at all listed there now.
It's back there now.
PB -
How to with the check box in Suppliers - Contact Directory
EBS R 12.
I am in need of finding a solution for the following:
Payables Manager -> Suppliers -> Inquiry -> Select a supplier -> Go to "Contact Directory" -> Select a contact
Under User Account section there is a check box.
When I check the check box, the following action should happen:
1. The "Username" field must contain the value of the "Email".
2. Under "Responsibilities" "Sourcing Supplier" must be checked.
I don't know where to put my hands to solve this problem.
All helps will be appreciated. Thanks.Hi
SPRO - SAP IMG- Material management - Inventory management and physical inventory - Goods receipt - create purchase order automatically - activate auto Po creation for movement type.
Then activate the auto PO creation in Vendor master - Purchasing view
Check it out.
Regards,
raman -
How long with the transaction wait.
if i call a program as a background job in a transaction and if the submit program takes long time to come back. will the main transaction wait for the return or will the transaction give time out error.
Regards,
Arunayeah sure,
Actually i have a screen on which there is activate button which will go to a function module which takes the document number and creates the condition records for this document number and return the error messasges into an internal table which i have to write to the log .
This function module is taking so much time in the real time system so i want to make this process as background job.
on creation of the background job i need change the status of the screen from where i called the background job and display a message on the screen saying 'Prices activated'. Could u pls suggest something for this.
Regards,
Aruna -
How come with the new itunes, I cannot see the entire screen in itunes store?
Now in itunes store, the bottom goes into my bottom windows bar. The View - Options does nothing in Itunes store.
Minmize does not helpAs far as I know it should work like it always has. Can you see the sidebar in iTunes? If not, go to View>Show Sidebar from the iTunes menu, then click on your iPad on the left sidebar, then click on the Movies tab in the window on the right.
-
How to have jtextfield focus enabled after window loading
Hi
Can I know how a JTextField can have cursor in it after the window it consists is loaded?
Tried using the requestFocus(), but it did not work even after
isFocusable() returned true.
Could I get a whole piece of working code if possible, to see what interfaces my class should implement and what methods have to be overridden.
More:
I have a JTextArea(not editable) , JTextField and a JButton in the frame.
Thanks
Reddyhi try this code
import javax.swing.*;
public class exam1 extends JFrame
public exam1()
setSize(450,500);
JTextField tx1= new JTextField(15);
tx1.requestFocus();
JPanel pnl= new JPanel();
pnl.add(tx1);
getContentPane().add(pnl);
public static void main(String arg[])
exam1 ex = new exam1();
ex.setVisible(true);
//ex.show();
}Cheers
jofin -
Hi,
I had to change my PC because it stopped working suddenly. I had no time to recover iTunes. On my iPad, it is recorded the name of my old PC as syncronisation machine so it refuses to syncronize with the iTunes I installed on my new PC (windows 8).
Is there anyone who can help me?
Many thanks.Start here:
http://support.apple.com/kb/HT4527 -
how can i purchase Apple care after pre-ordering Iphone 6 plus?
Hello jokjoklang,
AppleCare+ can be purchased within 60 days of the purchase of your iPhone.
Purchase AppleCare+ with your new iPhone. Or buy it within 60 days of your iPhone purchase:
At an Apple Retail Store (inspection of iPhone and proof of purchase are required)
OR call (800) 275-2273 (requires you to run a remote diagnostic and provide proof of purchase)
See AppleCare+ Terms and Conditions for complete product details.
AppleCare+ for iPhone
https://www.apple.com/support/products/iphone.html
Cheers,
Allen -
HT1848 How do you transfer your purchases with the new iTunes format?
I'm trying to update my iPod but it keeps saying I have to transfer my purchases. But I don't know how to with the new iTunes format...
On iTunes 11 you can do it via File > Devices > Transfer Purchases, or I've changed the view on mine so that the old sidebar shows via View > Show Sidebar and I can then control-click the device (right-click if you are on windows) and select Transfer Purchases from the popup
Maybe you are looking for
-
How can i get an audible account
I downloaded an audible book from amazon and want to transfer it to my itunes library but it is asking me for my 'audible username and password'. I then type in my itunes username and password and it says invalid username or password. What do I need
-
Accessing ECC system via portal
Hello, We are in the process of implementing netweaver 2004s components for one of our client. In the landscape we have ECC6.0, BI 7.0 and XI 7.0. We are planning to use Enterprise Portal for the SSO activation. Presently the client is having wind
-
Mac G5 dual 2.7 4 GB RAM Nvidia Gforce 68000 Motion 2 Okay, I just want to export my motion project back to FCP. So, I set my playback range, then go to export, and the application unexpectedly quits. I'm just trying to export about five clips, each
-
I have an older iMac, OS 10.2.8. I will soon get a new laptop, but in the meantime, I'm having trouble in that it intermittently does not save my changes. I have given the save command, and it closes without asking if I want to save changes, but when
-
Hi Anybody have a fix for this bug....the new version of itunes is soooooo frustrating. When trying to select specific movies for sync to ipone the window that should list all the movies available in the itnues lib disappears and i can only "see" a l