login Problem

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

kvram25
Posts: 3
Joined: Tue Sep 02, 2014 7:58 am

login Problem

Tue Sep 02, 2014 8:57 am

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
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: login Problem

Wed Sep 03, 2014 2:26 pm

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
kvram25
Posts: 3
Joined: Tue Sep 02, 2014 7:58 am

Re: login Problem

Thu Sep 04, 2014 4:59 am

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
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: login Problem

Thu Sep 04, 2014 8:17 am

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
kvram25
Posts: 3
Joined: Tue Sep 02, 2014 7:58 am

Re: login Problem

Thu Sep 04, 2014 4:00 pm

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,
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: login Problem

Thu Sep 04, 2014 4:28 pm

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)

Return to “Installation”

Who is online

Users browsing this forum: Google [Bot] and 26 guests