Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-859

Migration script process of existing campaigns are throwing Communications link failure exception

    Details

      Description

      Build file to use : https://bitbucket.org/tsa/sms-core/commits/b5027241507114bfd0c5dea37a4f8d0791347896#chg-tools/migrator/migrator.zip

      On running migration script for goolge its throwing Communications link failure exception. We tried executing the GoogleMigratorPhase1 with combination of phase1 and phase2 for both the combination we are getting Communications link failure exception.

      Following is the snippet of the log

      root@yell1-xml1:/usr/local/tsa/pointRadiiMigration/migratorScript# ./GoogleMigratorPhase1.sh phase1 noPhase2
      Starting Google Phase1 with paramters part1: phase1 part2: noPhase2
      :
      :
      Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gtCampaignManager': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.thesearchagency.GTCampaignManager.setDAO(com.thesearchagency.GTCampaignDAO,com.thesearchagency.GTCampaignTargetDAO); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GTCampaignDAO' defined in URL [jar:file:/usr/local/tsa/pointRadiiMigration/migratorScript/migrator-0.0.1-SNAPSHOT-jar-with-dependencies.jar!/com/thesearchagency/GTCampaignDAO.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.thesearchagency.GTCampaignDAO]: Constructor threw exception; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.mysql.jdbc.CommunicationsException: Communications link failure

      Last packet sent to the server was 0 ms ago.
      at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:256)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      :
      :

      Please find log attached.

      Note: Same exception follows for the bing scripts even.

        Attachments

          Activity

            People

            • Assignee:
              sharath.tn Sharath TN (Inactive)
              Reporter:
              anil.kumar Anil Kumar Halmadgi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: