You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by kaa <su...@yandex.ru> on 2016/10/20 10:50:56 UTC

BlobMessages: JMSException: PUT was not successful: 404 Not Found

Hello,

I'm using activemq-5.14.1(extended, not embeded) with default settings. My
application runs on JBoss6.4. 
Text messages work fine. But when i try to send blob message i've got this
error:
   Caused by: javax.jms.JMSException: PUT was not successful: 404 Not Found
As I undestand there is wrong uploadUrl. Other topics said that it should be
"http://localhost:8161/fileserver/"
And i use it like this:
   ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("tcp://localhost:61616");
  
connectionFactory.getBlobTransferPolicy().setDefaultUploadUrl("http://localhost:8161/fileserver/");
  
connectionFactory.getBlobTransferPolicy().setBrokerUploadUrl("http://localhost:8161/fileserver/");
What am I doing wrong? Is there any way to check which url activemq file
server uses at this moment?

Thanks in advance.

log.txt <http://activemq.2283324.n4.nabble.com/file/n4718126/log.txt>  



--
View this message in context: http://activemq.2283324.n4.nabble.com/BlobMessages-JMSException-PUT-was-not-successful-404-Not-Found-tp4718126.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: BlobMessages: JMSException: PUT was not successful: 404 Not Found

Posted by Timothy Bish <ta...@gmail.com>.
ActiveMQ no longer runs a file server on its own, you should instead 
setup your own secure file server and use that, there are plenty of open 
source options out there to choose from.

On 10/20/2016 06:50 AM, kaa wrote:
> Hello,
>
> I'm using activemq-5.14.1(extended, not embeded) with default settings. My
> application runs on JBoss6.4.
> Text messages work fine. But when i try to send blob message i've got this
> error:
>     Caused by: javax.jms.JMSException: PUT was not successful: 404 Not Found
> As I undestand there is wrong uploadUrl. Other topics said that it should be
> "http://localhost:8161/fileserver/"
> And i use it like this:
>     ActiveMQConnectionFactory connectionFactory = new
> ActiveMQConnectionFactory("tcp://localhost:61616");
>    
> connectionFactory.getBlobTransferPolicy().setDefaultUploadUrl("http://localhost:8161/fileserver/");
>    
> connectionFactory.getBlobTransferPolicy().setBrokerUploadUrl("http://localhost:8161/fileserver/");
> What am I doing wrong? Is there any way to check which url activemq file
> server uses at this moment?
>
> Thanks in advance.
>
> log.txt <http://activemq.2283324.n4.nabble.com/file/n4718126/log.txt>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/BlobMessages-JMSException-PUT-was-not-successful-404-Not-Found-tp4718126.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>


-- 
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/