Exception : Applying intent: SOAP via binding config
----------------------------------------------------

                 Key: DOSGI-92
                 URL: https://issues.apache.org/jira/browse/DOSGI-92
             Project: CXF Distributed OSGi
          Issue Type: Bug
         Environment: Windows,JRE, Equinox with Eclipse 
            Reporter: Syed Wahab Ali


Hi

I am developing webservices using cxf-dosi, on eciplse with Equniox. Looking at 
the log messages, just after publication of webservice I get the following 
error. I tried it with release 1.2 and SNOP-SHOT but it didn't help, I might be 
missing something, please advice. 

INFO: Creating a MyWebSerivcexxxxxxType endpoint from CXF PublishHook, address 
is http://localhost:8081/61400
Mar 18, 2011 10:26:38 AM org.apache.cxf.dosgi.dsw.OsgiUtils readIntentMap

INFO: Could not find intent map file /OSGI-INF/cxf/intents/intent-map.xml
Mar 18, 2011 10:26:38 AM org.apache.cxf.dosgi.dsw.qos.IntentMap setIntents
INFO: Injected intents: {}
Loading Intent map from [classpath:/OSGI-INF/cxf/intents/intent-map.xml]
Mar 18, 2011 10:26:38 AM org.apache.cxf.dosgi.dsw.qos.IntentMap setIntents
INFO: Injected intents: 
{addressing=org.apache.cxf.ws.policy.WSPolicyFeature@2fb002, 
logging=org.apache.cxf.feature.LoggingFeature@cc7439, 
SOAP=org.apache.cxf.binding.soap.SoapBindingConfiguration@e2892b, 
SOAP.1_1=org.apache.cxf.binding.soap.SoapBindingConfiguration@e2892b, 
SOAP.1_2=org.apache.cxf.binding.soap.SoapBindingConfiguration@9b688e, 
HTTP=PROVIDED}
application context: 
org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@146e381:
 display name 
[OsgiBundleXmlApplicationContext(bundle=cxf-dosgi-ri-singlebundle-distribution, 
config=classpath:/OSGI-INF/cxf/intents/intent-map.xml)]; startup date [Fri Mar 
18 10:26:38 CET 2011]; root of context hierarchy
retrieved intent map: IntentMap: 
{addressing=org.apache.cxf.ws.policy.WSPolicyFeature@2fb002, 
logging=org.apache.cxf.feature.LoggingFeature@cc7439, 
SOAP=org.apache.cxf.binding.soap.SoapBindingConfiguration@e2892b, 
SOAP.1_1=org.apache.cxf.binding.soap.SoapBindingConfiguration@e2892b, 
SOAP.1_2=org.apache.cxf.binding.soap.SoapBindingConfiguration@9b688e, 
HTTP=PROVIDED}
Mar 18, 2011 10:26:38 AM 
org.apache.cxf.dosgi.dsw.handlers.AbstractPojoConfigurationTypeHandler 
processIntent
INFO: Applying intent: SOAP via binding config: 
org.apache.cxf.binding.soap.SoapBindingConfiguration@e2892b
Exception in thread "pool-1-thread-1" java.lang.NullPointerException
        at org.apache.cxf.dosgi.dsw.OsgiUtils.getVersion(OsgiUtils.java:593)
        at 
org.apache.cxf.dosgi.dsw.handlers.AbstractConfigurationHandler.createEndpointProps(AbstractConfigurationHandler.java:121)
        at 
org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.createServer(PojoConfigurationTypeHandler.java:122)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:244)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:78)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:71)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:71)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:40)
        at 
org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:254)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

please guide, since I couldn't find any documents on dosgi, other than its 
webpage

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to