Page 1 of 2

KM not working

PostPosted:Sun Jun 23, 2013 6:45 am
by titas
Hi openKM team,

i have install openKM openkm-6.2.17-windows-installer.exe. after install, i try to open http://localhost:8080/OpenKM/, but can not open.

how to solve this problem...please openKM team

Re: KM not working

PostPosted:Mon Jun 24, 2013 8:32 am
by jllort
Ensure your openkm installation path do not contains white spaces ( in windows there's some problem on it ). In download web page there's a suggestion about it. Reinstall appliation for example at c:\openkm

Re: KM not working

PostPosted:Wed Jun 26, 2013 4:42 am
by titas
I did it. But same problem.
Noted : Now I am using windows 7 32 bit.

Re: KM not working

PostPosted:Thu Jun 27, 2013 2:16 pm
by jllort
The problem will be the memory ( by default comes greater for 32 bits ). Edit setenv.bat ( tomcat/bin/setenv.bat )

Modifica esto:
Code: Select all
set JAVA_OPTS=-Xms256m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.awt.headless=true -Dfile.encoding=utf-8
por
Code: Select all
set JAVA_OPTS=-Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=utf-8

KM not working with windowsXp sp3 32bit

PostPosted:Fri Aug 30, 2013 3:27 am
by sonho
Why i can't run http://localhost:8080/OpenKM frome Chorme.
sourece: openkm-6.2.4-community-windows-installer.exe
Java SDK latest: jdk-7u25-windows-i586.exe

and i aredy install folder: c:\openKM but the program not running? I don't known reson why????? :evil:

My PC run: windowsXp sp3, 32 bit.

Plaease help me

Re: KM not working

PostPosted:Sat Aug 31, 2013 10:42 am
by jllort
open termina ( cmd )
go to c:\openkm\tomcat\bin
execute catalina.bat run

Tell me if in the log appears some error ( please do not close the terminal, openkm is not by default configured as service is something you should do. If you close terminal you're closing application ).

Re: KM not working

PostPosted:Tue Sep 03, 2013 7:58 am
by sonho
my JBOSS_Home is: c:\jboss\bin
my Tomcat_home is c:\tomcat

i try: config Tomcat like: "http://wiki.openkm.com/index.php/Config ... at_service " but openKM still not run

( Running as a Windows Service
Donwload and install 32-bit/64-bit Windows Service Installer from http://archive.apache.org/dist/tomcat/t ... .0.27/bin/
Simply uncompress and overwrite openkm tomcat bundle into exiting tomcat folder.)


my Java is: c:\Java\jre6 ( install frome jdk-6u45-windows-i586.exe 71.53MB)
path: %JAVA_HOME%\bin;.;%JBOSS_HOME%\bin;.;


please hel me.
After run c:\tomcat\bin\catalina.bat

I saw the cmd flash( terminal windows) a few second so fast that i could not see anything.

I think file catalina.bat did'nt run not successful.

I don't know resean why?
Please help me, i only the people starting ( amatuer).

Re: KM not working

PostPosted:Wed Sep 04, 2013 6:46 pm
by jllort
Should be some error when executing catalina.bat, do not execute from explorer. Open a windows console. Go to the folder and then there execute:
catalina.bat run

I would like to see the error, because sure happens something, but executing from explore we can not see because is closing terminal.

Re: KM not working

PostPosted:Thu Sep 05, 2013 1:00 am
by sonho
thanks for jllort's support.

When i run console: catalina.bat run
I saw the error in the bottom console :

error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

after i edit setenv.bat like:
"set JAVA_OPTS=-Xms256m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.awt.headless=true -Dfile.encoding=utf-8"

and run catalina.bat again
oh i saw console run many coomands, the last command is:

com.openkm.core.updateinfo- *** Update info activated ***

and i try run agian from Chorme: Localhost:8080/openKM" but
isee error like:

"HTTP Status 404 - /openKM/
type Status report
message /openKM/
description The requested resource (/openKM/) is not available.
Apache Tomcat/7.0.27"

link image:
Image

Image
and not saw any more.
Please help me

Re: KM not working

PostPosted:Fri Sep 06, 2013 3:35 pm
by jllort
You have not written correctly, context in java are case sensitive, you must write localhost:8080/OpenKM with OKM uppercase.

Re: KM not working

PostPosted:Sat Sep 07, 2013 7:10 am
by sonho
Thank you very much mr Jllort.
But the new problem happen that is when i add file VietNam language finished but my VietNam language not show true.
(link: http://wiki.openkm.com/index.php/File:O ... _zh-VN.sql)
So I deleted id language that i have just add.
Then i add file language again but not completed an error like image.

Application error
Class: org.hibernate.exception.SQLGrammarException
Message: error executing work
Date: Sat Sep 07 11:05:21 ICT 2013

Image

And then i unistall openKM and reinstall again but the error is like description above.

Re: KM not working

PostPosted:Mon Sep 09, 2013 9:45 am
by jllort
Execute import from Administrator -> database query you'll see the line error and we will discover what has happened

Re: KM not working

PostPosted:Thu Sep 12, 2013 3:00 am
by sonho
thanks you jllor.
I fix the poblem but other problem happen, reason is UTP-F8 Unicode file.

and now othe problem when i try preview pdf file or office file.

error is conversion but i try configuration parameter but openKM not preview.

My OS is: windowsXP sp3, Open office install f:\openoffice4, pdf2swf install F:\SWFTools

Re: KM not working

PostPosted:Sat Sep 14, 2013 11:14 am
by jllort
Preview issue is other kind of question. Please do not merge several questions at same post, add new for preview with information about how have you configured.

Re: KM not working

PostPosted:Tue Sep 17, 2013 11:04 am
by ahmadrezaahmad
in my windows 7 32 bti not work,cmd log:
Code: Select all
c:\Program Files\openkm-6.2.4-community\tomcat\bin>catalina.bat
Using CATALINA_BASE:   "c:\Program Files\openkm-6.2.4-community\tomcat"
Using CATALINA_HOME:   "c:\Program Files\openkm-6.2.4-community\tomcat"
Using CATALINA_TMPDIR: "c:\Program Files\openkm-6.2.4-community\tomcat\temp"
Using JRE_HOME:        "C:\Program Files\openkm-6.2.4-community\java"
Using CLASSPATH:       "c:\Program Files\openkm-6.2.4-community\tomcat\bin\boots
trap.jar;c:\Program Files\openkm-6.2.4-community\tomcat\bin\tomcat-juli.jar"
Usage:  catalina ( commands ... )
commands:
  debug             Start Catalina in a debugger
  debug -security   Debug Catalina with a security manager
  jpda start        Start Catalina under JPDA debugger
  run               Start Catalina in the current window
  run -security     Start in the current window with security manager
  start             Start Catalina in a separate window
  start -security   Start in a separate window with security manager
  stop              Stop Catalina
  configtest        Run a basic syntax check on server.xml
  version           What version of tomcat are you running?

what shold i do?