0 Replies Latest reply on Dec 10, 2007 10:38 AM by Andrew Aucott

    Error when loading bean definitions

    Andrew Aucott Newbie

      When I start the JBoss server from the eclipse IDE ( I get the following error

      org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext]; nested exception is java.net.ConnectException: Connection timed out: connect
      java.net.ConnectException: Connection timed out: connect

      The server starts fine when outside the firewall but never when inside. I've tried configuring the proxy settings inside eclipse (pref->general->network connections).

      Im not sure where the proxy configuration needs to be done.

      I've also tried to copy the spring schema - http://www.springframework.org/dtd/spring-beans-2.0.dtd to my local WEB-INF directory but this doesn't help.

      My applicationContext looks like this...

      <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">