2 Replies Latest reply on Nov 30, 2012 7:22 AM by chpproductteam

    Jive 6.0 upgrade failing to connect to search.jiveland.com on port 20000

    chpproductteam

      I'm hitting an issue upgrading Jive from 4.5.4 to 6.0 on RHEL6. On first starting the jive-application, before the Admin Console loads to allow the upgrade process to continue, the service is trying to connect to http://search.jiveland.com on port 20000 :

       

      09 Nov 2012 15:30:17,775 [SingleTenantHeartBeat] [::] ERROR tenant.SingleTenantService - Cannot update Service Client Provider until Tenancy has been established. Will retry shortly..

      09 Nov 2012 15:30:17,775 [SingleTenantHeartBeat] [::] ERROR tenant.SingleTenantService - Please check your connectivity to the directory service!

      directory service host = search.jiveland.com

      directory service port = 20000

      Please ensure a firewall isnt blocking access.

      ...

      09 Nov 2012 15:30:17,776 [SingleTenantHeartBeat] [::] ERROR 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:112)

        at com.jivesoftware.service.client.JiveTenancyRegistryServiceFactory$1.registerServiceTenant(JiveTenancyRegistryServiceFactory.java:39)

        at com.jivesoftware.service.tenant.SingleTenantService.updateTenancyProvider(SingleTenantService.java:123)

        at com.jivesoftware.service.tenant.SingleTenantService$1.run(SingleTenantService.java:108)

        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

       

      As the error message suggests, a firewall IS blocking port 20000 and it is not a straightforward task to open up this port on our network. I suspect this task is checking the license (the file /usr/local/jive/applications/sbs/home/jive.license has been updated manually with our new Jive 6.0 license as the upgrade process was previously reporting an invalid license with the original 4.5.4 license details in the file).

       

      Is there any other way to update the Service Client Provider without using port 20000? List of Required Ports and Domains does NOT mention 20000 as a required port.

        • Re: Jive 6.0 upgrade failing to connect to search.jiveland.com on port 20000
          cticheno

          This is a fresh install.  I also am getting the same error.  Were you able to resolve this?

           

          2012-11-28 10:12:08,779 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Cannot update Service Client Provider until Tenancy has been established. Will retry shortly..

          2012-11-28 10:12:08,779 [SingleTenantHeartBeat] [::] ERROR com.jivesoftware.service.tenant.SingleTenantService - Please check your connectivity to the directory service!

          directory service host = search.jiveland.com

          directory service port = 20000

          Please ensure a firewall isnt blocking access.

          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.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)

                  at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)

                  at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)

                  at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)

                  at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

                  at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

                  at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

                  at com.jivesoftware.service.common.http.ApacheHttpClient31BackedHttpClient.execute(ApacheHttpClient31BackedHttpClient.java:97)

                  at com.jivesoftware.service.common.http.ApacheHttpClient31BackedHttpClient.postJson(ApacheHttpClient31BackedHttpClient.java:64)

            • Re: Jive 6.0 upgrade failing to connect to search.jiveland.com on port 20000
              chpproductteam

              I raised a case with Jive regarding this error, and although I haven't tried this yet because I am looking at a separate task, I was given the following information:

               

              "With the application stopped, manually set the following system properties via the jiveproperty table in the database:

               

              name | propvalue

              --------------------------+-------------------------------------

              1. services.skyhook.host | localhost
              2. services.skyhook.on.prem | true
              3. services.skyhook.port | 30000


              Where the host can be either localhost or the hostname of the separate search node (if applicable).  You can make these changes with queries like:

              update jiveproperty set propvalue='localhost' where name='services.skyhook.host'


              Then start the application."


              Let me know if this resolves your problem.