Support Article
Stream node failing to start on WebLogic with bind port error
SA-82347
Summary
Pega 8.1.3 is installed on WebLogic.
The default Bind ports required for the Stream service are not used before the system is started. While the node starts successfully, errors related to starting the Stream node are generated in the logs since the JVM_Bind port is already in use. Hence, cannot use any of the features that the stream is required for since the stream node cannot be started.
Error Messages
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at sun.management.jmxremote.ConnectorBootstrap$HostAwareSocketFactory.createServerSocket(ConnectorBootstrap.java:864)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:335)
Steps to Reproduce
Start a node with NodeType of Stream.
Root Cause
A defect or configuration issue in the operating environment.
A new feature added to the WebLogic 12.1.3, caused a backward compatibility issue.
The issue occurred due to the 'Filter incoming serialization data' Java 8 security feature in WebLogic. When this filter mechanism takes effect, the serialization maximum depth is 100 (this depth is insufficient).
Resolution
Perform the following local-change:
Add the following JVM arguments for each JVM. To add the JVMs, tune the parameters to increase the serialization object graph depth to more than 100 which is the default maximum depth that WebLogic allows.
-Dweblogic.oif.serialFilterMode=combine
-Dweblogic.oif.serialFilterScope=weblogic
-Dweblogic.oif.serialFilter=maxdepth=1000
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.