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

MyMemoWiki

GERONIMO Failure in JMXConnector service で起動しない

提供: MyMemoWiki
2020年2月16日 (日) 04:26時点におけるPiroto (トーク | 投稿記録)による版
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

GERONIMO Failure in JMXConnector service で起動しない

GERONIMO |

GERONIMOを起動

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

で、起動すると、

# java -jar server.jar
Booting Geronimo Kernel (in Java 1.6.0)...
Starting Geronimo Application Server v1.1.1
[***>                  ] 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
[***>                  ] 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"
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: 
        java.net.ConnectException: Connection refused]
        at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
                     :

といったエラー

hostsファイルを記述する

/etc/hosts を記述する。

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

起動した

[root@krishna bin]# java -jar server.jar
Booting Geronimo Kernel (in Java 1.6.0)...
Starting Geronimo Application Server v1.1.1
[**********************] 100%  40s Startup complete                    
  Listening on Ports:
    1099 0.0.0.0 RMI Naming
    1527 0.0.0.0 Derby Connector
    4201 0.0.0.0 ActiveIO Connector EJB
    4242 0.0.0.0 Remote Login Listener
    8009 0.0.0.0 Tomcat Connector AJP
    8080 0.0.0.0 Tomcat Connector HTTP
    8443 0.0.0.0 Tomcat Connector HTTPS
    9999 0.0.0.0 JMX Remoting Connector
   61616 0.0.0.0 ActiveMQ Message Broker Connector

  Started Application Modules:
    EAR: geronimo/webconsole-tomcat/1.1.1/car
    RAR: geronimo/activemq/1.1.1/car
    WAR: geronimo/remote-deploy-tomcat/1.1.1/car
    WAR: geronimo/welcome-tomcat/1.1.1/car

  Web Applications:
    http://krishna.typea.info:8080/
    http://krishna.typea.info:8080/console
    http://krishna.typea.info:8080/console-standard
    http://krishna.typea.info:8080/remote-deploy

Geronimo Application Server started