I am developing a little service using tuscany. I only want export its funcionality like HelloWorld sample. But I don“t know what are the bundles that I have to deploy in OSGi. This is my console view in Eclipse
0 ACTIVE org.eclipse.osgi_3.3.2.R33x_v20080105 1 INSTALLED org.apache.tuscany.sca.core_1.3.2 3 ACTIVE org.apache.tuscany.sca.api_2.0.0 4 ACTIVE org.apache.tuscany.sca.assembly_2.0.0 5 ACTIVE org.apache.tuscany.sca.node.impl_2.0.0 6 ACTIVE org.apache.tuscany.sca.node.api_2.0.0 7 ACTIVE org.apache.tuscany.sca.core_2.0.0 8 ACTIVE cglib_2.2.0 9 ACTIVE org.apache.tuscany.sca.core.spi_2.0.0 10 ACTIVE org.apache.tuscany.sca.policy_2.0.0 11 ACTIVE org.apache.tuscany.sca.monitor_2.0.0 12 ACTIVE org.apache.tuscany.sca.definitions_2.0.0 13 ACTIVE org.apache.tuscany.sca.extensibility_2.0.0 15 ACTIVE org.apache.tuscany.sca.contribution_2.0.0 16 ACTIVE org.apache.tuscany.sca.interface.java.xml_2.0.0 17 ACTIVE org.apache.tuscany.sca.interface_2.0.0 18 ACTIVE org.apache.tuscany.sca.implementation.node_2.0.0 19 ACTIVE org.apache.tuscany.sca.workspace_2.0.0 20 ACTIVE org.apache.tuscany.sca.interface.java_2.0.0 21 ACTIVE calculatortuscany_1.0.0 I had some problems with cglib because it is not a bundle and I have to export one package in its manifest. But I think they are working well. My problem is calculatortuscany. It is the same example from Tuscany distribution but I have turned it into a bundle. When I start this bundle I obtain a NullPointerException in this line "monitor = monitorFactory.createMonitor()" in the class org.apache.tuscany.sca.node.impl.NodeImpl in the "init" method. Do I have deployed all need bundles? Why do I need create a monitor?? Thanks in advance
