Page 1 of 1

Cant Debug openkm

PostPosted:Thu Aug 23, 2018 7:37 am
by mamad
Hi guys,
According to what is sayed here:
https://www.openkm.com/wiki/index.php/D ... g_with_GWT
I try to debug openKM but when i run the configuration, the below lines print in console(with red color) and nothing happened after that (tomcat server is running yet)
Code: Select all
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=64m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Then I tried to open the link below but it didnt opened
http://localhost:8080/OpenKM/frontend/i ... 0.1.1:9997\

Im using openkm 6.3-CE and ova environment

Re: Cant Debug openkm

PostPosted:Thu Aug 23, 2018 8:13 am
by mamad
Also i have some doubt about configure run configuration properly because there is some differences between textes and pictures in here : https://www.openkm.com/wiki/index.php/D ... g_with_GWT and i dont know which value should i use for Arguments !

i mentioned the differences in the attached image
Capture.JPG
Capture.JPG (122.99 KiB) Viewed 3131 times

Re: Cant Debug openkm

PostPosted:Sat Aug 25, 2018 8:42 am
by jllort
You should consider using docs.openkm.com rather than wiki.openkm.com. Just this week we have updated source code upgrading to GWT 2.8.2, that is a relevant change, because now GWT compilation works with JDK 1.8 and debug with chrome sources ( GWT super dev mode ). We have added a section talking about it in the documentation https://docs.openkm.com/kcenter/view/ok ... perDevMode

About value differences in the screenshot, you shared with us, might be because at the beginning of times when was done that screenshots the URL was the index.html and we have moved to index.jsp because into was needed add some JSTL tags for extra configuration parameters.

Re: Cant Debug openkm

PostPosted:Sun Aug 26, 2018 4:20 am
by mamad
Thanks for your information's.
You should consider using docs.openkm.com rather than wiki.openkm.com. Just this week we have updated source code upgrading to GWT 2.8.2, that is a relevant change, because now GWT compilation works with JDK 1.8 and debug with chrome sources ( GWT super dev mode ). We have added a section talking about it in the documentation https://docs.openkm.com/kcenter/view/ok ... perDevMode
You mean i should update source and my problem in debugging relates to it ?

I test both values from texts and images but problem is still remaining and i cant debug openkm

Re: Cant Debug openkm

PostPosted:Sun Aug 26, 2018 4:22 pm
by jllort
Jump to master branch and follow the steps we have described in the documentation, sure it is going right.

Re: Cant Debug openkm

PostPosted:Thu Sep 06, 2018 5:05 am
by mamad
Hello again,
My problem is still remaining and i cant debug openkm yet. :cry:
I follow the whole instructions from docs.openkm.com step by step but it don't work for me.
So to be more clear i attached screenshots of whole steps i have done.
Please help me solve this problem, i really need to debug openkm frontend. :( :(
Im using openkm6.3-CE in ova environment (i downloaded ova about two months ago)
1- edit pom.xml
1.JPG
1.JPG (116.37 KiB) Viewed 3060 times
2-create GWT shell configuration
2.JPG
2.JPG (72.78 KiB) Viewed 3060 times
3.JPG
3.JPG (71.29 KiB) Viewed 3060 times
4.JPG
4.JPG (64.31 KiB) Viewed 3060 times

Re: Cant Debug openkm

PostPosted:Thu Sep 06, 2018 5:10 am
by mamad
5.JPG
5.JPG (69.32 KiB) Viewed 3059 times
When i run configuration
6.JPG
6.JPG (41.59 KiB) Viewed 3059 times
When i try to launch default browser or http://localhost:8080/OpenKM/frontend/i ... 0.1.1:9997
7.JPG
7.JPG (62.77 KiB) Viewed 3059 times
eclipse console in debug perspective
8.png
8.png (162.28 KiB) Viewed 3059 times

Re: Cant Debug openkm

PostPosted:Fri Sep 07, 2018 6:57 am
by jllort
GWT Shell is deprecated. Download the latest OpenKM version we have in gitlab and follow the steps described here https://docs.openkm.com/kcenter/view/ok ... perDevMode