In accordance with the instructions of http://www.tersus.com/#Id=242, set up a server.
[Tersus Server root ]is "D:\tersus-server",[Application Deployment root] is "D:\tersusweb\test2".
Do a simple small tersus application, not connected to the database.The name is test2,Copy the following files and driectories from "[Tersus Studio root]/workspace/test2/ "to "D:\tersusweb\test2".
But not from Tomcat access,Here is a screenshot:
This is the configuration file(test2.xml):
<!--
Context configuration file template for deployment of a Tersus application using Tomcat.
See the deployment documentation at http://www.tersus.com/#Id=242 for more details.
-->
<Context
path="/test2"
docBase="D:\tersus-server"
debug="0" privileged="true">
<Valve
className="org.apache.catalina.authenticator.BasicAuthenticator"
disableProxyCaching="false"/>
<Parameter
name="project_root"
value="D:\tersusweb\test2"/>
name="trace"
value="D:\tersusweb\test2/work/trace"/>
name="repository_root"
value="D:\tersusweb\test2/models"/>
name="root_system"
value="test2/test2"/>
name="model_libraries"
value="D:\tersus-server/WEB-INF/common.trl"/>
name="local_web_directories"
value="D:\tersusweb\test2/web;D:\tersusweb\test2/models"/>
name="timestamp_file"
value="D:\tersusweb\test2/.timestamp"/>
name="init_db"
value="false"/>
name="check_db"
name="use_sql_quoted_identifiers"
name="dev_mode"
<Resource name="jdbc/Main"
driverClassName="org.hsqldb.jdbcDriver"
maxActive="20" maxIdle="10" maxWait="10000"
type="javax.sql.DataSource"
username="sa"
password=""
url="jdbc:hsqldb:file://D:\tersusweb\test2/database/test2"
validationQuery="call now()"/>
</Context>
I am a novice, do not know where the problem, ask for help, thank you!
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