• I am not able to login into OpenKm application

  • He we will discuss about how to make customization and improvement to the OpenKM source code.
He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #43887  by Mohit
 
Hello,
I have ran openKm web application on apache tomcat server 7.0.61 as per your suggestion. Now I am trying to login into application with login credentials as below:

username: openKm
pasword: Admin

I have installed database on my machine locally after download from openKm site and while login into application getting following error:

HTTP Status 404 - /OpenKM/frontend/index.jsp

type Status report

message /OpenKM/frontend/index.jsp

description The requested resource is not available.

Apache Tomcat/7.0.61


So please assist for this.
Last edited by Mohit on Wed Jul 12, 2017 6:33 am, edited 1 time in total.
 #43900  by jllort
 
Compile the application without executing the test ( there's a checkbox if you have configured build from eclipse run configuration ) from eclipse or from command take a look for the build.bat file.
 #44300  by Mohit
 
I am not able to login into OpenKm application
Edit Report this post Quote
Post by Mohit » Wed May 24, 2017 6:17 pm

Hello,
I have ran openKm web application on apache tomcat server 7.0.61 as per your suggestion. Now I am trying to login into application with login credentials as below:

username: openKm
pasword: Admin

I have installed database on my machine locally after download from openKm site and while login into application getting following error:

HTTP Status 404 - /OpenKM/frontend/index.jsp

type Status report

message /OpenKM/frontend/index.jsp

description The requested resource is not available.

Apache Tomcat/7.0.61


So please assist for this.
 #44362  by Mohit
 
Hi ,
I have changed location of frontend/index.jsp which called after login into application, that was in resource folder, i have put into webapps folder Now it is working but nothing display on screen. Some JS files are missing in source code whose names are as:
# digitalsignature.js
# frontend.nocache.js

So please assist me how to display data on screen.
 #44374  by jllort
 
There's something you are missing to explain us, sure.
- First, why did you do not use the installer ?
- On what OS are you trying to install ?
- From where did you download the tomcat and the OpenKM.war file ?
- Did you have JAVA jdk 1.8 installed ? and is the default java in your OS ?
 #44377  by Mohit
 
Hi,
Now I am able to login into application but home screen is not displaying data i.e index.jsp is not working. The issue behind this I found that Some jS files are missing in application source code like

# digitalsignature.js
# frontend.nocache.js

So please assist me from where I can find these files.
 #44389  by jllort
 
There's nothing missing in the application. There's something you are not explaining. You have not answered any of the questions I have done, please read my previous post and answer them.
 #44405  by Mohit
 
Hi jllort,

There are some questions which you asked:

There's something you are missing to explain us, sure.
- First, why did you do not use the installer ?
- On what OS are you trying to install ?
- From where did you download the tomcat and the OpenKM.war file ?
- Did you have JAVA jdk 1.8 installed ? and is the default java in your OS ?


Answers:
1) I have installed installer using following link and follow all instructions.
also used cmd.

" https://www.youtube.com/watch?v=7C40UMajJ0k "

Installer is working fine I am able to login into application and getting home page of application, can change tabs, screens in application.
2) OS: Windows 8.14
3) Download apache tomcat and OpenKM.war after seen youtube video instructions from following links:
" https://www.youtube.com/watch?v=7C40UMajJ0k "

4) Yes I have installed java 1.8.31 and also set their path in Environment Variable.

I have used following links to install installer and apache tomcat server:
1) https://www.youtube.com/watch?v=7C40UMajJ0k
2) https://sourceforge.net/projects/openkm/files/common/

The above things are working fine. But when I download and import source code into eclipse for openKm application, I am logging into application successfully but home page is not displaying data getting following error. Please find attached error image and errors on console:

digitalsignature.js Failed to load resource: the server responded with a status of 404 (Not Found)
frontend.nocache.js Failed to load resource: the server responded with a status of 404 (Not Found)
digitalsignature.js Failed to load resource: the server responded with a status of 404 (Not Found)
frontend.nocache.js Failed to load resource: the server responded with a status of 404 (Not Found)

openKMError.png
openKMError.png (58.36 KiB) Viewed 12557 times

So please Assist for this.
 #44416  by jllort
 
For my undestanding.
Installation from wizard is going right, but you are building application from source code and then you are replacing the original OpenKM.war from yours. Then is where appears the problem ( until now you have not explained was replacing the original war by yours ) ?
 #44424  by Mohit
 
I am running application on local server with same working environment i.e I added apache tomcat server which installed from openKm site as in video, in eclipse, I also import source code into eclipse.
I follow the following steps to run application in eclipse with local server:
Right click --> select Run as --> add project with server --> Next --> select browser to open application UI
I got login page after run application and when I entered login credentials i got the above error which I have mention in previous post.

No there is no need to replace openkm.war file because it runs with eclipse. original war file is in apache tomcat -> webapps folder. And it does not change while running application in eclipse.

Please assist for this.
 #44434  by jllort
 
First try to execute the application from the terminal, from there should going right.
Code: Select all
$ catalina.bat run
Check if it goes right. Any error while starting from command line ? in case positive, share with us the catalina.log file ( you can upload here into zip file )
if It does not going right then:
- do you have some kind of disk encription or similar, ?
- any reason why unzip OpenKM.war ? verify OpenKM.war files are the same into OpenKM foldeer ( you can use winrar to unzip the file ).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.