Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-968

Failed to find DataSource named java:comp/env/jdbc/JiraDS in JNDI server with name default. Trying normal database.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Medium
    • 2.5 Pro
    • 1.4.2
    • Email notifications
    • Solaris 2.8, Oracle 9i (9.0.2), Tomcat 4.1.12, JDK1.4.1_01

    Description

      We get the following error periodically (every 30sec or so - there must be some timer?)

      As far as we can tell Jira seems to be working fine. We seem to be able to do everything we want (except delete users, it seems - but I think that is something else...)

      -Nick Minutello

      1. 2002-11-11 18:27:17,244 WARN [ofbiz.core.entity.ConnectionFactory] [ConnectionFactory.getConnection] Failed to find DataSource named java:comp/env/jdbc/JiraDS in JNDI server with name default. Trying normal database.
        javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
        at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at org.ofbiz.core.entity.ConnectionFactory.getConnection(ConnectionFactory.java:93)
        at org.ofbiz.core.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:58)
        at org.ofbiz.core.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:621)
        at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:75)
        at org.ofbiz.core.entity.GenericDAO.checkDb(GenericDAO.java:1324)
        at org.ofbiz.core.entity.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:260)
        at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:136)
        at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:81)
        at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:47)
        at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26)
        at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35)
        at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34)
        at java.util.TimerThread.mainLoop(Timer.java:432)
        at java.util.TimerThread.run(Timer.java:382)
        2002-11-11 18:27:17,246 ERROR [ofbiz.core.entity.ConnectionFactory] ******* ERROR: No database connection found for helperName "defaultDS"

      Attachments

        1. entityengine.xml
          4 kB
        2. server.xml
          20 kB

        Activity

          People

            7ee5c68a815f Jeff Turner
            3b1ae0ec93c9 Nick Minutello
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: