Primavera 6.7 API Server ServiceNotBoundException

While calling the Primavera API server from a remote client, i was getting this exception:

com.primavera.integration.network.ServiceNotBoundException: rmi/RemoteSession
at com.primavera.integration.network.RMIInstanceFactory.getRemoteInstance(RMIInstanceFactory.java:97)

The default port 9099 is in listening mode on the API server.
The API server is deployed on JBOSS applications server.

After a careful study of the configuration and the admin guide, here is how i resolved this issue:
1. Unlike the previous versions, the RMI standard Service Port needs to be set explicitly to a valid port value if the RMI server is going to be access through a firewall. (If the server will be accessed across a firewall, you must set this to a specific port.)
2. This port must be different than RMI Registry port. You will use the Registry port in all your client side method calls.
3. Setup a inbound firewall rule for both these ports RMI Standard service port as well as RMI Registry port.
4. Bind the JBOSS on startup to 0.0.0.0 IP by using this command: run.bat -b 0.0.0.0
5. Not sure if this is necessary: But remove all the occurances of ${jboss.bind.address} in Jboss-service.xml file.

Comments

Popular posts from this blog

Load data from CSV into HIVE table using HUE browser

Setting property 'keystoreFile' did not find a matching property. No Certificate file specified or invalid file format

Gitlab change project visibility from private to internal