UNSOLVED

ptinius

updated

18 years ago

P

ptinius

15 Posts

0

3967

February 17th, 2009 14:00

Trouble Connecting using XAM

I'm having trouble connecting using XAM using the following vim: snia-xam://centera_vim!128.221.200.60?../pea/xamconnect.pea.

The LD_LIBRARY_PATH point to both the Solaris XAM/VIM 1.0 p1 32-bit libraries and the CLASSPATH point to all the correct jars. I'm running Sun's java 1.6.0 update 3 32-bit version.

my code snippet

     /* load libraries */
    XAMLibrary xam = XAMLibraryObj.getLibrary();
   
    /* define logging properties */
    xam.setProperty( XAMLibrary.XAM_LOG_APPEND, true );
    xam.setProperty( XAMLibrary.XAM_LOG_PATH, XAM_LOG_FILE_NAME );
    xam.setProperty( XAMLibrary.XAM_LOG_LEVEL, XAMLibrary.XAM_LOG_ALL );
   
    /* connect */
    xam.connect( "snia-xam://centera_vim!128.221.200.60?../pea/xamconnect.pea" );

The exception that gets thrown is listed below.

Time          FormattedTime         LogLevel PID.Thread    Component  Message
1234906148405 2009-02-17 21:29:08.405 [none]  3256.4 [---]    XAM SDK Logger Version 1.0.83
# 17 Feb 2009 14:02:08.409  INFO  [main]-xam.XAMConnect: snia-xam://centera_vim!128.221.200.60?../pea/xamconnect.pea
*** ERROR **************************************************************************************************************************
1234906148476 2009-02-17 21:29:08.476 [error]  3256.4 [api_status]     ERROR: xam/vim not found (1011)
************************************************************************************************************************************
# 17 Feb 2009 14:02:08.577  ERROR [main]-xam.XAMConnectTest: xam/vim not found
org.snia.xam.VIMLoadException: xam/vim not found
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 com.emc.ssg.avamar.backup.xam.XAMConnect.open(Unknown Source)
at com.emc.ssg.avamar.backup.xam.XAMConnectTest.main(Unknown Source)

Anyone have any ideas of what I've missed?

thanks in advanced for any help you can provide.