Page 1 of 1

HTTP Status 404 - /openkm

PostPosted:Thu Nov 03, 2011 8:57 am
by fearlesswang
Hi all, I'm new to openkm and Web development.
I installed openkm according to the developer Guide "http://wiki.openkm.com/index.php/Developer_Guide".
When I open the url "http://localhost:8080/OpenKM/". here comes a 404 error:
Code: Select all
HTTP Status 404 - /openkm

type Status report

message /openkm

description The requested resource (/openkm) is not available.
JBossWeb/2.0.1.GA
My Environment:
OS:windows xp;
jdk:1.6.27
openkm: checked out from "https://openkm.svn.sourceforge.net/svnr ... 5.1/openkm"
jboss:4.2

When I start Jboss runtime server, the information is:
Code: Select all
16:02:10,562 INFO  [Server] Starting JBoss (MX MicroKernel)...
16:02:10,578 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
16:02:10,578 INFO  [Server] Home Dir: D:\openkm_install\jboss-4.2.3.GA
16:02:10,578 INFO  [Server] Home URL: file:/D:/openkm_install/jboss-4.2.3.GA/
16:02:10,578 INFO  [Server] Patch URL: null
16:02:10,578 INFO  [Server] Server Name: default
16:02:10,578 INFO  [Server] Server Home Dir: D:\openkm_install\jboss-4.2.3.GA\server\default
16:02:10,578 INFO  [Server] Server Home URL: file:/D:/openkm_install/jboss-4.2.3.GA/server/default/
16:02:10,578 INFO  [Server] Server Log Dir: D:\openkm_install\jboss-4.2.3.GA\server\default\log
16:02:10,578 INFO  [Server] Server Temp Dir: D:\openkm_install\jboss-4.2.3.GA\server\default\tmp
16:02:10,578 INFO  [Server] Root Deployment Filename: jboss-service.xml
16:02:10,859 INFO  [ServerInfo] Java version: 1.6.0_27,Sun Microsystems Inc.
16:02:10,859 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.2-b06,Sun Microsystems Inc.
16:02:10,859 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
16:02:11,125 INFO  [Server] Core system initialized
16:02:12,718 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
16:02:12,718 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
16:02:13,093 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
16:02:13,093 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
16:02:13,281 INFO  [TransactionManagerService] Starting recovery manager
16:02:13,359 INFO  [TransactionManagerService] Recovery manager started
16:02:13,359 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
16:02:15,109 INFO  [EJB3Deployer] Starting java:comp multiplexer
16:02:16,937 INFO  [NativeServerConfig] JBoss Web Services - Native
16:02:16,937 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
16:02:17,578 INFO  [Embedded] Catalina naming disabled
16:02:17,718 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native;.
16:02:17,765 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
16:02:17,765 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
16:02:17,765 INFO  [Catalina] Initialization processed in 197 ms
16:02:17,765 INFO  [StandardService] Starting service jboss.web
16:02:17,765 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
16:02:17,812 INFO  [Catalina] Server startup in 40 ms
16:02:17,906 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
16:02:18,546 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
16:02:18,640 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
16:02:18,703 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:02:19,187 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
16:02:19,562 INFO  [MailService] Mail Service bound to java:/Mail
16:02:19,671 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
16:02:19,703 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
16:02:19,718 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
16:02:19,750 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
16:02:19,781 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
16:02:19,812 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
16:02:19,828 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
16:02:19,843 INFO  [QuartzResourceAdapter] start quartz!!!
16:02:19,906 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
16:02:19,921 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
16:02:19,937 INFO  [RAMJobStore] RAMJobStore initialized.
16:02:19,937 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
16:02:19,937 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
16:02:19,937 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
16:02:20,656 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
16:02:20,890 INFO  [A] Bound to JNDI name: queue/A
16:02:20,890 INFO  [B] Bound to JNDI name: queue/B
16:02:20,906 INFO  [C] Bound to JNDI name: queue/C
16:02:20,906 INFO  [D] Bound to JNDI name: queue/D
16:02:20,906 INFO  [ex] Bound to JNDI name: queue/ex
16:02:20,921 INFO  [testTopic] Bound to JNDI name: topic/testTopic
16:02:20,921 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
16:02:20,921 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
16:02:20,921 INFO  [testQueue] Bound to JNDI name: queue/testQueue
16:02:20,953 INFO  [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
16:02:20,984 INFO  [DLQ] Bound to JNDI name: queue/DLQ
16:02:21,078 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
16:02:21,093 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
16:02:21,250 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
16:02:21,265 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
16:02:21,265 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 10s:687ms

expect for your help!

Re: HTTP Status 404 - /openkm

PostPosted:Thu Nov 03, 2011 5:45 pm
by pavila
"/openkm" != "/OpenKM" :idea:

Re: HTTP Status 404 - /openkm

PostPosted:Thu Nov 03, 2011 11:59 pm
by fearlesswang
pavila wrote:"/openkm" != "/OpenKM" :idea:
I also tried OpenKM, but get the same result. ?

Re: HTTP Status 404 - /openkm

PostPosted:Fri Nov 04, 2011 4:47 pm
by jllort
That's strange error:
Code: Select all
16:02:17,718 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native;.
which java version do you got, execute on terminal "java -version"

Re: HTTP Status 404 - /openkm

PostPosted:Sun Nov 06, 2011 9:32 am
by fearlesswang
jllort wrote:That's strange error:
Code: Select all
16:02:17,718 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native;.
which java version do you got, execute on terminal "java -version"

Thanks for your reply.

I executed java -version, the result is:
Code: Select all
C:\Documents and Settings\Administrator>java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode, sharing)
I googled the error and I found the soultion is download "tcnative-1.dll" file and move it to dir "Tomcat/bin". But I haven't installed/configured a tomcat When I installed openkm. Do I have to install tomcat?

Re: HTTP Status 404 - /openkm

PostPosted:Wed Nov 09, 2011 9:30 am
by jllort
Tomcat is into jboss aplication server take a look in JBOSS_HOME/server/default/deploy/jboss-web.deployer I suggest you google the error to jboss aplication server.