Is there any KB about forcing PASOE to use IPv4?

Posted by dbeavon on 29-May-2019 20:18

I was doing some load-testing on my workstation today (Windows 10 with the latest update 1903).  PASOE is occasionally generating some very unusual errors.  On the client side of things (.net openclient) the error is : Progress.Open4GL.Exceptions.ConnectFailedException : Message=Request failure: Invalid Message Format (7251) .

On the PASOE server, I see the following in the session manager logs :

15:51:07.534/4529179 [catalina-exec-2] ERROR com.progress.appserv.Session - LocalSession(50826166383B445999A9DF0CE7BCD7D2C7FE25C251BF.oepas1) : error occurred while reading a message processAgentRsp() = java.net.SocketException: Unrecognized Windows Sockets error: 0: recv failed:Unrecognized Windows Sockets error: 0: recv failed. (18300)
15:51:07.535/4529180 [catalina-exec-2] WARN  c.p.appserv.PoolMgt.Connection - TcpAgentConnectionPool(amQNlBRaSAS9_Uxe3Dvq6A) : removeAgentConnection() failed to remove connection : size= 0 max= 5
15:51:07.536/4529181 [catalina-exec-2] ERROR com.progress.appserv.Session - LocalSession(50826166383B445999A9DF0CE7BCD7D2C7FE25C251BF.oepas1) : an error occurred while reading response message = java.net.SocketException: Unrecognized Windows Sockets error: 0: recv failed:Unrecognized Windows Sockets error: 0: recv failed. (18296)

 

PASOE is running on version v.11.7.4 on windows.  I've spent some time googling this and it appears that most Java apps with this error (Unrecognized Windows Sockets ) can be fixed by disabling IPv6.  Here is an example:

https://stackoverflow.com/questions/3947555/java-net-socketexception-unrecognized-windows-sockets-error-0-jvm-bind-jboss

There is a generic KB from Progress about selecting between IPv4 and IPv6.  But it does not mention PASOE in any way:

https://knowledgebase.progress.com/articles/Article/P168389

Is there an easy way to ensure that PASOE is only binding to IPv4 addresses?  I found an article about tomcat in general ( https://serverfault.com/questions/390840/how-does-one-get-tomcat-to-bind-to-ipv4-address ) but I was hoping that there might be an article that I overlooked which is specific to PASOE.

Any help would be appreciated.  It would be nice if IPv6 worked just as reliably as IPv4 but that is a problem for later. 

All Replies

Posted by Peter Judge on 29-May-2019 20:30

FWIW you can try putting the -D args into $CATALINA_BASE/conf/jvm.properties
 
 
 

This thread is closed