Skip navigation
Currently Being Moderated

Auto-connect does not work

Oct 5, 2011 5:36 AM

When we enable the option "Automatically connect to this server when computer starts" for our custom connector, the server consistently fails to automount after restart (Windows).

This must be a problem in our connector since the automount feature does seem to work when using the CMIS connector.

However we do not understand why automount fails why manually mounting the same drive succeeds.

 

At first we thought that this could be because the automount starts while certain other required services are not running yet.

But we can also reproduce the problem when running the command "C:\Program Files (x86)\Common Files\Adobe\CS5ServiceManager\CS5ServiceManager.exe -launchedbylogin" from the command line some time after starting up.

What exactly is the difference between running this command and mounting a server manually through Adobe Drive?

 

Where should we start looking for possible causes for this issue?

Can we obtain any kind of additional logging? From the log file it seems that our custom connector handlers are never called but maybe logging is disabled during auto-connect?

Can we debug this somehow? When we start the CS5ServiceManager with the "launchedbylogin" option it seems the eclipse workspace is not used.

 

Thanks in advance for any help you could provide.

 

Logging for auto-connect:

 

2011/10/05 14:25:52,686 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: store_credentials

2011/10/05 14:25:52,688 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: retrieve_credentials

2011/10/05 14:25:52,688 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: delete_credentials

2011/10/05 14:25:52,689 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: authenticate

2011/10/05 14:25:52,690 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: logout

2011/10/05 14:25:52,691 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: update_extensions

2011/10/05 14:25:52,698 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: store_preference

2011/10/05 14:25:52,699 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: retrieve_preference

2011/10/05 14:25:52,700 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: delete_preference

2011/10/05 14:25:57,581 [Component Resolve Thread (Bundle 3)] WARN  PersistenceService - {activate} Mapping not found: 'OSGI-INF/mapping.xml' in bundle 'com.adobe.csi.core'

2011/10/05 14:25:57,581 [Component Resolve Thread (Bundle 3)] WARN  PersistenceService - {activate} Mapping not found: 'OSGI-INF/queries.xml' in bundle 'com.adobe.csi.core'

2011/10/05 14:25:58,616 [Component Resolve Thread (Bundle 3)] INFO  ContentCache - Cache location set to: C:\Users\Hannes\AppData\Roaming\Adobe\CS5ServiceManager\diskcache

2011/10/05 14:25:58,644 [Component Resolve Thread (Bundle 3)] INFO  AutoMountService - Starting automatically mounting servers

2011/10/05 14:25:58,645 [AutoMounter] INFO  AutoMounter - Automounting servers

2011/10/05 14:25:58,708 [AutoMounter] ERROR AutoMounter - Failed to mount server ADAMTEST

2011/10/05 14:25:59,111 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_add_server

2011/10/05 14:25:59,114 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_browse_servers

2011/10/05 14:25:59,117 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_check_network_connectivity

2011/10/05 14:25:59,120 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_empty_cache

2011/10/05 14:25:59,123 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_explore_servers

2011/10/05 14:25:59,125 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_get_messages

2011/10/05 14:25:59,129 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_get_preferences

2011/10/05 14:25:59,132 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_get_service_info

2011/10/05 14:25:59,135 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_mount_server

2011/10/05 14:25:59,141 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_move_cache

2011/10/05 14:25:59,144 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_move_cache_status

2011/10/05 14:25:59,146 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_open_volume

2011/10/05 14:25:59,149 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_remove_server

2011/10/05 14:25:59,151 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_save_preferences

2011/10/05 14:25:59,153 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_unmount_server

2011/10/05 14:25:59,155 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_verify_server

2011/10/05 14:25:59,158 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_prepare_migration

2011/10/05 14:25:59,160 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_do_migration

2011/10/05 14:25:59,162 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_check_migration_status

2011/10/05 14:25:59,165 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_pause_migration

2011/10/05 14:25:59,167 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_continue_migration

2011/10/05 14:25:59,170 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_cancel_migration

2011/10/05 14:25:59,173 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_get_PrefPath

2011/10/05 14:25:59,176 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_get_connectors_info

2011/10/05 14:25:59,179 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_work_offline

2011/10/05 14:25:59,182 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_work_online

2011/10/05 14:25:59,187 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_set_transition_state

2011/10/05 14:25:59,189 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_get_offline_work

2011/10/05 14:25:59,192 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_is_offline_work_conflict

2011/10/05 14:25:59,194 [Component Resolve Thread (Bundle 3)] INFO  InvokeHandler - Added ServiceReference for: ad_conflict_resolve

 
Replies
  • Currently Being Moderated
    Oct 8, 2011 2:51 AM   in reply to hverlinde

    To view more log info, please change the settings of log4j.xml in the CS5ServiceManager configuration folder:

    • Win32: C:\Program Files\Common Files\Adobe\CS5ServiceManager\configuration
    • Win64: C:\Program Files (x86)\Common Files\Adobe\CS5ServiceManager\configuration
    • Mac OS X: /Library/Application Support/Adobe/CS5ServiceManager/configuration

     

    I suggest you to do a test with the url like: http://192.168.35.25:8080. (Use ip address to connect your server)

     

    Could you share your rough implementation for IGetServerInfoHandler and IConnectHanlder?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 10, 2011 12:29 AM   in reply to hverlinde

    I think you need to set logging level to DEBUG for certain packages, not for all. For example, only log packages starting with 'com.adobe'.

     

    Please check IGetConnectionDetails and IConnectHandler. They both set UUID info. Please make sure they have the same values for a certain server.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 15, 2011 2:07 AM   in reply to hverlinde

    For your first question, my concern is about UUID. You said they are same for the implementation of the IGetConnectionDetailsHandler and IConnectHandler. Have you printed out that two values? Hope you can help to double confirm it.

    For the second question, yes. Your ConnectHandler is not invoked by Adobe Drive if that log is not printed out. I guess Adobe Drive fails to get your server info via UUID.

    For the third question, no. Because your other connector handlers implementation may affect it. You issue can help us to improve our code/documentation. In order to figure out this issue, could you send the following folders(including subfolders and subfiles) to my mail box(huli@adobe.com):

    • C:\Users\{user name}\AppData\Roaming\Adobe\CS5ServiceManager\database
    • C:\Users\{user name}\AppData\Roaming\Adobe\CS5ServiceManager\logs

     

    Thanks,

    Hui

     
    |
    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