• Problems installing 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.
 #477  by harpsoe
 
Hej

Im new to this program. It looks interesting im trying to use it for a project. But I cant install it. I get this message when i run run.sh on Ubuntu 8.04 with Java 5 and Java 6 installed.

harpsoe@janus:/opt$ OpenKM-2.0b_JBoss-4.2.2.GA/bin/run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/OpenKM-2.0b_JBoss-4.2.2.GA

JAVA: java

JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

CLASSPATH: /opt/OpenKM-2.0b_JBoss-4.2.2.GA/bin/run.jar

=========================================================================

20:58:50,078 INFO [Server] Starting JBoss (MX MicroKernel)...
20:58:50,080 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
20:58:50,081 INFO [Server] Home Dir: /opt/OpenKM-2.0b_JBoss-4.2.2.GA
20:58:50,081 INFO [Server] Home URL: file:/opt/OpenKM-2.0b_JBoss-4.2.2.GA/
20:58:50,083 INFO [Server] Patch URL: null
20:58:50,083 INFO [Server] Server Name: default
20:58:50,083 INFO [Server] Server Home Dir: /opt/OpenKM-2.0b_JBoss-4.2.2.GA/server/default
20:58:50,084 INFO [Server] Server Home URL: file:/opt/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/
20:58:50,084 INFO [Server] Server Log Dir: /opt/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/log
20:58:50,085 INFO [Server] Server Temp Dir: /opt/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/tmp
20:58:50,085 INFO [Server] Root Deployment Filename: jboss-service.xml
Failed to boot JBoss:
java.lang.RuntimeException: Cannot create MBeanServer
at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:239)
at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
at javax.management.MBeanServerFactory.createMBeanServerImpl(MBeanServerFactory.java:207)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:44)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(libgcj.so.81)
Caused by: javax.management.NotCompliantMBeanException: Cannot register MBean: JMImplementation:type=MBeanServerDelegate
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314)
at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:215)
...8 more
Caused by: java.lang.NullPointerException
at org.jboss.mx.modelmbean.ModelMBeanInvoker.setModelMBeanInfo(ModelMBeanInvoker.java:186)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:256)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:194)
...9 more

Can anybody point me in the direction of the error. Help is much aprisiated.

Best, Kennet
 #483  by pavila
 
This seems to be a JBoss related issue. Check file/directory permissions and Java version:
Code: Select all
$ java -version

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.