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.

Similar Messages

  • Class not found with jms cache sync

    hi. when i try to use the remote command manager in my live environment only i get a class not found exception for my initial context factory. using a debugger i discovered this is actually hiding a linkage error. so i confirmed that my resin and java versions and all my jars are the same between live and stage, where this works no problem. but still doesn't work in production. any ideas what else i should look at? here's a stack trace
    Exception [TOPLINK-22101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.RemoteCommandManagerException
    Exception Description: Could not obtain JNDI context with properties {java.naming.provider.url=tcp://10.10.6.73:3035, java.naming.factory.initial=org.exolab.jms.jndi.InitialContextFactory , java.naming.security.principal=tcp://10.10.6.73:3035, dedicated.connection=true, java.naming.security.credentials=tcp://10.10.6.73:3035}
    Internal Exception: javax.naming.NoInitialContextException: Cannot instantiate class: org.exolab.jms.jndi.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.exolab.jms.jndi.InitialContextFactory ]
    at oracle.toplink.exceptions.RemoteCommandManagerException.errorObtainingContext(RemoteCommandManagerException.java:42)
    at oracle.toplink.remotecommand.TransportManager.getContext(TransportManager.java:194)
    at oracle.toplink.remotecommand.TransportManager.getRemoteHostContext(TransportManager.java:385)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.getRemoteHostContext(JMSTopicTransportManager.java:270)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.getTopicConnectionFactory(JMSTopicTransportManager.java:204)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.createJMSTopicRemoteConnection(JMSTopicTransportManager.java:84)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.createLocalConnection(JMSTopicTransportManager.java:106)
    at oracle.toplink.remotecommand.jms.JMSTopicDiscoveryManager.startDiscovery(JMSTopicDiscoveryManager.java:44)
    at oracle.toplink.remotecommand.RemoteCommandManager.initialize(RemoteCommandManager.java:132)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:509)

    I would guess the problem is related to the application's class-loader visibility. Verify that your application can access the class org.exolab.jms.jndi.InitialContextFactory forio to launching the TopLink session. If it cannot then you may need to address the container's access to this library.
    Doug

  • JMS Cache Sync - is multicast used for

    I wanted to verify whether or not the JMS clustering service was using mutlicast for initial discovery of other cache instances in the cluster environment or not.
    Thanks for any assistance.

    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 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.

  • 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

  • 10.1.3 JMS Cache Synchronization on OC4J

    Hi,
    We're using stand-alone OC4j 10.1.3.0 along with TopLink 10.1.3.0 (packaged with OC4j). In enabling JMS cache synchronization, I get the following error message:
    Exception [TOPLINK-12000] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.CommunicationException
    Exception Description: Error Sending connection service to jms/Topic/ToplinkCacheSync.
    Internal Exception: javax.jms.JMSException: TopicSubscriber[Oc4jJMS.Consumer.arkansas.6e2ec2b0:1117159d1ca:-7fff.65,Topic[ToplinkCacheSync],null,null,false]: cannot invoke method "setMessageListener" within the J2EE container.
    at oracle.toplink.exceptions.CommunicationException.errorSendingConnectionService(CommunicationException.java:40)
    at oracle.toplink.remote.CacheSynchronizationManager.addRemoteConnection(CacheSynchronizationManager.java:175)
    at oracle.toplink.remote.jms.JMSClusteringService.retreiveRemoteSessions(JMSClusteringService.java:198)
    at oracle.toplink.remote.jms.JMSClusteringService.run(JMSClusteringService.java:175)
    Caused by: javax.jms.JMSException: TopicSubscriber[Oc4jJMS.Consumer.arkansas.6e2ec2b0:1117159d1ca:-7fff.65,Topic[ToplinkCacheSync],null,null,false]: cannot invoke method "setMessageListener" within the J2EE container.
    at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1034)
    at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1114)
    at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1085)
    at com.evermind.server.jms.JMSUtils.assertNotContainer(JMSUtils.java:1500)
    at com.evermind.server.jms.EvermindMessageConsumer.setMessageListener(EvermindMessageConsumer.java:217)
    at oracle.toplink.remote.jms.JMSClusteringService.connectBackToRemote(JMSClusteringService.java:53)
    at oracle.toplink.remote.CacheSynchronizationManager.addRemoteConnection(CacheSynchronizationManager.java:168)
    ... 2 more
    It is, therefore, my assumption that Toplink is using JMS 1.0.2b while OC4J is using JMS 1.1. Who can:
    1) Verify or debunk my assumption?
    2) Point me to a work-around?
    Perhaps my config is incorrect? Here's a sessions.xml snippet, in case it helps:
    <cache-synchronization-manager>
    <clustering-service xsi:type="jms-clustering">
    <naming-service-url>ormi://localhost:23791/ems</naming-service-url>
    <jndi-user-name>oc4jadmin</jndi-user-name>
    <jndi-password>oc4j</jndi-password>
    <naming-service-initial-context-factory-name>com.evermind.server.rmi.RMIInitialContextFactory</naming-service-initial-context-factory-name>
    <jms-topic-connection-factory-name>jms/Topic/ToplinkCacheSyncConnectionFactory</jms-topic-connection-factory-name>
    <jms-topic-name>jms/Topic/ToplinkCacheSync</jms-topic-name>
    </clustering-service>
    <remove-connection-on-error>false</remove-connection-on-error>
    </cache-synchronization-manager>
    Many thanks in advance,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Thank you very much for your contribution! Yes, indeed, that was my main issue. A sessions.xml section that looks like the following (instead of the <cache-synchronization-manager> section above) does fix the problem:
    <remote-command>
    <commands>
    <cache-sync>true</cache-sync>
    </commands>
    <transport xsi:type="jms-topic-transport">
    <topic-host-url>ormi://localhost:23791/ems</topic-host-url>
    <topic-connection-factory-name>jms/Topic/ToplinkCacheSyncConnectionFactory</topic-connection-factory-name>
    <topic-name>jms/Topic/ToplinkCacheSync</topic-name>
    <jndi-naming-service>
    <user-name>oc4jadmin</user-name>
    <password>oc4j</password>
    <initial-context-factory-name>com.evermind.server.rmi.RMIInitialContextFactory</initial-context-factory-name>
    </jndi-naming-service>
    </transport>
    </remote-command>
    Thanks again,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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

  • 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

  • Cache Sync with RCM using RMI

    I am trying to do a cache synchronization between 2 nodes using RCM and RMITransportManager. The problem is my setup does not have a multicast server as mentioned in toplink documentation.
    Can I do the cache synchronization using RMI ( through RCM) without a multicast server. I am using the Toplink 10.1.3 version.
    Thanks
    sk

    Have you tried RMI, what error are you getting?
    You could also try using JMS cache coordination.

  • JMS Cache updates in existing transactions

    We have two application instances running, with synchronization over JMS. In the following scenario what will be the outome?
    - AppInstance1 does changes to Object1 and commits. These changes are sent to the JMS queue.
    - AppInstance2 is in the middle of one transaction when it recieves the cache updates. The current transaction include Object1 (which updates are received for).
    Does the transaction in Instance2 get aborted upon receiving the cache sync or are the mechanisms at work in TopLink smart enough to merge the non conflicting fields?
    Thanks,
    Anders,

    This depends on your locking mechanism and has little to do with cache-synch. Cache synchronization does not replace the requirement for a locking mechanism.
    If you are using no locking, then no matter if you have a single server, multiple servers with or without cache synch, then there is the potential that concurrent transactions can overwrite each others data.
    If you are using optimistic locking, then no matter if you have a single server, multiple servers with or without cache synch, your second transaction will get an optimistic lock error and its transaction will be rolled-back.
    If you are using pessimistic locking, then there is not much point in using cache synch as you will be accessing the database anyway. The second transaction will block on its read of the object until the first transaction completes, or throw an error on read if using no_wait.
    The benefit that cache synchronization provides it that because changes are synchronized between servers the likely-hood of getting an optimistic lock exception is greatly reduced. It can also be used with infrequently updated objects that do not use any locking, or object to which locking is not an issue.

  • Memory leak when using JMS Cache Coordination

    We have two Weblogic Server 8.1 processes running Java 1.4.2 on Solaris using TOPLink 10.1.3 with JMS Cache Coordination. We observe that heap is filled with uncollectable instances of TOPLink-mapped classes. In our production system, under full load, this completely fills a 3.6 GB heap in 30 minutes, requiring a process restart. The problem goes away if we turn off cache coordination.
    It appears that these instances are UnitOfWork or some other kind of toplink-created clone. We have not yet been able to successfully analyse this problem with a heap profiler.
    Has anyone else experienced this this problem? Any suggestions for debugging?
    Thanks in advance.

    We do set the command manager to asychronous mode. (Our debug tracing confirms that the CommandPropagator method asynchronousPropagateCommand() is invoked, not synchronousPropagateCommand().) We started with asynchronous messaging and actually have never tried running in a synchronous mode.
    The Java bug I referenced in my last post (which I have confirmed with a stand-alone test case) indicates that, for Java 1.4.2 and earlier, is is never ok to not start() a Thread -- it will always produce a memory leak. So I am quite surprised than anyone on a pre-1.5 Java had ever had success with synchronous cache coordination messaging. Do you think it is possible all of the pre-release tests and existing customers installations of 10.1.3 cache coordination are using Java 1.5 ?!
    Our heap profiling indicates that the instances of CommandPropagator which are pinned (i.e., those not started) are allocated in the run() method of CommandPropagator itself. So it seems that the instance of CommandPropagator, after it is started, allocates another one in its run method. Looking at the bytecodes for the run() method (using javap -c) shows that in one branch of the code a second CommandPropagator is indeed allocated and then handed off to the launchContainerRunnable method of a ServerPlatform.
    Since these secondary CommandPropagators are the ones which are not started, we have looked into the WebLogic_8_1_Platform class and found that its implementation launchContainerRunnable (inherited from ServerPlatformBase) does a
    new Thread(runnable).start()where the argument runnable is the CommandPropagator.
    So the CommandPropagator itself is not started(), but is instead run an another Thread.
    We are experimenting with a custom ServerPlatform which overrides launchContainerRunnable:
        server.setServerPlatform(
            new WebLogic_8_1_Platform(server)
                public void launchContainerRunnable(Runnable runnable)
                   if (runnable instanceof Thread) ((Thread)runnable).start();
                   else super.launchContainerRunnable(runnable);
        );  This starts the argument Runnable directly if it is actually a Thread. Our early, small-scale tests indicate that this change eliminates the memory leak. We are testing now in a production-replicate environment under full load.
    But this feels like a hack. I have no idea what TOPLink behavior other than cache coordination flows through this method. Does anyone know what else this ServerPlatform method is used for? Is there a better way to do this? Are there any adverse conquences to our hack? Any suggestions would be appreciated.
    Thanks in advance.

  • 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

  • I have set up my new iPad 2 on my windowsn 7 computer, but experienced syncing problems from the start. It seems that it doesn't recognize the iPad, although it appears in iTunes.It only gives set up as new or restore options.

    I have set up my new iPad 2 on my computer (Windows 7), but experienced syncing problems from the start.  It seems that although my iPad is regognized in iTunes as it appears there, it only gives met the options to set up as a new iPad or restore from the backup, no synching options. What do I do?

    File>Devices>Transfer Purchases will transfer the itunes purchases to your ocmputer.
    You should sync your ipod to your computer regularly.

  • 'Source play' and 'audio-video sync' problems with PE8 on fast WIN7 64 bit computer

    I am transferring Hi8 videos, about 2 hours long, to my WIN7 64 bit computer with PE8.  [Dell Mobile Precision M4400 Computer Workstation (Intel Core 2 Duo T9900 500GB/4GB); NVIDIA Quadro FX 770M, 512MB] I seem to have several problems: 
    First, after importing the file (.avi), I get a message about ‘dropped frames.’ 
    Secondly, when I try to play the video in the source monitor, the audio plays but the video doesn’t; it only shows the first frame [this is after waiting until the video is ?recognized? ]   I can use the shift-arrow key and see that the video is there.
    Thirdly, I can play the .avi file in other players, e.g., avidemux or PE pro CS5 on another computer.  There, I see that the audio and video are not in sync; the audio can be up to 300 ms ahead of the video (as determined using avidemux). 
    Questions:
    1.  Why doesn’t the source monitor play the video? Is this a problem with PE8 (latest update as of 3 March 2011) on aWIN7 64 bit computer (intel duo core. 3 GHz).
    2. Is the audio-video sync problem the result of the ‘dropped frames?’ How can PE8 correct this? Avoid this? Or, is it coincidence?

    "I think you're telling me you're using a backwards compatible Digital8  camcorder to capture your video as DV-AVIs. Is that right?" YES
    "Are you using  Premiere Elements to do this capturing?" YES, AS ABOVE PE8
    "Go to the File menu and select Properties. It should show a standard DV codec being used for your video and audio."
    WMP v12 is dumb. Under properties, media, it says 'video.'  However, avidemux gave me the information state above: video -- Codec 4CC: dvsd, frame rate: 29.971 fps; audio -- codec: PCM, channels: Stereo, frequency: 48 kHz.
    So, back to the Questions:
    1.  Why doesn’t the source  monitor play the video? Is this a problem with PE8 (latest update as of 3  March 2011) on aWIN7 64 bit computer (intel duo core. 3 GHz).
    2. Is the audio-video sync problem the result of the ‘dropped frames?’ How can PE8 correct this? Avoid this? Or, is it coincidence?

  • Owning 2 iphones with one Apple account has = Sync Problems.

    Owning 2 iphones with one Apple account has = Sync Problems.  iTunes is thinking my old iphone 4 is the same phone as my iphone 5C.  When I plugged in my iphone 5C it auto synced my 5C to iTunes and it wiped my 5C and restored it to the same content as is on my iPhone 4.  This is a big problem since my 5 year old has been using the iPhone 4.  It's all Mickey Mouse and Backyardigans.  (Total photo/app/contacts loss)
    I was able to update the 5C and restore from a 3 month old backup that is actually the content from the 5C but now when I plug in my 5C it wants to "setup as new phone" or "restore from backup"  What's going on?  I'm afraid to choose either option.
    How can I get iTunes to see these devices as 2 and not one?
    Can I use my Apple ID on both phones still or is this the problem?

    They were both displaying the same name in iTunes.  I changed the name of the iPhone 4 before the 5C was plugged in but it still went ahead with syncing it to the 4's data.

Maybe you are looking for