Re: org.eclipse.jetty.server.Request cannot be cast to javax.servlet.http.HttpServletRequest updating from 2.5.0 to 2.7.3

2013-06-12 Thread Freeman Fang
Hi, Just FYI, from CXF 2.6.x, we encourage to use separate cxf bundles instead of the all-in-one cxf-bundle - 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.

Re: org.eclipse.jetty.server.Request cannot be cast to javax.servlet.http.HttpServletRequest updating from 2.5.0 to 2.7.3

2013-06-10 Thread eanbiso
Problem seems to be caused by conflict in the import/export of same packages from different bundles; it has been solved with these changes: - remove from the MANIFEST.MF of CXFBundle (bundle version of cxf 2.7.3) the import of javax.servlet, javax.servlet.http - add the two packages in

Re: org.eclipse.jetty.server.Request cannot be cast to javax.servlet.http.HttpServletRequest updating from 2.5.0 to 2.7.3

2013-06-10 Thread eanbiso
Another useful info: the fault is caused by an operation HttpServletRequest request = (HttpServletRequest)message.get(AbstractHTTPDestination.HTTP_REQUEST); that I've to execute in one of the input interceptors. This is the cause of the class cast exception (but I've always executed it with old

org.eclipse.jetty.server.Request cannot be cast to javax.servlet.http.HttpServletRequest updating from 2.5.0 to 2.7.3

2013-06-10 Thread eanbiso
Hi all, I'm updating from cxf 2.5.0 to cxf 2.7.3 (using osgi environment). After the update an anomalous fault occurs at SOAP ws invocation. With a MANIFEST.MF of the cxf 2.7.3 bundle containing import statements: Import-Package: ..., javax.servlet, javax.servlet.http, ... w