cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Reock (JIRA)" <>
Subject [jira] [Commented] (CXF-6481) Jetty HTTPJ session manager configuration is not effective
Date Thu, 02 Jul 2015 18:13:04 GMT


Justin Reock commented on CXF-6481:

As requested by Sergey, I've attached a test which will demonstrate this issue.  The test
runs against Karaf 3.0.3, Camel 2.15.2, and CXF 3.0.4.  I ran this inside of the latest ServiceMix
6.0.0.M2 which contains those libraries.

Build the program with Maven, and deploy the resulting .jar file into Servicemix.
 Then deploy the camel-context.xml blueprint as well.

If you hit http://localhost:8888/testSession or http://localhost:8888/testSession/rest, you
will receive the output:

<ns1:XMLFault xmlns:ns1=""><ns1:faultstring
xmlns:ns1="">java.lang.IllegalStateException: No

And you will get the same exception in your log.

If you alter the camel-context jaxrs entry to use a relative address instead of a URL, like:

    <jaxrs:server id="restServices"
            <bean class="testhttpj.cxf.TestInterceptor"/>
            <bean class="testhttpj.cxf.RestfulService"/>

The session is returned properly.

> Jetty HTTPJ session manager configuration is not effective
> ----------------------------------------------------------
>                 Key: CXF-6481
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>            Reporter: Sergey Beryozkin
>             Fix For: 3.1.2
>         Attachments: camel-context.xml,
> It appears a session manager is not available if activated from the httpj configuration
starting from Jetty 8

This message was sent by Atlassian JIRA

View raw message