Skip navigation
Currently Being Moderated

Cannot debug from Eclipse (Mac OS 10.7, Drive 3.01)

Jan 17, 2012 11:58 AM

I piggy-backed this on another discussion three days ago, but perhaps creating a new thread will get more attention.

 

I recently downloaded the Adobe Drive 3 SDK and am having problems debugging the sample connectors from Eclipse.  I've followed all of the instructions in the documentation, but no matter what I try I cannot get my built connectors (both basicftp and helloworld) to show up when I try to initiate a connection in Drive 3.01.

 

I am definitely checking (selecting) the bundles for these two samples in the run configuration, as well as all the dependant bundles ("Validate Bundles" passes successfully).  In the console, if I type 'ss' I see both of the samples listed as ACTIVE.  I launch Drive after I see them as active.

 

I tried typing 'csstat' in the console but that does not seem to be a recognized command (per the documentation).

 

When I launch Adobe Drive 3.01 I only see the two out-of-the-box connectors (DAM and CMIS).

 

If I do a proper build and export to the CS5ServiceManager directory, they do show up in Adobe Drive.  However, I really need to be able to run from within Eclipse to debug.

 

I've followed the troubleshooting steps and killed the CS5ServiceManager and Adobe drive processes using Activity Manager (I'm on a Mac OS 10.7 Lion) and also deleted the 'data' folder, rebooted, no luck.

 

I even tried doing a clean installation of everything on another machine, and had the same problem.

 

Please help or suggest something else to try.  Thanks!

 
Replies
  • Currently Being Moderated
    Jan 17, 2012 8:06 PM   in reply to Shigli

    Hi:

     

    In some occasions Adobe Drive does not work well with 64 bit JVM. So my suggestion is:

     

    1. Uninstall x86_64 java environment from your system if possible. Or at least set your system Path variable to point to 32 bit JVM's bin path. Verify it works well by type java -version in the command window.

    2. Install a 32 bit Eclipse.

    3. Clean your old configurations by delete the original Eclipse working directory.

    4. Follow the document to set up environment.

     

    The csstat command is provided by bundle com.adobe.drive.connector.service. Make sure its status is "ACTIVE" before you use it.

     

    Hope this will work for you.

    J.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 18, 2012 6:50 AM   in reply to Shigli

    There should be no error messages when lunching. Switch to 32 bit JVM is still the first thing you should do, otherwise you could run into other weird errors.

     

    If you don't want to remove your 64 bit JDK, you can try this:

    1. Install a 32 bit JDK1.5.

    2. Delete Eclipse workspace folder.

    3. Open Eclipse preferences, add the newly installed JDK to Installed JREs, and set it as default and click Apply and OK.

    4. Follow the instructions in the document.

    5. In Eclipse preferences, go to Plug-in Development -> Target Platform, double click the newly added platform "Adobe Drive", switch to Environment tab, select the 32 bit JRE other than Default JRE.

    6. In the Run configuration, make sure the 32 bit JRE is selected in the "Settings" tab.

     

    Good luck.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points