Hello,
I am evaluating Tersus for a new web development project I'm working on. I've created a simple Helloworld application, which consists of one label in one view. It works fine on Tersus studio, but I'm unable to run it on the deployment version. I have tomcat7 and mysql running on ubuntu 12.04, and am able to see the app on the Tomcat manager, but get a "FAIL" message when I press start. I get the error listed below. Is there any obvious culprit to check? I've also attached
Appreciate any helpful advice,
Jeffrey Isaacs
May 17, 2012 3:04:26 AM org.apache.catalina.startup.ContextConfig parseWebXmlSEVERE: Parse error in application web.xml file at jndi:/localhost/Helloworld/WEB-INF/web.xmlorg.xml.sax.SAXParseException; systemId: jndi:/localhost/Helloworld/WEB-INF/web.xml; lineNumber: 37; columnNumber: 21; Error at (37, 21) : For input string: "" at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2687) at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2719) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1054) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:604) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:814) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1320) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2732) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:819) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:748) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:525) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537) at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1825) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1201) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:747) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:222) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:187) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679)Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:493) at java.lang.Integer.valueOf(Integer.java:570) at org.apache.catalina.deploy.ServletDef.setLoadOnStartup(ServletDef.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:911) at org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.java:532) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1051) ... 48 moreMay 17, 2012 3:04:26 AM org.apache.catalina.startup.ContextConfig parseWebXmlSEVERE: Occurred at line 37 column 21May 17, 2012 3:04:26 AM org.apache.catalina.startup.ContextConfig configureStartSEVERE: Marking this application unavailable due to previous error(s)May 17, 2012 3:04:26 AM org.apache.catalina.core.StandardContext startInternalSEVERE: Error getConfiguredMay 17, 2012 3:04:26 AM org.apache.catalina.core.StandardContext startInternalSEVERE: Context [/Helloworld] startup failed due to previous errors
<Context path="/Helloworld" docBase="/tersus-server" debug="0" privileged="true"> <Valve className="org.apache.catalina.authenticator.BasicAuthenticator" disableProxyCaching="false"/> <Parameter name="project_root" value="/tersus-applications/Helloworld"/> <Parameter name="trace" value="/tersus-applications/Helloworld/work/trace"/> <Parameter name="repository_root" value="/tersus-applications/Helloworld/models"/> <Parameter name="root_system" value="Helloworld/Helloworld"/> <Parameter name="model_libraries" value="/tersus-server/WEB-INF/common.trl"/> <Parameter name="local_web_directories" value="/tersus-applications/Helloworld/web;/tersus-applications/Helloworld/models"/> <Parameter name="timestamp_file" value="/tersus-applications/Helloworld/.timestamp"/> <Parameter name="init_db" value="false"/> <Parameter name="check_db" value="false"/> <Parameter name="dev_mode" value="false"/> <Resource name="jdbc/Main" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="10000" type="javax.sql.DataSource" username="root" password="root" url="jdbc:mysql://localhost/test" validationQuery="select now()"/></Context>
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign