0 Replies Latest reply: Jul 26, 2013 11:21 PM by Abbas_Majzoob RSS

    error is deploy adf + mysql application on the weblogic

    Abbas_Majzoob

      error is:

      ####<Jul 27, 2013 8:33:52 AM IRDT> <Error> <Console> <majzoob-00fb07a> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <39e706a46ad531be:-29a05e92:1401e22e4c0:-8000-000000000000006c> <1374897832937> <BEA-240003> <Console encountered the following error 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:517)

          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:45)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)

          at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)

          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:207)

          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:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

          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.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=root for data source MySQLConnection

       

          at weblogic.jdbc.common.internal.DataSourceConnectionPoolConfig.getPoolProperties(DataSourceConnectionPoolConfig.java:85)

          at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1154)

          at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:154)

          at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:454)

          at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:372)

          at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:255)

       

      file Project\SSCO\src\META-INF\MySQLConnection-jdbc.xml is:

      <?xml version = '1.0' encoding = 'windows-1252'?>

      <jdbc-data-source xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                        xsi:schemaLocation="http://www.bea.com/ns/weblogic/jdbc-data-source http://www.bea.com/ns/weblogic/jdbc-data-source/1.0/jdbc-data-source.xsd"

                        xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source">

          <name>MySQLConnection</name>

          <jdbc-driver-params>

              <url>jdbc:mysql://localhost:3306/ssco</url>

              <driver-name>com.mysql.jdbc.Driver</driver-name>

              <properties>

                  <property>

                      <name>user</name>

                      <value>root</value>

                  </property>

              </properties>

              <password-encrypted>107FAE2E6F41524F0C9407CFBE398FAD</password-encrypted>

          </jdbc-driver-params>

          <jdbc-connection-pool-params>

              <test-table-name>SQL SELECT 1</test-table-name>

              <identity-based-connection-pooling-enabled>true</identity-based-connection-pooling-enabled>

          </jdbc-connection-pool-params>

          <jdbc-data-source-params>

              <jndi-name>jdbc/MySQLConnectionDS</jndi-name>

              <scope>Application</scope>

          </jdbc-data-source-params>

      </jdbc-data-source>

       

       

      file:Project\SSCO\Model\src\META-INF\persistence.xml is

       

      <?xml version="1.0" encoding="windows-1252" ?>

      <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                   xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"

                   version="2.0">

        <persistence-unit name="Model">

          <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>

          <jta-data-source>jdbc/MySQLConnectionDS</jta-data-source>

              <!--<jta-data-source>java:/app/jdbc/jdbc/MySQLConnectionDS</jta-data-source>-->

          <class>oracle.News</class>

          <class>oracle.Contactus</class>

          <class>oracle.ListGheimat</class>

          <class>oracle.SefareshTablo</class>

          <class>oracle.SefareshTablo1</class>

          <class>oracle.SefareshTabloLed</class>

          <class>oracle.Sefaresh</class>

          <properties>

            <property name="eclipselink.target-server" value="WebLogic_10"/>

            <!--<property name="javax.persistence.jtaDataSource" value="java:/app/jdbc/jdbc/MySQLConnectionDS"/>-->

          <property name="javax.persistence.jtaDataSource" value="jdbc/MySQLConnectionDS"/>

          </properties>

        </persistence-unit>

      </persistence>

       

      and i am create Data Sources jdbc on the WebLogic Server Version: 10.3.5.0

      name:MySQLConnectionGenericjdbc/MySQLConnectionDSAdminServer

      how solve problem to deploy application?