myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Continuum Build" by SimonKitching
Date Mon, 11 Aug 2008 20:34:38 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/myfaces/Continuum_Build

------------------------------------------------------------------------------
  {{{
  svcadm enable svc:/network/smtp:sendmail
  }}}
+ 2. The Continuum process itself is currently not maintained by svcadm, ie does not restart
when the machine is rebooted.
- 2. The Continuum process itself is currently not maintained by svcadm. This will be rectified
in the future, but for now follow this procedure, logged into the zone under the mrmaven ID:
+ This will be rectified in the future, but for now follow this procedure, logged into the
zone under the mrmaven ID:
  {{{
- ./start_continuum-1.1.sh
+ /local/continuum-1.1-beta-2/bin/solaris-x86-32/run.sh start
  }}}
  
  ----- 
  
- == Continuum 1.1-alpha-1 ==
+ == General Admin Tips ==
  
-  * Installed 1.1-alpha-1 on 20070513 (wsmoak)
-  * extracted archive under /local, renamed continuum to continuum-1.1-alpha-1
-  * borrowed start and stop scripts from the maven zone, see ~mrmaven/start_continuum-1.1.sh
and ~mrmaven/stop_continuum-1.1.sh
-  * started and stopped once, then edited:
-   * apps/continuum/conf/application.xml
-    * change HTTP port 8080 to 8081
-   * /local/continuum-1.1-alpha-1/conf/plexus.xml
-    * change the database locations to /local/continuum/users-db and builds-db
- 
- Other things to edit:
-  * apps/continuum/webapp/WEB-INF/classes/org/apache/maven/continuum/security.properties
- 
- Notes
   * If you add a new project group, add the "Project Group User" role to the guest user so
that build results are visible to guests
  
- Log
-  * restarted on 20070527, JettyException: Java Heap Space
-  * restarted on 20070612, did not investigate
- 
- TODO: Upgrade to Continuum 1.1-alpha-2
- 
- == Continuum 1.1-alpha-2 ==
- 
- * 20070624 - Uploaded Continuum 1.1-alpha-2 and unpacked it in /local
- * need to try the data-management command line utility to see if the existing database can
be 'backed up' (dumped to xml)
- 
- -----
  == Build Definitions ==
  -----
  Some projects have more the one Build Definition.  In some cased, like Tomahawk Core, the
additional build
@@ -117, +93 @@

  and (re)start continuum.
  
  
- == Trying to upgrade to Continuum 1.1 (final) ==
+ == Current System State ==
  
-  * Installed 1.1 on 20080225 (mgeiler) in /local/continuum-1.1
-  * symbolic link /local/continuum updated
-  * changed /local/continuum-1.1/bin/solaris-x86-32/wrapper.conf
- {{{
-    wrapper.port.min=33000
-    wrapper.port.max=33999
- }}}
+ The host myfaces.zones.apache.org is a Solaris Zone, ie a virtual machine running Sun Solaris
on x86-32.
+ 
+ There are half-a-dozen myfaces PMC members with root access to this virtual machine; ask
on the list if you need an account.
+ 
+ The "mrmaven" user account is used to run Continuum itself, and to build nightly assemblies
which then get transferred
+ to people.apache.org.
+ 
+ Currently the continuum instance is not automatically restarted on machine reboot; this
is a manual process (but doesn't happen very often).
+ See above for instructions on restarting the instance.
+ 
+ Continuum runs on its default port of 8080, using its built-in webserver (jetty).
+ 
+ The currently installed version is continuum-1.1-beta-2. Attempts are in progress at the
moment to upgrade to 1.1 final release.
+ 
+ Applications (continuum, maven, etc) are installed in /local (and /usr/local is a symlink
to /local).
+ 
+ The "work" directory for continuum is in a subdir under the continuum installation. This
is where svn checkouts occur, and where
+ the actual compilation takes place.
+ 
+ Continuum configuration data is stored as derby database files inside the continuum instance
(one database for the project, one for the user-accounts).
+ 
+ The current version of java on this machine is 1.5.0.
+ 
+ == How to Upgrade Continuum ==
+ 
+ The best source of info is of course the continuum website.
+ 
+ Manfred made an attempt in february to upgrade continuum. Simon (me) is currently trying
again.
+ 
+ Here are Manfred's notes from Feb:
+ 
-  * Exported old data:
+ Export old data:
  {{{
-    cd /export/home/mrmaven/continuum-upgrade-1.1-final
+    cd some-working-directory
-    java -Xmx512m -jar data-management-cli-1.1-beta-2-app.jar -buildsJdbcUrl jdbc:derby:/local/continuum-1.1-beta-2/data/continuum/database
-mode EXPORT -directory backups-projects
+    java -Xmx512m -jar data-management-cli-1.1-beta-2-app.jar -buildsJdbcUrl jdbc:derby:/local/continuum-1.1-beta-2/data/continuum/database
-mode EXPORT -directory backups
-    java -Xmx512m -jar data-management-cli-1.1-beta-2-app.jar -usersJdbcUrl jdbc:derby:/local/continuum-1.1-beta-2/data/users/database
-mode EXPORT -directory backups-users
+    java -Xmx512m -jar data-management-cli-1.1-beta-2-app.jar -usersJdbcUrl jdbc:derby:/local/continuum-1.1-beta-2/data/users/database
-mode EXPORT -directory backups -overwrite
  }}}
+ 
+ Start, stop new instance to create a blank database
+ 
+ 
-  * Prepare data for input ([http://maven.apache.org/continuum/docs/1.1/installation/upgrade.html]):
+ * Prepare data for input ([http://maven.apache.org/continuum/docs/1.1/installation/upgrade.html]):
  {{{
  cd /export/home/mrmaven/continuum-upgrade-1.1-final/backups-projects
  xsltproc copy.xsl builds.xml > fixed-builds.xml
  mv builds.xml builds.xml.orig
  mv fixed-builds.xml builds.xml
  }}}
+ 
-  * Started import:
+ * Started import:
  {{{
  java -Xmx512m -jar data-management-cli-1.1-app.jar -buildsJdbcUrl jdbc:derby:/local/continuum-1.1/data/continuum/database
-mode IMPORT -directory backups-projects
  java -Xmx512m -jar data-management-cli-1.1-app.jar -usersJdbcUrl jdbc:derby:/local/continuum-1.1/data/users/database
-mode IMPORT -directory backups-users

Mime
View raw message