Thanks a lot for the review Konstantin,
I have correct our tests :)
Will Also contact CXF project
This code was taken from their tests: [1] :))
[1]
https://github.com/apache/cxf/blob/master/systests/cdi/base/src/main/java/org/apache/cxf/systests/cdi/base/tomcat/AbstractTomcatServer.java#L45
On
I have several comments on
[1]
https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/test/java/org/apache/openmeetings/webservice/AbstractWebServiceTest.java#L98
2017-11-07 20:07 GMT+03:00 Tobias Soloschenko
:
> Hi Maxim,
>
> same for me I
Thanks for the hints! :-)
kind regards
Tobias
> Am 08.11.2017 um 07:49 schrieb Rémy Maucherat :
>
> On Wed, Nov 8, 2017 at 5:30 AM, Maxim Solodovnik
> wrote:
>
>> OK :)
>> I finally found the difference :)))
>>
>> Tomcat.java 8.5.23:
>>public void
This is why Tomcat 9.0.1 has no connectors
sorry for the typo
On Wed, Nov 8, 2017 at 11:30 AM, Maxim Solodovnik
wrote:
> OK :)
> I finally found the difference :)))
>
> Tomcat.java 8.5.23:
> public void start() throws LifecycleException {
>
Thanks for the clarifications!
I'll update my code
On Wed, Nov 8, 2017 at 1:49 PM, Rémy Maucherat wrote:
> On Wed, Nov 8, 2017 at 5:30 AM, Maxim Solodovnik
> wrote:
>
> > OK :)
> > I finally found the difference :)))
> >
> > Tomcat.java 8.5.23:
> >
On Wed, Nov 8, 2017 at 5:30 AM, Maxim Solodovnik
wrote:
> OK :)
> I finally found the difference :)))
>
> Tomcat.java 8.5.23:
> public void start() throws LifecycleException {
> getServer();
> getConnector();
> server.start();
> }
>
>
OK :)
I finally found the difference :)))
Tomcat.java 8.5.23:
public void start() throws LifecycleException {
getServer();
getConnector();
server.start();
}
Tomcat.java 9.0.1:
public void start() throws LifecycleException {
getServer();
Hi Maxim,
same for me I just created a simple setup like this:
String baseDir =".";
String webappDirLocation = "src/main/webapp/";
String webxmlDirLocation = "src/main/webapp/WEB-INF/web.xml";
Tomcat tomcat = new Tomcat();
tomcat.setPort(8080);
Thanks for the hints :)
I have created sample project: https://github.com/solomax/tomcat-from-java
I have compared detailed logs.
Following lines appears in logs while Tomcat8 is used
Nov 07, 2017 9:1 PM org.apache.catalina.util.LifecycleBase
setStateInternal
FINE: Setting
On 04/11/17 15:25, Maxim Solodovnik wrote:
> Maybe I can set breakpoint somewhere? and check what is wrong?
> Could you point me to the correct class?
No idea where to look at this point. I'd probably start with the start()
method and go from there.
Maybe try turning on debug logging?
Mark
>
Maybe I can set breakpoint somewhere? and check what is wrong?
Could you point me to the correct class?
On Fri, Nov 3, 2017 at 5:26 PM, Maxim Solodovnik
wrote:
> I'm OK to add missing code to my tests,
> but I'm not sure what need to be added :(
>
> On Fri, Nov 3, 2017 at
I'm OK to add missing code to my tests,
but I'm not sure what need to be added :(
On Fri, Nov 3, 2017 at 3:24 PM, Maxim Solodovnik
wrote:
> I see no errors,
> Using debugger I can see tomcat.server.state == STARTED
>
> Everything works as expected if I'm switching back to
I see no errors,
Using debugger I can see tomcat.server.state == STARTED
Everything works as expected if I'm switching back to 8.5.23 without any
other changes
nestat reports:
*netstat -an |grep 8080*
tcp6 0 0 :::8080 :::*LISTEN
for 8.5.23
On
On 03/11/17 04:51, Maxim Solodovnik wrote:
> Hello,
>
> I recently migrated from Tomcat 8.5.23 to Tomcat 9.0.1
> Everything works as expected except tests :(
>
> I'm using following code to start embedded Tomcat and test CXF web services
> [1].
> With Tomcat 9.0.1 tests failed, netstat -an
Hello,
I recently migrated from Tomcat 8.5.23 to Tomcat 9.0.1
Everything works as expected except tests :(
I'm using following code to start embedded Tomcat and test CXF web services [1].
With Tomcat 9.0.1 tests failed, netstat -an displays port 8080 is not
being listened
What need to be
15 matches
Mail list logo