org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ssolistener' defined in class path resource [SSOConfig.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError

Oracle Community | Mohan Basavarajappa | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    wcs installation error

    Oracle Community | 2 years ago | Mohan Basavarajappa
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ssolistener' defined in class path resource [SSOConfig.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
  2. 0
    samebug tip
    When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts
  3. 0

    Kafka - shutting down (kafka.server.KafkaServer), problems with starting Kafka-Server-Start

    Stack Overflow | 2 years ago | Stefan P
    java.net.UnknownHostException: linux-pic4.site: linux-pic4.site: Name or service not known
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mac OS X 10.9 Mavericks support?

    GitHub | 3 years ago | jonathancross
    java.net.UnknownHostException: $HOSTNAME: $HOSTNAME: nodename nor servname provided, or not known
  6. 0

    Fail - application at context path /heatclinic could not be started

    GitHub | 2 years ago | SajithSwaminathan
    java.net.UnknownHostException: Ayubs-MacBook: Ayubs-MacBook: nodename nor servname provided, or not known

  1. nasimk 2 times, last 5 months ago
  2. mortalman7 1 times, last 9 months ago
11 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. java.net.UnknownHostException

    TVMATP2495L: nodename nor servname provided, or not known

    at java.net.Inet6AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2. java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
    3. java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
    4. java.net.InetAddress.getLocalHost(InetAddress.java:1469)
    4 frames
  3. Ehcache
    CacheManager.<init>
    1. net.sf.ehcache.distribution.RMICacheManagerPeerListener.calculateHostAddress(RMICacheManagerPeerListener.java:167)
    2. net.sf.ehcache.distribution.RMICacheManagerPeerListener.<init>(RMICacheManagerPeerListener.java:124)
    3. net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCachePeerListener(RMICacheManagerPeerListenerFactory.java:102)
    4. net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.createCachePeerListener(RMICacheManagerPeerListenerFactory.java:84)
    5. net.sf.ehcache.config.ConfigurationHelper.createCachePeerListeners(ConfigurationHelper.java:314)
    6. net.sf.ehcache.CacheManager.configure(CacheManager.java:434)
    7. net.sf.ehcache.CacheManager.init(CacheManager.java:302)
    8. net.sf.ehcache.CacheManager.<init>(CacheManager.java:234)
    8 frames
  4. com.fatwire.cache
    EhCacheObjectCache.start
    1. com.fatwire.cache.ehcache.EhCacheObjectCache._initCache(EhCacheObjectCache.java:730)
    2. com.fatwire.cache.ehcache.EhCacheObjectCache.start(EhCacheObjectCache.java:564)
    2 frames
  5. com.fatwire.wem
    CASListener.<clinit>
    1. com.fatwire.wem.sso.cas.cache.SessionMappingStorage.<init>(SessionMappingStorage.java:48)
    2. com.fatwire.wem.sso.cas.listener.CASListener.<clinit>(CASListener.java:15)
    2 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  7. Spring Beans
    AbstractAutowireCapableBeanFactory$1.run
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    6 frames
  8. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  9. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    7 frames
  10. Spring Context
    ClassPathXmlApplicationContext.<init>
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
    3. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    4. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
    4 frames
  11. com.fatwire.wem
    SSOFilter.init
    1. com.fatwire.wem.sso.DynamicInjector.<init>(DynamicInjector.java:52)
    2. com.fatwire.wem.sso.DynamicInjector.instance(DynamicInjector.java:234)
    3. com.fatwire.wem.sso.SSOFilter.init(SSOFilter.java:65)
    3 frames
  12. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:298)
    2. org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:119)
    3. org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4730)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    6. org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
    7. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    8. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    9. org.apache.catalina.core.StandardService.start(StandardService.java:525)
    10. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    11. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    11 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  14. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames