Lesson 2.1: Start the console and install the eXtreme Scale server bundle
In this lesson, you use the Equinox OSGi console to install the WebSphere® eXtreme Scale server bundle.
About this task
Procedure
- Use the following command to start the Equinox OSGi console:
cd equinox_root java -jar plugins\org.eclipse.osgi_3.6.1.R36x_v20100806.jar -console
- After the OSGi console is started, issue the
ss
command in the console, and the following bundles are started:Attention: If you completed the task, Installing eXtreme Scale bundles, then the bundle has already been activated. If the bundle is started, then stop the bundle before you complete this step.Eclipse Gemini output: osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.6.1.R36x_v20100806 1 ACTIVE org.eclipse.osgi.services_3.2.100.v20100503 2 ACTIVE org.eclipse.osgi.util_3.2.100.v20100503 3 ACTIVE org.eclipse.equinox.cm_1.0.200.v20100520 4 ACTIVE com.springsource.org.apache.commons.logging_1.1.1 5 ACTIVE com.springsource.org.aopalliance_1.0.0 6 ACTIVE org.springframework.aop_3.0.5.RELEASE 7 ACTIVE org.springframework.asm_3.0.5.RELEASE 8 ACTIVE org.springframework.beans_3.0.5.RELEASE 9 ACTIVE org.springframework.context_3.0.5.RELEASE 10 ACTIVE org.springframework.core_3.0.5.RELEASE 11 ACTIVE org.springframework.expression_3.0.5.RELEASE 12 ACTIVE org.apache.felix.fileinstall_3.0.2 13 ACTIVE net.luminis.cmc_0.2.5 14 ACTIVE org.eclipse.gemini.blueprint.core_1.0.0.RELEASE 15 ACTIVE org.eclipse.gemini.blueprint.extender_1.0.0.RELEASE 16 ACTIVE org.eclipse.gemini.blueprint.io_1.0.0.RELEASE
Apache Aries output: osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.6.1.R36x_v20100806 1 ACTIVE org.eclipse.osgi.services_3.2.100.v20100503 2 ACTIVE org.eclipse.osgi.util_3.2.100.v20100503 3 ACTIVE org.eclipse.equinox.cm_1.0.200.v20100520 4 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.6.3 5 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.6.3 6 ACTIVE org.objectweb.asm.all_3.3.0 7 ACTIVE org.apache.aries.blueprint_0.3.2.SNAPSHOT 8 ACTIVE org.apache.aries.util_0.4.0.SNAPSHOT 9 ACTIVE org.apache.aries.proxy_0.4.0.SNAPSHOT 10 ACTIVE org.apache.felix.fileinstall_3.0.2 11 ACTIVE net.luminis.cmc_0.2.5
- Install the objectgrid.jar bundle. To start a server in the Java™ virtual machine (JVM), you need to install an eXtreme Scale server bundle. This eXtreme Scale server bundle can start a server and create containers. Use the following command to install the objectgrid.jar file:
See the following example:osgi> install file:///wxs_home/lib/objectgrid.jar
Equinox displays its bundle ID; for example:osgi> install file:///opt/wxs/ObjectGrid/lib/objectgrid.jar
Bundle id is 19
Remember: Your bundle ID might be different. The file path must be an absolute URL to the bundle path. Relative paths are not supported.
Results
Lesson checkpoint
In this lesson, you used the Equinox OSGi console to install the objectgrid.jar bundle, which you will use to start a server and create a container later in this tutorial.