Toplink Cache Sync problem

Hello All,
I have configured RCM like this in my code, we are using JBoss 4.0.5
public void configureRemoteCommandManager(String hostname,
int portNumber,
String connectionFactoryName,
String schemaName,
Server session) {
     //define the Command Manager
     RemoteCommandManager commandMgr = new RemoteCommandManager((CommandProcessor)session);
     //set local host URL. In JMS, the local host URL is optional and is used by logging
     //to trace the message sender for debugging purposes
     String localHostName = "";
          try {
               localHostName = InetAddress.getLocalHost().getHostName().toLowerCase();
          } catch (UnknownHostException e) {
               e.printStackTrace();
     commandMgr.setUrl("jnp://" + localHostName + ":" + portNumber);
     //define the JMS transport
     JMSTopicTransportManager transportMgr = new JMSTopicTransportManager(commandMgr);
     transportMgr.setTopicHostUrl("jnp://" + hostname + ":" + portNumber);
     //transportMgr.setTopicConnectionFactoryName("jms/TopLinkTopicConnectionFactory");
     transportMgr.setTopicConnectionFactoryName(connectionFactoryName);
     transportMgr.setTopicName( "topic/testTopic");
     transportMgr.setUserName("user");
     transportMgr.setPassword("pass");
          //Initial context factory name is default to
     transportMgr.setInitialContextFactoryName("org.jnp.interfaces.NamingContextFactory");
     //hook up the components
     commandMgr.setTransportManager(transportMgr);
     session.setCommandManager(commandMgr);
     //turn on distributed cache synchronization with RCM
     session.setShouldPropagateChanges(true);
     //Start joining the cluster
     if(session.isConnected ()) {
          session.getCommandManager().initialize();
          logger.info("RemoteCommandManager initialized");
     } else {
          session.login();
          logger.info("RemoteCommandManager login successful");
This code doesn't throw any exception, but when I am running Toplink in Cluster, objects are not getting refreshed.
I am seeing following in my log.
2007.11.13 15:41:10.768--ServerSession(32434103)--Thread[Thread-86,5,jboss]--received_updates_from_remote_server
2007.11.13 15:41:10.784--ServerSession(32434103)--Thread[Thread-87,5,jboss]--received_updates_from_remote_server
2007.11.13 15:41:11.128--ServerSession(32434103)--Thread[Thread-88,5,jboss]--received_updates_from_remote_server
2007.11.13 15:41:11.143--ServerSession(32434103)--Thread[Thread-89,5,jboss]--received_updates_from_remote_server
2007.11.13 15:41:11.346--ServerSession(32434103)--Thread[Thread-90,5,jboss]--received_updates_from_remote_server
2007.11.13 15:41:11.362--ServerSession(32434103)--Thread[Thread-91,5,jboss]--received_updates_from_remote_server
Looks like updates are coming from remote box, then why objects are not getting refreshed even though they are in memory.
Any input is really valuable.
Thanks
Vik

From the log it seems that the events are getting processed. What type of cache coordination are you using in your descriptors (cacheSynchronizationType)? If you have configured them to use invalidation, the objects will not be refreshed until the next time they are accessed (read). If you are using change sets then they should get updated in the cache.
You can check the contents of the change set that is broadcast using the Session event preDistributedMergeUnitOfWorkChangeSet.

Similar Messages

  • Toplink Cache sync using JMS

    Hi,
    I am using toplink cache synchronization using Orion JMS. While starting the application I get the following erorr message.
    Oracle apps server version is 10.1.2.0.0 toplink 9.0.4.5
    Local Exception Stack:
    Exception [TOPLINK-15016] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.SynchronizationException
    Exception Description: Could not gain access to SynchronizationService class
    Internal Exception: Exception [TOPLINK-15013] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.SynchronizationException
    Exception Description: Could not find JMS Service Topic named: jms/MyCacheSyncTopic
    Internal Exception: javax.naming.NameNotFoundException: jms/MyTopicFactory not found
    at oracle.toplink.exceptions.SynchronizationException.errorGettingSyncService(SynchronizationException.java:139)
    at oracle.toplink.remote.CacheSynchronizationManager.initialize(CacheSynchronizationManager.java:114)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:534)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:250)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:181)
    at com.starkey.cqm.dao.PersistenceService.initializeService(PersistenceService.java:67)
    at com.starkey.cqm.bcs.CQMServiceManager.createService(CQMServiceManager.java:68)
    at com.starkey.cqm.web.util.CQMInitServlet.init(CQMInitServlet.java:40)
    I have made the modifications in sessions.xml as follows
              <cache-synchronization-manager>
                   <clustering-service>oracle.toplink.remote.jms.JMSClusteringService</clustering-service>
                   <jms-topic-connection-factory-name>jms/MyTopicFactory</jms-topic-connection-factory-name>
                   <jms-topic-name>jms/MyCacheSyncTopic</jms-topic-name>     
              </cache-synchronization-manager>
    Changes in JMS xml
    <topic name="MyCacheSyncTopic" location="jms/MyCacheSyncTopic"/>
    <topic-connection-factory
              host="cqtest1"
              port="3702"
              name="Cache Sync Topic Factory"
              location="jms/MyTopicFactory" />
    Has any one encountered this before ?
    Thanks
    Priya

    Hi Steve,
    Servers 1 and 2 may have dropped the connections to 3. One way that this can happen is if at some point an object delta is sent to a target server that does not have the object deployed, or on its classpath. Make sure that log-debug is turned on for the TopLink session. You should see warnings on servers 1 and 2 about the connections being dropped to 3.
    If none of this seems to help or if you can't find the answers from the debug traces then the logs of the three servers would help support in determining where the problem occurred.
    -Mike

  • JMS Cache Sync Problems

    All,
    We're running into some strange problems synchronizing Toplink caches via JMS.
    In our environment, we have two different applications running under the same app server - different code in general, but they use the same Toplink mapping and mapped classes. Each of these connects to the database independently of the other using Toplink. We've configured sessions.xml to keep the caches between the two synchronized.
    Now when an object is updated on one side or the other, the message gets sent out across JMS. However, when both applications read the message back in, we get strange errors like this one:
    ServerSession(1204462)--Thread[PointcastTopicConnection,5,main]--EXCEPTION [TOPLINK-10000] (TopLink - 9.0.3.5 (Build 436)): oracle.toplink.exceptions.JMSProcessingException
    EXCEPTION DESCRIPTION: (There is no English translation for this exception.)
    INTERNAL EXCEPTION: javax.jms.MessageFormatException: Unable to deserialize object: java.lang.ClassCastException: Assigning instance of class oracle.toplink.internal.sessions.ObjectChangeSet to field oracle.toplink.internal.sessions.ObjectReferenceChangeRecord#newValue
    Has anyone seen something like this before? We're using Toplink 9.0.3.5 with OC4J 9.0.2.2 (build 021224.1834).
    (Apologies if this isn't Toplink-related. It's hard to tell if this is the App Server or Toplink failing here)
    Thanks
    - Don

    I found this on http://download.oracle.com/docs/cd/B10464_05/web.904/b10313/cache.htm
    Note:
    When you select JMS as the transport mechanism in the clustering-service element, OracleAS TopLink ignores the discovery setting.
    Does ignoring the discovery setting mean that it is not used?
    Thanks.

  • Toplink cache coordination problem with opmn lookup

    Dear all,
    We encounter some problems when we use opmn url and jms to realize the toplink cache coordination.
    Scenario:
    1. Using oracle application server 10g, create three processes(jvm) on one oc4j instance
    2. Using oc4j in memory jms server for cache coordination
    3. Using opmn url to lookup jms topic connection factory and connection, opmn url: opmn:ormi://shasudv4:6004:OC4J_TTS/tts
    When we start oc4j instance, we find the log, all the toplink cache coordination properites has been set to toplink framework, and remote command manager has been initialized successfully. All in memory jms server has also been started successfully, there are three listeners on the topic.
    But, when we test the synchronization, the data can't be synchronized between all the processes, two of them is ok, the rest of them has some problem to coordinate with the other two. There are no exceptions, we have set the level of toplink log to 'all'.
    I have checked the thread dump, I find that "HTTPThreadGroup", "RMICallHandler" and "JMSRequestHandler" threads are involved in cache synchronization.
    So, we are obliged to change the opmn url to ormi url, so we can only set a bound for rmi ports of processes, because the ormi port is dynamicly assigned.
    &lt;port id="rmi" range="12405-12407" /&gt;
    This seems ok, and involved thread are: "RMICallHander" and "JMSRequestHandler". But we also concern that we have restricted the port bound of ormi port of every instance.
    Thanks of any advice.

    I raised a TAR with Oracle. The short answer is that you can't do cache coordination either with ADF business objects, or with Toplink Essentials (as opposed to Oracle Toplink, which doesn't yet support JPA).

  • Toplink Cache sync Exception

    Hi,
    I am using two applications in two App servers A and B using App server JMS for
    cache synchronization.
    I have the JMS topic set up in App server A. Both the applications use this
    Topic for cache synchronization.
    Cache synchronization works fine for sometime and then we get the following
    exception
    2006-07-17 07:08:34,020 FATAL [Thread-12203]
    com.starkey.cqm.dao.PersistenceService(103) TOPLINK CACHE SYNCHRONIZATION
    ERROR - Distributed caches may be out of synch!
    Local Exception Stack:
    Exception [TOPLINK-0] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
    oracle.toplink.exceptions.CommunicationExceptionException Description: javax.jms.JMSException: javax.jms.JMSException:
    storeMessage(ID:Oc4jJMS.Message.clipper.starkey.com.df1832:10c77c581c3:-8000.606
    0,null)
    at com.evermind.server.jms.JMSUtils.makeJMSException(JMSUtils.java:1843)
    at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1859)
    at com.evermind.server.jms.ServerStore.storeMessage(ServerStore.java:757)
    at com.evermind.server.jms.ServerStore.enq(ServerStore.java:157)
    at com.evermind.server.jms.ServerTopic.enq(ServerTopic.java:464)
    at com.evermind.server.jms.ServerTopic.enq(ServerTopic.java:97)
    at com.evermind.server.jms.JMSProvider.enqMessage(JMSProvider.java:574)
    at
    com.evermind.server.jms.JMSRequestHandler.handleVoidCmd(JMSRequestHandler.java:4
    85)
    at
    com.evermind.server.jms.JMSRequestHandler.doOneCommand(JMSRequestHandler.java:35
    9)
    at com.evermind.server.jms.JMSRequestHandler.run(JMSRequestHandler.java:151)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResour
    cePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    at
    oracle.toplink.remote.jms.JMSConnection.processCommand(JMSConnection.java:54)
    at
    oracle.toplink.internal.remote.ChangeSetPropagator$1.run(ChangeSetPropagator.jav
    a:64)
    Has any one got this excxeption before ?
    Thanks
    Priya

    Include this information with your support requestof Cache communication Error.
    Doug

  • Toplink Cache Sync messages

    I am using Toplink's Remote command module for distributed Cache Syncronization, everything is working OK,
    What I found is that JMS is persisting all the messages in the hypersonic database, which is slowing down the system. My requirement is that I want to use NON_PERSISTENT messages,
    Can somebody guide me how can I specify that the DeliveryMode to NON_PERSISTENT, so that It will not persist any messages.

    I can't help you with the specifics of configuring your JMS provider but i can confirm that speed of delivery is more important then guaranteed delivery. Persisting the messages, which are only intended to minimize stale entities in the cache and thus additional database traffic, is not beneficial.
    Doug

  • How do I sync Toplink Cache with my Database?

    Hey guys,
    We are running macro's through an excel sheet that connects to the database and performs Updates and Inserts.
    Since this database update is NOT taking place through TopLink (in a Unit of Work) - we do not see the database changes through the web app on the front end unless we bounce our webserver. Presumably the Toplink cache is re-built on start up...so then we can see the changes.
    My question is, what can I do to make sure the TopLink cache is aware of the database changes we have made through the macro without having to bounce the server? Is there a re-fresh or sync command that can be run?
    This task is sort of a one time thing, so I don't want a solution that involves the cache going to sync itself on a schedule or anything like that. Maybe bouncing is the best solution?
    Thoughts?
    We are using Toplink 9.0.4
    Thanks.

    Hello,
    Because it is a one time thing, if you can make sure no other TopLink process are going on, you can probably get away with initializeAllIdentityMaps() or the intitializeIdentityMap(Class) methods on the session. These will clear the identity maps, having the obvious draw back of removing all object identity which will cause problems with running processes though. It might be better than bouncing the server - it depends on the application. Logging out of the session and logging back in has the same effect of clearing the cache, but with a bit more overhead. Benifit is that running processes will get errors if they continue to use the session, rather than strange behaviior if they continue to use objects after identity is lost.
    Another alternative is to run refresh queries on the data you know might be in the cache or that might have been affected. Drawbacks are that this brings them into the cache if they are not already there.
    TopLink 9.0.4 is a quire a few versions back, and in newer versions there is cache invalidation. An object marked as invalid is not removed, so object identity is maintained, but on the next query the data will be refreshed - ensuring subsequent queries will get results from the database without having to be told explicietly to refresh or being set to always refresh. Invalidation can be triggered on particular objects, classes or the entire cache or different policies can be set to set a time to live etc.
    Except for bouncing the server or logging out of the session, all of the above leave some possibility that a concurrent user will still have a reference to stale data and continue to use it after the process has run on the database. So I hope you use optimistic locking and that your batch process updates the version to avoid other process from overwriting with stale data.
    Best Regards,
    Chris

  • TopLink Cache Out of Sync

    I have a situation where the application needs to handle inserts and updates, and deletes are handled by an oracle stored procedure on the database. My problem is after issuing any inserts/updates, then doing a delete of a record, it seems like that record is still in the toplink cache because trying to re-insert that deleted record fails until I restart the app server, then it works fine (until it's deleted again). Is there some way after calling the stored procedure to delete a record, to get the object in toplink updated correctly?
    I've tried a few different things including
    getUnitOfWork().unregisterObject(object);
    and
    getSession().getIdentityMapAccessor().invalidateObject(getObject(object));
    with no luck. Any suggestions?
    Nick

    You can set check existence to be check database instead of check cache.
    http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/uowadv001.htm#CACFHAAJ

  • Toplink Cache problem

    I am using JDev of following version "Studio Edition Version 10.1.3.1.0.3984
    Build JDEVADF_10.1.3.0_NT_061009.1404.3984".
    I had an application with JSF and Toplink and am facing issues with toplink cache mechanism while TESTING IN JDEV . Following is the scenario.
    1) When clicking on a link, say 'Get status' , i am querying data from database and displaying in JSF.
    2) Later, i am updating particular record.
    3) when i click on the link again (Get status), updated data is not gettng reflected.
    Here is the code to get data and i am calling this method whenever i am clicking on 'Get status' link.
    public Vector getMaintenanceStatusList(){
    Vector lockersStatus = null;
    try {
    Session sess = ToplinkDBUtils.getTopLinkSession();
    sess.validateCache();
    ReadAllQuery query = new ReadAllQuery();
    query.dontCheckCache();
    query.dontMaintainCache();
    query.setReferenceClass(LockerMaintenanceStatus.class);
    query.useDistinct();
    lockersStatus = sess.readAllObjects(LockerMaintenanceStatus.class);
    } catch (DatabaseException e) {
    e.printStackTrace();
    //******** Printing the updated value.
    for (Iterator i = lockersStatus.iterator();i.hasNext();){
    LockerMaintenanceStatus tmp = (LockerMaintenanceStatus)i.next();
    System.out.println("Status value :: "+tmp.getStatus());
    return lockersStatus;
    Here, i am getting old status value for second time though i have updated the database with new status. (scenario if i work in same browser with same toplink session)
    i am getting updated values only when i restart the JDEV oc4j.
    Please let me know how i can solve the problem.
    Thanks!
    Veeraswami K

    Veeraswami,
    In your code you are constructing a query but are not executing it. Instead you are simply calling session.readAllObjects. The result of this call will be the cached versions (based on default cache config).
    I would recommend doing:
    ReadAllQuery query = new ReadAllQuery(LockerMaintenanceStatus.class);
    query.refreshIdentityMapResult();
    lockersStatus = (Vector) sess.executeQuery(query);The other settings you had used would bypass the cache and not result in its results being refreshed.
    Doug

  • Toplink cache and clustering and load balancer

    Hi All:
    I have an application deployed on AIX platform. This is developed using struts, toplink and session ejbs.
    Oracle 10g is installed on two AIX machines and these are in cluster. My j2ee application is deployed on oracle 10g app server.
    I will be having loadbalancer in the front of this cluster. Even now with out loadbalancer , with oracle app server clustering I am observing the request sharing between two servers.
    My problem is that as I am using the toplink and it uses the cache, what will be the impact on my application on below scenerios.
    1. user A connects to machine 1 and reads object using toplink. At the same time user B connects to machine 2 and also reads the same object. User A will update the same object and commit it. User B will use this object and will put this as a child of some parent object and commit the parent.
    I mean to say that due to different two machines, cache will not be in sync and this may cause a major problem.
    Please provide your input to this.
    Thanks,
    Viral

    Viral,
    This is what ORM and more specifically TopLink help you solve.
    What you need to do is configure TopLink to use your appropriate locking mechanisms. I recommend optimistic but in some cases pessimistic locking is appropriate too.
    Optimistic locking will detect if the second machine attempts to modify an object that has already changed on the database. There is also support to force the UnitOfWork to verify that the optimistic locking field(s) have not changed when using the concurrent object in another relationship.
    UnitOfWork.forceUpdateToVersionField(Object, boolean)
    http://download-west.oracle.com/docs/cd/B14099_04/web.1012/b10491/oracle/toplink/sessions/UnitOfWork.html#forceUpdateToVersionField(java.lang.Object,%20boolean)
    This method will allow you to detect if the instance you are about to use has been modified by another transaction with or without updating its version field.
    Cache sync (coordination) is intended to minimize stale cache conditions but locking is the only way to guarantee it is handled at the database level.
    Doug

  • Timing of cache sync initialization

    hi all,
    i'm running into a timing issue related to
    the notification mechanism for cache sync.
    background: toplink managed cmp2.0 beans
    on wls701 in a 2 node homogeneous cluster.
    the problem that we are having is that it
    appears that the session announcement is
    time dependent. what i mean is that when
    i deploy the app to the cluster sometimes
    the caches sync and other times not. what
    i've discovered is that there is an
    announcement delay and if this is exceeded
    then the sessions will never discover
    one another. could someone please shed
    some light on this, i need to have a
    resolution.
    tia,
    sean mcdaniel

    hi james,
    i believe it is rmi. there is a webgain
    subcontext in jndi and i haven't specified
    a cache sync manager in the wdi-ejb.xml.
    i looked at the code and it appears that
    there is a 60sec announcement delay and
    after i don't see any discovery polling.
    i would have thought that there is an
    notification when the 2nd session is
    initialized, ie it would signal to the
    running session that it is available
    for changeset notifications. i will
    try restarting 1 of the servers to see
    if i can get them to sync. right now
    when i restart both servers they don't
    sync. i have to redeploy the app to
    the cluster so the timing is within
    the 60sec threshold inorder to get
    the update notification. another
    thing inorder to determine that they
    are synched i must commit an update
    in one server and see the "recieved
    updates from remote server". there
    isn't a message that the servers
    discovered one another.
    i'll post results soon.
    thanks,
    sean

  • Sync Problem with iPod Touch and Apple TV relating to iPhoto

    I have recently recovered from a crash and has to restore everything from my time machine.
    I have an iPod touch that syncs with my itunes and therefore with my iPhoto.
    Same thing with my Apple TV syncing via itunes with my iPhoto.
    After the restore. I have this message:" itunes cannot sync photos to the Apple TV because of a problem on your computer. You do not have enough access privileges for this operation.
    Previously I got the same message when syncing iPod touch with iPhoto. Then I opened iPhoto package content and remove the iPod Photo cache. that solves my iPod touch sync problem.
    How can I sync with Apple TV again?

    I believe you need to reset the Sync services data. Assuming your data on the Mac is correct (or correctable), try this:
    1. If it is easy enough to do, clean up iCal. There are AppleScripts and other tools on the Internet to do this.
    2. Save a copy of you calendar. Just in case. (File, Back up iCal...)
    3. Exit iCal.
    4. Start iSync.
    5. Preferences, Reset Sync History. (If it is greyed out, wait a few minutes.)
    6. Quit iSync.
    7. Start iTunes and plug in your iPod.
    8. Select your iPod and go to the Info tab.
    9. Make sure you have the correct Calendars selected. At the bottom, under Advanced, under Replace information on this iPod, select Calendars.
    10. Sync.
    That should do it.
    Normally, the fiddling with iSync should clear things up, so you can try just that, and syncing, but since your have a messed up situation, I'd go through all these steps once.
    -fred

  • Urgent, Please Help - Toplink & ADF Memory Problem

    Hi all,
    We are using ADF Rich Client, Toplink11g, Oc4j11g. EJB tier is implementing with SessionBeans using Toplink with Database operations. And BackedBeans for serverside.
    Users search records and then update them or create record. For examples user enters cardno in first page and in second page access the user informations. And updates info. Then goes back to first page.
    Maybe while going back to first page some toplink objects still referenced with another objects.
    i am calling a toplink finder method it returns 10-20 rows and showing on a table these records using method iterator. Users select a row and continue with selected row. At the other page the user modify the data and turn back the search page.
    I took heap memory dump of server and i saw that 10 objects in memory.In every search and going edit page this count is increasing. In addition i saw cached objects in memory. There is no problem my toplink cache configuration. But i am not using caching with the other object.
    I am just calling finder method in a backed bean,without using table and method iterator there is no object in memory.
    Is the problem beacuse of adf pgae life cycle?
    I am really in trouble.
    Thanks to all.
    gokmeni

    Go to Menu>Tools>File Manager>Options>Memory details, this will give you a run-down of how much phone memory is free and how much is used, then a breakdown of where the memory is being used. Your phone memory is about 140Mb in total (don't confuse this with the 8Gb - that's just "Mass memory" for storage of data like music, video and pictures plus it is possible to install some apps in there. The phone memory is used for processing as well as sotrage, which is why you get these errors if too much is used.
    In the breakdown, you'll see the following items:
    - Calendar: this should only be a few Kb, perhaps a few hundred Kb if you use the feature often, but not too much
    - Contacts: should also be measured in Kb, even if many of your contacts have images
    - Messages: should be measured in Kb, if it goes into Mb or worse still Gb then you have Bluetooth of MMS messages hogging space - save the attachments to mass memory and delete the messages.
    - Images, videos and soundclips should not be large - perhaps a small number of ringtones, images that you use as backgrounds etc. but the bulk of these media files are best moved to mass memory.
    - Documents should be tiny, keep documents in mass memory.
    - MIDP (Java) apps and SIS (Symbian) apps could be filling space, you might be able uninstall some of these and reinstall them to mass memory if needs be, but be aware that some apps must be in phone memory and that some of the space taken by SIS apps will be preinstalled stuff that you can't move.
    If none of the above can explain the memory full erros and you do seem to have a large amount of Mb free, then it could be a software issue that can be solved by reformatting the phone with the code *#7370# - make sure that you use PC Suite Content Copier to backup important data first, and after the reformat when you restore the backed-up data, don't include settings in the restoration and also leave out any data types that you know you don' use.

  • Frustrating audio sync problem with MJPG clips!

    I make short films from our family trips, using the jpg:s and mjpg clips made with our Canon compact digital camera. This has worked fine (since PE 2). Now I often get a frustrating audio problem on SOME of the MJPG:s, SOMETIMES.
    When I play the clip in PE7, after 0.5 - 1 sec the audio jumps back to start, before it continues to the end along with the video. This makes the audio out of sync with the video (lagging 0,5 – 1 seconds).
    The only way to fix this is to separate the audio track from the video, cut the start of the audio (to where it jumps back to the start) and then move the audio track to make it in sync. Besides being a tedious way to do on all clips, the audio track is not possible to extend “in the other end”, so I have to cut the video at the end as well…
    However, this is not happing on all MJPG clips but only on some.
    Also, the clip looks fine in other programs, e.g. wmp or windows movie maker.
    I have tried other MJPG decoders but that does not make any difference (so it’s obviously no problem with the video). The audio is PCM Audio 44100Hz, 706 kb/s mono.
    Now, when I tried repairing the PE7 installation, updating DirectX, removing all caches in the project directory, rebooting, it worked! The clip I was testing was in sync!
    But, the next day I noticed the sync problem again on a lot of other clips… I then thought I should try to force PE to reanalyze the video again, so I remove the cache-directories (did not help) and moved the project file to another directory (this did not help, but on the other hand, I didn’t see PE7 analyzing the video again, so maybe there is a cache somewhere else??)
    I noticed (looking at properties on the clip in the preview window in PE7), that the original audio is 44100Hz mono, but PE7 converts it to 48000Hz mono. Don’t know if there is some problem there, but it should not be any difference on different clips from the same source… (and the “jump back” in audio is 0,5-1 seconds regardless of clip length, and not the 9% that the difference in frequency would suggest + the audio plays in “normal speed”).
    I’ve run out of ideas!!
    Please, does anybody have any constructive ideas or tips on what to try? Are there more caches to clear? Are there conflicts with another program, like wmp?
    (I use PE 7.0 on a 4Gb, quadcore system running Windows Vista Home Premium 64 bit.)
    // G

    Thanks, I suppose I can start batch-converting my mjpg movies before importing them inte PE7, if that would make this problem disappear. I'll try that (I have FormatFactory installed, but VirtualDub seems like a nice tool if that is better), although that would make the process a bit more long-winded...
    Regarding GSPOT info on a file that works and one doesn't, there are typically no difference between them (except length and content, of course). In fact, as I mentioned above, the same movie did not work until I did some reinstalling, clearing caches etc. Then the same movie suddenly worked OK again.
    I attach the GSPOT info on that file.
    (I never had this problem on my older XP system that run PE2...).
    I will try converting to see if the problem disappears.
    Thanks!
    // G

  • Database Change Notification and TopLink Cache Invalidation

    Has someone succeeed in implementing the How-to Database Change Notification and TopLink Cache Invalidation.
    I have corrected some document errata about the pl/sql content and I manage to have messages in the 'notify_queue'.
    I obtain the Topic in Java from this queue.
    But the TopicSuscriber instances do not receive any message. Is there something to have in mind to make it work ?
    Regards.

    Reviving this thread again...
    I am using DCN feature to build a middle-tier cache. I know oracle has problem sending physical rowid in case of 'Index Organized Table', however, in normal table also its not able to send proper rowid.
    e.g, I have 2 records in Table A with rowid AAARIUAAGAAAV/uABw and AAARIUAAGAAAV/pAAX.
    I have updated both the records. Strangely for the first record, oracle is sending INVALID rowid, although for the second record its sending the valid one.
    Following is the output:
    Row 1:  (Wrong rowid being sent, AAARIUAAGAAAV/uABw is replaced with AAARIUAAGAAAXDCAAr)
    Connection information  : local=localhost.localdomain/127.0.0.1:47633, remote=localhost.localdomain/127.0.0.1:2278
    Registration ID         : 2102
    Notification version    : 1
    Event type              : OBJCHANGE
    Database name           : <sid>
    Table Change Description (length=1)
        operation=[UPDATE], tableName=<table_name>, objectNumber=70164
        Row Change Description (length=1):
          ROW:  operation=UPDATE, ROWID=AAARIUAAGAAAXDCAAr
    Row 2:  (Right rowid being sent, AAARIUAAGAAAV/pAAX)
    Connection information  : local=localhost.localdomain/127.0.0.1:47633, remote=localhost.localdomain/127.0.0.1:2278
    Registration ID         : 2102
    Notification version    : 1
    Event type              : OBJCHANGE
    Database name           : <sid>
    Table Change Description (length=1)
        operation=[UPDATE], tableName=<table_name>, objectNumber=70164
        Row Change Description (length=1):
          ROW:  operation=UPDATE, ROWID=AAARIUAAGAAAV/pAAX
    Any idea ?

Maybe you are looking for

  • Two iPads, One iTunes-- Is This Right?

    Dear Folks, If it's all it's cracked up to be, I plan to upgrade to the new iPad when it comes out and pass on my current iPad to my housemate. We both use the same iMac, same user account. I think I understand how to manage this properly, but I'm ha

  • On the new ipod touch, is there a way to enlarge album art to fill the whole screen?

    Hi there, For Christmas I was given a new ipod touch (long story short my old one I put through the wash by mistake ) and this new one is great but when I listen to a song on the new itouch the album art does not fill the whole screen like my old ito

  • Create index partition in the table partition tablespace

    Hello, I am running a custom job that * Creates a tablespace daily * Creates the daily table partition in the tablespace created * Drops the tablepartition X days old * Drops the tablespace for that partition on X+1 day. The above job runs perfectly,

  • Need to display my table rows as columns (have tried lots, still no luck)

    My data is as follows: attribute_name attribute_value VisitType Housing Priority 1 I need it to come out in this format: VisitType Priority Housing 1 It's set up this way to make some of the fields user definable. Therefore, VisitType is defined by t

  • Preparing for 642-311

    Hello all, I am preparing the exam with only now "Optical Network Design and Implementation by Vivek Alwayn, published by Cisco Press. I don't plan to take cisco course along with the exam, only through self study. Does any Cisco optical specialist p