Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jchowdhary
, 1 year ago
WFLYEE0042: Failed to construct component instance
via GitHub by mrGrab
, 7 months ago
WFLYEE0042: Failed to construct component instance
via Google Groups by leogrande, 1 year ago
via GitHub by walterjwhite
, 1 year ago
WFLYEE0042: Failed to construct component instance
via Stack Overflow by Jacques Blanc
, 5 months ago
via GitHub by xchz
, 1 year ago
WFLYEE0042: Failed to construct component instance
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at java.net.Socket.connect(Socket.java:538)	at java.net.Socket.(Socket.java:434)	at java.net.Socket.(Socket.java:211)	at com.sun.jndi.ldap.Connection.createSocket(Connection.java:363)	at com.sun.jndi.ldap.Connection.(Connection.java:203)	at com.sun.jndi.ldap.LdapClient.(LdapClient.java:137)	at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1614)	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2746)	at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:319)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)	at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:114)	at org.jboss.as.naming.InitialContext.init(InitialContext.java:99)	at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:154)	at org.jboss.as.naming.InitialContext.(InitialContext.java:89)	at org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:43)	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)	at javax.naming.InitialContext.init(InitialContext.java:244)	at javax.naming.InitialContext.(InitialContext.java:216)	at javax.naming.directory.InitialDirContext.(InitialDirContext.java:101)	at org.dcm4che3.conf.ldap.ReconnectDirContext.(ReconnectDirContext.java:24)	at org.dcm4che3.conf.ldap.LdapDicomConfiguration.(LdapDicomConfiguration.java:145)	at org.dcm4chee.arc.conf.ldap.LdapArchiveConfigurationFactory.newLdapDicomConfiguration(LdapArchiveConfigurationFactory.java:108)	at org.dcm4chee.arc.conf.ldap.LdapArchiveConfigurationFactory.newLdapDicomConfiguration(LdapArchiveConfigurationFactory.java:100)	at org.dcm4chee.arc.conf.ldap.LdapArchiveConfigurationFactory.newLdapDicomConfiguration(LdapArchiveConfigurationFactory.java:118)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)	at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:78)	at org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:99)	at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:161)	at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:181)	at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)	at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)	at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)	at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)	at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:99)	at org.jboss.weld.proxies.AutoCloseable$Closeable$DicomConfiguration$1980061438$Proxy$_$$_WeldClientProxy.findDevice(Unknown Source)	at org.dcm4chee.arc.impl.ArchiveDeviceProducer.findDevice(ArchiveDeviceProducer.java:159)	at org.dcm4chee.arc.impl.ArchiveDeviceProducer.init(ArchiveDeviceProducer.java:104)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98)	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81)	at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:126)	at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:171)	at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)	at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)	at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)	at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742)	at org.jboss.weld.injection.producer.AbstractMemberProducer.getReceiver(AbstractMemberProducer.java:123)	at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:158)	at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:181)	at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:70)	at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)	at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742)	at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:842)	at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)	at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:378)	at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:389)	at org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:71)	at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)	at org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:73)	at org.jboss.weld.injection.producer.ejb.SessionBeanInjectionTarget.inject(SessionBeanInjectionTarget.java:140)	at org.jboss.as.weld.injection.WeldInjectionContext.inject(WeldInjectionContext.java:39)	at org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:51)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:107)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:107)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.AroundConstructInterceptorFactory$1.processInvocation(AroundConstructInterceptorFactory.java:28)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.weld.injection.WeldInterceptorInjectionInterceptor.processInvocation(WeldInterceptorInjectionInterceptor.java:56)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.weld.ejb.Jsr299BindingsCreateInterceptor.processInvocation(Jsr299BindingsCreateInterceptor.java:100)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:349)	at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:66)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)	at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)	at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)	at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124)	at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138)	at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)	at org.jboss.threads.JBossThread.run(JBossThread.java:320)