Sabeer, There is no writer application log attached. But, it seems that writer application has exited before Read API has been invoked. I note that its actually the checkpointRead() API that's failing and not the checkpoint initialize, as mentioned in your mail. Since your application uses Async. Colloc. checkpoint and that the Active replica exists on the writer node, there should be some mechanism to ensure that writer does not calls Unlink and Close Until Read() has been done. This you will do, if you wanted to have the Active replica only on the writer node. Simply put, ensure your writer doesn't Exit before reader Reads. Alternatively, invoke saCkptActiveReplicaSet() before Read API in the reader application code. - Mathivanan.
________________________________ From: Sabeer Mohammad [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 12:46 PM To: Mathivanan Np-G19859 Cc: Srikant Jallapuram Subject: RE: [Users] cpsv initialization problem Mathivanan, While running my java application(ex.java) i got few error messages.please find the source code and logfile here. Note:- Java application communicating to ex.c through JNI. libex.so consits of ex.o as well as libSaCkpt.so and libncs_core.so Exectution Steps: 1.javac ex.java 2.javah -jni ex 3.gcc -c -fPIC -I/usr/local/jdk/include/-I/usr/local/linux ex.c 4.gcc -shared -o libex.so ex.o 5.java ex. Thanks sabeer -----Original Message----- From: Mathivanan Np-G19859 [mailto:[EMAIL PROTECTED] Sent: Tue 12/18/2007 4:40 PM To: Sabeer Mohammad; users@list.opensaf.org Subject: RE: [Users] cpsv initialization problem Sabeer, Could you see the Checkpoint Agent logs i.e. CPA**.log. Ideally this error should not come. But, in some cases when the agent library is not initialized properly this error might come in which case an error is printed in the stdout itself. Do you see any significant error message in the CPA log file? Rgds, Mathivanan. ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sabeer Mohammad Sent: Monday, December 17, 2007 4:59 PM To: users@list.opensaf.org Subject: [Users] cpsv initialization problem Hi, The problem I have come across with is whenever I am trying to use the cpsv service in my application the rc=SaCkptinitialize() function is returning a value 2, but it is supposed to return 1 in order to initialize the cpsv service. Any idea to resolve this issue??? Regards, Sabeer Suvra SASKEN BUSINESS DISCLAIMER ------------------------- This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email SASKEN BUSINESS DISCLAIMER ------------------------- This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email _______________________________________________ Users mailing list Users@list.opensaf.org http://list.opensaf.org/maillist/listinfo/users