Hi,

Yes, I have deployed tuscany-extensibility-equinox module and it works. I 
mean the monitor is created now. Thank you
But I am debugging my code and I have another problems with serverals 
"processors" that aren't being created in the same "init" method. These 
processors are created in runtime. For example compositeProcessor and 
contributionProcessor. I think I need more deployed bundles. Where can I 
find the minimum bundles list to be deployed? I only want to publish the 
helloWorld as web service using OSGi. My composite file  is very simple.
I have found a directory called "\directory\bundle minimal" in the 
apache-tuscany-sca-1.4-src.zip.  There is a pom.xml file that have 
dependencies with serveral bundles . Are they all bundles I need deploy in 
my OSGi framework?

Un saludo.
Santiago Miguel Aranda Rojas
Telvent Interactiva 
Extension: 35999


"Raymond Feng" <enjoyj...@gmail.com>
"Raymond Feng"
24/03/2009 17:53
Por favor, responda a user

Para:
<user@tuscany.apache.org>
cc:

Asunto:
Re: Problem in OSGi



Hi,
 
You are missing one bundle: org.apache.tuscany.sca.extensibility.equinox. 
It is the tuscany-extensiblity-equinox module. 
 
The monitor is created to deal with ERROR/WARNING messages.
 
Thanks,
Raymond

From: santiago.ara...@telvent.com 
Sent: Tuesday, March 24, 2009 9:32 AM
To: user@tuscany.apache.org 
Subject: Problem in OSGi


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 

Reply via email to