Page 1 of 1

login Problem

Posted: Tue Sep 02, 2014 8:57 am
by kvram25
Hi,
I downloaded the LogicalDoc 7.0.2 Community edition and trying to install the package as follows:
1. Unzipped the software to c:\logicaldoc folder.
2. I already have a TOMCAT7 installed in c:\TOMCAT directory.
3. Copied the file c:\logicaldoc\tomcat\webapp\logicaldoc.war file to my existing TOMCAT folder c:\tomcat\webapps\logicaldoc.war
4.started catalina once , shutdown and restarted again
5. Now I am able to see the login page localhost:8080/logicaldoc
6. But the username / password admin / admin not working giving "access denied" error
7. when I try to access localhost:8080/logicaldoc/setup then I get HTTP 403 error.

Also I would like to know if CE edition has anything to do with MYSQL setup, as I have not done anything about that.
Also I tried logging for another LAN PC in my office still I get access denied error when using admin/ admin.

Please advise.
Ram KV

Re: login Problem

Posted: Wed Sep 03, 2014 2:26 pm
by agaspa
Hi kvram25,
your installation is not complete until you will not run the setup procedure.
For this reason, you are unable to perform the authenticazione in the LD Login mask.
As you have just taken the war to logicaldoc and have entered into a Tomcat already installed on this Tomcat you must enter the authentication policies for roles.
In practice, this translates into a simple operation to be performed on a configuration file for Tomcat.
Look for afile in tomcat/conf named tomcat-users.xml
Add the line below to the tomcat-users

Code: Select all

<user username="admin" password="admin" roles="tomcat,role1,admin"/>
Shutdown and restart Tomcat then resume the setup procedure going to localhost:8080/logicaldoc/setup

Alex

Re: login Problem

Posted: Thu Sep 04, 2014 4:59 am
by kvram25
Hi,
I tried as suggested by you. But still not able to Log-in and get "Access Denied" Error.
Tomcat User Config is as follows:

<tomcat-users>
<user username="admin" password="admin" roles="tomcat,role1,admin"/>
</tomcat-users>

Please advise.

Ram

Re: login Problem

Posted: Thu Sep 04, 2014 8:17 am
by agaspa
Hi Ram,

after changing the configuration of users of tomcat you need to shut down and restart tomcat.
At this point you have access to the protected area and run the setup
http://localhost:8080/logicaldoc/setup

use admin/admin as credentials

Note: If your tomcat is configured to run on a port other than 8080 you will need to change the url accordingly

Re: login Problem

Posted: Thu Sep 04, 2014 4:00 pm
by kvram25
Hi Made a little progress.
Now the setup page loads with a small Logicaldoc Logo changing colors with a "Loading Message" meassgae below.
Nothing happens after this...

REgards,

Re: login Problem

Posted: Thu Sep 04, 2014 4:28 pm
by agaspa
Be aware that LogicalDOC requires Java 7 starting from version 6.8.4
So you should check that the version of Java is Java SE 7 (AKA Java 1.7)