cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuen-Chi Lian (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1329) JAXRSOutInterceptor assumes ProviderFactory as org.apache.cxf.jaxrs.provider.ProviderFactoryImpl
Date Fri, 11 Jan 2008 01:20:34 GMT

    [ https://issues.apache.org/jira/browse/CXF-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557875#action_12557875
] 

Yuen-Chi Lian commented on CXF-1329:
------------------------------------

Will we be having such option in the future? I doubt no, but it doesn't really hurt anyway.

Cheers.

> JAXRSOutInterceptor assumes ProviderFactory as org.apache.cxf.jaxrs.provider.ProviderFactoryImpl
> ------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1329
>                 URL: https://issues.apache.org/jira/browse/CXF-1329
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.1
>         Environment: Linux nemesis 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007
i686 GNU/Linux
> java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)
>            Reporter: Yuen-Chi Lian
>            Assignee: Jervis Liu
>
> I am working on the 2.1-incubator-SNAPSHOT and I have tried both javax.ws.rs:jsr311-api
and jersey:jersey. I however have a ClassCastException problem if I'm using Jersey, this is
the error when the request is being processed by the service:
> Dec 24, 2007 1:18:20 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> java.lang.ClassCastException: com.sun.ws.rest.impl.provider.ProviderFactoryImpl
> 	at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:86)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
> 	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
> 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
> 	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:297)
> 	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:243)
> 	at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> Am I not supposed to use other JSR 311 implementations?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message