• Unresolved compilation problem

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #6211  by surajaya
 
Hello,

This is my first post in this forum. I'm currently evaluate OpenKM 4.1, successfully build openkm from source, but get a runtime error "Error when communicating with server (GetDocumentChilds). I'm sure that network connection is OK since I run it in localhost (127.0.0.1). The server log says that it's a unresolved compilation problem :
Code: Select all
2010-08-19 09:30:27,017 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/OpenKM]] Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List es.git.openkm.frontend.client.service.OKMDocumentService.getChilds(java.lang.String) throws es.git.openkm.frontend.client.OKMException' threw an unexpected exception: java.lang.Error: Unresolved compilation problem: 

	at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)


Any clue on what exactly happened with my openkm installation ?
Thanks in advance
 #6212  by surajaya
 
Further investigation :
- All added document successfully inserted in the MySQL5 database, but not displayed in the WEB (user interface).
 #6218  by jllort
 
First concentrate in error and after with mysql.

Which java jdk version are your using with jboss and with which have you compiled OpenKM ?
Which GWT version are you using ?
 #6225  by surajaya
 
Here is my development environment :
- sun-java6. I'm sure that I have removed openjdk6 (default java runtime that comes with ubuntu lucid lynx).
- Jboss 4.2.3 GA
- GWT 1.5.3 (not sure about this, found 3 GWT version on maven repository 1.5.3, 1.6.4, 2.0.3 but not sure which one that's being used by the compiler)
 #6226  by surajaya
 
Finally solved. Just realized that during compilation process I installed some JAR file from file, and 1 of the file is a wrong one (maven complaining that it can't find some JAR on the net and I just search and download the file and install it). Replacing the wrong JAR file with the correct JAR file solved this problem :mrgreen: :D
 #6229  by jllort
 
Which was the wrong jar ? that could be user to other users, and we'll take a look about it.
 #6230  by surajaya
 
jodconverter.2.2.2.jar
Maven complaining that it unable to find those file from internet (during build). I search the net for that file, find a ZIP file that i thought the correct file so I simply rename it to JAR. I downloaded it and installed manually from command line.

It turn out that those file is indeed a ZIP file and further observation revealed that the JAR file is contained in those file (buried deep in some folder inside those ZIP file). Copying the right file, and then some other step like : mvn -U ...., mv -purge-local-repository.., etc followed by normal build resulting in a successful compilation :mrgreen:
 #6257  by jllort
 
Thanks for your answers, we'll take a look at maven repositories, could be happen some change that missed.

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.