Jump to: navigation, search

Difference between revisions of "Virgo"

m (Take Virgo for a spin)
(Take Virgo Kernel for a spin)
Line 7: Line 7:
 
These wiki pages are aimed at committers, contributors, and users who want a deeper understanding of Virgo. [http://eclipse.org/virgo Virgo Home] has more basic information for users.
 
These wiki pages are aimed at committers, contributors, and users who want a deeper understanding of Virgo. [http://eclipse.org/virgo Virgo Home] has more basic information for users.
  
= Take Virgo Kernel for a spin =
+
= Take Virgo for a spin =
If you want to take the kernel for a spin, first build it (see {{VirgoLink|Build|Build|{{{tab}}}|building}} for more options).
+
If you want to take the Virgo web server for a spin, first build it (see {{VirgoLink|Build|Build|{{{tab}}}|building}} for more options).
<pre>&gt;git clone git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.kernel.git  
+
<pre>&gt;git clone git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.web-server.git  
&gt;cd org.eclipse.virgo.kernel
+
&gt;cd org.eclipse.virgo.web-server
 
&gt;git submodule update --init
 
&gt;git submodule update --init
 
&gt;cd build-kernel
 
&gt;cd build-kernel
&gt;ant clean clean-integration jar package
+
&gt;ant clean jar package smoke-test
 
</pre>
 
</pre>
 
Then start it.
 
Then start it.
<pre>&gt;cd target/package-expanded/virgo-kernel-<version>
+
<pre>&gt;cd target/package-expanded/virgo-web-server-<version>
 
&gt;bin/startup.sh
 
&gt;bin/startup.sh
 
</pre>
 
</pre>
The kernel should start up issuing event log messages like this:
+
Virgo should start up issuing event log messages like this:
 
<pre>
 
<pre>
[2010-05-11 13:52:18.616] startup-tracker              <KE0001I> Kernel starting.  
+
[2010-06-04 10:55:48.236] startup-tracker              <KE0001I> Kernel starting.  
[2010-05-11 13:52:21.960] kernel-dm-11                <SH0001I> Kernel ssh shell available on port 2401.  
+
[2010-06-04 10:55:52.078] kernel-dm-11                <SH0001I> Kernel ssh shell available on port 2401.  
[2010-05-11 13:52:22.067] startup-tracker              <KE0002I> Kernel started.  
+
[2010-06-04 10:55:52.197] 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-06-04 10:55:52.308] 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-06-04 10:55:52.476] 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-06-04 10:55:52.594] 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-06-04 10:55:52.612] 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-06-04 10:55:52.631] system-artifacts            <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.  
[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-06-04 10:55:52.666] system-artifacts            <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.  
[2010-05-11 13:52:24.250] system-artifacts            <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'.  
+
[2010-06-04 10:55:54.129] 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-06-04 10:55:54.133] 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-06-04 10:55:54.137] 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-06-04 10:55:54.141] system-artifacts            <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.  
[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-06-04 10:55:54.145] system-artifacts            <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.  
[2010-05-11 13:52:24.287] system-artifacts            <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.  
+
[2010-06-04 10:55:54.149] 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-06-04 10:55:54.183] 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-06-04 10:55:54.199] 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-06-04 10:55:54.209] 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-06-04 10:55:54.209] 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-06-04 10:55:54.660] 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-06-04 10:55:54.661] 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-06-04 10:55:54.670] start-signalling-1           <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-06-04 10:55:54.670] system-artifacts            <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.  
[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-06-04 10:55:54.688] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.  
[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-06-04 10:55:54.688] system-artifacts            <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.  
[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-06-04 10:55:54.813] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.  
[2010-05-11 13:52:24.920] start-signalling-2           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.  
+
[2010-06-04 10:55:54.818] start-signalling-1           <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.
+
[2010-06-04 10:55:54.878] system-artifacts            <DE0000I> Installing plan 'org.eclipse.virgo.web' version '2.0.0'.
</pre>
+
[2010-06-04 10:55:54.922] system-artifacts            <DE0000I> Installing bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.  
You can then log in to the Virgo shell from another shell (default password for admin is currently "springsource").
+
[2010-06-04 10:55:54.953] system-artifacts            <DE0000I> Installing bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
<pre>&gt;ssh -p 2401 -o  NoHostAuthenticationForLocalhost=yes admin@localhost
+
[2010-06-04 10:55:54.969] system-artifacts            <DE0000I> Installing bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.  
admin@localhost's password:  
+
[2010-06-04 10:55:54.982] system-artifacts            <DE0000I> Installing bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
 
+
[2010-06-04 10:55:54.997] system-artifacts            <DE0000I> Installing bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'.
 
+
[2010-06-04 10:55:55.487] system-artifacts            <DE0001I> Installed bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.
    _    ___
+
[2010-06-04 10:55:55.492] system-artifacts            <DE0001I> Installed bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
  | |  / (_)________ _____
+
[2010-06-04 10:55:55.497] system-artifacts            <DE0001I> Installed bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.
  | | / / / ___/ __ `/ __ \
+
[2010-06-04 10:55:55.502] system-artifacts            <DE0001I> Installed bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
  | |/ / / /  / /_/ / /_/ /
+
[2010-06-04 10:55:55.507] system-artifacts            <DE0001I> Installed bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'.
  |___/_/_/  \__, /\____/
+
[2010-06-04 10:55:55.512] system-artifacts            <DE0001I> Installed plan 'org.eclipse.virgo.web' version '2.0.0'.
              /____/
+
[2010-06-04 10:55:55.540] system-artifacts            <DE0004I> Starting plan 'org.eclipse.virgo.web' version '2.0.0'.
 
+
[2010-06-04 10:55:55.546] system-artifacts            <DE0004I> Starting bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.
Type 'help' to see the available commands.
+
[2010-06-04 10:55:55.575] start-signalling-1          <DE0005I> Started bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.
 
+
[2010-06-04 10:55:55.576] system-artifacts            <DE0004I> Starting bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
:> bundle list
+
[2010-06-04 10:55:56.081] system-artifacts            <TC0000I> Starting Tomcat.
 
+
[2010-06-04 10:55:56.155] system-artifacts            <TC0010I> Creating HTTP/1.1 connector with scheme http on port 8080.
Id  Name                                Version                          State
+
[2010-06-04 10:55:56.180] system-artifacts            <TC0010I> Creating HTTP/1.1 connector with scheme https on port 8443.
0   org.eclipse.osgi                     3.5.1.R35x_v20091005            ACTIVE
+
[2010-06-04 10:55:56.191] system-artifacts            <TC0010I> Creating AJP/1.3 connector with scheme http on port 8009.
1   org.eclipse.virgo.region.user        0.0.0                           ACTIVE
+
[2010-06-04 10:55:56.252] system-artifacts            <TC0001I> Started Tomcat.
2   org.eclipse.virgo.kernel.userregion  2.1.0.BUILD-20100511124610      ACTIVE
+
[2010-06-04 10:55:56.269] system-artifacts            <DE0004I> Starting bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.  
3   org.springframework.osgi.core       1.2.1                           ACTIVE
+
[2010-06-04 10:55:56.281] system-artifacts            <DE0004I> Starting bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
4  S org.springframework.osgi.extender    1.2.1                           ACTIVE
+
[2010-06-04 10:55:56.294] system-artifacts            <DE0005I> Started bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'.
5    org.springframework.osgi.io          1.2.1                           ACTIVE
+
[2010-06-04 10:55:56.311] start-signalling-1          <DE0005I> Started bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
6    org.eclipse.virgo.kernel.agent.dm    2.1.0.BUILD-20100511124610      ACTIVE
+
[2010-06-04 10:55:56.454] start-signalling-1          <DE0005I> Started bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
7  S org.eclipse.virgo.kernel.deployer.dm 2.1.0.BUILD-20100511124610      ACTIVE
+
[2010-06-04 10:55:56.465] start-signalling-1          <DE0005I> Started bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.
8    com.springsource.org.aopalliance    1.0.0                           ACTIVE
+
[2010-06-04 10:55:56.470] start-signalling-1          <DE0005I> Started plan 'org.eclipse.virgo.web' version '2.0.0'.
9    org.eclipse.virgo.kernel.dmfragment  2.1.0.BUILD-20100511124610    RESOLVED
+
[2010-06-04 10:55:56.476] Thread-2                     <UR0001I> User region ready.  
10   org.springframework.aop              3.0.0.RELEASE                  ACTIVE
+
[2010-06-04 10:55:57.482] fs-watcher                  <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.admin-2.1.0.D-20100513124429.plan'.
11  org.springframework.asm              3.0.0.RELEASE                   ACTIVE
+
[2010-06-04 10:55:57.563] fs-watcher                  <DE0000I> Installing plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.
12  org.springframework.beans            3.0.0.RELEASE                   ACTIVE
+
[2010-06-04 10:55:57.597] fs-watcher                  <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
13  org.springframework.context         3.0.0.RELEASE                  ACTIVE
+
[2010-06-04 10:55:59.235] fs-watcher                  <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
14  org.springframework.core            3.0.0.RELEASE                  ACTIVE
+
[2010-06-04 10:56:01.872] fs-watcher                  <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
15  org.springframework.expression      3.0.0.RELEASE                  ACTIVE
+
[2010-06-04 10:56:01.877] fs-watcher                  <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:01.881] fs-watcher                  <DE0001I> Installed plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.
 +
[2010-06-04 10:56:01.892] fs-watcher                  <DE0004I> Starting plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.
 +
[2010-06-04 10:56:01.897] fs-watcher                  <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.064] fs-watcher                  <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.077] Thread-3                     <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429' with context path '/admin'.
 +
[2010-06-04 10:56:02.077] fs-watcher                  <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429.par'.
 +
[2010-06-04 10:56:02.121] start-signalling-2          <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.273] fs-watcher                  <DE0000I> Installing par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.293] fs-watcher                  <DE0000I> Installing bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.300] fs-watcher                  <DE0000I> Installing bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.656] fs-watcher                  <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.660] fs-watcher                  <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.665] fs-watcher                  <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-synthetic.context' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.669] fs-watcher                  <DE0001I> Installed par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.721] fs-watcher                  <DE0004I> Starting par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.728] fs-watcher                  <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.894] fs-watcher                  <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.900] Thread-3                     <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429' with context path '/org.eclipse.virgo.apps.repository'.
 +
[2010-06-04 10:56:02.900] fs-watcher                  <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-synthetic.context' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.909] start-signalling-3           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-synthetic.context' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:02.944] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.splash-2.1.0.D-20100513124429.war'.
 +
[2010-06-04 10:56:03.148] fs-watcher                  <DE0000I> Installing bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:03.246] start-signalling-3           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:03.284] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:03.384] fs-watcher                  <DE0004I> Starting bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:03.388] Thread-3                    <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429' with context path '/'.
 +
[2010-06-04 10:56:03.764] Thread-3                     <WE0001I> Started web bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429' with context path '/admin'.
 +
[2010-06-04 10:56:03.774] start-signalling-1          <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:03.783] start-signalling-1          <DE0005I> Started plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.  
 +
[2010-06-04 10:56:03.936] Thread-3                    <WE0001I> Started web bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429' with context path '/'.
 +
[2010-06-04 10:56:03.941] start-signalling-3           <DE0005I> Started bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:04.313] Thread-3                    <WE0001I> Started web bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429' with context path '/org.eclipse.virgo.apps.repository'.
 +
[2010-06-04 10:56:04.317] start-signalling-2          <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'.
 +
[2010-06-04 10:56:04.321] start-signalling-2          <DE0005I> Started par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
 
</pre>
 
</pre>
 +
You can then <a href="http://localhost:8080/admin">log in</a> to the Virgo admin console (user "admin", password "springsource").

Revision as of 05:56, 4 June 2010



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.

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.

Take Virgo for a spin

If you want to take the Virgo web server for a spin, first build it (see Build for more options).

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

Then start it.

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

Virgo should start up issuing event log messages like this:

[2010-06-04 10:55:48.236] startup-tracker              <KE0001I> Kernel starting. 
[2010-06-04 10:55:52.078] kernel-dm-11                 <SH0001I> Kernel ssh shell available on port 2401. 
[2010-06-04 10:55:52.197] startup-tracker              <KE0002I> Kernel started. 
[2010-06-04 10:55:52.308] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-06-04 10:55:52.476] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-06-04 10:55:52.594] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-06-04 10:55:52.612] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-06-04 10:55:52.631] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:52.666] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:54.129] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-06-04 10:55:54.133] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-06-04 10:55:54.137] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-06-04 10:55:54.141] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:54.145] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:54.149] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-06-04 10:55:54.183] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-06-04 10:55:54.199] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-06-04 10:55:54.209] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'. 
[2010-06-04 10:55:54.209] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-06-04 10:55:54.660] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.extender' version '1.2.1'. 
[2010-06-04 10:55:54.661] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-06-04 10:55:54.670] start-signalling-1           <DE0005I> Started bundle 'org.springframework.osgi.io' version '1.2.1'. 
[2010-06-04 10:55:54.670] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:54.688] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:54.688] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:54.813] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'. 
[2010-06-04 10:55:54.818] start-signalling-1           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. 
[2010-06-04 10:55:54.878] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.web' version '2.0.0'. 
[2010-06-04 10:55:54.922] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:54.953] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:54.969] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:54.982] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:54.997] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:55.487] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:55.492] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:55.497] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:55.502] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:55.507] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:55.512] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.web' version '2.0.0'. 
[2010-06-04 10:55:55.540] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.web' version '2.0.0'. 
[2010-06-04 10:55:55.546] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:55.575] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:55.576] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:56.081] system-artifacts             <TC0000I> Starting Tomcat. 
[2010-06-04 10:55:56.155] system-artifacts             <TC0010I> Creating HTTP/1.1 connector with scheme http on port 8080. 
[2010-06-04 10:55:56.180] system-artifacts             <TC0010I> Creating HTTP/1.1 connector with scheme https on port 8443. 
[2010-06-04 10:55:56.191] system-artifacts             <TC0010I> Creating AJP/1.3 connector with scheme http on port 8009. 
[2010-06-04 10:55:56.252] system-artifacts             <TC0001I> Started Tomcat. 
[2010-06-04 10:55:56.269] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:56.281] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:56.294] system-artifacts             <DE0005I> Started bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:56.311] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:56.454] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'. 
[2010-06-04 10:55:56.465] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'. 
[2010-06-04 10:55:56.470] start-signalling-1           <DE0005I> Started plan 'org.eclipse.virgo.web' version '2.0.0'. 
[2010-06-04 10:55:56.476] Thread-2                     <UR0001I> User region ready. 
[2010-06-04 10:55:57.482] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.admin-2.1.0.D-20100513124429.plan'. 
[2010-06-04 10:55:57.563] fs-watcher                   <DE0000I> Installing plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'. 
[2010-06-04 10:55:57.597] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:55:59.235] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:01.872] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:01.877] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:01.881] fs-watcher                   <DE0001I> Installed plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'. 
[2010-06-04 10:56:01.892] fs-watcher                   <DE0004I> Starting plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'. 
[2010-06-04 10:56:01.897] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.064] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.077] Thread-3                     <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429' with context path '/admin'. 
[2010-06-04 10:56:02.077] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429.par'. 
[2010-06-04 10:56:02.121] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.273] fs-watcher                   <DE0000I> Installing par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.293] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.300] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.656] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.660] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.665] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-synthetic.context' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.669] fs-watcher                   <DE0001I> Installed par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.721] fs-watcher                   <DE0004I> Starting par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.728] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.894] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.900] Thread-3                     <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429' with context path '/org.eclipse.virgo.apps.repository'. 
[2010-06-04 10:56:02.900] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-synthetic.context' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.909] start-signalling-3           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-synthetic.context' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:02.944] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.splash-2.1.0.D-20100513124429.war'. 
[2010-06-04 10:56:03.148] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:03.246] start-signalling-3           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.core' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:03.284] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:03.384] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:03.388] Thread-3                     <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429' with context path '/'. 
[2010-06-04 10:56:03.764] Thread-3                     <WE0001I> Started web bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429' with context path '/admin'. 
[2010-06-04 10:56:03.774] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:03.783] start-signalling-1           <DE0005I> Started plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'. 
[2010-06-04 10:56:03.936] Thread-3                     <WE0001I> Started web bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429' with context path '/'. 
[2010-06-04 10:56:03.941] start-signalling-3           <DE0005I> Started bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:04.313] Thread-3                     <WE0001I> Started web bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429' with context path '/org.eclipse.virgo.apps.repository'. 
[2010-06-04 10:56:04.317] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-2.1.0.D-20100513124429-org.eclipse.virgo.apps.repository.web' version '2.1.0.D-20100513124429'. 
[2010-06-04 10:56:04.321] start-signalling-2           <DE0005I> Started par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'. 

You can then <a href="http://localhost:8080/admin">log in</a> to the Virgo admin console (user "admin", password "springsource").