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

MyMemoWiki

「GERONIMO 導入」の版間の差分

提供: MyMemoWiki
ナビゲーションに移動 検索に移動
 
1行目: 1行目:
==GERONIMO 導入==
+
==[[GERONIMO 導入]]==
{{include_html banner_html, "!Geronimo"}}
+
{{include_html [[banner_html]], "!Geronimo"}}
 
[[GERONIMO]] |  
 
[[GERONIMO]] |  
  
 
ver 1.1.1
 
ver 1.1.1
Fedora Core 3 に導入
+
[[Fedora Core]] 3 に導入
 
===導入===
 
===導入===
 
*http://geronimo.apache.org/
 
*http://geronimo.apache.org/
10行目: 10行目:
 
====前提====
 
====前提====
 
=====[http://java.sun.com/ J2SE SDK]=====
 
=====[http://java.sun.com/ J2SE SDK]=====
=====Maven=====
+
=====[[Maven]]=====
  
 
====ダウンロード~解凍====
 
====ダウンロード~解凍====
27行目: 27行目:
 
geronimo-1.1.1/var/config/config.xml
 
geronimo-1.1.1/var/config/config.xml
 
8080 → 8090
 
8080 → 8090
  <gbean name="TomcatWebConnector">
+
  <gbean name="[[Tomcat]]WebConnector">
 
  <attribute name="host">0.0.0.0</attribute><attribute name="port">8090</attribute>
 
  <attribute name="host">0.0.0.0</attribute><attribute name="port">8090</attribute>
 
  <attribute name="redirectPort">8443</attribute>
 
  <attribute name="redirectPort">8443</attribute>
33行目: 33行目:
  
 
  # java -jar server.jar  
 
  # java -jar server.jar  
  Booting Geronimo Kernel (in Java 1.5.0)...
+
  Booting Geronimo Kernel (in [[Java]] 1.5.0)...
  Starting Geronimo Application Server v1.1.1
+
  Starting Geronimo [[Application Server]] v1.1.1
 
  [**********************] 100%  72s Startup complete                     
 
  [**********************] 100%  72s 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
     8090 0.0.0.0 Tomcat Connector HTTP
+
     8090 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:
59行目: 59行目:
 
     http://siva.typea.dip.jp:8090/remote-deploy
 
     http://siva.typea.dip.jp:8090/remote-deploy
 
   
 
   
  Geronimo Application Server started
+
  Geronimo [[Application Server]] started
 
[[File:0524_geronimo_ins.jpg]]
 
[[File:0524_geronimo_ins.jpg]]
 
====管理ユーザ名の変更====
 
====管理ユーザ名の変更====
 
デフォルトは、system/manager
 
デフォルトは、system/manager
 
  # cd geronimo-1.1.1/var/security/
 
  # cd geronimo-1.1.1/var/security/
  # vi groups.properties
+
  # [[vi]] groups.properties
 
  # admin=user1,user2
 
  # admin=user1,user2
  
  # vi users.properties
+
  # [[vi]] users.properties
 
  # user1=password1
 
  # user1=password1
 
  # user2=password2
 
  # user2=password2
81行目: 81行目:
 
{{attach}}
 
{{attach}}
  
{{include_html banner_html, "!Geronimo"}}
+
{{include_html [[banner_html]], "!Geronimo"}}

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

GERONIMO 導入

{{include_html banner_html, "!Geronimo"}} GERONIMO |

ver 1.1.1 Fedora Core 3 に導入

導入

前提

J2SE SDK
Maven

ダウンロード~解凍

#gzip -d geronimo-tomcat-j2ee-1.1.1.tar.gz
#tar xvf geronimo-tomcat-j2ee-1.1.1.tar

起動

# cd geronimo-1.1.1/bin
# java -jar server.jar
java.net.BindException: Address already in use:8080

おっと、競合してた。  

デフォルトポートの変更

geronimo-1.1.1/var/config/config.xml 8080 → 8090

<gbean name="TomcatWebConnector">
<attribute name="host">0.0.0.0</attribute><attribute name="port">8090</attribute>
<attribute name="redirectPort">8443</attribute>
</gbean>
# java -jar server.jar 
Booting Geronimo Kernel (in Java 1.5.0)...
Starting Geronimo Application Server v1.1.1
[**********************] 100%  72s 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
    8090 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://siva.typea.dip.jp:8090/
    http://siva.typea.dip.jp:8090/console
    http://siva.typea.dip.jp:8090/console-standard
    http://siva.typea.dip.jp:8090/remote-deploy

Geronimo Application Server started

0524 geronimo ins.jpg

管理ユーザ名の変更

デフォルトは、system/manager

# cd geronimo-1.1.1/var/security/
# vi groups.properties
# admin=user1,user2
# vi users.properties
# user1=password1
# user2=password2

管理コンソールへログイン

http://192.168.0.3:8090/console/portal/welcome 0523 geronimo cons.jpg



テンプレート:Ref geronimo ins.jpg テンプレート:Ref geronimo cons.jpg テンプレート:Attach

{{include_html banner_html, "!Geronimo"}}