| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

GERONIMO Failure in JMXConnector service で起動しない

提供: MyMemoWiki
ナビゲーションに移動 検索に移動

GERONIMO Failure in JMXConnector service で起動しない

GERONIMO |

GERONIMOを起動

  1. # cd /opt/geronimo-1.1.1/bin
  2. # java -jar server.jar

で、起動すると、

  1. # java -jar server.jar
  2. Booting Geronimo Kernel (in Java 1.6.0)...
  3. Starting Geronimo Application Server v1.1.1
  4. [***> ] 16% 14s Starting geronimo/j2ee-security/1...21:01:04,907 WARN [1/car,j2eeType=GBean,name=JMXService] Failure in JMXConnector service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector
  5. [***> ] 16% 14s Starting geronimo/j2ee-security/1...21:01:04,923 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="geronimo/j2ee-security/1.1.1/car?ServiceModule=geronimo/j2ee-security/1.1.1/car,j2eeType=GBean,name=JMXService"
  6. java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/JMXConnector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is:
  7. java.net.ConnectException: Connection refused]
  8. at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)

といったエラー

hostsファイルを記述する

/etc/hosts を記述する。

  1. # Do not remove the following line, or various programs
  2. # that require network functionality will fail.
  3. 127.0.0.1 localhost
  4. 127.0.0.1 krishna.typea.info

起動した

  1. [root@krishna bin]# java -jar server.jar
  2. Booting Geronimo Kernel (in Java 1.6.0)...
  3. Starting Geronimo Application Server v1.1.1
  4. [**********************] 100% 40s Startup complete
  5. Listening on Ports:
  6. 1099 0.0.0.0 RMI Naming
  7. 1527 0.0.0.0 Derby Connector
  8. 4201 0.0.0.0 ActiveIO Connector EJB
  9. 4242 0.0.0.0 Remote Login Listener
  10. 8009 0.0.0.0 Tomcat Connector AJP
  11. 8080 0.0.0.0 Tomcat Connector HTTP
  12. 8443 0.0.0.0 Tomcat Connector HTTPS
  13. 9999 0.0.0.0 JMX Remoting Connector
  14. 61616 0.0.0.0 ActiveMQ Message Broker Connector
  15.  
  16. Started Application Modules:
  17. EAR: geronimo/webconsole-tomcat/1.1.1/car
  18. RAR: geronimo/activemq/1.1.1/car
  19. WAR: geronimo/remote-deploy-tomcat/1.1.1/car
  20. WAR: geronimo/welcome-tomcat/1.1.1/car
  21.  
  22. Web Applications:
  23. http://krishna.typea.info:8080/
  24. http://krishna.typea.info:8080/console
  25. http://krishna.typea.info:8080/console-standard
  26. http://krishna.typea.info:8080/remote-deploy
  27.  
  28. Geronimo Application Server started