Announcement Announcement Module
Collapse
No announcement yet.
Problem in finding configuration files. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem in finding configuration files.

    Dear All,

    We are developing web application which uses Hibernate, Spring, struts, tiles and it works fine in Windows and Linux. But we have to deploy this application on Solaris, we deployed the web archive (war) file, but it is throwing following error.

    Please advise.
    rishi

    - Refreshing org.springframework.web.context.support.XmlWebAppl icationContext@4f12c2: display name [WebApplicationContext for namespace 'ahds-servlet']; startup date [Thu Aug 27 11:48:20 BST 2009]; parent: org.springframework.web.context.support.XmlWebAppl icationContext@1c354e6
    - Loading XML bean definitions from ServletContext resource [/WEB-INF/ahds-servlet.xml]
    - Bean factory for application context [org.springframework.web.context.support.XmlWebAppl icationContext@4f12c2]: org.springframework.beans.factory.support.DefaultL istableBeanFactory@f23491
    - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@f23491: defining beans [contactController,org.springframework.context.anno tation.internalCommonAnnotationProcessor,org.sprin gframework.context.annotation.internalAutowiredAnn otationProcessor,org.springframework.context.annot ation.internalRequiredAnnotationProcessor,org.spri ngframework.web.servlet.mvc.annotation.DefaultAnno tationHandlerMapping#0,homeController,searchContro ller,browseController,viewRecordController,latestA ddController,swapMessageSink,urlFilenameViewContro ller,controllerExceptionAdvice,controllerException Advisor,org.springframework.aop.framework.autoprox y.BeanNameAutoProxyCreator#0,urlMapping,tilesConfi gurer,viewResolver]; parent: org.springframework.beans.factory.support.DefaultL istableBeanFactory@139491b
    - TilesConfigurer: adding definitions [/WEB-INF/ahds-defs.xml]
    - Destroying singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@f23491: defining beans [contactController,org.springframework.context.anno tation.internalCommonAnnotationProcessor,org.sprin gframework.context.annotation.internalAutowiredAnn otationProcessor,org.springframework.context.annot ation.internalRequiredAnnotationProcessor,org.spri ngframework.web.servlet.mvc.annotation.DefaultAnno tationHandlerMapping#0,homeController,searchContro ller,browseController,viewRecordController,latestA ddController,swapMessageSink,urlFilenameViewContro ller,controllerExceptionAdvice,controllerException Advisor,org.springframework.aop.framework.autoprox y.BeanNameAutoProxyCreator#0,urlMapping,tilesConfi gurer,viewResolver]; parent: org.springframework.beans.factory.support.DefaultL istableBeanFactory@139491b
    - Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/ahds-servlet.xml]: Invocation of init method failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryExceptio n: IO Error while parsing file '/WEB-INF/ahds-defs.xml'. Connection timed out
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1337)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:473)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 64)
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:221)
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:261 )
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:429)
    at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:729)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:381)
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:4 02)
    at org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:316 )
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:282)
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:126)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:212)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1172)
    at org.apache.catalina.core.StandardWrapper.allocate( StandardWrapper.java:808)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:129)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.apache.struts.tiles.DefinitionsFactoryExceptio n: IO Error while parsing file '/WEB-INF/ahds-defs.xml'. Connection timed out
    at org.apache.struts.tiles.xmlDefinition.I18nFactoryS et.parseXmlFile(I18nFactorySet.java:523)
    at org.apache.struts.tiles.xmlDefinition.I18nFactoryS et.parseXmlFiles(I18nFactorySet.java:446)
    at org.apache.struts.tiles.xmlDefinition.I18nFactoryS et.createDefaultFactory(I18nFactorySet.java:263)
    at org.apache.struts.tiles.xmlDefinition.I18nFactoryS et.initFactory(I18nFactorySet.java:238)
    at org.apache.struts.tiles.xmlDefinition.I18nFactoryS et.initFactory(I18nFactorySet.java:188)
    at org.apache.struts.tiles.definition.ComponentDefini tionsFactoryWrapper.init(ComponentDefinitionsFacto ryWrapper.java:102)
    at org.apache.struts.tiles.TilesUtilImpl.createDefini tionsFactory(TilesUtilImpl.java:136)
    at org.apache.struts.tiles.TilesUtil.createDefinition sFactory(TilesUtil.java:165)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.createDefinitionsFactory(TilesConfigurer. java:144)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.afterPropertiesSet(TilesConfigurer.java:1 30)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1368)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1334)
    ... 29 more
Working...
X