Hi!
I've restarted Tomcat few times with same result.
Xml file from Catalina/localhost:
<!-- 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="/pl" docBase="/opt/tersus/tersus-server-new" debug="0" privileged="true"> <Valve className="org.apache.catalina.authenticator.BasicAuthenticator" disableProxyCaching="false"/> <Parameter name="trace" value="/opt/tersus/tersus-app/pl/work/trace" override="true"/> <Parameter name="repository_root" value="/opt/tersus/tersus-app/pl/models"/> <Parameter name="root_system" value="pl/pl"/> <Parameter name="model_libraries" value="/opt/tersus/tersus-server-new/WEB-INF/common.trl"/> <Parameter name="local_web_directories" value="/opt/tersus/tersus-app/pl/web;/opt/tersus/tersus-app/pl/models"/> <Parameter name="timestamp_file" value="/opt/tersus/tersus-app/pl/.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.postgresql.Driver" maxActive="20" maxIdle="10" maxWait="10000" type="javax.sql.DataSource" username="x" password="x" url="jdbc:postgresql://127.0.0.1/x" validationQuery="select now()"/> --> <Resource name="jdbc/Main" driverClassName="org.postgresql.Driver" maxActive="20" maxIdle="10" maxWait="10000" type="javax.sql.DataSource" username="x" password="x" url="jdbc:postgresql://127.0.0.1/x" 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="org.postgresql.Driver" connectionURL="jdbc:postgresql://localhost" connectionName="postgres" connectionPassword="postgres" userTable="Users" userRoleTable="User_Roles" userNameCol="User_ID" userCredCol="Password" roleNameCol="Role"/> --></Context>
Configuration.xml:
<Application name="pl" rootSystem="pl/pl" authenticationMethod="None"/> <Parameter name="init_db" value="true"/> <Parameter name="check_db" value="true"/> <DataSource name="jdbc/Main" driverClassName="org.postgresql.Driver" username="x" password="x" url="jdbc:postgresql://x/" validationQuery="select now()"/> <Parameter name="trusted_hosts" value="*"/></Application>
Cheers!
Przemyslaw Bak
Neoprimus.com
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