Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2774

Maven: Exception in budget_reportdata: Could not bind factory to JNDI

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: BM Maven
    • Fix Version/s: BM Maven
    • Component/s: None
    • Labels:
      None
    • Environment:

      Maven trunk build

      Description

      The following exception is seen when running budgeting_reportdata.sh for any date.

      2011-08-19 07:51:08.306 WARN [SessionFactoryObjectFactory]: Could not bind factory to JNDI

      javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)

      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)

      at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)

      at javax.naming.InitialContext.getNameParser(InitialContext.java:439)

      at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52)

      at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)

      at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:306)

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)

      at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859)

      at com.thesearchagency.yell.dao.util.YellServiceHibernateUtil.<init>(YellServiceHibernateUtil.java:32)

      at com.thesearchagency.yell.dao.util.YellServiceHibernateUtil.getInstance(YellServiceHibernateUtil.java:49)

      at com.thesearchagency.yell.dao.util.YellServiceHibernateUtil.getSessionFactory(YellServiceHibernateUtil.java:62)

      at com.thesearchagency.yell.dao.YellDAO.beginPrivateTransaction(YellDAO.java:681)

      at com.thesearchagency.yell.dao.YellDAO.getDataBySECriteria(YellDAO.java:158)

      at com.thesearchagency.searchengines.budget.reporting.PerformanceCalculator.getDataByCriteria(PerformanceCalculator.java:86)

      at com.thesearchagency.searchengines.budget.reporting.PerformanceCalculator.getDataRow(PerformanceCalculator.java:66)

      at com.thesearchagency.searchengines.budget.reporting.PerformanceCalculator.updatePerformanceData(PerformanceCalculator.java:45)

      at com.thesearchagency.searchengines.budget.reporting.reports.BudgettingReport.executePerformanceOperations(BudgettingReport.java:311)

      at com.thesearchagency.searchengines.budget.reporting.ReportRunner.executePerformanceOperations(ReportRunner.java:90)

      at com.thesearchagency.searchengines.budget.reporting.ReportRunner.executeReportOperations(ReportRunner.java:69)

      at com.thesearchagency.searchengines.budget.reporting.ReportRunner.main(ReportRunner.java:60)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jelliott Jen Clarke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: