隨筆-86  評論-33  文章-0  trackbacks-0

          Instructions to unbundle and configure GlassFish

          To install and configure GlassFish you need to have JDK 5 installed on your system. The configuration processing depends on Ant (1.6.5).  The bundle includes an Ant distribution that has been extended with tasks to facilitate developing Java EE 5 applications for the application server.

            1. Download one of the bundles to disk, set JAVA_HOME to JDK 5.
            2. Run:
              % java -Xmx256m -jar filename.jar
              This command will unbundle GlassFish and create a new directory structure rooted under a directory named 'glassfish'.
            3. % cd glassfish
            4. If you are using a machine with an operating system that is a derivative of UNIX(tm), set the execute permission for the Ant binaries that are included with the GlassFish bundle.
              % chmod -R +x lib/ant/bin
              % lib/ant/bin/ant -f setup.xml 
              OR for Windows:
              % lib\ant\bin\ant -f setup.xml 

          For GlassFish V2 with Clustering supported installation, just change step 4 from the above installation

          % lib/ant/bin/ant -f setup-cluster.xml 
          OR  for Windows:
          % lib\ant\bin\ant -f setup-cluster.xml 

          To get started with GlassFish, see the quick start guide.

          See Configuring the Cluster/Load Balancer with GlassFish V2 for how to do the load balancing after creating Clusters on GlassFish V2.

          Instructions to schedule and configure the auto-update feature

          These steps assume that you have already unbundled and configured GlassFish.

          1. Change directory to where you have installed GlassFish.
          2. Go to the updatecenter/bin subdirectory.
          3. Run the updatecenter client script:
                
            % ./updatetool
          4. The GlassFish Update Center dialog window will be displayed at this time. Click on the "Preferences" tab.
          5. To disable auto-update, set the "Update Schedule: Check for Updates" to "Never (Manual)".
          6. You can also schedule updates by setting the desired date and time.

          For more information on data collection done by the auto-update feature, please visit the GlassFish Usage Metrics page.

          Binary builds

          The Open Sourcing Clustering features are included in this promotion.

          Solaris SPARC Platform

          Solaris x86 Platform

          Windows Platform

          Linux Platform

          MacOS Platform

          Source bundle

          Source code for GlassFish is available in the bundle below. Some technologies are developed in other projects and only a binary version is available in the GlassFish project source tree. To find more information on where to find sources see this page.

          posted on 2007-07-24 16:32 Derek.Guo 閱讀(1211) 評論(0)  編輯  收藏 所屬分類: Linux/Unix
          MSN:envoydada@hotmail.com QQ:34935442
          主站蜘蛛池模板: 麻城市| 九江市| 万山特区| 康平县| 岐山县| 靖江市| 湖南省| 灵璧县| 德化县| 宝应县| 长治市| 藁城市| 两当县| 乌鲁木齐县| 河西区| 确山县| 遂溪县| 福安市| 杭锦后旗| 平利县| 连江县| 射洪县| 江都市| 壤塘县| 安阳市| 凤庆县| 余姚市| 色达县| 手机| 朝阳区| 象山县| 寿光市| 临高县| 江油市| 石渠县| 仁寿县| 南召县| 濮阳市| 肇州县| 新巴尔虎右旗| 泾川县|