• HTTP Status 404 - /OpenKM/

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #6634  by arekk
 
Hello. I installed vbox and then Debian system. Downloaded OpenKM-4.1_JBoss-4.2.3.GA, installed Jave.
Code: Select all
java version "1.6.0_0"
OpenJDK  Runtime Environment (build 1.6.0_0-b11)
OpenJDK Client VM (build 1.6.0_0-b11, mixed mode, sharing)
OpenKM is in the location /opt/jboss-4-2.3.GA.
I start using ./Run.sh and ./Run.sh-b 0.0.0.0.
I run FireFox and gets entered http://IP:8080/OpenKM
Code: Select all
HTTP Status 404 - / OpenKM
type Status report
message / OpenKM
description The requested resource (/OpenKM) is not available.
 #6635  by merlin81
 
try using bin/run.sh -b 0.0.0.0
the run.sh under is a batch skript starting bin/run.sh at the end.
Do you have any output ?
 #6636  by arekk
 
I ran just as you write
Code: Select all
debian: / opt/jboss-4.2.3.GA/bin #. / run.sh-b 0.0.0.0
Excerpt which is viewed in the console
Code: Select all
18:38:12,986 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
18:38:13,126 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
18:38:13,138 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
18:38:13,145 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 10s:180ms
I still get the error
Code: Select all
description The requested resource (/OpenKM) is not available.
 #6637  by merlin81
 
Sorry missed your first entry.
Looks to me if you are using the free java version.
On debian try the following:
Code: Select all
apt-get install sun-java6-jdk
update-alternatives --config java # Select suns java here
java -version # should show JavaTM Se or something else
Try again.
 #6639  by arekk
 
So, as you wrote.
Code: Select all
debian: ~ # apt-get install sun-java6-jdk
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
sun-java6-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Then, I chose the version of Java
Code: Select all
debian: ~ # update-alternatives - config java
There are two alternatives to provide `java '.

 Choice Alternative
-----------------------------------------------
     1 / usr/lib/jvm/java-6-sun/jre/bin/java
* + 2 / usr/lib/jvm/java-6-openjdk/jre/bin/java
I checked whether it has correctly been chosen
Code: Select all
debian:~# java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
Again, I ran through OpenKM
Code: Select all
debian: / opt/jboss-4.2.3.GA/bin #./run.sh -b 0.0.0.0
I still get the error
Code: Select all
description The requested resource (/OpenKM) is not available.
Once again, install Debian. I OpenKM download again and see if that works.
 #6640  by jllort
 
Some firewall or similar configured in that machine ? there's no mistery on running OpenKM.

First check in your server if http://localhost:8080/OpenKM runs well
After it and with -b 0.0.0.0 option try from some other computer in network http:/ip:8080/OpenKM
 #6644  by arekk
 
I installed Debian again. I next install Java
Code: Select all
apt-get install sun-java6-jdk
. I download OpenKM
Code: Select all
wget http://ignum.dl.sourceforge.net/project/openkm/4.1/OpenKM-4.1_JBoss-4.2.3.GA.zip
I installed
Code: Select all
apt-get install unzip
Code: Select all
unzip OpenKM-4.1_JBoss-4.2.3.GA.zip
copy to /opt/ OpenKM-4.1_JBoss-4.2.3.GA and netxt run
Code: Select all
/opt/OpenKM-4.1_JBoss-4.2.3.GA/bin# ./run.sh-b 0.0.0.0 
and open FireFox http://IP:8080/OpenKM/
Succeeded
 #11526  by m0rpheu5
 
Hello i´m having the same issue, i´m using a CentOS x64 running cPanel too, i already tried the OpenKM 4.1 and the latest release 5.1.6, i have the open jdk 1.6 installled as you can see below, and when i run /opt/jboss-4.2.3.GA/bin/run.sh -b 0.0.0.0 and try to access myserverips:8080/OpenKM/ i got the message "HTTP Status 404 - /OpenKM/" and "description The requested resource (/OpenKM/) is not available." What i need to do to fix this issue? follow the pastebin with the log of the OpenKM when i run the run.sh -b 0.0.0.0 Thanks.

Package 1:java-1.6.0-openjdk-devel-1.6.0.0-1.22.1.9.8.el5_6.x86_64 already installed and latest version
Package 1:java-1.6.0-openjdk-1.6.0.0-1.22.1.9.8.el5_6.x86_64 already installed and latest version
Package 1:java-1.6.0-openjdk-src-1.6.0.0-1.22.1.9.8.el5_6.x86_64 already installed and latest version
Package 1:java-1.6.0-openjdk-demo-1.6.0.0-1.22.1.9.8.el5_6.x86_64 already installed and latest version
Package 1:java-1.6.0-openjdk-javadoc-1.6.0.0-1.22.1.9.8.el5_6.x86_64 already installed and latest version

Pastebin of the run.sh
pastebin . com/nXmfwZaR
copy and paste and remove the space this because i´m a new user so i can´t send any link

What could be? I need to run the OpenKM for a very important client.

Thanks
 #11535  by jllort
 
First better if you install version 5.1.6 or later
Code: Select all
wget http://ignum.dl.sourceforge.net/project/openkm/5.1/OpenKM-5.1.6_JBoss-4.2.3.GA.zip
ensure your default java version installed is sun jdk, on centos installation could be like
Code: Select all
wget http://download.oracle.com/otn-pub/java/jdk/6u26-b03/jdk-6u26-linux-x64-rpm.bin
chmod +x jdk-6u26-linux-x64-rpm.bin
./jdk-6u26-linux-x64-rpm.bin
alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_26/bin/java 2
alternatives --config java
run application from terminal and then take a look at server.log if some error happens ...
 #11539  by pavila
 
m0rpheu5 wrote:What could be? I need to run the OpenKM for a very important client.
Maybe you would like to become a partner and provide support for your important costumer? Contact us at http://www.openkm.com/Contact/.
 #11541  by m0rpheu5
 
jllort, i did exactly what you said, and the samething happens, and there is not error in the server.log, what could be now? Thanks
 #11556  by jllort
 
can you access OpenKM where OpenKM is installed on server ? could try installing with lynx if you've not installed X ? the URL should be http://localhost:8080/OpenKM
if you make a ping to localhost has response ?
 #11569  by m0rpheu5
 
same errro with lynx, follow below:

HTTP Status 404 - /OpenKM
_________________________________________________________________

type Status report

message /OpenKM

description The requested resource (/OpenKM) is not available.
_________________________________________________________________

Apache Tomcat/5.5.33

Any other idea?
Thanks
 #11575  by pavila
 
OpenKM 5.1.x does not works with Tomcat. What OpenKM version are your using? Can you post the terminal output after you start JBoss / OpenKM?

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.