Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-92

Exception : Applying intent: SOAP via binding config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None
    • Windows,JRE, Equinox with Eclipse

    Description

      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

      Attachments

        Activity

          People

            cschneider Christian Schneider
            alisyed Syed Wahab Ali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified