The Server is not able to service this request: [Socket:000445]Connection rejected, filter blocked Socket, weblogic.security.net.FilterException: [Security:090220]rule 2
Error:
Weblogic server is starting but giving the below error while accessing the URL.
The Server is not able to service this request: [Socket:000445]Connection rejected, filter blocked Socket, weblogic.security.net.FilterException: [Security:090220]rule 2
Cause:
The error I encountered is due to WebLogic offers a concept called “connection filter“. Connection filters provide network layer access control and allow the server(s) to block unwanted communication based on different criteria.
Solution:
Take backup of config.xml
[applmgr@ebsupgrade config]$ cp -ip config.xml config.xml_bkp
Edit the file and open the connection part in config.xml file
In the above config.xml file, you can see that it is blocking the connection for 0.0.0.0/0 which means connections from all public IP
Change deny to allow.
<connection-filter>oracle.apps.ad.tools.configuration.wls.filter.EBSConnectionFilterImpl</connection-filter> <connection-filter-rule>ebsupgrade.lab * * allow</connection-filter-rule> <connection-filter-rule>0.0.0.0/0 * * allow</connection-filter-rule> <connection-logger-enabled>true</connection-logger-enabled>
Restart Application Services and try again. It will work.
Post a Comment
Post a Comment