Monday, June 17, 2013

BPM MDS Connection Error -BPM-80102: Error while creating the security service

Hi ,

I faced the following issue while creating the MDS connection in BPM while following the BPM cook book.
Test Failed: BPM-80102: Error while creating the security service.  Cause: access denied (oracle.security.jps.service.policystore.PolicyStoreAccessPermission Context:APPLICATION Context Name:OracleBPMComposerRolesApp Actions:getApplicationPolicy)



















Solution:


When I Checked the BPM-MSD log it says that "oracle.bpm.pml.security.exception.PmlSecurityException: BPM-80102: Error while creating the security service."

Steps to resolve:

1) Go to the Middleware Home location, for my case it’s under Following location

2) C:\Oracle\Middleware-->user_projects-->domain-->SOAdomain(Domain name specific to your Domain)-->config-->fmwconfig

2) Open the system-jazn-data.xml file under fmwconfig folder

3) Edit "system-jazn-data.xml" file, add the following grant. 



 <grant>
            <grantee>
                <codesource>
                    <url>file:${soa.oracle.home}
/soa/modules/oracle.bpm.runtime_11.1.1/oracle.bpm.pml.security.jar</url>
                </codesource>
            </grantee>
            <permissions>
                <permission>
                    <class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission</class>
                    <name>context=APPLICATION, name=*</name>
                    <actions>createAppRole,removeAppRole,addPrincipalToAppRole,removePrincipalFromAppRole,grant,revoke,getApplicationPolicy</actions>
                </permission>
                <permission>
                    <class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission</class>
                    <name>context=APPLICATION, name=OracleBPMProcessRolesApp</name>
                    <actions>createAppRole,removeAppRole,addPrincipalToAppRole,removePrincipalFromAppRole,grant,revoke,getApplicationPolicy</actions>
                </permission>
                <permission>
                    <class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission</class>
                    <name>context=APPLICATION, name=OracleBPMComposerRolesApp</name>
                    <actions>createAppRole,removeAppRole,addPrincipalToAppRole,removePrincipalFromAppRole,grant,revoke,getApplicationPolicy</actions>
                </permission>
                <permission>
                    <class>oracle.security.jps.JpsPermission</class>
                    <name>VerificationService.createInternalWorkflowContext</name>
                </permission>
                <permission>
                    <class>oracle.security.jps.service.credstore.CredentialAccessPermission</class>
                    <name>credstoressp.credstore.WF-ADMIN-USER.WF-ADMIN-CREDENTIAL</name>
                    <actions>read,write</actions>
                </permission>
            </permissions>
        </grant>

4)Restart the server it will solve your issue 


Sunday, June 16, 2013

Unable to Login BPM Workspace

Hi ,

Problem:

I was facing the issue in logging to BPM work space,I was able to logging in to EM and Console with same Password but I faced issue with BPM Workspace .

I have BPM and SOA both are running on the same server,still i am unable to log in its says invalid user name password


Solution :

1.     1)Login to console as an Administrator

2.     2)Click on the server under environment in Domain Structure Panel on the left hand side.




3.     Then choose the Server where the BPM is hosted (For my case it admin server)




4.     In the listen address, type your complete machine name then restart your server it will solve the issue.(Note :even I faced the issue if mention here as localhost )