《Apache》由会员分享,可在线阅读,更多相关《Apache(57页珍藏版)》请在金锄头文库上搜索。
1、Administering Apache Geronimo 2.x,Vamsavardhana Reddy Chillakuru a.k.a. Vamsi vamsic007apache.org ,11-Apr-2008,Administering Apache Geronimo 2.x,2,Who am I?,Committer and Member of Apache Geronimo PMC Involved with ASF since 2005 Over 11 years experience in software development Advisory Software Eng
2、ineer at IBM Employed with IBM India since 1996,11-Apr-2008,Administering Apache Geronimo 2.x,3,Geronimo in the making ,Thats my son Susanth helping me with Geronimo ,11-Apr-2008,Administering Apache Geronimo 2.x,4,Agenda,Introduction to Geronimo Securing Geronimo Administration Tasks Multiple Serve
3、r Instances Summary Q & A,11-Apr-2008,Administering Apache Geronimo 2.x,5,Agenda,Introduction to Geronimo Securing Geronimo Administration Tasks Multiple Server Instances Summary Q & A,11-Apr-2008,Administering Apache Geronimo 2.x,6,Introduction to Geronimo,J2EE/Java EE Application Server from Apach
4、e Software Foundation Brings together the best-of-breed technologies from open source to support J2EE/Java EE Small foot print/Highly customizable Ease of use is foremost guiding principle V2.1 Java EE 5 Certified Feb/2008,11-Apr-2008,Administering Apache Geronimo 2.x,7,Geronimo History and Progress
5、,August 2003,Apache Geronimo Project formed,V1.0-M5 released, J2EE 1.4 certification,Oct 2005,Jan 2006,V1.0 Released,June 2006,V1.1 Released,In Plan,V2.2 Release,Sep 2006,V1.1.1 Released,Jun 2007,V2.0-M6 released, Java EE 5 certification,Aug 2007,V2.0.1 Released,Oct 2007,V2.0.2 Released,Feb 2008,V2.
6、1 Released,11-Apr-2008,Administering Apache Geronimo 2.x,8,Geronimo Architecture,GBeans are the building blocks E.g. Containers, Connectors, Servlets Geronimo Kernel A container for GBeans Based on Inversion-of-Control/Dependency Injection Provides Life Cycle management for GBeans Loosely coupled sy
7、stem Start/stop/remove components on the fly Integrate new components on the fly Plugins Directory Server, Roller and many other,11-Apr-2008,Administering Apache Geronimo 2.x,9,Geronimo Architecture,*Ref: http:/ Apache Geronimo 2.x,10,What it contains?,Apache Tomcat Jetty (Mort Bay) Apache Derby Apa
8、che OpenEJB Apache ActiveMQ Apache OpenJPA Apache Axis Apache Axis2 Apache CXF Apache Yoko,Apache Commons Apache jUDDI Apache Log4J HOWL TRANQL Castor WADI CGLIB And many more,11-Apr-2008,Administering Apache Geronimo 2.x,11,Whats new in 2.1?,Servers assembled out of plugins Custom server assemblies
9、 Assemble a server feature Flexible admin console Monitoring Console GShell WADI Clustering Support for Tomcat,11-Apr-2008,Administering Apache Geronimo 2.x,12,How to get involved?,Geronimo project web site http:/geronimo.apache.org/ Mailing lists usergeronimo.apache.org devgeronimo.apache.org Wiki
10、http:/cwiki.apache.org/geronimo/,11-Apr-2008,Administering Apache Geronimo 2.x,13,Geronimo Installation,http:/geronimo.apache.org/downloads.html Geronimo Tomcat or Geronimo Jetty distributions Extract the archive to any directory On windows, use a short directory name (for e.g. C: or C:g) to avoid l
11、ong-path problems.,11-Apr-2008,Administering Apache Geronimo 2.x,14,Geronimo Startup/Shutdown,Requires Sun J2SE 5.0 JDK/JRE Environment variables JAVA_HOME/JRE_HOME GERONIMO_OPTS JAVA_OPTS Run the server /bin/geronimo start /bin/geronimo jpda run Stop the server Control+C in server console /bin/shut
12、down,11-Apr-2008,Administering Apache Geronimo 2.x,15,11-Apr-2008,Administering Apache Geronimo 2.x,16,Administration Console,Web-based, Convenient, user-friendly Based on Apache Pluto (JSR-168) Access at http:/localhost:8080/console Portlets for administration Web Server, JMS Server, JMS Resources,
13、 DB Manager, Database Pools Application portlets Deploy New, Web App WARs, Plan Creator etc Security Realms, Keystores Portlets for monitoring server status Information, Java System Info, Server Logs, Monitoring, etc. Dont forget the Help view in the portlets,11-Apr-2008,Administering Apache Geronim
14、o 2.x,17,11-Apr-2008,Administering Apache Geronimo 2.x,18,Agenda,Introduction to Geronimo Geronimo Console Securing Geronimo Administration Tasks Multiple Server Instances Dos & Donts Q & A,11-Apr-2008,Administering Apache Geronimo 2.x,19,Geronimo directory structure,+-bin |-deploy |-etc |-lib |-rep
15、ository |-schema |-var+-config|-derby|-security|-shared,+-i1=instance-name+-deploy+-var+-config|-derby|-security| +-keystores|-shared+-classes|-lib,11-Apr-2008,Administering Apache Geronimo 2.x,20,Important configuration files,Located in /var/config config.xml Overridden GBean attributes New GBeans
16、and configurations config-substitutions.properties Properties used in confg.xml artifact_aliases.properties Substitute one artifact for another,11-Apr-2008,Administering Apache Geronimo 2.x,21,Replace Default Realm,Default security realm - geronimo-admin Used by JMX server, Admin Console, Online-deployer, MEJB application Change default credentials Edit var/security/users.properties Users and Groups portlet Replace default realm Deploy desired realm with name geronimo-admin Database or LDAP Realm recommended for production Delete the realm gbean in server-security-config,