Page 1 of 1

OKM 3.0 Community: ERROR [MainDeployer]

PostPosted:Tue Mar 24, 2009 9:21 am
by Joe
Hi everybody,

I\'m trying OKM 3.0 Community version and I\'m encountering the famous jBoss bug when you have any Internet access from the OKM station (which is my case). I read in some threads about this problem and it seems that we have to delete a directory named ws.

Thread 1
Thread 2

And as the FAQ says,
From OpenKM 3.0 webservices are defined on a ws directory in WEB-INF/classes/es/git/openkm/ws ( simply delete this directory )
But I don\'t find this directory /WEB-INF/classes/es/git/openkm/ws/ when OKM is not running. In fact I found this directory but only when OKM is running and is situed in a tmp a directory like
Code: Select all
C:\\OpenKM-3.0_JBoss-4.2.2.GA\\server\\default\\tmp\\deploy\\tmp3021047354643028988OpenKM.ear-contents\\OpenKM-exp.war\\WEB-INF\\classes\\es\\git\\openkm\\ws
And if I delete this directory it is recreated when I restart OKM... So where exactly is the ws directory to delete? I installed OKM on XP under
Code: Select all
C:\\OpenKM-3.0_JBoss-4.2.2.GA
.

Here is the famous error:
Code: Select all
ERROR [MainDeployer] Could not create deployment: file:/C:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/tmp/deploy/tmp8890622732434133663OpenKM.ear-contents/OpenKM.war
javax.xml.ws.WebServiceException: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect

[...]

[URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@85088c08 { url=file:/C:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear }
  deployer: org.jboss.deployment.EARDeployer@528780
  status: Deployment FAILED reason: Could not create deployment: file:/C:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/tmp/deploy/tmp8890622732434133663OpenKM.ear-contents/OpenKM.war; - nested throwable: (javax.xml.ws.WebServiceException:
org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect)
  state: FAILED
  watch: file:/C:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
  altDD: null
  lastDeployed: 1237883928398
  lastModified: 1237883873976
  mbeans:
Many thanks for your help.

Re:OKM 3.0 Community: ERROR [MainDeployer]

PostPosted:Tue Mar 24, 2009 10:14 am
by jllort
You must not delete ws directory from temporaty folder, you must edit OpenKM.ear and into OpenKM.war file -> there it must be deleted the ws directory ( all with jboss stoped ). You can use winrar for example to do it, opening, exploring and deleting ws directory.

Re:OKM 3.0 Community: ERROR [MainDeployer]

PostPosted:Tue Mar 24, 2009 10:33 am
by Joe
Thank you very much for your quick reply! It did it with WinRar! OKM and OKM\'s team rock! Have a nice day!