chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Danninger <sebastian.dannin...@googlemail.com>
Subject Re: cannot be cast to com.sun.xml.ws.developer.WSBindingProvider
Date Mon, 14 May 2012 20:45:39 GMT
are you using Jboss? probably you have a classloading problem with jax-ws
jar

2012/5/14 Damian Sima <damiansima@gmail.com>

> Hi guys I'm trying to initialize a client session of Chemistry but every
> time I got the below exception.
>
> Wierd thing is that the cast is being done inside one of the chemistry
> clases.
>
>
> Do you what could be happening?
>
> org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:
> Cannot initalize Web Services port object: $Proxy42 cannot be cast to
> com.sun.xml.ws.developer.WSBindingProvider
>
> at
>
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.PortProvider.createPortObject(
> PortProvider.java:131)
>
> at
>
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(
> AbstractPortProvider.java:210)
>
> at
>
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(
> AbstractPortProvider.java:109)
>
> at
>
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfo(
> RepositoryServiceImpl.java:85)
>
> at
>
> org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfo(
> RepositoryServiceImpl.java:69)
>
> at org.apache.chemistry.opencmis.client.runtime.SessionImpl.connect(
> SessionImpl.java:676)
>
> at
>
> org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(
> SessionFactoryImpl.java:90)
>
> at
>
> org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(
> SessionFactoryImpl.java:64)
>
> at com.mule.core.FakeFakeTest.createSession(FakeFakeTest.java:68)
>
> at com.mule.core.FakeFakeTest.test(FakeFakeTest.java:19)
>
> at com.mule.core.FakeFakeTest.main(FakeFakeTest.java:14)
>
> Caused by: java.lang.ClassCastException: $Proxy42 cannot be cast to
> com.sun.xml.ws.developer.WSBindingProvider
>
> at
>
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.PortProvider.createPortObject(
> PortProvider.java:108)
>
> ... 10 more
> Cheers, Damian.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message