Results 1 to 7 of 7

Hybrid View

  1. #1
    Hi Gianluca, thanks again for the response and sorry for taking so long to get back.

    After removing the "interface" param and tweaking a few others, I came up with this config, which has resulted in (apparent) success! I've commented out the removed sections for clarity on what I removed / changed. I'll probably be adding some of these back in, but for now this appears to have gotten me rolling:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Do not remove this line. File tag: adapters_conf-APV-20200124. -->
    
    <adapters_conf id="PROXY_SOCKET_ROBUST">
    
        <!-- Updated this value from Y to N -->
        <metadata_adapter_initialised_first>N</metadata_adapter_initialised_first>
    
        <metadata_provider name="REMOTE_AUTH">
            <!-- <install_dir></install_dir> -->
            <adapter_class>ROBUST_PROXY_FOR_REMOTE_ADAPTER</adapter_class>
            <classloader>log-enabled</classloader>
            <param name="request_reply_port">9001</param>
            <!-- <param name="interface">authentication</param> -->
            <!-- <param name="auth">N</param> -->
            <param name="connection_recovery_timeout_millis">1000</param>
            <param name="first_connection_timeout_millis">1000</param>
            <param name="close_notifications_recovery">unneeded</param>
            <param name="notify_user_disconnection_code">-10</param>
            <param name="notify_user_disconnection_msg">Remote Metadata Adapter unavailable</param>
        </metadata_provider>
    
        <data_provider name="REMOTE_DUMMY_DATA">
            <!-- <install_dir></install_dir> -->
            <adapter_class>ROBUST_PROXY_FOR_REMOTE_ADAPTER</adapter_class>
            <classloader>log-enabled</classloader>
            <param name="request_reply_port">9011</param>
            <param name="notify_port">9012</param>
            <!-- <param name="interface">dummydata</param> -->
            <!--
              <param name="tls.remove_cipher_suites.1">_DHE_</param>
              <param name="tls.enforce_server_cipher_suite_preference">Y</param>
              <param name="tls.enforce_server_cipher_suite_preference.order">JVM</param>
              <param name="tls.allow_protocol.1">TLSv1.2</param>
            -->
            <!-- <param name="auth">N</param> -->
            <param name="connection_recovery_timeout_millis">1000</param>
            <param name="first_connection_timeout_millis">1000</param>
            <!-- <param name="events_recovery">use_snapshot</param> -->
            <param name="events_recovery">enforce_snapshot</param>
            <param name="status_item">remote_adapter_status</param>
            <!-- <param name="missing_connection_timeout_millis">1000</param> -->
        </data_provider>
    
    </adapters_conf>

  2. #2
    Oh! And one last thing-- I removed the part of my metadata adapter that was trying to connect a NotifyStream (connecting to the daemon on port 9002). As far as I can tell, only DataAdapters need a NotifyStream in addition to the Request + Reply Streams; MetadataAdapters only need the latter.

  3. #3
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Quote Originally Posted by alexarendsen View Post
    Oh! And one last thing-- I removed the part of my metadata adapter that was trying to connect a NotifyStream (connecting to the daemon on port 9002). As far as I can tell, only DataAdapters need a NotifyStream in addition to the Request + Reply Streams; MetadataAdapters only need the latter.
    Hi Alex,

    yes, it is correct.

    Best,
    Gianluca

  4. #4
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Quote Originally Posted by alexarendsen View Post
    Hi Gianluca, thanks again for the response and sorry for taking so long to get back.

    After removing the "interface" param and tweaking a few others, I came up with this config, which has resulted in (apparent) success! I've commented out the removed sections for clarity on what I removed / changed. I'll probably be adding some of these back in, but for now this appears to have gotten me rolling:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Do not remove this line. File tag: adapters_conf-APV-20200124. -->
    
    <adapters_conf id="PROXY_SOCKET_ROBUST">
    
        <!-- Updated this value from Y to N -->
        <metadata_adapter_initialised_first>N</metadata_adapter_initialised_first>
    
        <metadata_provider name="REMOTE_AUTH">
            <!-- <install_dir></install_dir> -->
            <adapter_class>ROBUST_PROXY_FOR_REMOTE_ADAPTER</adapter_class>
            <classloader>log-enabled</classloader>
            <param name="request_reply_port">9001</param>
            <!-- <param name="interface">authentication</param> -->
            <!-- <param name="auth">N</param> -->
            <param name="connection_recovery_timeout_millis">1000</param>
            <param name="first_connection_timeout_millis">1000</param>
            <param name="close_notifications_recovery">unneeded</param>
            <param name="notify_user_disconnection_code">-10</param>
            <param name="notify_user_disconnection_msg">Remote Metadata Adapter unavailable</param>
        </metadata_provider>
    
        <data_provider name="REMOTE_DUMMY_DATA">
            <!-- <install_dir></install_dir> -->
            <adapter_class>ROBUST_PROXY_FOR_REMOTE_ADAPTER</adapter_class>
            <classloader>log-enabled</classloader>
            <param name="request_reply_port">9011</param>
            <param name="notify_port">9012</param>
            <!-- <param name="interface">dummydata</param> -->
            <!--
              <param name="tls.remove_cipher_suites.1">_DHE_</param>
              <param name="tls.enforce_server_cipher_suite_preference">Y</param>
              <param name="tls.enforce_server_cipher_suite_preference.order">JVM</param>
              <param name="tls.allow_protocol.1">TLSv1.2</param>
            -->
            <!-- <param name="auth">N</param> -->
            <param name="connection_recovery_timeout_millis">1000</param>
            <param name="first_connection_timeout_millis">1000</param>
            <!-- <param name="events_recovery">use_snapshot</param> -->
            <param name="events_recovery">enforce_snapshot</param>
            <param name="status_item">remote_adapter_status</param>
            <!-- <param name="missing_connection_timeout_millis">1000</param> -->
        </data_provider>
    
    </adapters_conf>
    Great!

    Gianluca

 

 

Similar Threads

  1. Some help with ARI
    By stefanx in forum Adapter SDKs
    Replies: 2
    Last Post: July 20th, 2008, 03:04 PM
  2. Trouble compiling DataAdaptor
    By lucab617 in forum Adapter SDKs
    Replies: 3
    Last Post: May 2nd, 2008, 03:43 AM
  3. ARI protocol question
    By cbcrack in forum Adapter SDKs
    Replies: 3
    Last Post: January 7th, 2008, 09:07 AM
  4. New documentation for ARI released
    By Alessandro in forum Adapter SDKs
    Replies: 2
    Last Post: July 30th, 2007, 11:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 05:49 AM.