[Apiman-user] apiman.properties file not used for elasticsearch (1.1.7.Final)

Charles Moulliard cmoulliard at redhat.com
Wed Sep 9 09:45:04 EDT 2015


Hi,

If I change the apiman.properties file located under 
standalone/configuration folder of wildfly 
(apiman-1.1.7.Final/wildfly-8.2.0.Final/standalone/configuration/apiman.properties), 
save it and restart wildfly

# ---------------------------------------------------------------------
# The following are settings for using elasticsearch for various
# apiman components.
# ---------------------------------------------------------------------
apiman.es.protocol=http
#apiman.es.host=localhost
#apiman.es.port=19200
apiman.es.host=localhost
apiman.es.port=9200
apiman.es.username=
apiman.es.password=

apiman continues to use the old setting of ElasticSearch (= port 19200 
and not 9200 as changed).

15:19:20,637 INFO  [org.wildfly.extension.undertow] (MSC service thread 
1-9) JBAS017534: Registered web context: /auth
15:19:21,622 INFO  [org.elasticsearch.cluster.service] 
(elasticsearch[Bobster][clusterService#updateTask][T#1]) [Bobster] 
new_master 
[Bobster][JzTqzlrTQtC5lsLhrjrPyQ][localhost][inet[/192.168.1.80:19300]]{local=false}, 
reason: zen-disco-join (elected_as_master)
15:19:21,649 INFO  [org.elasticsearch.http] (MSC service thread 1-13) 
[Bobster] bound_address {inet[/0.0.0.0:19200]}, publish_address 
{inet[/192.168.1.80:19200]}
15:19:21,650 INFO  [org.elasticsearch.node] (MSC service thread 1-13) 
[Bobster] started
15:19:21,650 INFO  [stdout] (MSC service thread 1-13) 
-----------------------------
15:19:21,651 INFO  [stdout] (MSC service thread 1-13) apiman-es started!
15:19:21,651 INFO  [stdout] (MSC service thread 1-13) 
-----------------------------
15:19:21,655 INFO  [org.wildfly.extension.undertow] (MSC service thread 
1-13) JBAS017534: Registered web context: /apiman-es

Is there something else to do ?

Regards,
-- 
Charles Moulliard
Principal Solution Architect / JBoss Fuse Expert - Global Enablement @redhat
cmoulliard at redhat.com | work: +31 205 65 12 84 | mobile: +32 473 604 014
MC-Square Business "Stockholm", Leonardo Da Vincilaan 19, Diegem 1831 - 
Belgium
twitter: @cmoulliard <http://twitter.com/cmoulliard> | blog: 
cmoulliard.github.io <http://cmoulliard.github.io>
committer: apache camel, karaf, servicemix, hawtio, fabric8, drools, 
jbpm, deltaspike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150909/4c2d07f6/attachment.html 


More information about the Apiman-user mailing list