Hi Steve,
Here an example of a configuration file I am using on server side. Further this file is located in the tomcat directory /opt/jpgit/tomcat/conf/Catalina/localhost where /opt/jpgit/tomcat is the start-drectory where tomcat is installed.
The application is unpacked (in my case) /opt/jpgit/tersus/tersus-applic/ the Tersus server is installed in the directory /opt/jpgit/tersus/tersus-server
I hope this helps ;)
JP
<!-- Context configuration file template for deployment of a Tersus application using Tomcat 5.5.x Placeholders should be replaced with appropriate values. See the deployment documentation at http://www.tersus.org/documentation/deployment for details--><Context path="/jpAdmin" docBase="/opt/jpgit/tersus/tersus-server" debug="3" privileged="true"> <Valve className="org.apache.catalina.authenticator.BasicAuthenticator" disableProxyCaching="false"/> <Parameter name="trace" value="/opt/jpgit/tersus/tersus-applic/jpAdmin/work/trace" override="true"/> <Parameter name="repository_root" value="/opt/jpgit/tersus/tersus-applic/jpAdmin/models"/> <Parameter name="root_system" value="jpAdmin/jpAdmin"/> <Parameter name="model_libraries" value="/opt/jpgit/tersus/tersus-server/WEB-INF/common.trl"/> <Parameter name="local_web_directories" value="/opt/jpgit/tersus/tersus-applic/jpAdmin/web"/> <Parameter name="timestamp_file" value="/opt/jpgit/tersus/tersus-applic/jpAdmin/.timestamp"/> <Parameter name="init_db" value="true"/> <Parameter name="check_db" value="true"/> <Parameter name="dev_mode" value="true"/> <!-- Setup of the 'Main' DataSource --> <Resource name="jdbc/Main" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="10000" type="javax.sql.DataSource" username="root" password="XXX" url="jdbc:mysql://localhost/test?zeroDateTimeBehavior=convertToNull" validationQuery="select now()"/> <!-- Authentication setup If your application does not require authentication (i.e. it does not use the Authorization module), comment out the following Realm element. --> <Realm className="org.apache.catalina.realm.JDBCRealm" debug="0" driverName="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost/test?zeroDateTimeBehavior=convertToNull" connectionName="root" connectionPassword="XXX" userTable="Users" userRoleTable="User_Roles" userNameCol="User_ID" userCredCol="Password" roleNameCol="Role"/></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