Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5000

When initializing a client cache, we don't need to request/apply cluster configuration

    XMLWordPrintableJSON

Details

    Description

      The user running a gemfire client doesn't have write access to the local dirs in the customer environment, and they get an stack trace in their logs. This is caused by a client cache trying to request/apply cluster configuration.

      [error 2018/02/12 17:52:13.899 EST <localhost-startStop-1> tid=0x12] Error when attempting to deploy JAR files on load.
      java.io.IOException: Unable to write to deploy directory
      at org.apache.geode.internal.JarDeployer.verifyWritableDeployDirectory(JarDeployer.java:626)
      at org.apache.geode.internal.JarDeployer.loadPreviouslyDeployedJars(JarDeployer.java:74)
      at org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1242)
      at org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:794)
      at org.apache.geode.internal.cache.GemFireCacheImpl.createClient(GemFireCacheImpl.java:767)
      at org.apache.geode.cache.client.ClientCacheFactory.basicCreate(ClientCacheFactory.java:257)
      at org.apache.geode.cache.client.ClientCacheFactory.create(ClientCacheFactory.java:207)

      Attachments

        Activity

          People

            jinmeiliao Jinmei Liao
            jinmeiliao Jinmei Liao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m