Issues starting the app, offending file OK

Help
2009-09-30
2013-05-28
  • Nobody/Anonymous

       INFO - technoetic.xplanner.SystemInfo - *********************** XPLANNER INFO ************************
    Build:
       Version:                      1.0a5
       Build Date:                   27/09/2009
       Build Revision:               56
       Build Package:                War

    Database:
       Dialect:                      com.technoetic.xplanner.db.hibernate.XPlannerMySQLDialect
       Driver:                       com.mysql.jdbc.Driver
       Driver Version:               mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
       Database Vendor:              MySQL
       Database Version:             5.0.45-community-nt
       Database Name:                xplanner
       Database Url:                 jdbc:mysql://localhost/xplanner
       Database User Name:           xplanner
       Database User Password:       ******
       Database Patch Level:         14

    App Server:
       Application Server:           Apache Tomcat/6.0.20
       Servlet Version:              2.5

    System:
       System Date:                  Sep 30, 2009
       System Time:                  4:12:18 PM
       Current directory:            C:\Program Files\Apache Software Foundation\Tomcat 6.0
       Java Version:                 1.6.0_15
       Java Vendor:                  Sun Microsystems Inc.
       JVM Version:                  1.0
       JVM Vendor:                   Sun Microsystems Inc.
       JVM Implementation Version:   14.1-b02
       Java Runtime:                 Java(TM) SE Runtime Environment
       Java VM:                      Java HotSpot(TM) Client VM
       User Name:                    SYSTEM
       User Timezone:                America/New_York
       Operating System:             Windows XP 5.1
       OS Architecture:              x86

       INFO - work.web.context.ContextLoader - Using context class  for root WebApplicationContext
       INFO - work.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 3093 ms
       INFO - til.migration.MigrationProcess - System up-to-date.  No migration tasks have been run.
       INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource 
       INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource 
       INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource 
       INFO - bernate.HibernateSessionFilter - Initializing filter 'HibernateSessionFilter'
       INFO - bernate.HibernateSessionFilter - Filter 'HibernateSessionFilter' configured successfully
       INFO - upport.OpenSessionInViewFilter - Initializing filter 'OpenSessionInViewFilter'
       INFO - upport.OpenSessionInViewFilter - Filter 'OpenSessionInViewFilter' configured successfully
      ERROR - pache.struts.tiles.TilesPlugin - Can't create Tiles definition factory for module ''.
      ERROR - he.struts.action.ActionServlet - Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable.  Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-definitions.xml'. Connection timed out: connect
    at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:233)
    at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-definitions.xml'. Connection timed out: connect
    at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:523)
    at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:446)
    at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:263)
    at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:238)
    at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:188)
    at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:102)
    at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:136)
    at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:165)
    at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:222)
    … 30 more

     
  • Maxim Chirkov (XPlanner+)

    Can you send more information. From stack trace, i see that you are using netbeans. Are you trying to run latest version from svn?

     
  • MarekW

    MarekW - 2009-09-30

    I am not using net beans.. Apache Tomcat 6.0.20 Server, JRE 1.6. MySQL 5.0 (but it does not get that far) and that's about it. 

    I do have NetBeans IDE installed but that's irrelevant.
    SVN??

    That's al I got for info, same exception in localhost<date>.log

    SEVERE: Servlet /xplanner-plus threw load() exception
    javax.servlet.UnavailableException: org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-definitions.xml'. Connection timed out: connect
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

     
  • MarekW

    MarekW - 2009-10-01

    The fist option did not work, same error, but the DTD is indeed in the jar???

    Removing the doctype node worked fine, though.  Thanks, looks great.

     
  • Maxim Chirkov (XPlanner+)

    You are welcome.

    I think  this problem related to upgrade of struts  from 1.1 to 1.2.9,  and jar for struts 1.2.9 have dtd for tiles 1.1, but not for tiles 1.0, that referenced by scheme.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks