Page 1 of 1

Cannot access setup

Posted: Thu Jun 13, 2013 10:48 pm
by paladino_dei_mari
My enviroment:
CentOS ClearOS
Linux server.sm.com 2.6.18-194.8.1.v5 #1 SMP Thu Jul 15 01:14:04 EDT 2010 i686 i686 i386 GNU/Linux
Apache Tomcat 6.0.37
java version "1.7.0_19"
OpenJDK Runtime Environment (rhel-2.3.9.1.el5_9-i386)
OpenJDK Client VM (build 23.7-b01, mixed mode)
logicaldoc-6.7.1-tomcat-bundle.zip
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="tomcat"/>
<user username="tomcat" password="####" roles="manager-gui"/>
</tomcat-users>

My problem:
I have correctly installed Java and Catalina.
I can access Tomcat Manager and I see that logicaldoc.war is correctly deployed.
If I open http://192.168.1.10:8080/logicaldoc/ I see LogicalDoc login form.
If I open http://192.168.1.10:8080/logicaldoc/setup/ the browser ask me for a username and a password. I try to enter admin/admin, as wrote in the documentation, but I cannot enter. If I enter tomcat/#### (as wrote in tomcat-usr.xml) I get HTTP Status 403 - Access to the requested resource has been denied.
What is wrong?

Thanks
Fabio

Re: Cannot access setup

Posted: Fri Jun 14, 2013 6:43 am
by mmeschieri
The wrong ting is that your tomcat user needs to be in role 'admin'

Re: Cannot access setup

Posted: Fri Jun 14, 2013 7:53 am
by paladino_dei_mari
Thanks mmeschieri, that solved the problem.

Is TomCat the best way to use LogicalDOC CE on my enviroment?

Re: Cannot access setup

Posted: Thu Jun 20, 2013 1:34 pm
by agaspa
Correct,
the application server recommended for running LogicalDOC 6.7 is Tomcat 7.0.x

As for the version of Java LogicalDOC CE 6.7.1 is fully compatible with Java 1.6, while the Enterprise version requires Java (JDK) 1.7.
My suggestion then is to install Java JDK 1.7 (if possible), because in the future developers will begin to use more and more the features of the most recently Java virtual machine.