So I have this exception when connecting to a FileNet P8 API from my Linux Machine:
com.filenet.api.exception.EngineRuntimeException: FNRCE0040E: E_NOT_AUTHENTICATED: The user is not authenticated. Message was: java.net.ConnectException: t3://1.2.3.4:9210: Bootstrap to 1.2.3.4/1.2.3.4:9210 failed. It is likely that the remote side declared peer gone on this JVM at com.filenet.apiimpl.core.UserPasswordToken.getSubject(UserPasswordToken.java:121)
at com.filenet.api.util.UserContext.createSubject(UserContext.java:288)
This happens when connecting to a WebLogic Cluster and not into a single node (Well it might happen with a single node…).
The solution?
Easy: just add to the host files of the client machine the name and ip address of each weblogic cluster node.