Page 1 of 1

I am not able to login into OpenKm application

PostPosted:Wed May 24, 2017 12:47 pm
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.

Re: Error while creating war file of OpenKM source code

PostPosted:Thu May 25, 2017 9:29 am
by Mohit
Kindly assist for this.

Re: Error while creating war file of OpenKM source code

PostPosted:Fri May 26, 2017 6:32 pm
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.

Re: I am not able to login into OpenKm application

PostPosted:Wed Jul 12, 2017 6:38 am
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.

Re: I am not able to login into OpenKm application

PostPosted:Fri Jul 14, 2017 4:11 pm
by jllort
How did you installed OpenKM ? did you used our installation wizard as is shown in our installation video at https://www.openkm.com/en/download.html

Because seems the application is not deploying in your tomcat and I do not know what are you try to doing ?

Re: Some JS file are missing in OpenKm application

PostPosted:Wed Jul 19, 2017 6:27 am
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.

Re: I am not able to login into OpenKm application

PostPosted:Thu Jul 20, 2017 9:15 pm
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 ?

Re: JS files are missing in OpenKm application source code

PostPosted:Fri Jul 21, 2017 6:59 am
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.

Re: I am not able to login into OpenKm application

PostPosted:Sat Jul 22, 2017 9:32 am
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.

Re: I am not able to login into OpenKm application

PostPosted:Mon Jul 24, 2017 8:01 am
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 12550 times

So please Assist for this.

Re: I am not able to login into OpenKm application

PostPosted:Tue Jul 25, 2017 7:03 am
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 ) ?

Re: I am not able to login into OpenKm application

PostPosted:Tue Jul 25, 2017 12:46 pm
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.

Re: I am not able to login into OpenKm application

PostPosted:Fri Jul 28, 2017 8:51 am
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 ).