BTW, maybe you have examples for CXF under java9? :)

On Wed, Nov 8, 2017 at 10:39 PM, Maxim Solodovnik <[email protected]>
wrote:

> Yep :)
> This was was my initial fix
>
> But then I got recommendations from Konstantin and refactor a little bit :)
>
> On Wed, Nov 8, 2017 at 10:37 PM, Sergey Beryozkin <[email protected]>
> wrote:
>
>> Hi Max
>>
>> Thanks for this info, will save us a lot of time with trying to migrate
>> to Tomcat 9 :-).
>> In the simplest case, is it enough just to add a .getConnector() call,
>> without having to set up a Connector explicitly as in your code ?
>>
>> Cheers. Sergey
>>
>> On 08/11/17 13:58, Maxim Solodovnik wrote:
>>
>>> Hello,
>>>
>>> Recently I found an issue with running Tomcat to perform web-services
>>> tests
>>> There were no issues until I have updated to Tomcat 9.0.1
>>>
>>> The code to start Tomcat was taken from
>>> https://github.com/apache/cxf/blob/master/systests/cdi/base/
>>> src/main/java/org/apache/cxf/systests/cdi/base/tomcat/Abstra
>>> ctTomcatServer.java#L45
>>>
>>> Here is the discussion in Tomcat mailing list:
>>> http://tomcat.10.x6.nabble.com/Start-embedded-Tomcat-9-0-1-s
>>> erver-from-java-code-td5068985.html
>>>
>>> Here is how it is currently look like in our code base:
>>> https://github.com/apache/openmeetings/blob/master/openmeeti
>>> ngs-web/src/test/java/org/apache/openmeetings/webservice/
>>> AbstractWebServiceTest.java#L100
>>>
>>> Hope it will be helpful :))
>>>
>>>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to