weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection
Using tools & technologies:
Oracle Jdeveloper 11.1.1.2.0, EJB3, ADFfaces
When I was trying to redeploy my application it was giving me error saying
[Running application FileUploadDemo1 on Server Instance IntegratedWebLogicServer...]
[11:26:28 AM] ---- Deployment started. ----
[11:26:28 AM] Target platform is (Weblogic 10.3).
[11:26:28 AM] Retrieving existing application information
[11:26:29 AM] Running dependency analysis...
[11:26:29 AM] Deploying 3 profiles...
[11:26:29 AM] Wrote EJB Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1\ModelEJB.jar
[11:26:29 AM] Wrote Web Application Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1\ViewController1WebApp.war
[11:26:30 AM] Wrote Enterprise Application Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1
[11:26:30 AM] Deploying Application...
<May 18, 2010 11:26:30 AM AST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application FileUploadDemo1 is not versioned.>
<May 18, 2010 11:26:30 AM AST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1274171190096' for task '3'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=adnan_jdev for data source FileUploadDemoConnection1
at weblogic.jdbc.common.internal.DataSourceConnectionPoolConfig.getPoolProperties(DataSourceConnectionPoolConfig.java:84)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1065)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
Truncated. see log file for complete stacktrace
>
<May 18, 2010 11:26:30 AM AST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'FileUploadDemo1'.>
<May 18, 2010 11:26:30 AM AST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=adnan_jdev for data source FileUploadDemoConnection1
at weblogic.jdbc.common.internal.DataSourceConnectionPoolConfig.getPoolProperties(DataSourceConnectionPoolConfig.java:84)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1065)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
How to resolve this issue
Steps
1. Right click on Application drop down select Application properties
2. Click on Deployment
3. Uncheck “Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment”
4. Clean, build and run the application, It should work.
Cheers...!
I share what I learn...
Oracle Jdeveloper 11.1.1.2.0, EJB3, ADFfaces
When I was trying to redeploy my application it was giving me error saying
[Running application FileUploadDemo1 on Server Instance IntegratedWebLogicServer...]
[11:26:28 AM] ---- Deployment started. ----
[11:26:28 AM] Target platform is (Weblogic 10.3).
[11:26:28 AM] Retrieving existing application information
[11:26:29 AM] Running dependency analysis...
[11:26:29 AM] Deploying 3 profiles...
[11:26:29 AM] Wrote EJB Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1\ModelEJB.jar
[11:26:29 AM] Wrote Web Application Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1\ViewController1WebApp.war
[11:26:30 AM] Wrote Enterprise Application Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1
[11:26:30 AM] Deploying Application...
<May 18, 2010 11:26:30 AM AST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application FileUploadDemo1 is not versioned.>
<May 18, 2010 11:26:30 AM AST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1274171190096' for task '3'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=adnan_jdev for data source FileUploadDemoConnection1
at weblogic.jdbc.common.internal.DataSourceConnectionPoolConfig.getPoolProperties(DataSourceConnectionPoolConfig.java:84)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1065)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
Truncated. see log file for complete stacktrace
>
<May 18, 2010 11:26:30 AM AST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'FileUploadDemo1'.>
<May 18, 2010 11:26:30 AM AST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=adnan_jdev for data source FileUploadDemoConnection1
at weblogic.jdbc.common.internal.DataSourceConnectionPoolConfig.getPoolProperties(DataSourceConnectionPoolConfig.java:84)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1065)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
How to resolve this issue
Steps
1. Right click on Application drop down select Application properties
2. Click on Deployment
3. Uncheck “Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment”
4. Clean, build and run the application, It should work.
Cheers...!
I share what I learn...
Thanks , that helped ! Keep posting :)
ReplyDeleteThanks a lot, it worked..:)
ReplyDeletehelped me too ..thanks
ReplyDelete