Announcement Announcement Module
Collapse
No announcement yet.
Configuration problem: Failed to import bean definitions from URL location Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configuration problem: Failed to import bean definitions from URL location

    Need help here. We are using Spring 3.0 on Websphere 6.1

    We get the following error when server is brought up.

    Caused by: org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:com/y/y/abc.xml]
    Offending resource: URL [wsjar:file:/x/x/x.lib/XServices.jar!/com/y/y/y/y/yContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:/com/y/y/y/y/SqlMapConfig.xml]
    Offending resource: class path resource [com/y/y/y/config/yDAOContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionSt oreException: IOException parsing XML document from class path resource [com/y/y/config/SqlMapConfig.xml]; nested exception is java.net.ConnectException: Connection timed out

    The error does not happen always. If we restart multiple times, the error goes away and does not appear till next server restart. Always not necessarily every restart will have the error. Sometime the first restart itself is successful.

    Please help.

  • #2
    Hi,
    You need to look at , when actually error/exception is coming. Also from exception it seems that spring cannot import beans from URL.Also it will be great if you paste your yContext.xml which will make it easy to analyse the problem!!

    Comment

    Working...
    X