Skip to main content
Tweeted twitter.com/StackTridion/status/717852123954880512
added 115 characters in body
Source Link
Dominic Cronin
  • 18.5k
  • 3
  • 23
  • 74

I have configured the SDL Web 8 Deployer as a standalone microservice. When I try to start the service, I get this error in the logs:

2016-04-06 10:36:37,873 ERROR SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deployerController': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: License file 'cd_licenses.xml' could not be found.

In the cd_storage_conf.xml file of the service, I have the following:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

I have also tried these variants:

<License Location="C:\\Program Files (x86)\\SDL Web\\config\\cd_licenses.xml"/>
<License Location="C:/Program Files (x86)/SDL Web/config/cd_licenses.xml"/>

In the configuration of my Content service, I have the following, and it works:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

If I copy the license file into the config folder of the Deployer service, it works correctly, but I'd rather keep my license file in a single location.

Why does the Deployer appear to work differently to the other (apparently similar) services, and how can I get it to accept the license location? Is there something else that needs to be configured in addition to the storage conf? (I tried adding a License element at the bottom of the cd_deployer_conf.xml, but I got a schema validation error.)

I have configured the SDL Web 8 Deployer as a standalone microservice. When I try to start the service, I get this error in the logs:

2016-04-06 10:36:37,873 ERROR SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deployerController': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: License file 'cd_licenses.xml' could not be found.

In the cd_storage_conf.xml file of the service, I have the following:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

I have also tried these variants:

<License Location="C:\\Program Files (x86)\\SDL Web\\config\\cd_licenses.xml"/>
<License Location="C:/Program Files (x86)/SDL Web/config/cd_licenses.xml"/>

In the configuration of my Content service, I have the following, and it works:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

If I copy the license file into the config folder of the Deployer service, it works correctly, but I'd rather keep my license file in a single location.

Why does the Deployer appear to work differently to the other (apparently similar) services, and how can I get it to accept the license location? Is there something else that needs to be configured in addition to the storage conf?

I have configured the SDL Web 8 Deployer as a standalone microservice. When I try to start the service, I get this error in the logs:

2016-04-06 10:36:37,873 ERROR SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deployerController': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: License file 'cd_licenses.xml' could not be found.

In the cd_storage_conf.xml file of the service, I have the following:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

I have also tried these variants:

<License Location="C:\\Program Files (x86)\\SDL Web\\config\\cd_licenses.xml"/>
<License Location="C:/Program Files (x86)/SDL Web/config/cd_licenses.xml"/>

In the configuration of my Content service, I have the following, and it works:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

If I copy the license file into the config folder of the Deployer service, it works correctly, but I'd rather keep my license file in a single location.

Why does the Deployer appear to work differently to the other (apparently similar) services, and how can I get it to accept the license location? Is there something else that needs to be configured in addition to the storage conf? (I tried adding a License element at the bottom of the cd_deployer_conf.xml, but I got a schema validation error.)

added 7 characters in body
Source Link
Dominic Cronin
  • 18.5k
  • 3
  • 23
  • 74

I have configured the SDL Web 8 Deployer as a standalone microservice. When I try to start the service, I get this error in the logs:

2016-04-06 10:36:37,873 ERROR SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deployerController': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: License file 'cd_licenses.xml' could not be found.

In the cd_storage_conf.xml file of the service, I have the following:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

I have also tried these variants:

<License Location="C:\\Program Files (x86)\\SDL Web\\config\\cd_licenses.xml"/>
<License Location="C:/Program Files (x86)/SDL Web/config/cd_licenses.xml"/>

In the configuration of my Content service, I have the following, and it works:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

If I copy the license file into the config folder of the Deployer service, it works correctly, but I'd rather keep my license file in a single location.

Why does the Deployer appear to work differently to the other (apparently similar) services, and how can I get it to accept the license location? Is there something else that needs to be configured in addition to the storage conf?

I have configured the SDL Web 8 Deployer as a standalone microservice. When I try to start the service, I get this error in the logs:

2016-04-06 10:36:37,873 ERROR SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deployerController': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: License file 'cd_licenses.xml' could not be found.

In the cd_storage_conf.xml file of the service, I have the following:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

I have also tried these variants:

<License Location="C:\\Program Files (x86)\\SDL Web\\config\\cd_licenses.xml"/>
<License Location="C:/Program Files (x86)/SDL Web/config/cd_licenses.xml"/>

In the configuration of my Content service, I have the following, and it works:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

If I copy the license file into the folder of the Deployer service, it works correctly, but I'd rather keep my license file in a single location.

Why does the Deployer appear to work differently to the other (apparently similar) services, and how can I get it to accept the license location? Is there something else that needs to be configured in addition to the storage conf?

I have configured the SDL Web 8 Deployer as a standalone microservice. When I try to start the service, I get this error in the logs:

2016-04-06 10:36:37,873 ERROR SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deployerController': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: License file 'cd_licenses.xml' could not be found.

In the cd_storage_conf.xml file of the service, I have the following:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

I have also tried these variants:

<License Location="C:\\Program Files (x86)\\SDL Web\\config\\cd_licenses.xml"/>
<License Location="C:/Program Files (x86)/SDL Web/config/cd_licenses.xml"/>

In the configuration of my Content service, I have the following, and it works:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

If I copy the license file into the config folder of the Deployer service, it works correctly, but I'd rather keep my license file in a single location.

Why does the Deployer appear to work differently to the other (apparently similar) services, and how can I get it to accept the license location? Is there something else that needs to be configured in addition to the storage conf?

Source Link
Dominic Cronin
  • 18.5k
  • 3
  • 23
  • 74

Problems locating license for Deployer microservice

I have configured the SDL Web 8 Deployer as a standalone microservice. When I try to start the service, I get this error in the logs:

2016-04-06 10:36:37,873 ERROR SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deployerController': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: License file 'cd_licenses.xml' could not be found.

In the cd_storage_conf.xml file of the service, I have the following:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

I have also tried these variants:

<License Location="C:\\Program Files (x86)\\SDL Web\\config\\cd_licenses.xml"/>
<License Location="C:/Program Files (x86)/SDL Web/config/cd_licenses.xml"/>

In the configuration of my Content service, I have the following, and it works:

<License Location="C:\Program Files (x86)\SDL Web\config\cd_licenses.xml"/>

If I copy the license file into the folder of the Deployer service, it works correctly, but I'd rather keep my license file in a single location.

Why does the Deployer appear to work differently to the other (apparently similar) services, and how can I get it to accept the license location? Is there something else that needs to be configured in addition to the storage conf?