• ERROR [MainDeployer] Could not create deployment: file:/opt/

  • 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.
 #11373  by kimini
 
Hi there,

first, sorry for my bad english. I´m running OpenKM 5.1.5 on archlinux 64 bit with openjdk6. OpenKM is installed in /opt and i get the following error
Code: Select all
ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
I start OpenKm with root right. What´s going wrong. Under Ubuntu it runs without problems.
 #11381  by jllort
 
1- first you must install java sun jdk, not openjdk.
2- probably you've got some port binding that jboss needs, pay attention on server.log, probably there's some binding port error ( normally it causes jboss could not starting correctly ). ( could be some tomcat or other application that is yet binding some port that jboss needs, server.log must show the error).
 #11746  by Klemens
 
Hi,

I have the same problem on debian amd64. I'm using sun-java6-jdk. I can't check server.log because it's not created. Jboss crashes during boot, and only boot.log is created. I haven't found any port binding problem in boot.log. The first error is "Could not create deployment: ....". any ideas?
 #11771  by Klemens
 
Thanks for advice but I was sure that java was OK because it was the only one java installed on the host, but I've checked fo sure :)
Code: Select all
root@openkm:/opt/jboss-4.2.3.GA/bin# java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Since I thoungt it is JBoss problem not OpenKM I've started to serach JBoss forum, and found people with the same problem. In my case I have the wrong hostname in /etc/hosts. My system is VM on ESXi and I use my template installation fo OpenKM and change hostname from debain to openkm, but forgot to update hosts file.

For future if anyone will have the same error message simply try to run
Code: Select all
./run.sh -c minimal
If the JBoss server starts that probably you have wrong hostname in /etc/hosts. Now I'm going further, I'm preparing for a little strugle because I don't have direct connection to Internet .

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.