Page 1 of 1

openkm6.3 stop when loading user values

PostPosted:Fri Jul 11, 2014 2:33 am
by cjpitmd
after I install openkm 6.3 , I cannot login to the openkm(see the photo below),

a popup windows shows loading openkm and stop at "loading user values"

but my openkm6.2.5 can run normally.

i tried to delete %tomecatHome%/webapps/OpenKM, %tomecatHome%/work, drop and created a new database in mysql, change openkm.cfg "hibernate.hbm2ddl =create " , but it still not working.

any suggestion ?

here is the log:
Code: Select all
2014-07-11 10:22:05,298 [http-bio-0.0.0.0-8080-exec-2] INFO  com.openkm.vernum.VersionNumerationFactory- VersionNumerationAdapter: com.openkm.vernum.MajorMinorVersionNumerationAdapter
2014-07-11 10:24:48,448 [Update Info] INFO  com.openkm.core.UpdateInfo- *** UpdateInfo activated ***
2014-07-11 10:25:09,465 [Update Info] ERROR com.openkm.util.Update- IOException: Connection timed out: connect
2014-07-11 10:25:09,465 [Update Info] INFO  com.openkm.util.Update- checkVersion: 
2014-07-11 10:30:00,115 [Thread-23] INFO  com.openkm.core.UserMailImporter- *** User mail importer activated ***
Image

Re: openkm6.3 stop when loading user values

PostPosted:Sat Jul 12, 2014 5:29 pm
by jllort
I think that's caused by browser cache. Try to click refresh icon without closing url ( or clean all browser cache, but I think is not necessary ).

Re: openkm6.3 stop when loading user values

PostPosted:Mon Jul 14, 2014 7:40 pm
by dbutcher
I have the same issue after upgrading to 6.3 community.
I have cleared the browser cache, and tried stopping and restarting tomcat again.
But I have the same screen as the OP posted, a pop-up titled "Loading OpenKM" and then stopped at "Loading user values".

Re: openkm6.3 stop when loading user values

PostPosted:Tue Jul 15, 2014 7:58 am
by cjpitmd
dbutcher wrote:I have the same issue after upgrading to 6.3 community.
I have cleared the browser cache, and tried stopping and restarting tomcat again.
But I have the same screen as the OP posted, a pop-up titled "Loading OpenKM" and then stopped at "Loading user values".
i aslo tried it and it didn't work too. :(

Re: openkm6.3 stop when loading user values

PostPosted:Thu Jul 17, 2014 9:29 am
by jllort
Try using a profile with all options enabled ( go to /admin directly to do this change ).

Re: openkm6.3 stop when loading user values

PostPosted:Thu Jul 17, 2014 4:07 pm
by dbutcher
Thanks for looking into this problem.

I created a new profile called 'all', and checked all boxes in all tabs.
On first tab, General, Pagination, Page List, I did not know what value to put. I entered 1.
On last tab, Other, File browser, I did not know what values to enter. I set Status = 80, Massive = 100, Icon = 1, Name = 1, Size = 1, Last Modified = 1, Author = 1, Version = 1.
I assigned this profile to my user
I shutdown and restarted tomcat and tried to log in again. I tried from both FF and IE.

The result is the same, pop-up screen reaches 'loading user values' and stops.

Please let me know what else to try.
Regards,
Dave

Re: openkm6.3 stop when loading user values

PostPosted:Fri Jul 18, 2014 9:49 am
by jllort
This kind of errors are quite difficult to detect because are on loading process. Should install development environment and debug with GWT Shell to see the stack trace error of the UI. Yes I know is not the answer you would like to hear. If was a bug after loading enabling the log from -> tools -> enable log will be enought, but in this cases there's nothing much what can be done:
http://wiki.openkm.com/index.php/Developer_Guide
http://wiki.openkm.com/index.php/Debugging_with_GWT ( this is what you need )

from your server url should do something like :
http://serverip:8080/OpenKM/frontend/in ... 0.0.1:9997

Re: openkm6.3 stop when loading user values

PostPosted:Mon Jul 21, 2014 6:43 am
by cjpitmd
jllort wrote:This kind of errors are quite difficult to detect because are on loading process. Should install development environment and debug with GWT Shell to see the stack trace error of the UI. Yes I know is not the answer you would like to hear. If was a bug after loading enabling the log from -> tools -> enable log will be enought, but in this cases there's nothing much what can be done:
http://wiki.openkm.com/index.php/Developer_Guide
http://wiki.openkm.com/index.php/Debugging_with_GWT ( this is what you need )

from your server url should do something like :
http://serverip:8080/OpenKM/frontend/in ... 0.0.1:9997

Now, i success to login by replaced the openKM.war which is downloaded from
http://integration.openkm.com/
Thx for your help

Re: openkm6.3 stop when loading user values

PostPosted:Mon Jul 21, 2014 6:41 pm
by dbutcher
I downloaded the OpenKM.war as per the instructions in the previous post, but it did not make any improvement.
I am still stuck at "loading user values"

Re: openkm6.3 stop when loading user values

PostPosted:Tue Jul 22, 2014 4:44 pm
by dbutcher
Hi jllort,
I looked at the instructions on the page you provided http://wiki.openkm.com/index.php/Debugging_with_GWT , but I don't know how to follow them.
For instance, the first line: "Go to run configurations and add new java application ...". How/where do I do this?
I am willing to do some work to troubleshoot this problem, but I am not a developer and will need clear step-by-step instructions to follow.
Please let me know.
Thanks,
Dave

Re: openkm6.3 stop when loading user values

PostPosted:Thu Jul 24, 2014 8:22 am
by cjpitmd
dbutcher wrote:Hi jllort,
I looked at the instructions on the page you provided http://wiki.openkm.com/index.php/Debugging_with_GWT , but I don't know how to follow them.
For instance, the first line: "Go to run configurations and add new Java application ...". How/where do I do this?
I am willing to do some work to troubleshoot this problem, but I am not a developer and will need clear step-by-step instructions to follow.
Please let me know.
Thanks,
Dave
When I tried to change the openkm from 6.3 to 6.2.5 today, it stuck at "loading user values" again.
But i can fix it by delete the IE cache this time.

Re: openkm6.3 stop when loading user values

PostPosted:Sat Jul 26, 2014 6:17 pm
by jllort
Hi cjpitmd when change between version the browser cache continues storing the older app version, that why between version changes is good idea advice users to refresh cache ( simply click on refresh icon after the first time you've tryed to login should be enough )

dbutcher -> about eclipse GWT Shell configuration, in eclipse toolbar ( when java perspective is enabled, at top right you can change perspectives ) there tree green icon ( bugs, play, small play with red box ). Click on debug or run configuration and you'll see a menu -> there's an option "Run configurations". When you see the run configuration popup -> you got "java application" -> right click there and select "new"