Consultor Eletrônico



Kbase P121312: WebService on Tomcat fails to communicate with AppServer due to permission issues
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1x
Linux Intel

SYMPTOM(s):

WebService on Tomcat fails to communicate with AppServer

Timeout or Interrupt occurred while attempting to communicate with NameServer. (8231)

NameServer and Tomcat Webserver are located on different machines

CAUSE:

Permission configuration problem of Tomcat Webserver. The Tomcat WebServer did not have permissions to communicate with the NameServer via TCP/IP sockets.

FIX:

Add appropriate permissions to webapps.policy file of the Tomcat Webserver.
That are for example:
permission java.net.SocketPermission "<NameServer host IP-address>:<NameServer port>", "connect,accept";
permission java.net.SocketPermission "<AppServer host IP-address>:<AppServer port>", "connect,accept";