You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by TimD <ti...@riskaware.co.uk> on 2011/06/16 14:09:40 UTC

Problem creating a Distributed OSGi service

I'm new to CXF and OSGi so I've been following the tutorial:

http://cxf.apache.org/developing-a-distributed-osgi-application-in-eclipse.html
http://cxf.apache.org/developing-a-distributed-osgi-application-in-eclipse.html 

There aren't any errors but I can't access the service WSDL.

When I run the example the console says (followed by a load more logging but
no errors):

osgi> Setting HttpService port to: 8080


If I try and access the WSDL at
http://localhost:9000/test/distributed/service/TemperatureService?wsdl (as
it says in the tutorial) I get:

Oops! Google Chrome could not connect to localhost:9000

If I try and access the WSDL at
http://localhost:8080/test/distributed/service/TemperatureService?wsdl I
get:

HTTP ERROR: 404

NOT_FOUND
RequestURI=/test/distributed/service/TemperatureService

Powered by jetty://

The OSGi console doesn't show anything wrong:

Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.6.2.R36x_v20110210
1	ACTIVE      javax.servlet_2.5.0.v200910301333
2	ACTIVE      cxf-dosgi-ri-singlebundle-distribution_1.2.0
3	ACTIVE      MyDistributedService_1.0.0.qualifier
4	ACTIVE      org.eclipse.osgi.services_3.2.100.v20100503

I am using Eclipse Java EE IDE for Web Developers Helios Service Release 2
and cxf-dosgi-ri-singlebundle-distribution-1.2.jar.

Any idea what I am doing wrong?




--
View this message in context: http://cxf.547215.n5.nabble.com/Problem-creating-a-Distributed-OSGi-service-tp4494805p4494805.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Problem creating a Distributed OSGi service

Posted by TimD <ti...@riskaware.co.uk>.
Would the entire log help shed any light?

osgi> Setting HttpService port to: 8080
felix.fileinstall.poll  (ms)   2000
felix.fileinstall.dir           
C:\Users\t_dudman\Documents\Work\T004\eclipse\.\load
felix.fileinstall.debug          -1
felix.fileinstall.bundles.new.start          true
log4j:WARN No appenders could be found for logger (org.mortbay.jetty).
log4j:WARN Please initialize the log4j system properly.
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.Activator start
INFO: TopologyManager: start()
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl
getRegistrationProperties
INFO: EndpointListener: current filter: []
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.TopologyManager$1
addingService
INFO: TopologyManager: new EndpointListener that wants to be informed about
wants going on ... 
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.log.LogService)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.cm.ConfigurationListener)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.apache.felix.cm.PersistenceManager)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.cm.ManagedService)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.cm.ManagedServiceFactory)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.packageadmin.PackageAdmin)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.cm.ConfigurationAdmin)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.osgi.service.remoteserviceadmin.EndpointListener)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.osgi.service.remoteserviceadmin.EndpointListener)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: null
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.osgi.service.remoteserviceadmin.RemoteServiceAdmin)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.packageadmin.PackageAdmin)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping import request for excluded classs
[org.osgi.service.packageadmin.PackageAdmin]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.url.URLStreamHandlerService)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping import request for excluded classs
[org.osgi.service.url.URLStreamHandlerService]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=org.osgi.service.packageadmin.PackageAdmin)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping import request for excluded classs
[org.osgi.service.packageadmin.PackageAdmin]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter: (objectClass=java.net.ContentHandler)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping import request for excluded classs
[java.net.ContentHandler]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.eclipse.osgi.framework.console.CommandProvider)
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl extendScope
INFO: EndpointListener: extending scope by
(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl updateRegistration
INFO: EndpointListenerImpl: filters:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl
getRegistrationProperties
INFO: EndpointListener: current filter:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.TopologyManager$1
modifiedService
INFO: TopologyManager: EndpointListener changed ... 
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl extendScope
INFO: EndpointListener: extending scope by
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl updateRegistration
INFO: EndpointListenerImpl: filters:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl
getRegistrationProperties
INFO: EndpointListener: current filter:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.TopologyManager$1
modifiedService
INFO: TopologyManager: EndpointListener changed ... 
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl extendScope
INFO: EndpointListener: extending scope by
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl updateRegistration
INFO: EndpointListenerImpl: filters:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl
getRegistrationProperties
INFO: EndpointListener: current filter:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.TopologyManager$1
modifiedService
INFO: TopologyManager: EndpointListener changed ... 
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl extendScope
INFO: EndpointListener: extending scope by
(&(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl updateRegistration
INFO: EndpointListenerImpl: filters:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl
getRegistrationProperties
INFO: EndpointListener: current filter:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.TopologyManager$1
modifiedService
INFO: TopologyManager: EndpointListener changed ... 
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.eclipse.osgi.service.runnable.StartupMonitor)
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl extendScope
INFO: EndpointListener: extending scope by
(&(objectClass=org.eclipse.osgi.service.runnable.StartupMonitor)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl updateRegistration
INFO: EndpointListenerImpl: filters:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.runnable.StartupMonitor)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl
getRegistrationProperties
INFO: EndpointListener: current filter:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.runnable.StartupMonitor)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.TopologyManager$1
modifiedService
INFO: TopologyManager: EndpointListener changed ... 
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.discovery.zookeeper.Activator
updated
INFO: Received configuration update for Zookeeper Discovery: null
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: *** Filter:
(objectClass=org.springframework.osgi.context.event.OsgiBundleApplicationContextListener)
21-Jun-2011 12:29:19 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
added
INFO: ListenerHookImpl: skipping request from myself
Loading Intent map from [classpath:/OSGI-INF/cxf/intents/intent-map.xml]
21-Jun-2011 12:29:22 org.apache.cxf.dosgi.dsw.qos.IntentMap setIntents
INFO: Injected intents:
{addressing=org.apache.cxf.ws.policy.WSPolicyFeature@1b03c1a,
logging=org.apache.cxf.feature.LoggingFeature@139e351,
SOAP=org.apache.cxf.binding.soap.SoapBindingConfiguration@17aece8,
SOAP.1_1=org.apache.cxf.binding.soap.SoapBindingConfiguration@17aece8,
SOAP.1_2=org.apache.cxf.binding.soap.SoapBindingConfiguration@1578aab,
HTTP=PROVIDED}
application context:
org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1ffc686:
display name
[OsgiBundleXmlApplicationContext(bundle=cxf-dosgi-ri-singlebundle-distribution,
config=classpath:/OSGI-INF/cxf/intents/intent-map.xml)]; startup date [Tue
Jun 21 12:29:22 BST 2011]; root of context hierarchy
retrieved intent map: IntentMap:
{addressing=org.apache.cxf.ws.policy.WSPolicyFeature@1b03c1a,
logging=org.apache.cxf.feature.LoggingFeature@139e351,
SOAP=org.apache.cxf.binding.soap.SoapBindingConfiguration@17aece8,
SOAP.1_1=org.apache.cxf.binding.soap.SoapBindingConfiguration@17aece8,
SOAP.1_2=org.apache.cxf.binding.soap.SoapBindingConfiguration@1578aab,
HTTP=PROVIDED}
21-Jun-2011 12:29:22
org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminList$1 addingService
INFO: Adding RemoteServiceAdmin to list of admins 
21-Jun-2011 12:29:22
org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminList$1 addingService
INFO: enlisted RemoteEventAdmins: 0
21-Jun-2011 12:29:22 org.apache.cxf.dosgi.topologymanager.TopologyManager
triggerExportImportForRemoteSericeAdmin
INFO: TopologyManager: triggerExportImportForRemoteSericeAdmin()
21-Jun-2011 12:29:22 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
removed
INFO: ListenerHookImpl: removed:
[org.osgi.util.tracker.ServiceTracker$Tracked@62937c(objectClass=org.eclipse.osgi.service.runnable.StartupMonitor)]
21-Jun-2011 12:29:22 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl
removed
INFO: (objectClass=org.eclipse.osgi.service.runnable.StartupMonitor)
21-Jun-2011 12:29:22
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl reduceScope
INFO: EndpointListener: reducing scope by
(&(objectClass=org.eclipse.osgi.service.runnable.StartupMonitor)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))
21-Jun-2011 12:29:22
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl updateRegistration
INFO: EndpointListenerImpl: filters:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:22
org.apache.cxf.dosgi.topologymanager.EndpointListenerImpl
getRegistrationProperties
INFO: EndpointListener: current filter:
[(&(objectClass=org.eclipse.osgi.framework.console.CommandProvider)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.framework.console.ConsoleSession)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.service.debug.DebugOptionsListener)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307))),
(&(objectClass=org.eclipse.osgi.signedcontent.SignedContentFactory)(!(endpoint.framework.uuid=1f84cb6b-196b-48ba-b148-281f91720307)))]
21-Jun-2011 12:29:22 org.apache.cxf.dosgi.topologymanager.TopologyManager$1
modifiedService
INFO: TopologyManager: EndpointListener changed ... 
ss

Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.6.2.R36x_v20110210
1	ACTIVE      javax.servlet_2.5.0.v200910301333
2	ACTIVE      cxf-dosgi-ri-singlebundle-distribution_1.2.0
3	ACTIVE      org.eclipse.osgi.services_3.2.100.v20100503
4	ACTIVE     
org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110518-0228
5	ACTIVE      MyDistributedService_1.0.0.qualifier

osgi> 

--
View this message in context: http://cxf.547215.n5.nabble.com/Problem-creating-a-Distributed-OSGi-service-tp4494805p4510252.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Problem creating a Distributed OSGi service

Posted by TimD <ti...@riskaware.co.uk>.
I have tried this

props.put("org.apache.cxf.ws.address",
"http://localhost:9045/TemperatureService");

but the result is the same as when I tried to connect on port 9000 when
using the default address...




--
View this message in context: http://cxf.547215.n5.nabble.com/Problem-creating-a-Distributed-OSGi-service-tp4494805p4497998.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Problem creating a Distributed OSGi service

Posted by Sergey Beryozkin <sb...@gmail.com>.
Please specify the address or context path explicitly, relying on the
default convention can be a bit brittle

Cheers, Sergey

On Thu, Jun 16, 2011 at 1:09 PM, TimD <ti...@riskaware.co.uk> wrote:
> I'm new to CXF and OSGi so I've been following the tutorial:
>
> http://cxf.apache.org/developing-a-distributed-osgi-application-in-eclipse.html
> http://cxf.apache.org/developing-a-distributed-osgi-application-in-eclipse.html
>
> There aren't any errors but I can't access the service WSDL.
>
> When I run the example the console says (followed by a load more logging but
> no errors):
>
> osgi> Setting HttpService port to: 8080
>
>
> If I try and access the WSDL at
> http://localhost:9000/test/distributed/service/TemperatureService?wsdl (as
> it says in the tutorial) I get:
>
> Oops! Google Chrome could not connect to localhost:9000
>
> If I try and access the WSDL at
> http://localhost:8080/test/distributed/service/TemperatureService?wsdl I
> get:
>
> HTTP ERROR: 404
>
> NOT_FOUND
> RequestURI=/test/distributed/service/TemperatureService
>
> Powered by jetty://
>
> The OSGi console doesn't show anything wrong:
>
> Framework is launched.
>
> id      State       Bundle
> 0       ACTIVE      org.eclipse.osgi_3.6.2.R36x_v20110210
> 1       ACTIVE      javax.servlet_2.5.0.v200910301333
> 2       ACTIVE      cxf-dosgi-ri-singlebundle-distribution_1.2.0
> 3       ACTIVE      MyDistributedService_1.0.0.qualifier
> 4       ACTIVE      org.eclipse.osgi.services_3.2.100.v20100503
>
> I am using Eclipse Java EE IDE for Web Developers Helios Service Release 2
> and cxf-dosgi-ri-singlebundle-distribution-1.2.jar.
>
> Any idea what I am doing wrong?
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Problem-creating-a-Distributed-OSGi-service-tp4494805p4494805.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Sergey Beryozkin

Application Integration Division of Talend
http://sberyozkin.blogspot.com

Re: Problem creating a Distributed OSGi service

Posted by Spandit2 <Sp...@csc.com>.
Hi Tim ,

I was wondering if you were able to resolve this issue . I am running into
exactly same issue and not sure what I am missing .

I would appreciate any insights on this issue and how you have resolved it .

Thanks
Sunil


--
View this message in context: http://cxf.547215.n5.nabble.com/Problem-creating-a-Distributed-OSGi-service-tp4494805p4807317.html
Sent from the cxf-user mailing list archive at Nabble.com.