Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UserTransaction error

r.f December 28, 2013

javax.naming.NameNotFoundException: Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].

at org.apache.naming.NamingContext.lookup(NamingContext.java:820)

at org.apache.naming.NamingContext.lookup(NamingContext.java:154)

at org.apache.naming.NamingContext.lookup(NamingContext.java:831)

at org.apache.naming.NamingContext.lookup(NamingContext.java:154)

at org.apache.naming.NamingContext.lookup(NamingContext.java:831)

at org.apache.naming.NamingContext.lookup(NamingContext.java:168)

at org.apache.naming.SelectorContext.lookup(SelectorContext.java:158)

at javax.naming.InitialContext.lookup(InitialContext.java:411)

at org.ofbiz.core.entity.transaction.JNDIFactory.getUserTransaction(JNDIFactory.java:113)

at org.ofbiz.core.entity.TransactionFactory.getUserTransaction(TransactionFactory.java:93)

at org.ofbiz.core.entity.TransactionUtil.getStatus(TransactionUtil.java:81)

at org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:412)

at org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:515)

at org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:1070)

at org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:630)

at org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.java:131)

at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:804)

at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:789)

at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:766)

at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getKeys(OFBizPropertySet.java:82)

at com.atlassian.jira.propertyset.PropertySetCache.bulkLoad(PropertySetCache.java:318)

at com.atlassian.jira.propertyset.JiraCachingPropertySet$12.run(JiraCachingPropertySet.java:785)

at com.atlassian.jira.propertyset.JiraCachingPropertySet.doLocked(JiraCachingPropertySet.java:846)

at com.atlassian.jira.propertyset.JiraCachingPropertySet.init(JiraCachingPropertySet.java:770)

at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:58)

at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:31)

at com.atlassian.jira.config.properties.PropertySetUtils.createDatabaseBackedPropertySet(PropertySetUtils.java:34)

at com.atlassian.jira.config.properties.DbBackedPropertiesManager$1.create(DbBackedPropertiesManager.java:26)

at com.atlassian.jira.config.properties.DbBackedPropertiesManager$1.create(DbBackedPropertiesManager.java:22)

at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:140)

at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321)

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)

at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)

at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:87)

at com.atlassian.jira.config.properties.PropertiesManager.getPropertySet(PropertiesManager.java:27)

at com.atlassian.jira.config.properties.ApplicationPropertiesStore.getStringFromDb(ApplicationPropertiesStore.java:268)

at com.atlassian.jira.config.properties.ApplicationPropertiesImpl.getString(ApplicationPropertiesImpl.java:50)

at com.atlassian.jira.config.properties.ApplicationPropertiesImpl.getEncoding(ApplicationPropertiesImpl.java:113)

at com.atlassian.jira.util.UriValidatorFactory.create(UriValidatorFactory.java:22)

at com.atlassian.jira.ContainerRegistrar.registerComponents(ContainerRegistrar.java:2809)

at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:407)

at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:185)

at com.atlassian.jira.startup.ComponentContainerLauncher.populateFullPicoContainer(ComponentContainerLauncher.java:57)

at com.atlassian.jira.startup.ComponentContainerLauncher.start(ComponentContainerLauncher.java:29)

at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:122)

at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:315)

at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:209)

at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:114)

at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:30)

at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:77)

at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34)

at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:72)

at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54) <+8> (StandardContext.java:4791) (StandardContext.java:5285) (LifecycleBase.java:150) (ContainerBase.java:901) (ContainerBase.java:877) (StandardHost.java:633) (HostConfig.java:977) (HostConfig.java:1655)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:722)

2013-12-29 13:23:30,156 localhost-startStop-1 WARN [core.entity.transaction.JNDIFactory] [JNDIFactory.getUserTransaction] Failed to find UserTransaction named java:comp/env/UserTransaction in JNDI.

2013-12-29 13:23:30,186 localhost-startStop-1 WARN [core.entity.transaction.JNDIFactory] NamingException while finding UserTransaction named java:comp/env/UserTransaction in JNDI.

javax.naming.NameNotFoundException: Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 28, 2013

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events