git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

jolokia cors and 0.0.0.0


Hi,

found very strange issue while configuring artemis, which blocks web access. 
When i try to create instance with option --addresses=0.0.0.0
--http-host=0.0.0.0 cli correctly configures bootstrap.xml and broker.xml.

it also adds http-host to jolokia-access.xml as 0.0.0.0 due to cli
implemenation as 

<allow-origin>*://${http.host}*</allow-origin>

this will work if specific ip or domain provided but with 0.0.0.0 web
console does not connect to server as from browser it sends origin as IP
address of host which gets blocked by jolokia security. 

is there any way workaround or fix for this without manually modifying
jolokia-access.xml ? 

Regards,
Jigar



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html