Hi all,
I'm trying to use Spring 1.2.3 in a simple web application and I'm getting a very strange error when I'm trying to load Spring beans from application context files.
I use a ContextLoaderServlet in my web.xml to define where my application context files reside:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/config/spring/aop-applicationContext.xml,
/WEB-INF/config/spring/ibatis-dao-applicationContext.xml
</param-value>
</context-param>
It seems to be able to find these files, but I get this error:
[10/20/05 18:13:24:256 EDT] 3dde8e95 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet SpringContextServlet: javax.servlet.ServletException: IOException parsing XML document from ServletContext resource [/WEB-INF/config/spring/aop-applicationContext.xml]; nested exception is java.net.ConnectException: Connection refused: connect
I seem to be getting Connection refused errors.
Has this ever happened to you? How did you solve this problem?
All help would be greatly appreciated
Regards
Sean


Reply With Quote