6 Replies Latest reply on Jan 3, 2014 8:41 AM by muralivp

    How to Push an App to specific instance using Dev Console App on local Jive 6 environment?

    mansari3

      Hi,

       

      We have created a sample app on Jive Sandbox Login | Jive

      Now we want to push this sample app on Local Dev Environment. however on providing the path of the app.xml on Add App option of the Dev console App (screen shot attached).

      It shows the app has been created successfully however it does not reflect the apps.

       

      Attaching the cargo console logs.

       

      [WARNING] [talledLocalContainer] Dec 10, 2013 1:58:32 PM org.apache.shindig.gadgets.oauth.OAuthRequest fetchNoThrow
      [WARNING] [talledLocalContainer] WARNING: OAuth fetch fatal error
      [WARNING] [talledLocalContainer]  OAuth error [null] for application https://developers.jivesoftware.com/appsmarket/opensocial/applicationUUID/bc88bb6
      5-50e1-4b0a-8b24-635d5806b260/gadget.xml.  Request trace:
      [WARNING] [talledLocalContainer] ==== Original request:
      [WARNING] [talledLocalContainer] GET /appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1386664097593&
      userType=admin
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] Host: market.apps.jivesoftware.com
      [WARNING] [talledLocalContainer] X-Shindig-AuthType: signed
      [WARNING] [talledLocalContainer] Content-Type: application/json
      [WARNING] [talledLocalContainer] X-Forwarded-For: 0:0:0:0:0:0:0:1
      [WARNING] [talledLocalContainer] X-shindig-dos: on
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] ====
      [WARNING] [talledLocalContainer] ==== Sent request 1:
      [WARNING] [talledLocalContainer] GET /appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1386664097593&
      userType=admin&oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&opensocial_owner_id=1%40e5f2701b-ecc2-4edc-be60-02ab97830a39&opensocial_viewer_id=1%
      40e5f2701b-ecc2-4edc-be60-02ab97830a39&opensocial_app_id=bc88bb65-50e1-4b0a-8b24-635d5806b260&opensocial_app_url=https%3A%2F%2Fdevelopers.jivesoftware
      .com%2Fappsmarket%2Fopensocial%2FapplicationUUID%2Fbc88bb65-50e1-4b0a-8b24-635d5806b260%2Fgadget.xml&oauth_version=1.0&oauth_timestamp=1386664097&oaut
      h_nonce=628877914193380826&oauth_consumer_key=e5f2701becc24edcbe6002ab97830a39&oauth_signature_method=HMAC-SHA1&oauth_signature=8nxkSJll2fyycFKxOb1gRQ
      %2BXyRQ%3D
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] Host: market.apps.jivesoftware.com
      [WARNING] [talledLocalContainer] X-Shindig-AuthType: signed
      [WARNING] [talledLocalContainer] Content-Type: application/json
      [WARNING] [talledLocalContainer] X-Forwarded-For: 0:0:0:0:0:0:0:1
      [WARNING] [talledLocalContainer] X-Jive-Sig-URL: https://market.apps.jivesoftware.com/appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIF
      IED_ON&order=DESC&page=1&max=10&t=1386664097593&userType=admin
      [WARNING] [talledLocalContainer] X-shindig-dos: on
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] ==== Received response 1:
      [WARNING] [talledLocalContainer] HTTP/1.1 504
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] Date: Tue, 10 Dec 2013 08:28:32 GMT
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] ====
      
      

       

       

       

      Murali VP - Can you please suggest here ?

       

      Regards,

      Arshad

          • Re: How to Push an App to specific instance using Dev Console App on local Jive 6 environment?

            Apologies for the gross delay here.  There have been some recent issues reported with the appsmarket, and some have gone away.  Could you confirm that this is still an issue. 

             

            Uttam Phalnikar Murali VP any thoughts here?

              • Re: How to Push an App to specific instance using Dev Console App on local Jive 6 environment?
                Scott A Johnson

                I was able to get one of my environments to work. I'll come back here is I encounter it again.

                  • Re: Re: How to Push an App to specific instance using Dev Console App on local Jive 6 environment?
                    mansari3

                    Ryan Rutan / Murali VP - I am still experiencing this issue.

                     

                    I am providing the app URL as http://apphosting.jivesoftware.com/apps/dev/myvoxappexplorer/app.xml  while using the Add App options of Dev console on Local Jive 6 instance running on windows 7.

                     

                    Attaching the sbs logs .

                     

                    2014-01-02 12:27:26,453 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Failed to update tenancy client provider. Will retry shortly..
                    com.jivesoftware.service.tenancy.registry.TenancyRegistryServiceException: failed to register tenant info.
                        at com.jivesoftware.service.tenancy.registry.http.client.HttpClientTenancyRegistryService.registerServiceTenant(HttpClientTenancyRegistryService.java:117)
                        at com.jivesoftware.service.client.JiveTenancyRegistryServiceFactory$1.registerServiceTenant(JiveTenancyRegistryServiceFactory.java:39)
                        at com.jivesoftware.service.tenant.SingleTenantService.updateTenancyProvider(SingleTenantService.java:124)
                        at com.jivesoftware.service.tenant.SingleTenantService$1.run(SingleTenantService.java:109)
                        at java.util.TimerThread.mainLoop(Timer.java:512)
                        at java.util.TimerThread.run(Timer.java:462)
                    Caused by: com.jivesoftware.service.common.http.HttpClientException: Error executing POST request to: http://search.jiveland.com:20000 path: /tenancy/services/registerServiceTenant JSON body: {"serviceName":"rebuildSearchIndex","systemId":"bd9942f4-a2b6-4fe5-b4e7-50f0ceb207b6-dev","rootCommunityName":"Jive","jiveURL":"http://localhost:8080","hostName":"delsnegi02049","license":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<license id=\"201201017963\" name=\"Jive SBS\" type=\"COMMERCIAL\"><client name=\"\" company=\"Jive Software\"/><module name=\"mobile\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"center marketing &amp; sales\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"marketplace\" version=\"6.0.3.0 \" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"><property name=\"edition\">internal</property></module><module name=\"wiki\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" perpetual=\"true\" capped=\"false\"/><module name=\"blogs\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" perpetual=\"true\" capped=\"false\"/><module name=\"forums\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" perpetual=\"true\" capped=\"false\"/><module name=\"analytics\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"bridges\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"insight\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"mobile2\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"officeintegration\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"video\" version=\"5.0.0.0\" creationDate=\"01/24/2012\" expirationDate=\"12/31/2069\" perpetual=\"false\" capped=\"false\"/><module name=\"jiveap
                        at com.jivesoftware.service.common.http.ApacheHttpClient31BackedHttpClient.postJson(ApacheHttpClient31BackedHttpClient.java:67)
                        at com.jivesoftware.service.tenancy.registry.http.client.HttpClientTenancyRegistryService.registerServiceTenant(HttpClientTenancyRegistryService.java:108)
                        ... 5 more
                    Caused by: java.net.UnknownHostException: search.jiveland.com
                        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
                        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
                        at java.net.Socket.connect(Socket.java:529)
                        at java.net.Socket.connect(Socket.java:478)
                        at java.net.Socket.<init>(Socket.java:375)
                        at java.net.Socket.<init>(Socket.java:249)
                        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
                        at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
                        at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
                        at java.lang.Thread.run(Thread.java:662)