0 Replies Latest reply on Apr 11, 2014 7:21 AM by Ergin Kulak

    javax.naming.NameNotFoundException exception

    Ergin Kulak Newbie

      Hi,
      I want to deploy my web application on Jboss-eap-6.2.0 , My project is currently deployed on Tomcat 7 server. We used ActiveMQ in our project and in server.xml we add below lines to achive integration between ActiveMQ and Tomcat server. So my question is where do we  to add these lines of xml codes in our Jboss. For ActiveMQ-JBoss integration I followed this. Integration of JBoss AS 7 with ActiveMQ  and it's deployed well.. But I can not find a way for this spesific issue. Where can I add GlobalNamingResources tag. In standalone.xml ? This did not help. I also add full stacktrace of when I tried to deploy my project .war file to JbOSS AS. Thanks in advice.

       

      <GlobalNamingResources>

          <!-- Editable user database that can also be used by

               UserDatabaseRealm to authenticate users

          -->

          <Resource name="UserDatabase" auth="Container"

                    type="org.apache.catalina.UserDatabase"

                    description="User database that can be updated and saved"

                    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"

                    pathname="conf/tomcat-users.xml" />

       

      <Resource auth="Container" brokerName="eBroker" brokerURL="tcp://localhost:61616" description="JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" name="jms/ConnectionFactory" type="org.apache.activemq.ActiveMQConnectionFactory" useEmbeddedBroker="false"/>

      <Resource auth="Container" factory="org.apache.activemq.jndi.JNDIReferenceFactory" name="jms/topic/MyTopic" physicalName="APP.JMS.TOPIC" type="org.apache.activemq.command.ActiveMQTopic"/>

      <Resource auth="Container" factory="org.apache.activemq.jndi.JNDIReferenceFactory" name="jms/queue/MyQueue" physicalName="APP.JMS.QUEUE" type="org.apache.activemq.command.ActiveMQQueue"/>

      <Resource auth="Container" brokerName="eDBroker" brokerURL="tcp://localhost:61618" description="JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" name="jms/defConnectionFactory" type="org.apache.activemq.ActiveMQConnectionFactory" useEmbeddedBroker="false"/>

      <Resource auth="Container" factory="org.apache.activemq.jndi.JNDIReferenceFactory" name="jms/queueForEDefter/MyQueueForEDefter" physicalName="APP.JMS.QUEUE" type="org.apache.activemq.command.ActiveMQQueue"/>

        </GlobalNamingResources>

       

       

       

      StackTrace

       

      11:25:19,084 INFO  [org.springframework.orm.hibernate3.LocalSessionFactoryBean] (ServerService Thread Pool -- 53) Closing Hibernate SessionFactory

      11:25:19,084 INFO  [org.hibernate.impl.SessionFactoryImpl] (ServerService Thread Pool -- 53) closing

      11:25:19,086 ERROR [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 53) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mqConnectionFactory': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: env/jms/ConnectionFactory -- service jboss.naming.context.java.module.EFaturaSender.EFaturaSender.env.jms.ConnectionFactory

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:587) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) [spring-2.5.6.jar:2.5.6]

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) [spring-2.5.6.jar:2.5.6]

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [spring-2.5.6.jar:2.5.6]

        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_51]

        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_51]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: javax.naming.NameNotFoundException: env/jms/ConnectionFactory -- service jboss.naming.context.java.module.EFaturaSender.EFaturaSender.env.jms.ConnectionFactory

        at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:103)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:174)

        at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:122)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)

        at javax.naming.InitialContext.lookup(Unknown Source) [rt.jar:1.7.0_51]

        at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        ... 23 more

       

       

      11:25:19,117 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EFaturaSender]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mqConnectionFactory': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: env/jms/ConnectionFactory -- service jboss.naming.context.java.module.EFaturaSender.EFaturaSender.env.jms.ConnectionFactory

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:587) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) [spring-2.5.6.jar:2.5.6]

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) [spring-2.5.6.jar:2.5.6]

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [spring-2.5.6.jar:2.5.6]

        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_51]

        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_51]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: javax.naming.NameNotFoundException: env/jms/ConnectionFactory -- service jboss.naming.context.java.module.EFaturaSender.EFaturaSender.env.jms.ConnectionFactory

        at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:103)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:174)

        at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:122)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)

        at javax.naming.InitialContext.lookup(Unknown Source) [rt.jar:1.7.0_51]

        at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187) [spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]

        ... 23 more

       

       

      11:25:19,138 INFO  [stdout] (ServerService Thread Pool -- 53) Starting FtpServer

       

       

      11:25:19,280 INFO  [org.apache.ftpserver.impl.DefaultFtpServer] (ServerService Thread Pool -- 53) FTP server started

      11:25:19,280 INFO  [com.meta.common.ftp.FtpServerListener] (ServerService Thread Pool -- 53) FtpServer started

      11:25:19,283 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EFaturaSender]] (ServerService Thread Pool -- 53) Set web app root system property: 'webapp.root' = [C:\PFiles\metadev\jboss-eap-6.2\standalone\tmp\vfs\temp\temp8741a397bb4bcb40\content-49d6571a59b6b8b3\]

      11:25:19,285 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EFaturaSender]] (ServerService Thread Pool -- 53) Initializing log4j from [C:\PFiles\metadev\jboss-eap-6.2\standalone\tmp\vfs\temp\temp8741a397bb4bcb40\content-49d6571a59b6b8b3\WEB-INF\classes\log4j.xml]

      11:25:19,300 ERROR [stderr] (ServerService Thread Pool -- 53) log4j:ERROR Could not parse url [file:/C:/PFiles/metadev/jboss-eap-6.2/standalone/tmp/vfs/temp/temp8741a397bb4bcb40/content-49d6571a59b6b8b3/WEB-INF/classes/log4j.xml].

       

       

      11:25:19,301 ERROR [stderr] (ServerService Thread Pool -- 53) java.io.FileNotFoundException: C:\PFiles\metadev\jboss-eap-6.2\standalone\tmp\vfs\temp\temp8741a397bb4bcb40\content-49d6571a59b6b8b3\WEB-INF\classes\log4j.xml (The system cannot find the file specified)

       

       

      11:25:19,301 ERROR [stderr] (ServerService Thread Pool -- 53) at java.io.FileInputStream.open(Native Method)

       

       

      11:25:19,301 ERROR [stderr] (ServerService Thread Pool -- 53) at java.io.FileInputStream.<init>(Unknown Source)

       

       

      11:25:19,302 ERROR [stderr] (ServerService Thread Pool -- 53) at java.io.FileInputStream.<init>(Unknown Source)

       

       

      11:25:19,302 ERROR [stderr] (ServerService Thread Pool -- 53) at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)

       

       

      11:25:19,302 ERROR [stderr] (ServerService Thread Pool -- 53) at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)

       

       

      11:25:19,303 ERROR [stderr] (ServerService Thread Pool -- 53) at org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:765)

       

       

      11:25:19,303 ERROR [stderr] (ServerService Thread Pool -- 53) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:866)

       

       

      11:25:19,303 ERROR [stderr] (ServerService Thread Pool -- 53) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:773)

       

       

      11:25:19,304 ERROR [stderr] (ServerService Thread Pool -- 53) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:901)

       

       

      11:25:19,304 ERROR [stderr] (ServerService Thread Pool -- 53) at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:69)

       

       

      11:25:19,304 ERROR [stderr] (ServerService Thread Pool -- 53) at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:152)

       

       

      11:25:19,305 ERROR [stderr] (ServerService Thread Pool -- 53) at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:47)

       

       

      11:25:19,305 ERROR [stderr] (ServerService Thread Pool -- 53) at com.meta.common.model.listener.MetaLog4jConfigListener.contextInitialized(MetaLog4jConfigListener.java:15)

       

       

      11:25:19,305 ERROR [stderr] (ServerService Thread Pool -- 53) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)

       

       

      11:25:19,306 ERROR [stderr] (ServerService Thread Pool -- 53) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)

       

       

      11:25:19,306 ERROR [stderr] (ServerService Thread Pool -- 53) at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)

       

       

      11:25:19,307 ERROR [stderr] (ServerService Thread Pool -- 53) at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)

       

       

      11:25:19,307 ERROR [stderr] (ServerService Thread Pool -- 53) at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)

       

       

      11:25:19,307 ERROR [stderr] (ServerService Thread Pool -- 53) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

       

       

      11:25:19,307 ERROR [stderr] (ServerService Thread Pool -- 53) at java.util.concurrent.FutureTask.run(Unknown Source)

       

       

      11:25:19,308 ERROR [stderr] (ServerService Thread Pool -- 53) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

       

       

      11:25:19,308 ERROR [stderr] (ServerService Thread Pool -- 53) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

       

       

      11:25:19,308 ERROR [stderr] (ServerService Thread Pool -- 53) at java.lang.Thread.run(Unknown Source)

       

       

      11:25:19,309 ERROR [stderr] (ServerService Thread Pool -- 53) at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      11:25:19,348 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 53) JBWEB001103: Error detected during context /EFaturaSender start, will stop it

      11:25:19,359 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EFaturaSender]] (ServerService Thread Pool -- 53) Shutting down log4j

      11:25:19,360 INFO  [stdout] (ServerService Thread Pool -- 53) Stopping FtpServer

       

       

      11:25:19,362 INFO  [stdout] (ServerService Thread Pool -- 53) FtpServer stopped

       

       

      11:25:19,362 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EFaturaSender]] (ServerService Thread Pool -- 53) Closing Spring root WebApplicationContext

      11:25:19,368 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 53) MSC000001: Failed to start service jboss.web.deployment.default-host./EFaturaSender: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./EFaturaSender: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_51]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_51]

        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_51]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)

        ... 6 more