2 Intern

 • 

417 Posts

July 27th, 2009 10:00

Java samples demonstrating common operations are posted in the Documents section.

https://community.emc.com/docs/DOC-3302

C samples are also posted.

https://community.emc.com/docs/DOC-3281

July 28th, 2009 04:00

Thanks for your answer.

I tried to compile the sample program and am not able to use XAMLibraryFactory.

Am using Centera_SDK_XAM1.0_WinDev8  XAM version.

should i use any higher version of XAM ?

error

--------

C:\Data\CenteraSDK\Docs\Sample Program>javac RetrieveContent.java
RetrieveContent.java:15: package org.snia.xam.util does not exist
import org.snia.xam.util.XAMLibraryFactory;
                         ^
RetrieveContent.java:90: cannot find symbol
symbol  : variable XAMLibraryFactory
location: class RetrieveContent
                        xamLib = XAMLibraryFactory.newXAMLibrary();
                                 ^
2 errors

July 29th, 2009 01:00

HI,

      I have resolved the above error by getting the correct SDK version but how ever am not able to establish a connection to centera.

     Am getting the below exception.

    

Address of XSystem[snia-xam://centera_vim!167.113.250.232?C://Data//CenteraSDK//
Docs//Sample Program//merged-imgidb03_profile.pea]:
Connecting to XSystem(snia-xam://centera_vim!167.113.250.232?C://Data//CenteraSD
K//Docs//Sample Program//merged-imgidb03_profile.pea)
org.snia.xam.InvalidXRIException: xam/invalid XRI
        at org.snia.xam.XAMErrors.throwConvertedException(Unknown Source)
        at org.snia.xam.XAMErrors.throwConvertedException(Unknown Source)
        at org.snia.xam.XSystemImpl. (Unknown Source)
        at org.snia.xam.XAMLibraryObj.connect(Unknown Source)
        at RetrieveContent.main(RetrieveContent.java:102)
XAM Error occured: xam/invalid XRI(1008)

This is the XRI string which am using to connect (Using the RetrieveContent.java given in the above links)

String xri = "snia-xam://centera_vim!167.113.250.232?C://Data//CenteraSDK//Docs//Sample Program//merged-imgidb03_profile.pea";

2 Intern

 • 

417 Posts

July 29th, 2009 09:00

Are you able to connect to the public clusters?

Please ensure that the path you are specifying is correct and that the PEA file is valid.

July 31st, 2009 04:00

Hi,

     Am not able to connect to the publicClusters due to firewall issues. Anyway i have figured out the issue with my XRI and have fixed it.

     Now am able to Store & Retrieve contents from Centera.Thanks.

     Also, I need to know how Retention Management will work.

     How to Issue a HOLD and delete on Documents - describe how this will work, will there be a 30 day period from which we can recover the documents?

409 Posts

July 31st, 2009 08:00

An explanation of Retention Management is too large a topic to be handled in the forums.

I suggest that you read the documentation that is available with the XAM SDK download, which discusses fully the retention functionally that XAM has.

To apply a Hold or to delete a document you do exactly as you say, you issue a Hold or Delete.  How you can do this is explained in the documentation.

I do not know of a 30 day period that you are referring to.

No Events found!

Top