Tuesday, 26 September 2017

BEA-000402 : error : Maximum number of socket reader thereads allowd by the configuration

Problem:
Received an error (while running long running pojos that access weblogic components thru JNDI) :  <Warning> <Socket> <BEA-000402> <There are: 18 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 2. You may want to alter your configuration.>

Solution:
Navigate to weblogic config.xml
Find the parameter : ThreadPoolPercentSocketReaders
Increase the value any where between 70 to 90

Also navigate to weblogic.conf
change the parameter :  -Dweblogic.PosixSocketReaders to higher number (may be 8 or 9)

No comments:

Post a Comment