Sunday, September 23, 2012

FND - 2403 The attachment information can't be retrieved

FND - 2403 The attachment information can't be retrieved

When you are trying to see the log file or output then it shows this error and there is a simple solution we have to restart the common domains UCM server and ESS server and for the work around using the WLST for common domain we need to revoke and grant permission for the  EssCentralUiApp

Check the error 


If this error occurs as if a quick work around we can restart the UCMserver and ESSbase server which is under the common Domain


Once the server is restarted then the issue will not be repeated again .. if you are getting the issue again then according to the metalink note Intermittent FND-2403 Trying to get the Job's Output or Log Files [ID 1432438.1]
we need to revoke the grant from the EssCentralUiApp and grant it again with system policy
EssCentralUiApp codesource grants have been packaged into fscm application instead of system policy.

Once you are restarting the ESS servers check the Scheduling  services tab in the em and find the status for the essapp the request process will be in the stopped stage we have to start the request processer


select the request processor which is stopped and then click the start to start the process

when ever you are restarting the ess server check the process status in the em ...

GRANTING AND REVOKING PERMISSION FOR THE EssCentralUiApp


[oracle@fahapp bin]$ pwd
<oracle_base>/products/fusionapps/oracle_common/common/bin
[oracle@fahapp bin]$ ./wlst.sh


wls:/offline> connect()
Please enter your username :<username>
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://<common domain host name>:7001
Connecting to t3://<common domain hostname>:7001 with userid <username> ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'CommonDomain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

Step 1
Execute the command's 
wls:/CommonDomain/serverConfig> revokePermission(appStripe='fscm', codeBaseURL='file:${common.components.home}/modules/oracle.wsm.agent.common_11.1.1/wsm-agent-core.jar', permClass='oracle.wsm.security.WSIdentityPermission',permTarget='resource=EssCentralUiApp',permActions='assert')
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

Step 2



wls:/CommonDomain/serverConfig> revokePermission(appStripe='fscm', codeBaseURL='file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar',permClass='oracle.security.jps.service.credstore.CredentialAccessPermission', permTarget='context=SYSTEM,mapName=oracle.wsm.security,keyName=keystore-csf-key', permActions='read')
Already in Domain Runtime Tree

Step 3


wls:/CommonDomain/serverConfig> revokePermission(appStripe='fscm', codeBaseURL='file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar', permClass='oracle.security.jps.service.credstore.CredentialAccessPermission', permTarget='context=SYSTEM,mapName=oracle.wsm.security,keyName=keystore-csf-key', permActions='read')
Already in Domain Runtime Tree

Step 4


wls:/CommonDomain/serverConfig>  grantPermission(codeBaseURL='file:${common.components.home}/modules/oracle.wsm.agent.common_11.1.1/wsm-agent-core.jar', permClass='oracle.wsm.security.WSIdentityPermission', permTarget='resource=EssCentralUiApp', permActions='assert')
Already in Domain Runtime Tree

Step 5
wls:/CommonDomain/serverConfig> grantPermission(codeBaseURL='file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar', permClass='oracle.security.jps.service.credstore.CredentialAccessPermission', permTarget='context=SYSTEM,mapName=oracle.wsm.security,keyName=keystore-csf-key', permActions='read')
Already in Domain Runtime Tree

Command FAILED, Reason: JPS-04201: Cannot grant permission(s). Grant already exists for grantee [GranteeEntry: codeSource=file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar principals=[]].

Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/u01/oracle/fa/products/fusionapps/oracle_common/common/wlst/jpsWlstCmd.py", line 735, in grantPermission
  File "/u01/oracle/fa/products/fusionapps/oracle_common/common/wlst/jpsWlstCmd.py", line 719, in grantPermissionImpl
        at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
        at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
        at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
        at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:918)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
        at weblogic.security.Security.runAs(Security.java:61)
        at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:916)
        at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)

javax.management.MBeanException: javax.management.MBeanException: JPS-04201: Cannot grant permission(s). Grant already exists for grantee [GranteeEntry: codeSource=file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar principals=[]].

Step 6
wls:/CommonDomain/serverConfig> grantPermission(codeBaseURL='file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar', permClass='oracle.security.jps.service.credstore.CredentialAccessPermission', permTarget='context=SYSTEM,mapName=oracle.wsm.security,keyName=enc-csf-key', permActions='read')
Already in Domain Runtime Tree

Command FAILED, Reason: JPS-04201: Cannot grant permission(s). Grant already exists for grantee [GranteeEntry: codeSource=file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar principals=[]].

Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/u01/oracle/fa/products/fusionapps/oracle_common/common/wlst/jpsWlstCmd.py", line 735, in grantPermission
  File "/u01/oracle/fa/products/fusionapps/oracle_common/common/wlst/jpsWlstCmd.py", line 719, in grantPermissionImpl
        at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
        at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
        at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
        at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:918)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
        at weblogic.security.Security.runAs(Security.java:61)
        at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:916)
        at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)

javax.management.MBeanException: javax.management.MBeanException: JPS-04201: Cannot grant permission(s). Grant already exists for grantee [GranteeEntry: codeSource=file:${atgpf.oracle.home}/atgpf/modules/oracle.applcore.attachments_11.1.1/Attachments-Model.jar principals=[]].
wls:/CommonDomain/serverConfig>













No comments:

Post a Comment