0 Replies Latest reply on Dec 11, 2007 4:37 AM by Andrew Aucott

    Proxy settings

    Andrew Aucott Newbie

      i get the following error when staring jboss from eclipse.

      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

      i know this error happens because im behind a firewall when it tries to retrieve the schema referenced in the bean config files.

      This is the schema reference im using
      <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">

      it seems i need to either

      1) configure a proxy that jboss will use when starting up (in a jboss config file perhaps?), i tried setting the proxy in eclipse but to no avail.
      2) copy the schema locally so internet access is not required, i tried copying the schema to the web-inf folder but this didnt help?

      Im at a loss, any pointers welcome.