Author |
Message |
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
OD 7.2.1 with Tomcat 8.5.23 and Java jre1.8.0_181
EP 7.0.2
Runtime platform: Tomcat 8.5.23 and Java jre1.8.0_192
Tomcat 8.5.23 in runtime fails calling a reuseable module with local invocation
Simolation is ok
Tomcat 8.0.53 in runtime is OK
Is Tomcat 8.5.x supported?
Regards
Jan Bertram Petersen
TDCNetdesign
Filename |
Test with issue Tomcat 8.5.23 trace log.log |
Download
|
Filename |
Test OK Tomcat 8.0.53 trace log.log |
Download
|
Filename |
Aaod Speech Project and screendump.zip |
Download
|
|
|
|
|
|
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
|
8.5.x is supported. You have to get some logs in order to figure out where exactly it fails.
|
|
|
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
Provided trace logs, Speech Projects and Screen dump from tests
|
|
|
|
|
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
|
I don't get this. You claimed you ran these on 2 different Tomcat versions. How come the url for calling the module in two different log files are the the same "http://aaepwebftest01.tdk.dk:8081/Aaod710Test01/Start"?
Tomcat 8.0 log
17/01/2019 08:32:57:537 DEBUG - 6EE270AD5F29069423D951606FCCD37A:/Aaod710Test00 : redirecting to [http://aaepwebftest01.tdk.dk:8081/Aaod710Test01/Start?___DDSESSIONID=6EE270AD5F29069423D951606FCCD37A:/Aaod710Test00]
17/01/2019 08:32:57:550 INFO - 6EE270AD5F29069423D951606FCCD37A:/Aaod710Test00 : Using SCESession 6EE270AD5F29069423D951606FCCD37A:/Aaod710Test00 servlet : Start
Tomcat 8.5 log
17/01/2019 08:46:29:182 DEBUG - 0D22EBDCFEBA987B09DBBE36223572F4:/Aaod710Test00 : redirecting to [http://aaepwebftest01.tdk.dk:8081/Aaod710Test01/Start?___DDSESSIONID=0D22EBDCFEBA987B09DBBE36223572F4:/Aaod710Test00]
17/01/2019 08:46:37:546 INFO - 0D22EBDCFEBA987B09DBBE36223572F4:/Aaod710Test00 : Removing session from AvayaSessionTermination Servlet
|
|
|
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
I guess its the port number 8081 that is making you confused
I have 2 Tomcat instans on the same server configured with same port number 8081
I started Tomcat 8.0 and made a test call and then stop the service
Then i started Tomcat 8.5 and made a test call
|
|
|
|
|
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
|
OK, that makes sense. It looks like the Tomcat 8.5 is not responding to the url "http://aaepwebftest01.tdk.dk:8081/Aaod710Test01/Start?___DDSESSIONID=0D22EBDCFEBA987B09DBBE36223572F4:/Aaod710Test00" for some reason.
Have you test the app Aaod710Test01 individually to see it is deployed OK on Tomcat 8.5 instance?
|
|
|
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
Just made a test to be sure, it works fine calling Aaod710Test01
|
|
|
|
|
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
|
I ran some tests on 8.5.23 but can't seem to reproduce the problem.
|
|
|
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
Did you test with my projects?
I found this in the release info 7.2.1 "connectionLinger"
Tomcat –
o On some versions of Tomcat you may encounter problems with Tomcat closing a socket too soon when it sends a redirect; specifically, if there are 2 redirects back to back without a VXML page being returned. To alleviate this, use the connectionLinger property in the connector configuration with a minimum value of 1. It is not known if this behavior is exhibited on other application servers.
Not sure if this cover this issue?
|
|
|
|
|
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
|
Yes, I tested your projects. They are pretty simple. This problem doesn't seem to be project related.
The information you found seems to make sense although I wasn't involved in it. You should give it a try.
|
|
|
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
Did you tests on a new instans of Tomcat 8.5.23 ?
Can you provide me som guidens of where/how to configure "connectionLinger".
I feel i have downloaded most of the internet without finding any useful.
|
|
|
|
|
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
|
I am not sure what you mean by new instance. It's 8.5.23. There is a newer release of 8.5 you can download from Tomcat website. You can try that.
Here is the Tomcat documentation where the connectionLinger attribute is mentioned:
https://tomcat.apache.org/tomcat-8.5-doc/config/http.html
|
|
|
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
I mean did you test with my projects on a new installed tomcat instance 8.5.23
I have already read the docs about connectionLinger, but I need an example how/where to configure this.
|
|
|
|
|
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
|
Yes.
This attribute would be applied like this in conf/server.xml
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000" connectionLinger=2
redirectPort="8443" />
You should try to look into some Tomcat logs like catalina.log and localhost_access.log to see if there is any indication of problem. I think this problem is related to the network.
|
|
|
|
|
JanPetersen
Joined: Mar 18, 2015
Messages: 33
Offline
|
Could you Zip the Tomcat folder 8.5.23 you tested and upload et to me, I will install it on my server and test.
Are you running on a 2008/2012/2016 windowsserver ?
My Windows server is 2008
|
|
|