javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc']; Remaining name: 'txUsrmgt'; - nested throwable: (<openjpa-1.1.0-r422266:657916 fatal general error> org.apache.openjpa.persistence.PersistenceException: java.sql.SQLException: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc']; Remaining name: 'txUsrmgt')cant find obejct.+

Oracle Community | 919687 | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    client call remote ejb and local ejb in the same transaction ,jndi errors

    Oracle Community | 5 years ago | 919687
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc']; Remaining name: 'txUsrmgt'; - nested throwable: (<openjpa-1.1.0-r422266:657916 fatal general error> org.apache.openjpa.persistence.PersistenceException: java.sql.SQLException: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc']; Remaining name: 'txUsrmgt')cant find obejct.+

    Root Cause Analysis

    1. javax.naming.NameNotFoundException

      Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc']; Remaining name: 'txUsrmgt'; - nested throwable: (<openjpa-1.1.0-r422266:657916 fatal general error> org.apache.openjpa.persistence.PersistenceException: java.sql.SQLException: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'jdbc.txUsrmgt'. Resolved 'jdbc']; Remaining name: 'txUsrmgt')cant find obejct.+

      at com.cup.common.dao.PersistenceUtil.findByPK()
    2. com.cup.common
      PersistenceUtil.findByPK
      1. com.cup.common.dao.PersistenceUtil.findByPK(PersistenceUtil.java:205)
      1 frame
    3. com.cup.mcms
      GenericDaoImpl.findByPK
      1. com.cup.mcms.dao.impl.GenericDaoImpl.findByPK(GenericDaoImpl.java:212)
      2. com.cup.mcms.dao.impl.GenericDaoImpl.findByPK(GenericDaoImpl.java:205)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      4 frames
    5. com.bea.core
      MethodInvocationVisitorImpl.visit
      1. com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
      7. com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
      7 frames
    6. weblogic.ejb.container
      EnvironmentInterceptorCallbackImpl.callback
      1. weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      1 frame
    7. com.bea.core
      ReflectiveMethodInvocation.proceed
      1. com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
      3. com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      4. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
      6. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
      7. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
      7 frames