Problem:
Wrongly setup Security role to user/group mapping, and the application cannot be start up.
Solution:
Open
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/testbccldvapp02Cell01/applications/PlantsByWebSphere.ear/deployments/PlantsByWebSphere/META-INF/ibm-application-bnd.xml
and remove the entry in RED.
<?xml version="1.0" encoding="UTF-8"?>
<application-bnd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://websphere.ibm.com/xml/ns/javaee"
xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-application-bnd_1_0.xsd" version="1.0">
<security-role name="SampAdmin">
<user name="wasadssoadm" access-id="user:defaultWIMFileBasedRealm/CN=wasadssoadm,OU=Service Groups and Accounts,OU=I&T,DC=adroot,DC=goweekend,DC=ca"/> <group name="sampadmn"/>
</security-role>
</application-bnd>
No comments:
Post a Comment