The WebSphere® eXtreme Scale server is packaged
as an OSGi server bundle. Complete this lesson to install the eXtreme Scale server bundle as
well as other OSGi bundles that you have installed.
- Run the ss command
to view the IDs for
each bundle.
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
15 ACTIVE org.eclipse.gemini.blueprint.core_1.0.0.RELEASE
16 ACTIVE org.eclipse.gemini.blueprint.extender_1.0.0.RELEASE
17 ACTIVE org.eclipse.gemini.blueprint.io_1.0.0.RELEASE
19 RESOLVED com.ibm.websphere.xs.server_7.1.1
21 RESOLVED Google_ProtoBuf_2.4.0
22 RESOLVED ProtoBufPlugins_1.0.0
- Start
each bundle that you have installed. You must start
the bundles in a specific order. See the order of the bundle IDs from
the previous example.
- Start the sample
plug-in bundle, ProtoBufPlugins_1.0.0. Run
the following command in the Equinox OSGi console to start
the bundle. In this example, the bundle ID of the sample plug-in is
22.
osgi> start 22
- Start
the Google Protocol Buffers bundle, Google_ProtoBuf_2.4.0. Run the following command in the Equinox OSGi console to start
the bundle. In this example, the bundle ID of the Google Protocol
Buffers plug-in is 21.
osgi> start 21
- Start the server bundle, com.ibm.websphere.xs.server_7.1.1. Run the following command in the OSGi console to start the
server. In this example, the bundle ID of the eXtreme Scale server bundle is
19.
osgi> start 19
After you start the server, the
MyShardListener event
listener is started and ready to insert or update records. You can
see the following output on the OSGi console to confirm that the plug-in
bundle has started successfully:
SystemOut O MyShardListener@1253853884(version=1.0.0) order
com.ibm.websphere.samples.xs.serializer.proto.DataObjects1$Order$Builder
@1aba1aba(22) inserted