Jump to: navigation, search

Difference between revisions of "Virgo"

 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Virgo]] [[Category:EclipseRT]]
 
[[Category:Virgo]] [[Category:EclipseRT]]
 +
 
{{Virgo}}
 
{{Virgo}}
The Virgo project, a sub-project of [[RT|EclipseRT]], is now contributed to Eclipse except for some samples and system verification tests.
 
  
If you want a thumb-nail sketch of Virgo, flip through this EclipseCon [http://www.slideshare.net/glynnormington/eclipse-virgo-3565923 presentation].
+
[[Image:virgo-logo.png|center]]
  
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.
+
=== Welcome to the wiki pages of the ''Virgo'' project, a sub-project of [[RT|EclipseRT]]. ===
  
= Take Virgo for a spin  =
+
The tabs above (''Concepts'', ''Source'', ''Build'', etc.) take you to the main sections of the Virgo wiki pages.
  
If you want to take the Virgo web server for a spin, first build it (see {{VirgoLink|Build|Build|{{{tab}}}|building}} for more options).
+
If you want a thumb-nail sketch of Virgo, flip through this ''EclipseCon [http://www.slideshare.net/glynnormington/eclipse-virgo-3565923 presentation]''.  
<pre>&gt;git clone git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.web-server.git
+
&gt;cd org.eclipse.virgo.web-server
+
&gt;git submodule update --init
+
&gt;cd build-web-server
+
&gt;ant clean jar package smoke-test
+
</pre>
+
The build should report "BUILD SUCCESSFUL" at the end.  
+
  
Then start Virgo.
+
Or, if you prefer,  ''[[Virgo/Community/Spin|take Virgo for a spin]]''.
<pre>&gt;cd target/package-expanded/virgo-web-server-&lt;version&gt;
+
&gt;bin/startup.sh
+
</pre>
+
Virgo should issue event log messages like this:
+
<pre>[2010-06-04 10:55:48.236] startup-tracker              &lt;KE0001I&gt; Kernel starting.
+
[2010-06-04 10:55:52.078] kernel-dm-11                &lt;SH0001I&gt; Kernel ssh shell available on port 2401.
+
[2010-06-04 10:55:52.197] startup-tracker              &lt;KE0002I&gt; Kernel started.
+
[2010-06-04 10:55:52.308] system-artifacts            &lt;DE0000I&gt; Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
+
[2010-06-04 10:55:52.476] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.springframework.osgi.core' version '1.2.1'.
+
[2010-06-04 10:55:52.594] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.springframework.osgi.extender' version '1.2.1'.
+
[2010-06-04 10:55:52.612] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.springframework.osgi.io' version '1.2.1'.
+
[2010-06-04 10:55:52.631] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:52.666] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:54.129] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.springframework.osgi.core' version '1.2.1'.
+
[2010-06-04 10:55:54.133] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.springframework.osgi.extender' version '1.2.1'.
+
[2010-06-04 10:55:54.137] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.springframework.osgi.io' version '1.2.1'.
+
[2010-06-04 10:55:54.141] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:54.145] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:54.149] system-artifacts            &lt;DE0001I&gt; Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
+
[2010-06-04 10:55:54.183] system-artifacts            &lt;DE0004I&gt; Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
+
[2010-06-04 10:55:54.199] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.springframework.osgi.core' version '1.2.1'.
+
[2010-06-04 10:55:54.209] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.springframework.osgi.core' version '1.2.1'.
+
[2010-06-04 10:55:54.209] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.springframework.osgi.extender' version '1.2.1'.
+
[2010-06-04 10:55:54.660] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.springframework.osgi.extender' version '1.2.1'.
+
[2010-06-04 10:55:54.661] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.springframework.osgi.io' version '1.2.1'.
+
[2010-06-04 10:55:54.670] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.springframework.osgi.io' version '1.2.1'.
+
[2010-06-04 10:55:54.670] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:54.688] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:54.688] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:54.813] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.D-20100513120258'.
+
[2010-06-04 10:55:54.818] start-signalling-1          &lt;DE0005I&gt; Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'.
+
[2010-06-04 10:55:54.878] system-artifacts            &lt;DE0000I&gt; Installing plan 'org.eclipse.virgo.web' version '2.0.0'.
+
[2010-06-04 10:55:54.922] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:54.953] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:54.969] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:54.982] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:54.997] system-artifacts            &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:55.487] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:55.492] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:55.497] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:55.502] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:55.507] system-artifacts            &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:55.512] system-artifacts            &lt;DE0001I&gt; Installed plan 'org.eclipse.virgo.web' version '2.0.0'.
+
[2010-06-04 10:55:55.540] system-artifacts            &lt;DE0004I&gt; Starting plan 'org.eclipse.virgo.web' version '2.0.0'.
+
[2010-06-04 10:55:55.546] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:55.575] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.eclipse.gemini.web.core' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:55.576] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:56.081] system-artifacts            &lt;TC0000I&gt; Starting Tomcat.
+
[2010-06-04 10:55:56.155] system-artifacts            &lt;TC0010I&gt; Creating HTTP/1.1 connector with scheme http on port 8080.
+
[2010-06-04 10:55:56.180] system-artifacts            &lt;TC0010I&gt; Creating HTTP/1.1 connector with scheme https on port 8443.
+
[2010-06-04 10:55:56.191] system-artifacts            &lt;TC0010I&gt; Creating AJP/1.3 connector with scheme http on port 8009.
+
[2010-06-04 10:55:56.252] system-artifacts            &lt;TC0001I&gt; Started Tomcat.
+
[2010-06-04 10:55:56.269] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:56.281] system-artifacts            &lt;DE0004I&gt; Starting bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:56.294] system-artifacts            &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.web.tomcat' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:56.311] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.web.dm' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:56.454] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.eclipse.gemini.web.tomcat' version '1.0.0.BUILD-20100330115713'.
+
[2010-06-04 10:55:56.465] start-signalling-1          &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.web.core' version '2.1.0.D-20100513122450'.
+
[2010-06-04 10:55:56.470] start-signalling-1          &lt;DE0005I&gt; Started plan 'org.eclipse.virgo.web' version '2.0.0'.
+
[2010-06-04 10:55:56.476] Thread-2                    &lt;UR0001I&gt; User region ready.
+
[2010-06-04 10:55:57.482] fs-watcher                  &lt;HD0001I&gt; 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                  &lt;DE0000I&gt; Installing plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.
+
[2010-06-04 10:55:57.597] fs-watcher                  &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:55:59.235] fs-watcher                  &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:01.872] fs-watcher                  &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:01.877] fs-watcher                  &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:01.881] fs-watcher                  &lt;DE0001I&gt; Installed plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.
+
[2010-06-04 10:56:01.892] fs-watcher                  &lt;DE0004I&gt; Starting plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.
+
[2010-06-04 10:56:01.897] fs-watcher                  &lt;DE0004I&gt; Starting bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:02.064] fs-watcher                  &lt;DE0004I&gt; Starting bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:02.077] Thread-3                    &lt;WE0000I&gt; 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                  &lt;HD0001I&gt; 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          &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.apps.admin.core' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:02.273] fs-watcher                  &lt;DE0000I&gt; Installing par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:02.293] fs-watcher                  &lt;DE0000I&gt; 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                  &lt;DE0000I&gt; 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                  &lt;DE0001I&gt; 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                  &lt;DE0001I&gt; 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                  &lt;DE0001I&gt; 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                  &lt;DE0001I&gt; Installed par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:02.721] fs-watcher                  &lt;DE0004I&gt; Starting par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:02.728] fs-watcher                  &lt;DE0004I&gt; 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                  &lt;DE0004I&gt; 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                    &lt;WE0000I&gt; 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                  &lt;DE0004I&gt; 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          &lt;DE0005I&gt; 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                  &lt;HD0001I&gt; 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                  &lt;DE0000I&gt; Installing bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:03.246] start-signalling-3          &lt;DE0005I&gt; 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                  &lt;DE0001I&gt; Installed bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:03.384] fs-watcher                  &lt;DE0004I&gt; Starting bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:03.388] Thread-3                    &lt;WE0000I&gt; 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                    &lt;WE0001I&gt; 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          &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.apps.admin.web' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:03.783] start-signalling-1          &lt;DE0005I&gt; Started plan 'org.eclipse.virgo.apps.admin.plan' version '2.0.0'.
+
[2010-06-04 10:56:03.936] Thread-3                    &lt;WE0001I&gt; 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          &lt;DE0005I&gt; Started bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.D-20100513124429'.
+
[2010-06-04 10:56:04.313] Thread-3                    &lt;WE0001I&gt; 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          &lt;DE0005I&gt; 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          &lt;DE0005I&gt; Started par 'org.eclipse.virgo.apps.repository' version '2.1.0.D-20100513124429'.
+
</pre>
+
You can then [http://localhost:8080/admin log in] to the Virgo admin console (user "admin", password "springsource"). You should see the welcome panel of the admin console:<br>[[Image:VirgoAdminConsole.png|center|admin console welcome panel]]
+
  
You can then examine the features of the admin console. For example, you can explore the artifacts currently installed by clicking on the Artifacts pane and expanding some of the sections marked with '+' signs:
+
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.
 
+
[[Image:VirgoAdminConsoleArtifacts.png|center|admin console artifacts pane]]
+
 
+
If you want to try deploying a bundle, drop it into the pickup directory:
+
<pre>org.eclipse.virgo.web-server/build-web-server/target/package-expanded/virgo-web-server-&lt;version&gt;/pickup
+
</pre>
+
For example, if you download the trivial test application [http://git.eclipse.org/c/virgo/org.eclipse.virgo.web.git/plain/org.eclipse.virgo.web.test/src/test/apps-static/helloweb.war helloweb.war] and drop it into the pickup directory, the following event log messages are displayed:
+
<pre>[2010-06-04 11:25:49.528] fs-watcher                  &lt;DE0000I&gt; Installing bundle 'helloweb' version '0.0.0'.
+
[2010-06-04 11:25:49.594] fs-watcher                  &lt;DE0001I&gt; Installed bundle 'helloweb' version '0.0.0'.
+
[2010-06-04 11:25:49.683] fs-watcher                  &lt;DE0004I&gt; Starting bundle 'helloweb' version '0.0.0'.
+
[2010-06-04 11:25:49.688] Thread-3                    &lt;WE0000I&gt; Starting web bundle 'helloweb' version '0.0.0' with context path '/helloweb'.
+
[2010-06-04 11:25:49.780] Thread-3                    &lt;WE0001I&gt; Started web bundle 'helloweb' version '0.0.0' with context path '/helloweb'.
+
[2010-06-04 11:25:49.783] start-signalling-3          &lt;DE0005I&gt; Started bundle 'helloweb' version '0.0.0'.
+
</pre>
+
and you can then [http://localhost:8080/helloweb invoke] the application or inspect it in the admin console:
+
 
+
[[Image:VirgoAdminConsoleHelloWeb.png|center|admin console showing helloweb.war]]<br>
+

Latest revision as of 12:35, 9 December 2011


Virgo-logo.png

Welcome to the wiki pages of the Virgo project, a sub-project of EclipseRT.

The tabs above (Concepts, Source, Build, etc.) take you to the main sections of the Virgo wiki pages.

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

Or, if you prefer, take Virgo for a spin.

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.