-
Bug
-
Resolution: Cannot Reproduce
-
Medium (View bug fix roadmap)
-
1.4.2
-
Solaris 2.8, Oracle 9i (9.0.2), Tomcat 4.1.12, JDK1.4.1_01
-
1.04
-
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
- 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"
Nick,
Is this really a bug then?
If you put the WAR inside the web apps directory AND in it's own context, Tomcat is actually deploying it twice afaik. That means the error occurs because only one thing can grab the proper JNDI reference?
Cheers,
Mike