javax.naming.NameNotFoundException: Name tyrexDomainConfig is not bound in this Context

Atlassian JIRA | Michael van Leeuwen | 1 decade ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    Add localDataSource="true" to the realm when using local database.
  2. 0
    samebug tip
    Make sure you use the same name for your database everywhere in context.xml.
  3. 0
    samebug tip
    Try removing the server.xml file and adding it again to the project, and do a Clean Build.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The catalina.out logfile grows enormously due to the following messages: 2003-06-13 14:04:01,518 WARN [core.entiy.transaction.JNDIFactory] [JNDIFactory.getUserTransaction] Failed to find UserTransaction named java:comp/UserTransaction in JNDI. TyrexTransactionFactory: Cannot create Transaction, Exception javax.naming.NameNotFoundException: Name tyrexDomainConfig is not bound in this Context at org.apache.naming.NamingContext.lookup(Unknown Source) [...] at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.apache.naming.factory.TyrexFactory.getTransactionDomain(Unknown Source) at org.apache.naming.factory.TyrexTransactionFactory.getObjectInstance(U nknown Source) at org.apache.naming.factory.TransactionFactory.getObjectInstance(Unknow n Source) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(Unknown Source) [...] at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.ofbiz.core.entity.transaction.JNDIFactory.getUserTransaction(JNDI Factory.java:103) at org.ofbiz.core.entity.TransactionFactory.getUserTransaction(Transacti onFactory.java:95) at org.ofbiz.core.entity.TransactionUtil.getStatus(TransactionUtil.java: 82) at org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.ja va:225) at org.ofbiz.core.entity.GenericDAO.select(GenericDAO.java:445) at org.ofbiz.core.entity.GenericHelperDAO.findByPrimaryKey(GenericHelper DAO.java:92) at org.ofbiz.core.entity.GenericDelegator.findByPrimaryKey(GenericDelega tor.java:497) at org.ofbiz.core.entity.GenericDelegator.findByPrimaryKey(GenericDelega tor.java:527) at com.atlassian.core.association.DefaultAssociationManager.getSinkFromS ource(DefaultAssociationManager.java:217) at com.atlassian.core.association.DefaultAssociationManager.getSinkFromS ource(DefaultAssociationManager.java:191) at com.atlassian.jira.scheme.AbstractSchemeManager.getSchemes(AbstractSc hemeManager.java:78) at com.atlassian.jira.security.AbstractPermissionManager.hasPermission(A bstractPermissionManager.java:100) at com.atlassian.jira.security.AbstractPermissionManager.hasUserGroupPer mission(AbstractPermissionManager.java:300) at com.atlassian.jira.security.AbstractPermissionManager.hasGroupsPermis sion(AbstractPermissionManager.java:134) at com.atlassian.jira.security.AbstractPermissionManager.getProjects(Abs tractPermissionManager.java:207) at com.atlassian.jira.security.AbstractPermissionManager.hasProjects(Abs tractPermissionManager.java:228) at org.apache.jsp.navigator_jsp._jspService(navigator_jsp.java:601)

    Atlassian JIRA | 1 decade ago | Michael van Leeuwen
    javax.naming.NameNotFoundException: Name tyrexDomainConfig is not bound in this Context

  1. rafael 1 times, last 3 months ago
  2. treefolk 1 times, last 5 months ago
  3. davidvanlaatum 1 times, last 9 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.naming.NameNotFoundException

    Name tyrexDomainConfig is not bound in this Context

    at org.apache.naming.NamingContext.lookup()
  2. Web Container Naming Utilities
    NamingContext.lookup
    1. org.apache.naming.NamingContext.lookup(Unknown Source)
    1 frame