org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'remoteSessionBeanInvoker' defined in class path resource [batch-core-conf.xml]: Invocation of init method failed; nested exception is com.hoyavc.nxg.core.SystemException: fjff40004 JNDI Name exception NXG_All/RequiresNewSessionBean/remote.

Stack Overflow | user5509845 | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    You need to deploy aspectJ (aspectjweaver.jar) together with your application. Add it to your pom.xml
  2. 0

    Getting error NoClassDefFoundError after upgradting to Spring 3.2.4

    Stack Overflow | 3 years ago | user1636585
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [com/eam/deploy/tfcc-admin.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/context/CurrentSessionContext
  3. 0

    WebLogic JPA Issue with OpenJPA/Hibernate/Spring | Oracle Community

    oracle.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [properties/application-context.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: org.hibernate.HibernateException: Errors in named queries: listAllJobs, listUnscheduledJobs
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenNMS / Mailing Lists

    sourceforge.net | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceDao' defined in class path resource [META-INF/opennms/applicationContext-dao.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  6. 0

    Invocation of init method failed; nested exception is org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl - liveandevil - 博客园

    cnblogs.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]

    6 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

      ProxyFactory not bound

      at org.jnp.server.NamingServer.getBinding()
    2. org.jnp.server
      NamingServer.lookup
      1. org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
      2. org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
      3. org.jnp.server.NamingServer.getObject(NamingServer.java:785)
      4. org.jnp.server.NamingServer.lookup(NamingServer.java:396)
      4 frames
    3. Java RT
      UnicastRef.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
      6. sun.rmi.transport.Transport$1.run(Transport.java:159)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      9. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      10. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      11. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      12. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      13. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      14. java.lang.Thread.run(Thread.java:662)
      15. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
      16. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
      17. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
      17 frames
    4. org.jnp.server
      NamingServer_Stub.lookup
      1. org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      1 frame
    5. org.jnp.interfaces
      NamingContext.lookup
      1. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
      2. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
      2 frames
    6. org.jboss.ejb3
      ProxyObjectFactory.getObjectInstance
      1. org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getProxyFactoryFromJNDI(ProxyObjectFactory.java:240)
      2. org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:157)
      2 frames
    7. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      1 frame
    8. org.jnp.interfaces
      NamingContext.lookup
      1. org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1479)
      2. org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1496)
      3. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:822)
      4. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
      4 frames
    9. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      1 frame
    10. com.hoyavc.nxg
      RemoteSessionBeanInvoker.init
      1. com.hoyavc.nxg.core.DefaultJndiLookUpHelper.lookUp(DefaultJndiLookUpHelper.java:107)
      2. com.hoyavc.nxg.core.RemoteSessionBeanInvoker.init(RemoteSessionBeanInvoker.java:170)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    12. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      6. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      7. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      9. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      10. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
      10 frames
    13. Spring Context
      ClassPathXmlApplicationContext.<init>
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      3. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
      4. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
      4 frames
    14. com.hoyavc.nxg
      BatchStartUpParts.main
      1. com.hoyavc.nxg.core.ConfigurationManager.init(ConfigurationManager.java:90)
      2. com.hoyavc.nxg.core.batch.BatchStartUpParts.main(BatchStartUpParts.java:179)
      2 frames