Error importing Connections Widgets

Instructions: SHOW110.pdf , step importing widgets

Servers:

Domino 9 with OpenSocial installed

Connections 4 CR3

Client:

Domino Administrator 9 with ENABLE_EE=1 and $ENABLE_EE=1

In Connections 4 i export using:

NotesRegistrar.registerGadgets

I get 6 xml files.

In the toolbox.nsf I get an error when I try to import these widgets:

The AS.Gadget.proxy.xml looks pretty fine:

Any idea how to continue?

[Update]

If I continue after the error (the widget document is created anyway) I get another error when clicking “Approve”.

[Update 2]

I recreated the toolbox.nsf and got rid of the error message “Type mismatch on external name: UPDATEPROXYDOC”. But the first error message is still there.

Subject: Re: Error importing Connections Widgets

It looks like the generation of that file created a duplicate of the following line:

in both the url and ContentProxy sessions. It was expected that the second instance in each case would be an https reference rather than two http urls. First, could you edit this file to remove the second of these declarations from each of the url and ContentProxy sections, leaving only one instance of the line in each location. Then please retry the import and let us know the result.

Second, if you have access to it, could you please also reply with the contents of the Connections server LotusConnections-config.xml file references to sametime? They would look something like the xml snippet shown below. This would help us discern why we might have been returned two instances of the http form (tho I may see a clue already, it would be helpful to know exactly what is in your file).

<sloc:serviceReference enabled=“false” isConnectClient=“false” serviceName=“sametimeProxy” ssl_enabled=“false”>
sloc:href
sloc:hrefPathPrefix/
<sloc:static href=“admin_replace” ssl_href=“admin_replace”/>
<sloc:interService href=“admin_replace”/>
</sloc:href>
</sloc:serviceReference>

Subject: RE: Error importing Connections Widgets

I have same error.

Check proxy file for duplicate. (<ProxyRule url=“http://connections4.customer.com:80/profiles/ibm_semanticTagServlet/*” for example)

Subject: RE: Error importing Connections Widgets

I removed the second http reference to “sametimeproxy.customer.com” and now the import works fine. Thanks for the assistance!

Subject: RE: Error importing Connections Widgets

Ok I will try to correct the proxy-file. In the meantime here is the LotusConnections.xml file

cat /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/connections4Cell01/LotusConnections-config/LotusConnections-config.xml

<?xml version="1.0" encoding="UTF-8"?>

<sloc:serviceReference acf_config_file=“acf-config-nf.xml” bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster1” enabled=“true” person_card_service_name_js_eval=“generalrs.label_personcard_activitieslink” person_card_service_url_pattern=“/service/html/mainpage#dashboard%2Cmyactivities%2Cuserid%3D{userid}%2Cname%3D{displayName}” serviceName=“activities” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/activities</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“true” serviceName=“bookmarklet” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/connections/bookmarklet</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference acf_config_file=“acf-config-nf-flash.xml” bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster2” enabled=“true” person_card_service_name_js_eval=“generalrs.label_personcard_blogslink” person_card_service_url_pattern=“/roller-ui/blog/{userid}” serviceName=“blogs” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/blogs</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference acf_config_file=“acf-config-nf.xml” bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster1” enabled=“true” person_card_service_name_js_eval=“generalrs.label_personcard_communitieslink” person_card_service_url_pattern=“/service/html/allcommunities?userid={userid}” serviceName=“communities” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/communities</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference profiles_directory_service_extension_enabled=“true” serviceName=“directory”/>

<sloc:serviceReference acf_config_file=“acf-config-nf.xml” bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster2” enabled=“true” person_card_service_name_js_eval=“generalrs.label_personcard_dogearlink” person_card_service_url_pattern=“/html?userid={userid}” serviceName=“dogear” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/dogear</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“true” serviceName=“personTag” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/profiles/ibm_semanticTagServlet</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster1” enabled=“true” person_card_service_name_js_eval=“generalrs.label_personcard_profilelink” person_card_service_url_pattern=“/html/simpleSearch.do?searchFor={userid}&searchBy=userid” serviceName=“profiles” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/profiles</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“false” person_card_service_name_js_eval=“generalrs.label_personcard_quickrlink” person_card_service_url_pattern=“/allfiles/people/{email}” serviceName=“quickr” ssl_enabled=“false”>
sloc:href
sloc:hrefPathPrefix/quickr</sloc:hrefPathPrefix>
<sloc:static href=“admin_replace” ssl_href=“admin_replace”/>
<sloc:interService href=“admin_replace”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“homepage” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/homepage</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“search” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/search</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference acf_config_file=“acf-config-nf-flash.xml” bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster2” enabled=“true” person_card_service_name_js_eval=“generalrs.label.personcard.wikislink” person_card_service_url_pattern=“/home/search?uid={userid}&name={displayName}” serviceName=“wikis” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/wikis</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster2” enabled=“true” person_card_service_name_js_eval=“generalrs.label_personcard_fileslink” person_card_service_url_pattern=“/app/person/{userid}” serviceName=“files” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/files</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“news” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/news</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“opensocial” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/connections/opensocial</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“admin_replace” bootstrapPort=“admin_replace” clusterName=“” enabled=“false” serviceName=“opensocialLocked” ssl_enabled=“false”>
sloc:href
sloc:hrefPathPrefix/connections/opensocial</sloc:hrefPathPrefix>
<sloc:static href=“admin_replace” ssl_href=“admin_replace”/>
<sloc:interService href=“admin_replace”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“true” serviceName=“connectionsmail” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/connections/resources/socmail-client</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com” ssl_href=“https://connections.customer.com”/>
<sloc:interService href=“https://connections.customer.com”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“true” isConnectClient=“true” serviceName=“sametimeProxy” ssl_enabled=“false”>
sloc:href
sloc:hrefPathPrefix/
<sloc:static href=“http://sametimeproxy.customer.com” ssl_href=“https://sametimeproxy.customer.com”/>
<sloc:interService href=“https://sametimeproxy.customer.com”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“mobile” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/mobile</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference acf_config_file=“acf-config-nf-flash.xml” bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster1” enabled=“true” person_card_service_name_js_eval=“generalrs.label_personcard_forumlink” person_card_service_url_pattern=“/html/search?userid={userid}&name={displayName}” serviceName=“forums” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/forums</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“moderation” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/moderation</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“Cluster1” enabled=“true” serviceName=“metrics” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/metrics</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“admin_replace” enabled=“true” serviceName=“cognos” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/cognos</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“true” serviceName=“sand” ssl_enabled=“true”>
</sloc:serviceReference>

<sloc:serviceReference clusterName=“InfraCluster” enabled=“true” serviceName=“webresources” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/connections/resources</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“true” serviceName=“oauth” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/connections/oauth</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference enabled=“true” serviceName=“help” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/help</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“mediaGallery” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/news/widgets/lw</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“admin_replace” bootstrapPort=“admin_replace” clusterName=“” enabled=“false” serviceName=“bss” ssl_enabled=“false”>
sloc:href
sloc:hrefPathPrefix/manage</sloc:hrefPathPrefix>
<sloc:static href=“admin_replace” ssl_href=“admin_replace”/>
<sloc:interService href=“admin_replace”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“microblogging” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/connections/opensocial</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“deploymentConfig” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/connections</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

<sloc:serviceReference bootstrapHost=“” bootstrapPort=“” clusterName=“InfraCluster” enabled=“true” serviceName=“oauthprovider” ssl_enabled=“true”>
sloc:href
sloc:hrefPathPrefix/oauth2</sloc:hrefPathPrefix>
<sloc:static href=“http://connections.customer.com:80” ssl_href=“https://connections.customer.com:443”/>
<sloc:interService href=“https://connections.customer.com:443”/>
</sloc:href>
</sloc:serviceReference>

English \u4e2d\u6587 (\u200f\u7b80\u4f53) Fran\u00e7ais \u200f\u0627\u0644\u0639\u0631\u0628\u064a\u0629\u200f