Your application files can reside anywhere (assuming there are no special OS permissions which bar tomcat from accessing them):
I think you should try the following:
As in the following:
<!----------------------- Context file start ----------------------->
<Context path="/phonebook" docBase="c:/tersus-server/" debug="0" privileged="true"> <Valve className="org.apache.catalina.authenticator.BasicAuthenticator" disableProxyCaching="false"/> <Parameter name="trace" value="c:/tersus-server/tersus-applications/phonebook/work/trace" override="true"/> <Parameter name="repository_root" value="c:/tersus-server/tersus-applications/phonebook/models"/> <Parameter name="root_system" value="phonebook/phonebook"/> <Parameter name="model_libraries" value="c:/tersus-server/WEB-INF/common.trl"/> <Parameter name="local_web_directories" value="c:/tersus-server/tersus-applications/phonebook/web;c:/tersus-server/tersus-applications/phonebook/models"/> <Parameter name="timestamp_file" value="c:/tersus-server/tersus-applications/phonebook/.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="org.hsqldb.jdbcDriver" maxActive="20" maxIdle="10" maxWait="10000" type="javax.sql.DataSource" username="sa" password="" url="jdbc:hsqldb:file://c:/tersus-server/tersus-applications/phonebook/database/phonebook" validationQuery=""/>
<!-- 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="org.hsqldb.jdbcDriver" connectionURL="jdbc:hsqldb:file://c:/tersus-server/tersus-applications/phonebook/database/phonebook" connectionName="sa" connectionPassword="" userTable="Users" userRoleTable="User_Roles" userNameCol="User_ID" userCredCol="Password" roleNameCol="Role"/> -->
</Context>
<!----------------------- Context file end ----------------------->
If that does not work, look in the log files @ C:\Program Files\Apache Software Foundation\Tomcat 5.5\logs\ (especially catalina.[date].log and localhost.[date].log), and quote any failures/errors appearing.
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