1 Reply Latest reply on Jun 28, 2016 1:21 PM by erikelache

    JBWEB000289: Servlet dispatcher threw load() exception: java.io.FileNotFoundException

    esakki.sundar

      Hi,

           I'm trying to deploy my application to Jboss EAP6.1. My application has Spring, Hibernate. When I try to deploy the war, I'm getting the attached error. I'm able to successfully deploy this into Tomcat server. Please suggest how to resolve this error. I'm attaching my war content and log contents while deploying the application. Pl find the snippet of error in the log

       

      21:19:31,353 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/myapp]] (ServerService Thread Pool -- 63) Initializing Spring FrameworkServlet 'dispatcher'

      21:19:32,909 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/myapp]] (ServerService Thread Pool -- 63) JBWEB000289: Servlet dispatcher threw load() exception: java.io.FileNotFoundException

      at org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:369) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

      at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:168) [spring-core-4.1.2.RELEASE.jar:4.1.2.RELEASE]

      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:330) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE]

      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE]

      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE]

      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE]

       

      Regards,

      Sundar.