You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by nosajsnikta <ja...@clearswift.com> on 2013/03/08 14:15:41 UTC

403

I'm using ActiveMQ 5.7.0 with default configuration.

The problem I am having is when trying to delete the uploaded file resulting
from the transfer of a BlobMessage.

The file is uploaded successfully to the default /fileserver directory, and
the message can also be successfully processed. However, when I try the
following to remove the file after processing has finished, I get 'DELETE
was not successful: 403 forbidden':

((ActiveMQBlobMessage)theMessage).deleteFile()

The process that handles the message is hosted within Tomcat7. I'm pretty
sure it is the default Jetty configuration that does not allow for HTTP
DELETEs, but cannot find how to enable this for the life of me.

The only change I have made is the grant tomcat7 group write access to the
/fileserver directory, but that made little difference.

Thanks in advance



--
View this message in context: http://activemq.2283324.n4.nabble.com/403-tp4664505.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.