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

MyMemoWiki

「GERONIMO Failure in JMXConnector service で起動しない」の版間の差分

提供: MyMemoWiki
ナビゲーションに移動 検索に移動
 
(同じ利用者による、間の1版が非表示)
1行目: 1行目:
==GERONIMO Failure in JMXConnector service で起動しない==
+
==[[GERONIMO Failure in JMXConnector service で起動しない]]==
[[GERONIMO]]
+
[[GERONIMO]] |
  
====GERONIMOを起動====
+
====[[GERONIMO]]を起動====
 
  # cd /opt/geronimo-1.1.1/bin
 
  # cd /opt/geronimo-1.1.1/bin
 
  # java -jar server.jar
 
  # java -jar server.jar
8行目: 8行目:
 
で、起動すると、
 
で、起動すると、
 
  # java -jar server.jar
 
  # java -jar server.jar
  Booting Geronimo Kernel (in Java 1.6.0)...
+
  Booting Geronimo Kernel (in [[Java]] 1.6.0)...
  Starting Geronimo Application Server v1.1.1
+
  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,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"
 
  [***>                  ] 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.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]
 
         java.net.ConnectException: Connection refused]
         at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
+
         at javax.management.remote.rmi.[[R]]MIConnectorServer.newIOException([[R]]MIConnectorServer.java:804)
 
                       :
 
                       :
 
といったエラー
 
といったエラー
27行目: 27行目:
 
====起動した====
 
====起動した====
 
  [root@krishna bin]# java -jar server.jar
 
  [root@krishna bin]# java -jar server.jar
  Booting Geronimo Kernel (in Java 1.6.0)...
+
  Booting Geronimo Kernel (in [[Java]] 1.6.0)...
  Starting Geronimo Application Server v1.1.1
+
  Starting Geronimo [[Application Server]] v1.1.1
 
  [**********************] 100%  40s Startup complete                     
 
  [**********************] 100%  40s Startup complete                     
 
   Listening on Ports:
 
   Listening on Ports:
     1099 0.0.0.0 RMI Naming
+
     1099 0.0.0.0 [[R]]MI Naming
 
     1527 0.0.0.0 Derby Connector
 
     1527 0.0.0.0 Derby Connector
     4201 0.0.0.0 ActiveIO Connector EJB
+
     4201 0.0.0.0 ActiveIO Connector [[EJB]]
     4242 0.0.0.0 Remote Login Listener
+
     4242 0.0.0.0 [[R]]emote Login Listener
     8009 0.0.0.0 Tomcat Connector AJP
+
     8009 0.0.0.0 [[Tomcat]] Connector AJP
     8080 0.0.0.0 Tomcat Connector HTTP
+
     8080 0.0.0.0 [[Tomcat]] Connector HTTP
     8443 0.0.0.0 Tomcat Connector HTTPS
+
     8443 0.0.0.0 [[Tomcat]] Connector HTTPS
     9999 0.0.0.0 JMX Remoting Connector
+
     9999 0.0.0.0 JMX [[R]]emoting Connector
 
     61616 0.0.0.0 ActiveMQ Message Broker Connector
 
     61616 0.0.0.0 ActiveMQ Message Broker Connector
 
   
 
   
 
   Started Application Modules:
 
   Started Application Modules:
     EAR: geronimo/webconsole-tomcat/1.1.1/car
+
     EA[[R]]: geronimo/webconsole-tomcat/1.1.1/car
     RAR: geronimo/activemq/1.1.1/car
+
     [[R]]A[[R]]: geronimo/activemq/1.1.1/car
     WAR: geronimo/remote-deploy-tomcat/1.1.1/car
+
     WA[[R]]: geronimo/remote-deploy-tomcat/1.1.1/car
     WAR: geronimo/welcome-tomcat/1.1.1/car
+
     WA[[R]]: geronimo/welcome-tomcat/1.1.1/car
 
   
 
   
 
   Web Applications:
 
   Web Applications:
53行目: 53行目:
 
     http://krishna.typea.info:8080/remote-deploy
 
     http://krishna.typea.info:8080/remote-deploy
 
   
 
   
  Geronimo Application Server started
+
  Geronimo [[Application Server]] started

2020年2月16日 (日) 04:26時点における最新版

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