Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Virgo

Revision as of 08:53, 11 May 2010 by Unnamed Poltroon (Talk)


The Virgo project, a sub-project of EclipseRT, is currently being checked in.

If you want a thumb-nail sketch of Virgo, flip through this EclipseCon presentation.

If you want to take the kernel for a spin, first build it (see build for more build options).

>git clone git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.kernel.git 
>cd org.eclipse.virgo.kernel
>git submodule update --init
>cd build-kernel
>ant clean clean-integration jar package

Then start it.

>cd target/package-expanded/virgo-kernel-<version>
>bin/startup.sh

The kernel should start up issuing event log messages like this:

[2010-05-11 13:52:18.616] startup-tracker              <KE0001I> Kernel starting. 
[2010-05-11 13:52:21.960] kernel-dm-11                 <SH0001I> Kernel ssh shell available on port 2401. 
[2010-05-11 13:52:22.067] startup-tracker              <KE0002I> Kernel started. 
[2010-05-11 13:52:22.223] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-05-11 13:52:22.379] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-05-11 13:52:22.816] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-05-11 13:52:23.537] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-05-11 13:52:23.551] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:23.564] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:24.250] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-05-11 13:52:24.255] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-05-11 13:52:24.259] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-05-11 13:52:24.263] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:24.283] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:24.287] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-05-11 13:52:24.315] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-05-11 13:52:24.323] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-05-11 13:52:24.334] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-05-11 13:52:24.334] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-05-11 13:52:24.728] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-05-11 13:52:24.728] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-05-11 13:52:24.742] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-05-11 13:52:24.742] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:24.759] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:24.760] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:24.915] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.BUILD-20100511124610'. 
[2010-05-11 13:52:24.920] start-signalling-2           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-05-11 13:52:24.928] Thread-2                     <UR0001I> User region ready.

You can then log in to the Virgo shell from another shell (default password for admin is currently "springsource").

>ssh -p 2401 -o  NoHostAuthenticationForLocalhost=yes admin@localhost
admin@localhost's password: 


    _    ___
   | |  / (_)________ _____
   | | / / / ___/ __ `/ __ \
   | |/ / / /  / /_/ / /_/ /
   |___/_/_/   \__, /\____/
              /____/

Type 'help' to see the available commands.

:> bundle list 

Id   Name                                 Version                          State
0    org.eclipse.osgi                     3.5.1.R35x_v20091005            ACTIVE
1    org.eclipse.virgo.region.user        0.0.0                           ACTIVE
2    org.eclipse.virgo.kernel.userregion  2.1.0.BUILD-20100511124610      ACTIVE
3    org.springframework.osgi.core        1.2.1                           ACTIVE
4  S org.springframework.osgi.extender    1.2.1                           ACTIVE
5    org.springframework.osgi.io          1.2.1                           ACTIVE
6    org.eclipse.virgo.kernel.agent.dm    2.1.0.BUILD-20100511124610      ACTIVE
7  S org.eclipse.virgo.kernel.deployer.dm 2.1.0.BUILD-20100511124610      ACTIVE
8    com.springsource.org.aopalliance     1.0.0                           ACTIVE
9    org.eclipse.virgo.kernel.dmfragment  2.1.0.BUILD-20100511124610    RESOLVED
10   org.springframework.aop              3.0.0.RELEASE                   ACTIVE
11   org.springframework.asm              3.0.0.RELEASE                   ACTIVE
12   org.springframework.beans            3.0.0.RELEASE                   ACTIVE
13   org.springframework.context          3.0.0.RELEASE                   ACTIVE
14   org.springframework.core             3.0.0.RELEASE                   ACTIVE
15   org.springframework.expression       3.0.0.RELEASE                   ACTIVE

These wiki pages are aimed at committers, contributors, and users who want a deeper understanding of Virgo. Virgo Home has more basic information for users.

Back to the top