Hi all, I'm having a few issues getting DOSGi working in Servicemix. I've
slowly worked through issues and finally got a REST service running
server-side.

I'm now onto the client.

I'm using local discovery with a remote services xml file. I'm also using a
blueprint (I think the impl is Aries in Karaf) to reference the service and
inject it into a bean.

It looks like the inject is carried out ok but when the bean attempts to use
the service I get a ConnectException:

org.apache.cxf.interceptor.Fault: Could not send Message.
 at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)[337:org.apache.cxf.bundle-minimal:2.5.4]
...
...
Caused by: java.net.ConnectException: ConnectException invoking
http://192.168.3.170:9000/xtce/ssmfactory/model: Connection timed out:
connect
...
...
Caused by: java.net.ConnectException: Connection timed out: connect

The URL is correct and I can access the webservice successfully in a browser
from the same machine.


There is a suspicious error further up the log file which may be
significant! It appears when I start the client:

17:19:53,603 | ERROR | rint Extender: 1 | JAXRSClientFactoryBean           |
java.lang.IllegalArgumentException : interface
org.hbird.core.spacesystemmodel.SpaceSystemModelFactory is not visible from
class loader

I assume this is an import package issue but the client does in fact import
the package. It resolves and starts in the osgi container fine.

Any ideas where to look? I can of course post more log details but i'll save
the mailing list the huge log dump until somebody requests it!

Thanks!





--
View this message in context: 
http://cxf.547215.n5.nabble.com/DOSGI-RS-client-issue-JAXRSClientFactoryBean-class-visibility-maybe-causing-a-connect-exception-tp5712885.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to