Saturday, January 31, 2015

CA IDM - Jboss Clustering issue

I am getting the below error in Jboss while starting the second node, any suggestions ?

Environment:
Jboss 5.1.0 GA
RedHat Linux 6.4
CA IdentityMinder r12.6 SP2


13:48:21,626 ERROR [ScopedProfileServiceController] Error installing to Create: name=ProfileKey@43886a34[domain=default, server=default, name=farm] state=Configured mode=On Demand requiredState=Installed
java.lang.reflect.InvocationTargetException
        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)
        at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:97)
        at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:77)
        at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.install(AbstractProfileLifeCycleAction.java:49)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: Null toCopy
        at org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata.(RepositoryContentMetadata.java:97)
        at org.jboss.profileservice.cluster.repository.DefaultRepositoryClusteringHandler$RpcTarget.initiateSynchronization(DefaultRepositoryClusteringHandler.java:997)
        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)
        at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:331)
        at org.jboss.ha.framework.server.ClusterPartition$RpcHandler.handle(ClusterPartition.java:2266)
        at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:637)
        at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:545)
        at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:368)
        at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:775)
        at org.jgroups.JChannel.up(JChannel.java:1339)
        at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:462)
        at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:501)
        at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:144)
        at org.jgroups.protocols.FRAG2.unfragment(FRAG2.java:294)
        at org.jgroups.protocols.FRAG2.up(FRAG2.java:169)
        at org.jgroups.protocols.FC.up(FC.java:473)
        at org.jgroups.protocols.pbcast.GMS.up(GMS.java:824)
        at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:233)
        at org.jgroups.protocols.UNICAST.up(UNICAST.java:299)
        at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:884)
        at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:716)
        at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:167)
        at org.jgroups.protocols.FD.up(FD.java:284)
        at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:309)
        at org.jgroups.protocols.MERGE2.up(MERGE2.java:144)
        at org.jgroups.protocols.Discovery.up(Discovery.java:264)
        at org.jgroups.protocols.TP$ProtocolAdapter.up(TP.java:2327)
        at org.jgroups.protocols.TP.passMessageUp(TP.java:1261)
        at org.jgroups.protocols.TP.access$100(TP.java:49)
        at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1838)
        at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1812)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        ... 1 more
13:48:21,644 ERROR [STDERR] Failed to boot JBoss:
13:48:21,644 ERROR [STDERR] java.lang.IllegalStateException: Incompletely deployed:

*** PROFILES IN ERROR: Name -> Error
Profile: ProfileKey@43886a34[domain=default, server=default, name=farm] in error due to java.lang.reflect.InvocationTargetException

*** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
ProfileKey@466c137c[domain=default, server=default, name=all] is missing following dependencies: ProfileKey@43886a34[domain=default, server=default, name=farm]{Installed:**ERROR**}
13:48:21,644 ERROR [STDERR]     at org.jboss.system.server.profileservice.repository.AbstractProfileService.logErrors(AbstractProfileService.java:567)
13:48:21,644 ERROR [STDERR]     at org.jboss.system.server.profileservice.repository.AbstractProfileService.validate(AbstractProfileService.java:348)
13:48:21,644 ERROR [STDERR]     at org.jboss.system.server.profileservice.repository.AbstractProfileService.validateProfile(AbstractProfileService.java:331)
13:48:21,644 ERROR [STDERR]     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:272)
13:48:21,644 ERROR [STDERR]     at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
13:48:21,644 ERROR [STDERR]     at org.jboss.Main.boot(Main.java:221)
13:48:21,645 ERROR [STDERR]     at org.jboss.Main$1.run(Main.java:556)
13:48:21,645 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:662)



Tuesday, January 27, 2015

CA IdentityMinder JBoss Clustering Question


IDM Version - CA IdentityMinder12.6 Sp2
App Server - Jboss 5.1 GA
OS - ReHat Linux 6.4

I had 2 IDM's(1 & 2) running in a Cluster mode without any issue. As part of the new application on-boarding, I had to add 2 more IDM's (3 & 4)to the existing cluster. I installed it and configured it succesfully. I am able to start 3 and 4 in standalone mode without any issue.

When i start all 4 of them in cluster, 2 of them are getting started and 2 of them are failing with the deployment error. I tried the below sequences, either way i am able to start only one set of the servers,

- if i start, IDM-1 & 2 in clsuter and 3 & 4 fails with deployment error.
- if i start, IDM-3 & 4 in clsuter and 1 & 2 fails with deployment error.

My JBoss servers are TCP clustering enabled due to the environment limitations. Below is the command which i use it for starting JBoss servers.


/opt/jboss/bin/run.sh -c all -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=sso-idm1[7600],sso-idm2[7600],sso-idm3[7600],sso-idm4[7600] &

Do i need to follow any specific sequence to start Jboss servers or is there any diff set of command do i need to follow ?

Any help is very much appreciated.

Monday, July 21, 2014

CA SiteMinder - Apache WebAgent Restart fails


Environment

Apache 2.2.15
OS: Redhat Linux 6.4
webagent version: r12.51 Cr03

Issue:

Apache restart failed with the below error after the successful webagent installation and configuration.

[user@server1# service httpd start
Starting httpd: httpd: Syntax error on line 150 of /etc/httpd/conf/httpd.conf: Cannot load /opt/CA/webagent/bin/libmod_sm22.so into server: libsmerrlog.so: cannot open shared object file: No such file or directory                                                       [FAILED]


Used the below commands to stop and start the Apache server during the failure,

service httpd stop

service httpd start

Solution:

Using the below command, i was able to restart the Apache server without any issue. 

apachectl -k start

apachectl -k stop

Did not perform any other configuration changes in Apache or webagent to fix this issue. Really not sure on the differences between these 2 types of commands. 

Monday, July 8, 2013

CA IdentityMinder ConnectorServer r12 Installation Error in Redhat Linux

Environment Details:

Redhat Linux 6.4
CA IdentityMinder r12.6 SP2
CA Directory r12

Issue:

Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, msg1, Starting JCS Service...
Install, java.lang.String, msg1, WARNING: Timeout occured attempting to contact server...
Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, err, Failed to start JCS Service
:
:
:

(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.InstallUtils, msg1, /opt/CA/IdentityManager/ConnectorServer/jcs/logs/servicemix.log: INFO: locking
(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.InstallUtils, msg1, ---- END LOG FILES ----
(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, err, An error occurred and product installation failed.  Look at the log file /tmp/im_connector_server_install.log for details.
(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, err, ProductException: (error code = -1; message="Failed to start JCS Service")
STACK_TRACE: 15
ProductException: (error code = -1; message="Failed to start JCS Service")
    at com.ca.etrust.install.admin.connectorserver.ConfigureJCS.startService(ConfigureJCS.java:1017)
    at com.ca.etrust.install.admin.connectorserver.ConfigureJCS.install(ConfigureJCS.java:285)
    at com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS.install(SOAConfigureJCS.java:368)
    at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)
    at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(LinuxProductServiceImpl.java:552)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)
    at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)
    at java.lang.Thread.run(Thread.java:662)

Solution:

Run the below command to set the entropy and start the installation.

/sbin/rngd -r /dev/urandom -o /dev/random -t 1

CA IdentityMinder Provisioning Server r12 Installation Error in RedHat Linux



Environment Details:

Redhat Linux 6.4
CA IdentityMinder r12.6 SP2
CA Directory r12

=========================/tmp/kernparmchk.out===================================
* ERROR * ERROR * ERROR * ERROR * ERROR * ERROR * ERROR *
The following tunable kernel parameters have values lower
than the minimum required values for this CA product
on this platform.
Installation cannot continue.
Please examine the current and required values below.

Parameter   Current value   Required value
---------   -------------   -----------------
semmni                128            258

This installation procedure will now terminate.
Please update the kernel parameters shown above, then
run this installation again.
This information is saved in file /tmp/kernparmchk.out
for your future reference.
For more information, see the file readme_install.txt in:
/opt/dump/GEN06161536E/Provisioning/ProvisioningServer/linux/ecs-installation

=============================imps_server_install.log===============================

Install, com.ca.etrust.install.product.InstallEtrustCommonServices, err, ProductException: (error code = -1; message="Installing CA Enterprise Common Services failed.")
STACK_TRACE: 13
ProductException: (error code = -1; message="Installing CA Enterprise Common Services failed.")
       at com.ca.etrust.install.product.InstallEtrustCommonServices.install(InstallEtrustCommonServices.java:235)
       at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)
       at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(LinuxProductServiceImpl.java:552)
       at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)
       at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)
       at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)
       at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)
       at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)
       at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)
       at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)
       at java.lang.Thread.run(Thread.java:662)

(Jul 8, 2013 5:21:47 AM), Install, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, msg1, uninstalling Install Etrust Common Services (installECS)

Solution:
1. To check the current semmni value:
cat /proc/sys/kernel/sem

or

ipcs -ls
2. Login using an user account with the administrative privilege and run the below command to set the "semmni" value to 258 as suggested by CA:


sysctl -w kernel.sem="250 32000 100 258"

Thursday, May 17, 2012

EBS 12.1.3 Registration with OID 11.1.1.5 through SSL for SSO

Got the following error while executing the EBS-OID registartion script from EBS DB.

Steps followed:

1. Import the OID certificates into the EBS DB key store.
2. Create a dedicated admin account in OID which will be used for EBS-OID registration. eg: cn=ebsadmin
3. Execute the OID registration script from EBS DB as per the Oracle guidelines.


applscp@ebsapplication01:12.1.3 ebsapp01_BALANCE$ $FND_TOP/bin/txkrun.pl \
> -script=SetSSOReg \
> -registeroid=yes \
> -ldaphost=oidlb.testdomain.com \
> -ldapport=389 \
> -oidadminuser=cn=ebsadmin,cn=Users,dc=testdomain,dc=com \
> -oidadminuserpass=******* \
> -appspass=xxxx \
> -instpass=*******

You are registering this instance with OID Server.


*** Log File = /u01/app/applscp/inst/apps/ebsapp01_ebsapplication01/logs/appl/rgf/TXK/txkSetSSOReg_Tue_May_15_13_45_05_2012.xml

Beginning input parameter validation for OID registration.
Input parameters validation for OID registration completed.

BEGIN OID REGISTRATION:
Beginning to register Application and Service containers if necessary.
Application and Service containers were created successfully if necessary.
Beginning to register application in Oracle Internet Directory.
Registration of application in Oracle Internet Directory completed successfully.
-> LOADING:  /u02/app/applscp/apps/apps_st/appl/fnd/12.0.0/admin/template/AppsOIDRegistration.tmp
Beginning to register provisioning profile in Oracle Internet Directory.


*** ERROR :  Application Provisioning profile registration is not Successful.
May be provisioning does not exist.It is recommended that you review the log files to determine the cause


End of /u02/app/applscp/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkSetSSOReg.pl : No Errors encountered


applscp@ct11bzapp136:12.1.3 caoa071_BALANCE$ view /u01/app/applscp/inst/apps/ebsapp01_ebsapplication01/logs/appl/rgf/TXK/txkSetSSOReg_Tue_May_15_13_45_05_2012.xml
  INFO
  oracle.apps.fnd.txk.ias.oid.BiDirectionalProfile
  create
  10
  Creating a BiDirectional (default) Profile


  2012-05-15T13:45:13
  1337089513180
  75
  txkSetSSOReg
  SEVERE
  oracle.apps.fnd.txk.ias.oid.BiDirectionalProfile
  create
  10
  java.lang.Exception: ERROR: [LDAP: error code 50 - Insufficient Access Rights]
The Provisioning Profile for the Application could not be created.
    at oracle.ldap.util.provisioning.ProvisioningProfileV2.process(ProvisioningProfileV2.java:185)
    at oracle.ldap.util.provisioning.ProvisioningProfile.manageProfiles(ProvisioningProfile.java:722)
    at oracle.ldap.util.provisioning.ProvisioningProfile.ProfileHandler(ProvisioningProfile.java:680)
    at oracle.apps.fnd.txk.ias.oid.BiDirectionalProfile.create(BiDirectionalProfile.java:66)
    at oracle.apps.fnd.txk.ias.oid.Provisioning.create(Provisioning.java:221)
    at oracle.apps.fnd.txk.ias.oid.Instance.createProvisioning(Instance.java:1028)
    at oracle.apps.fnd.txk.ias.oid.Instance.register(Instance.java:947)
    at oracle.apps.fnd.txk.ias.oid.Instance.main(Instance.java:1390)


  2012-05-15T13:45:13
  1337089513180
  76
  txkSetSSOReg
  SEVERE
  oracle.apps.fnd.txk.ias.TXKSTDIO
  exception
  10
  oracle.apps.fnd.txk.ias.SsoOidException: Application Provisioning profile registration is not Successful.
May be provisioning does not exist.It is recommended that you review the log files to determine the cause

    at oracle.apps.fnd.txk.ias.oid.Provisioning.create(Provisioning.java:224)
    at oracle.apps.fnd.txk.ias.oid.Instance.createProvisioning(Instance.java:1028)
    at oracle.apps.fnd.txk.ias.oid.Instance.register(Instance.java:947)
    at oracle.apps.fnd.txk.ias.oid.Instance.main(Instance.java:1390)




Solution:

Login to your OID via ODSM console, open data browser, open root => cn=oracle internet directory => cn=DirectoryAdminGroup. Click on green "+" and add newly created user as a member of this group. And re-run the registration script.

!!!All the best !!!

Friday, April 20, 2012

OAM EBS integeration for SSO - RAC Accessgate Datasource Creation issue

Environment Details:  Oracle E-Business Suite 12.1.3 is been integrated with Oracle Access Manager 11.1.1.5 for SSO. EBS is hosted on the RAC database. So I am aware that i need to create the Accessgate datasources manually and may deploy the application using the script.

Issue:  I am getting the following error while creating the Datasource using the DBC files generated from the EBS DB. The following exception has been thrown in the Accessgate server logs.


"An error occurred during activation of changes, please see the log for details"
"weblogic.application.ModuleException"
"Could not connect ro 'oracle.apps.fnd.ext.jdbc.datasource.AppsdataSource'. The returned message is : ORA-01017:invalid username/password; logon denied it is likely that the login or password is not valid. It is also possible that something else is invalid in the configuration or that the datasource is not available."


<[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1334603711605> weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:218)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:41)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:164)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
    at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:225)
    at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:190)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: weblogic.common.resourcepool.ResourceSystemException:
 Could not connect to 'oracle.apps.fnd.ext.jdbc.datasource.AppsDataSource'.

 The returned message is: ORA-01017: invalid username/password; logon denied

 It is likely that the login or password is not valid.
 It is also possible that something else is invalid in
 the configuration or that the database is not available.
    at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
    at weblogic.jdbc.common.internal.PooledConnectionEnvFactory.makeConnection(PooledConnectionEnvFactory.java:313)
    at weblogic.jdbc.common.internal.PooledConnectionEnvFactory.createResource(PooledConnectionEnvFactory.java:97)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1155)
    at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:154)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:455)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:372)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:255)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:218)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:41)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:164)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
    at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:225)
    at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:190)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

Root Cause for this Error: DBC file was not generated properly and had some issue.

Solution:  Re-generated the DBC file using the following command and tried to creating the AccessGate datasource which resolved the issue.


java oracle.apps.fnd.security.AdminDesktop apps/APPS CREATE NODE_NAME= DBC=${FND_SECURE}/${TWO_TASK}.dbc