Tuesday, October 31, 2017

BEA-090087 - Server failed to bind to the configured Admin port. The port may already be used by another process.


BEA-090087 - Server failed to bind to the configured Admin port. The port may already be used by another process.

 Reason 1 : This error occured when we try to start managed server on other physical machine with node manager.


Solution : We have to create new node manager that points to other physical machine.

Procedure :

1. Go to Enviournment-->Machines.
2. Here click on New button, then give the name for the machine and select the type of the machine and then Next.
3.Here give the listen address and listen port of the node manager and click on Finish.

Reason 2 : This error occurred when we try to start two nodemanager on one physical machine. e.g. one for weblogic and second for OHS.

Solution

Just change the port of one nodemanager.

java.lang.OutOfMemoryError: PermGen space

Error : java.lang.OutOfMemoryError: PermGen space

Solution : Have to increase PermSize of weblogic server

Procedure :

Weblogic Version : 10.3.6

1. go to $DOMAIN_HOME/bin

2. Here edit the file setDomainEnv.sh.

$vim setDomainEnv.sh

3. Here change the value of min and max PerSize as,

241 MEM_PERM_SIZE_64BIT="-XX:PermSize=512m"
242 export MEM_PERM_SIZE_64BIT
243
244 MEM_PERM_SIZE_32BIT="-XX:PermSize=48m"
245 export MEM_PERM_SIZE_32BIT
246
247 if [ "${JAVA_USE_64BIT}" = "true" ] ; then
248         MEM_PERM_SIZE="${MEM_PERM_SIZE_64BIT}"
249         export MEM_PERM_SIZE
250 else
251         MEM_PERM_SIZE="${MEM_PERM_SIZE_32BIT}"
252         export MEM_PERM_SIZE
253 fi
254
255 MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=1024m"
256 export MEM_MAX_PERM_SIZE_64BIT
257
258 MEM_MAX_PERM_SIZE_32BIT="-XX:MaxPermSize=128m"


Line no. 241 for Min. PermSize and Line no. 255 for Max. PerSize.