Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15741

Azure binary provider always uses *.blob.core.windows.net

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6.0
    • Component/s: Azure
    • Labels:
      None

      Description

      Symptoms: Users who require access to a Microsoft Azure Blob Storage Provider that is not along the lines of *.blob.core.windows.net are unable to configure a different endpoint in the binarystore.xml file.

      Steps to reproduce:
      1. Use the default cluster Azure binary provider template:
      <chain template="cluster-azure-blob-storage"/>
      <provider id="azure-blob-storage" type="azure-blob-storage">
      <accountName>XXXXXX</accountName>
      <accountKey>dGVzdGluZzEyMw==</accountKey>
      <endpoint>https://foo.blob.microsoft.gov</endpoint>
      <containerName>artifactory</containerName>
      </provider>

      2. Attempt to start Artifactory

      3. Observe the following error in the Artifactory logs (Note the use of "XXXXXX.blob.core.windows.net"):

      2018-01-25 16:58:01,224 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:99) - Application could not be initialized: XXXXXX.blob.core.windows.net
      java.lang.reflect.InvocationTargetException: null
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_144]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_144]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_144]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_144]
      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:224) ~[artifactory-web-application-5.8.3.jar:na]
      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$2(ArtifactoryContextConfigListener.java:186) ~[artifactory-web-application-5.8.3.jar:na]
      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:95) ~[artifactory-web-application-5.8.3.jar:na]
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bowerRequestHelper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.repo.service.InternalRepositoryService org.artifactory.addon.bower.rest.BowerRequestHelper.repositoryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.api.request.UploadService org.artifactory.repo.service.RepositoryServiceImpl.uploadService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uploadServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.storage.binstore.service.BinaryService org.artifactory.engine.UploadServiceImpl.binaryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binaryServiceImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:224) ~[artifactory-core-5.8.3.jar:na]
      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:124) ~[artifactory-core-5.8.3.jar:na]
      ... 7 common frames omitted
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.repo.service.InternalRepositoryService org.artifactory.addon.bower.rest.BowerRequestHelper.repositoryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.api.request.UploadService org.artifactory.repo.service.RepositoryServiceImpl.uploadService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uploadServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.storage.binstore.service.BinaryService org.artifactory.engine.UploadServiceImpl.binaryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binaryServiceImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      ... 19 common frames omitted
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.api.request.UploadService org.artifactory.repo.service.RepositoryServiceImpl.uploadService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uploadServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.storage.binstore.service.BinaryService org.artifactory.engine.UploadServiceImpl.binaryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binaryServiceImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      ... 21 common frames omitted
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.api.request.UploadService org.artifactory.repo.service.RepositoryServiceImpl.uploadService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uploadServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.storage.binstore.service.BinaryService org.artifactory.engine.UploadServiceImpl.binaryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binaryServiceImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      ... 32 common frames omitted
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uploadServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.storage.binstore.service.BinaryService org.artifactory.engine.UploadServiceImpl.binaryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binaryServiceImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      ... 34 common frames omitted
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.artifactory.storage.binstore.service.BinaryService org.artifactory.engine.UploadServiceImpl.binaryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binaryServiceImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      ... 45 common frames omitted
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binaryServiceImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      ... 47 common frames omitted
      Caused by: java.lang.RuntimeException: Failed to test connection withAzureBlobStorageBinaryProvider, container:artifactory
      at org.artifactory.addon.filestore.type.CommonCloudProviderMethods.test(CommonCloudProviderMethods.java:66) ~[artifactory-addon-filestore-5.8.3.jar:na]
      at org.artifactory.addon.filestore.type.azureblobstorage.AzureBlobStorageBinaryProvider.testAzureBlobStorageConnection(AzureBlobStorageBinaryProvider.java:377) ~[artifactory-addon-filestore-5.8.3.jar:na]
      at org.artifactory.addon.filestore.type.azureblobstorage.AzureBlobStorageBinaryProvider.initialize(AzureBlobStorageBinaryProvider.java:84) ~[artifactory-addon-filestore-5.8.3.jar:na]
      at org.jfrog.storage.binstore.providers.builder.BinaryProviderFactory.build(BinaryProviderFactory.java:97) ~[binary-store-core-2.0.32.jar:na]
      at org.jfrog.storage.binstore.providers.builder.BinaryProviderFactory.build(BinaryProviderFactory.java:85) ~[binary-store-core-2.0.32.jar:na]
      at org.jfrog.storage.binstore.providers.builder.BinaryProviderFactory.build(BinaryProviderFactory.java:85) ~[binary-store-core-2.0.32.jar:na]
      at org.jfrog.storage.binstore.providers.builder.BinaryProviderFactory.build(BinaryProviderFactory.java:92) ~[binary-store-core-2.0.32.jar:na]
      at org.jfrog.storage.binstore.providers.builder.BinaryProviderFactory.build(BinaryProviderFactory.java:85) ~[binary-store-core-2.0.32.jar:na]
      at org.jfrog.storage.binstore.providers.builder.BinaryProviderFactory.buildProviders(BinaryProviderFactory.java:75) ~[binary-store-core-2.0.32.jar:na]
      at org.jfrog.storage.binstore.manager.BinaryProviderManagerImpl.<init>(BinaryProviderManagerImpl.java:107) ~[binary-store-core-2.0.32.jar:na]
      at org.artifactory.storage.db.binstore.service.BinaryServiceImpl.initialize(BinaryServiceImpl.java:176) ~[artifactory-storage-db-5.8.3.jar:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_144]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_144]
      at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144]
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      ... 59 common frames omitted
      Caused by: java.io.IOException: Failed to put blob '0e966872963d058f72ced70f28fccf37da3b8e16' to azure blob storage
      at org.artifactory.addon.filestore.type.azureblobstorage.AzureBlobStorageBinaryProvider.addSmallStream(AzureBlobStorageBinaryProvider.java:218) ~[artifactory-addon-filestore-5.8.3.jar:na]
      at org.artifactory.addon.filestore.type.azureblobstorage.AzureBlobStorageBinaryProvider.addStream(AzureBlobStorageBinaryProvider.java:186) ~[artifactory-addon-filestore-5.8.3.jar:na]
      at org.artifactory.addon.filestore.type.CommonCloudProviderMethods.test(CommonCloudProviderMethods.java:47) ~[artifactory-addon-filestore-5.8.3.jar:na]
      ... 76 common frames omitted
      java.io.IOException: null
      at com.microsoft.azure.storage.core.Utility.initIOException(Utility.java:569) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.blob.BlobOutputStream.writeBlock(BlobOutputStream.java:444) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.blob.BlobOutputStream.access$000(BlobOutputStream.java:53) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.blob.BlobOutputStream$1.call(BlobOutputStream.java:388) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.blob.BlobOutputStream$1.call(BlobOutputStream.java:385) ~[azure-storage-4.0.0.jar:na]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_144]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_144]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_144]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_144]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_144]
      at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_144]
      Caused by: com.microsoft.azure.storage.StorageException: The server encountered an unknown failure:
      at com.microsoft.azure.storage.StorageException.translateException(StorageException.java:101) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:199) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.blob.CloudBlockBlob.uploadBlockInternal(CloudBlockBlob.java:904) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.blob.CloudBlockBlob.uploadBlock(CloudBlockBlob.java:876) ~[azure-storage-4.0.0.jar:na]
      at com.microsoft.azure.storage.blob.BlobOutputStream.writeBlock(BlobOutputStream.java:438) ~[azure-storage-4.0.0.jar:na]
      ... 9 common frames omitted
      Caused by: java.net.UnknownHostException: XXXXXX.blob.core.windows.net
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[na:1.8.0_144]
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_144]
      at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_144]
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) ~[na:1.8.0_144]
      at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[na:1.8.0_144]
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[na:1.8.0_144]
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[na:1.8.0_144]
      at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[na:1.8.0_144]
      at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[na:1.8.0_144]
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[na:1.8.0_144]
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138) ~[na:1.8.0_144]
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032) ~[na:1.8.0_144]
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[na:1.8.0_144]
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316) ~[na:1.8.0_144]
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291) ~[na:1.8.0_144]
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) ~[na:1.8.0_144]
      at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:103) ~[azure-storage-4.0.0.jar:na]
      ... 12 common frames omitted
      2018-01-25 16:58:02,752 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.AccessApplication:57) - Started AccessApplication in 10.047 seconds (JVM running for 11.373)
      Jan 25, 2018 4:58:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deployment of configuration descriptor [/Users/patrickr/Library/artifactory-pro-5.6.3/tomcat/conf/Catalina/localhost/access.xml] has finished in [10,858] ms
      Jan 25, 2018 4:58:02 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory [/Users/patrickr/Library/artifactory-pro-5.6.3/tomcat/webapps/ROOT]
      Jan 25, 2018 4:58:02 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deployment of web application directory [/Users/patrickr/Library/artifactory-pro-5.6.3/tomcat/webapps/ROOT] has finished in [13] ms
      Jan 25, 2018 4:58:02 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-nio-8081"]
      Jan 25, 2018 4:58:02 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-nio-8040"]
      Jan 25, 2018 4:58:02 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-nio-8019"]
      2018-01-25 16:58:02,845 [http-nio-8081-exec-1] [ERROR] (o.a.w.s.ArtifactoryFilter:213) - Artifactory failed to initialize: Context is null

        Attachments

          Activity

            People

            • Assignee:
              rotemk Rotem Kfir
              Reporter:
              patrickr Patrick Russell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: