[rabbitmq-discuss] RabbitManagement from Berico - Technologies is not working

Michael Klishin mklishin at gopivotal.com
Tue Jun 24 10:38:10 BST 2014


On 24 June 2014 at 13:35:03, Rom Cabral (rom.t.cabral at gmail.com) wrote:
> > test code:
> RabbitMgmtService service = RabbitMgmtService.builder().build();  
> //service.initialize();
> service.queues().create(new Queue("test-queue"));
> Assert.assertEquals("test-queue", service.queues().get("test-queue").get().getName());  
>  
>  
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:  
> 0.169 sec <<< FAILURE! - in com.transport.implementation.ManagementClientTest  
> QueueUsageTest(com.trendmicro.grid.transport.implementation.ManagementClientTest)  
> Time elapsed: 0.14 sec <<< ERROR!
> java.lang.ExceptionInInitializerError: null
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)  
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)  
> at java.security.AccessController.doPrivileged(Native  
> Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)  

… 

> at rabbitmq.httpclient.BasicAuthHttpClientProvider.getClient(BasicAuthHttpClientProvider.java:25)  

My guess is that you did not specify a valid pair of credentials to
BasicAuthHttpClientProvider.
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list