You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Dan Tran <da...@gmail.com> on 2013/05/16 05:41:21 UTC

Strange jaxws issue

I am seeing this problem [1] when running with karaf shell ( bin/karaf )

When running under jsw wrapper it is ok?

Advice on this is very much appreciated

I am running under Centos 5, openjdk 1.7, 32 bit

-D

[1] javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider
org.apache.cxf.jaxws.spi.ProviderImpl not found
        at
javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:133)[:2.2.0]
        at
javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:238)[:2.2.0]
        at
javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:127)[:2.2.0]
        at
javax.xml.ws.spi.FactoryFinder.access$200(FactoryFinder.java:44)[:2.2.0]
        at
javax.xml.ws.spi.FactoryFinder$3.run(FactoryFinder.java:229)[:2.2.0]
        at
javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:238)[:2.2.0]
        at
javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:163)[:2.2.0]
        at javax.xml.ws.spi.Provider.provider(Provider.java:43)[:2.2.0]
        at javax.xml.ws.Service.<init>(Service.java:35)[:2.2.0]

Re: Strange jaxws issue

Posted by Dan Tran <da...@gmail.com>.
yes, mine is 3.2.1

Thank you for the quick response

-D


On Wed, May 15, 2013 at 8:54 PM, Freeman Fang <fr...@gmail.com>wrote:

> Hi,
>
> What's Karaf version you're using?
> If it's 2.3.1, should be related to [1], that said, you can edit
> $KARAF_HOME/etc/system.properties
> change
> org.apache.servicemix.specs.timeout=0
> to
> org.apache.servicemix.specs.timeout=100 (or bigger)
>
> So that the OSGiLocator can get some time to wait for the jaxws impl
> bundle(cxf jaxws fronted in this case) available
>
> [1]https://issues.apache.org/jira/browse/KARAF-2269
> -------------
> Freeman(Yue) Fang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://fusesource.com | http://www.redhat.com/
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: @Freeman小屋
>
> www.camelone.org : The open source integration conference:
>
> On 2013-5-16, at 上午11:41, Dan Tran wrote:
>
>
> I am seeing this problem [1] when running with karaf shell ( bin/karaf )
>
> When running under jsw wrapper it is ok?
>
> Advice on this is very much appreciated
>
> I am running under Centos 5, openjdk 1.7, 32 bit
>
> -D
>
> [1] javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider
> org.apache.cxf.jaxws.spi.ProviderImpl not found
>         at
> javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:133)[:2.2.0]
>         at
> javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:238)[:2.2.0]
>         at
> javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:127)[:2.2.0]
>         at
> javax.xml.ws.spi.FactoryFinder.access$200(FactoryFinder.java:44)[:2.2.0]
>         at
> javax.xml.ws.spi.FactoryFinder$3.run(FactoryFinder.java:229)[:2.2.0]
>         at
> javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:238)[:2.2.0]
>         at
> javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:163)[:2.2.0]
>         at javax.xml.ws.spi.Provider.provider(Provider.java:43)[:2.2.0]
>         at javax.xml.ws.Service.<init>(Service.java:35)[:2.2.0]
>
>
>

Re: Strange jaxws issue

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

What's Karaf version you're using?
If it's 2.3.1, should be related to [1], that said, you can edit $KARAF_HOME/etc/system.properties
change
org.apache.servicemix.specs.timeout=0
to
org.apache.servicemix.specs.timeout=100 (or bigger)

So that the OSGiLocator can get some time to wait for the jaxws impl bundle(cxf jaxws fronted in this case) available

[1]https://issues.apache.org/jira/browse/KARAF-2269
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

www.camelone.org : The open source integration conference: 

On 2013-5-16, at 上午11:41, Dan Tran wrote:

> 
> I am seeing this problem [1] when running with karaf shell ( bin/karaf )
> 
> When running under jsw wrapper it is ok?
> 
> Advice on this is very much appreciated
> 
> I am running under Centos 5, openjdk 1.7, 32 bit 
> 
> -D
> 
> [1] javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider org.apache.cxf.jaxws.spi.ProviderImpl not found
>         at javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:133)[:2.2.0]
>         at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:238)[:2.2.0]
>         at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:127)[:2.2.0]
>         at javax.xml.ws.spi.FactoryFinder.access$200(FactoryFinder.java:44)[:2.2.0]
>         at javax.xml.ws.spi.FactoryFinder$3.run(FactoryFinder.java:229)[:2.2.0]
>         at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:238)[:2.2.0]
>         at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:163)[:2.2.0]
>         at javax.xml.ws.spi.Provider.provider(Provider.java:43)[:2.2.0]
>         at javax.xml.ws.Service.<init>(Service.java:35)[:2.2.0]
>