weblogic.application.moduleexception error in weblogic
While starting weblogic if you get below error then make sure your datasource settings are correct or not.
####<May 28, 2011 7:58:51 PM PDT> <Error> <Deployer> <XXXXXXX> <server-XXXXXXXXXX> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1305935931389> <BEA-149205> <Failed to initialize the application '*AppName*' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:268) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61) at weblogic.deploy.internal.targetserver.SystemResourceDeployment.prepare(SystemResourceDeployment.java:65) at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38) at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177) at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233) at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) weblogic.common.ResourceException: Could not connect to 'oracle.jdbc.xa.client.OracleXADataSource'. The returned message is: ORA-01017: invalid username/password; logon denied
Usually when dbusername/password/DB name or db connection string is not correct, this issue happens. So check the jdbc-system-resource in config.xml file and edit the troubling/incorrect jdbc/XXXXXXX-jdbc.xml file to get rid of the error.
The config in config.xml should look like below
<jdbc-system-resource> <name>DataSourceName</name> <target>Target Server/Cluster Name</target> <descriptor-file-name>jdbc/XXXXXXX-jdbc.xml</descriptor-file-name> </jdbc-system-resource>
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.
I have resolved this issue by updating my database IP Address.