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.
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.
Post Reply
Mohit
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Thu May 11, 2017 1:11 pm

I am not able to login into OpenKm application

Post by Mohit » Wed May 24, 2017 12:47 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.
Last edited by Mohit on Wed Jul 12, 2017 6:33 am, edited 1 time in total.

Mohit
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Thu May 11, 2017 1:11 pm

Re: Error while creating war file of OpenKM source code

Post by Mohit » Thu May 25, 2017 9:29 am

Kindly assist for this.

jllort
Moderator
Moderator
Posts: 9551
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Error while creating war file of OpenKM source code

Post by jllort » Fri May 26, 2017 6:32 pm

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.

Mohit
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Thu May 11, 2017 1:11 pm

Re: I am not able to login into OpenKm application

Post by Mohit » Wed Jul 12, 2017 6:38 am

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.

jllort
Moderator
Moderator
Posts: 9551
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: I am not able to login into OpenKm application

Post by jllort » Fri Jul 14, 2017 4:11 pm

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 ?

Mohit
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Thu May 11, 2017 1:11 pm

Re: Some JS file are missing in OpenKm application

Post by Mohit » Wed Jul 19, 2017 6:27 am

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.

jllort
Moderator
Moderator
Posts: 9551
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: I am not able to login into OpenKm application

Post by jllort » Thu Jul 20, 2017 9:15 pm

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 ?

Mohit
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Thu May 11, 2017 1:11 pm

Re: JS files are missing in OpenKm application source code

Post by Mohit » Fri Jul 21, 2017 6:59 am

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.

jllort
Moderator
Moderator
Posts: 9551
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: I am not able to login into OpenKm application

Post by jllort » Sat Jul 22, 2017 9:32 am

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.

Mohit
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Thu May 11, 2017 1:11 pm

Re: I am not able to login into OpenKm application

Post by Mohit » Mon Jul 24, 2017 8:01 am

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

So please Assist for this.

jllort
Moderator
Moderator
Posts: 9551
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: I am not able to login into OpenKm application

Post by jllort » Tue Jul 25, 2017 7:03 am

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 ) ?

Mohit
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Thu May 11, 2017 1:11 pm

Re: I am not able to login into OpenKm application

Post by Mohit » Tue Jul 25, 2017 12:46 pm

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.

jllort
Moderator
Moderator
Posts: 9551
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: I am not able to login into OpenKm application

Post by jllort » Fri Jul 28, 2017 8:51 am

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 ).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest