activemq - Red Hat 7 with JBoss A-MQ 6.1: management console is not accessible -


we're having same problem op: jboss activemq on red hat - unable access amq web console, post doesn't indicate how solved problem.

we're trying evaluate jboss a-mq, , have installed rhel 7 a-mq 6.1 according installation guide. works locally, e.g. sample producer/consumer tests succeed in verifying installation step.

however, cannot access management console, after configuring remote user. did have add java_options entry setenv override default ipv6 sockets, , netstat shows service listening on tcp socket instead of tcp6:

file /opt/jboss-a-mq-6.1.0.redhat-379/bin/setenv contains: java_opts="$java_opts -djava.net.preferipv4stack=true" export java_opts  # netstat -paunt | grep 8181 tcp        0      0 0.0.0.0:8181            0.0.0.0:*               listen      10698/java 

we can ping box other systems, attempting open telnet session on port 8181 times out. management console urls we've tried are:

http://172.16.100.110:8181/hawtio http://172.16.100.110:8181 

but neither work. what missing?

here entries amq.log containing hawt, seem starting things correctly:

$ grep hawt amq.log 2014-09-09 11:32:35,778 | info  | felixstartlevel  | httpservicefactoryimpl           | .internal.httpservicefactoryimpl   35 | 98 - org.ops4j.pax.web.pax-web-runtime - 3.0.6 | binding bundle: [io.hawt.hawtio-web [146]] http service 2014-09-09 11:32:35,860 | info  | pool-10-thread-1 | configmanager                    | io.hawt.system.configmanager       32 | 146 - io.hawt.hawtio-web - 1.2.0.redhat-379 | configuration discovered via system properties 2014-09-09 11:32:35,863 | info  | pool-10-thread-1 | jmxtreewatcher                   | io.hawt.jmx.jmxtreewatcher         63 | 146 - io.hawt.hawtio-web - 1.2.0.redhat-379 | welcome hawtio 1.2-redhat-379 : http://hawt.io/ : don't cha wish console hawt me? ;-) 2014-09-09 11:32:35,865 | info  | pool-10-thread-1 | uploadmanager                    | io.hawt.jmx.uploadmanager          40 | 146 - io.hawt.hawtio-web - 1.2.0.redhat-379 | using file upload directory: /opt/jboss-a-mq-6.1.0.redhat-379/data/tmp/uploads 2014-09-09 11:32:35,868 | info  | pool-10-thread-1 | authenticationfilter             | io.hawt.web.authenticationfilter   84 | 146 - io.hawt.hawtio-web - 1.2.0.redhat-379 | starting hawtio authentication filter, jaas realm: "karaf" authorized role: "admin" role principal classes: "" 2014-09-09 11:32:35,965 | info  | felixstartlevel  | httpservicefactoryimpl           | .internal.httpservicefactoryimpl   35 | 98 - org.ops4j.pax.web.pax-web-runtime - 3.0.6 | binding bundle: [io.hawt.hawtio-karaf-terminal [148]] http service 2014-09-09 11:32:35,987 | info  | pool-10-thread-2 | configmanager                    | io.hawt.system.configmanager       32 | 148 - io.hawt.hawtio-karaf-terminal - 1.2.0.redhat-379 | configuration discovered via system properties 2014-09-09 11:32:35,988 | info  | pool-10-thread-2 | authenticationfilter             | io.hawt.web.authenticationfilter   84 | 148 - io.hawt.hawtio-karaf-terminal - 1.2.0.redhat-379 | starting hawtio authentication filter, jaas realm: "karaf" authorized role: "admin" role principal classes: "" 2014-09-09 11:32:35,996 | warn  | felixstartlevel  | configfacade                     | io.hawt.config.configfacade        23 | 149 - io.hawt.hawtio-maven-indexer - 1.2.0.redhat-379 | no configfacade constructed yet using default configuration 2014-09-09 11:32:36,015 | info  | pool-10-thread-2 | loginservlet                     | io.hawt.web.loginservlet           55 | 148 - io.hawt.hawtio-karaf-terminal - 1.2.0.redhat-379 | hawtio login using default httpsession timeout 2014-09-09 11:32:36,128 | info  | pool-10-thread-1 | hawtio-web - 146}                | lipse.jetty.util.log.javautillog   75 | 90 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | jolokia-agent: no access restrictor found @ classpath:/jolokia-access.xml, access mbeans allowed 2014-09-09 11:32:36,191 | info  | pool-10-thread-1 | loginservlet                     | io.hawt.web.loginservlet           55 | 146 - io.hawt.hawtio-web - 1.2.0.redhat-379 | hawtio login using default httpsession timeout 2014-09-09 11:32:39,227 | info  | de startup timer | mavenindexerfacade               | maven.indexer.mavenindexerfacade   98 | 149 - io.hawt.hawtio-maven-indexer - 1.2.0.redhat-379 | storing maven index files in local directory: /opt/jboss-a-mq-6.1.0.redhat-379/data/mavenindexer 2014-09-09 11:32:39,621 | info  | de startup timer | mavenindexerfacade               | maven.indexer.mavenindexerfacade  148 | 149 - io.hawt.hawtio-maven-indexer - 1.2.0.redhat-379 | updating maven indices. may take while, please patient... 2014-09-09 11:32:39,852 | info  | de startup timer | mavenindexerfacade               | maven.indexer.mavenindexerfacade  185 | 149 - io.hawt.hawtio-maven-indexer - 1.2.0.redhat-379 | completed updating 2 maven indices. 

omg, firewall on local server.

after spending day scouring web ideas, trying figure out wrong configuration, in desperation thought should try disabling firewall , see happens. shut down command:

sudo service firewalld stop 

and access management console! tried default url, , worked:

http://172.16.100.110:8181 

d'oh!


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -