IBM Support

Getting error java.io.EOFException when starting IBM FileNet Process Engine Manager

Troubleshooting


Problem

Attempts to start Process Engine Manager service (startpemgr) result in the following error: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.io.EOFException at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:298) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:334) at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89) at filenet.jpe.pemgr.PEManager.getActiveInstance(PEManager.java:168) at filenet.jpe.pemgr.PEManager.main(PEManager.java:537) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:261) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:240) ... 5 more

Cause

The tcp_ephemeral_low and udp_ephemeral_low are set too low (for example 32768).
This may allow the AIX OS to claim the ports which should be used by Process Engine.

Environment

AIX

Diagnosing The Problem

Verify the settings of the ephemeral ports range by running the following commands:
no -a | grep ephemeral
no -a | grep tcp

Resolving The Problem

Steps to resolve:
1.Login as the root user, stop PEServer and PEManager:

./stoppesvr
./stoppemgr

then run the following commands:

/usr/sbin/no -p -o tcp_ephemeral_low=42767
/usr/sbin/no -p -o udp_ephemeral_low=42767

This should result in these entries in the /etc/tunables/nextboot file:

no:
tcp_ephemeral_low = "42767"
udp_ephemeral_low = "42767"

2. If the CDE bundle is installed, the dtlogin daemon may bind to a required port before the kernel parameters listed above take effect. In order to avoid this problem, add the following statements at the beginning of the /etc/rc.dt file:

/usr/sbin/no -o tcp_ephemeral_high=65535
/usr/sbin/no -o tcp_ephemeral_low=42767
/usr/sbin/no -o udp_ephemeral_high=65535
/usr/sbin/no -o udp_ephemeral_low=42767

3. Restart the server (shutdown -Fr) for these settings to take effect. Executing the commands at the command line is not sufficient. The parameters must be in effect at boot time to avoid bind failures.

4. Verify the changes by running the following commands:
no -a | grep ephemeral
no -a | grep tcp

5. Startup PEServer and PEManager
./startpesvr
./startpemgr

[{"Product":{"code":"SSNW2F","label":"FileNet P8 Platform"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Process Engine","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.1;5.0;4.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21639088