• Memory leaks on Fedora 9 ?

  • 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.
 #609  by davegball
 
I get the following memory leak errors when running \'run.sh -b 0.0.0.0\' on a Fedora Core 9 system:

\"GC warning: repeated allocation of very large block: may lead to memory leak and poor performance\".

\'Top\' shows 100% utilization and \'cat /proc/meminfo\' shows very low free memory and dropping every second.

Is this a known issue?

DGB.
 #617  by pavila
 
In Ubuntu with JDK 1.5 runs ok. You should search for Java or JBoss problems for Fedora.
 #665  by davegball
 
Thanks. I was able to get OpenKM up and running on Ubuntu with a default Ubuntu install. However Fedora comes with GCJ rather than Sun JDK and OpenKM doesn\'t seem to like GCJ. I was able to fix the memory issues by installing openjdk on my Fedora 9 machine.

I was also getting webservices errors messages but with a little tweaking to turn off web Services as mentioned in an earlier post (referencing OpenKM.ear) I was able to get OpenKM up and running.

Now here\'s the thing. I have OpenKM running on port 8080 and I\'ve edited server.xml to bind to the external interface of my server however when I connect remotely to my Fedora server on 8080 I only get the Jboss admin page not OpenKM.

The last few lines of the OpenKM run.sh -b <my IP address> seem to imply that everything went ok. There are no error messages on the console. Any idea why I don\'t get the OpenKM login page?
Code: Select all
07:00:27,994 INFO  [EARDeployer] Started J2EE application: file:/opt/OpenKM-2.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
07:00:28,078 INFO  [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-10.1.1.1-8080
07:00:28,101 INFO  [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-10.1.1.1-8009
07:00:28,130 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 25s:291ms
 #667  by pavila
 
Don\'t touch server.xml file: there is no reason to do it. If you want JBoss to server to any IP (not only from localhost), start JBoss with
Code: Select all
./bin/run.sh -b 0.0.0.0
 #669  by davegball
 
This wasn\'t my issue. Here\'s how I fixed it.

1. Removed earlier OpenKM install.
2. Replace OpenJDK with Java 1.5
3. Lots of Webservices errors when running \'./run.sh -b 0.0.0.0\'.
4. Found an earlier link to needing Internet access to validate XML.
5. Set up JAVA_OPTS with my proxy as follows:

export JAVA_OPTS=\"-Dhttp.proxyHost=x.x.x.x -Dhttp.proxyPort=3128\"

NOTE: Linux http_proxy environment variable needs http:// but Java_OPTS only the IP address. This caught me out.
 #672  by jllort
 
If you\'ve got problems with Webservices, that needs internet connection ( know jboss bug not still solved ), one simple solution is to open OpenKM.ear -> OpenKM.war and remove the WEB_INF/wsdl directory (here\'s the xml webservices descriptor ). Doing it you\'ll disabling Webservices, but if you don\'t use you can drop it.
 #31517  by jllort
 
HI xpotwenty what openkm version do you got, because this is an older post and here are talking about older OpenKM version. If you got newer I suggest start new post ( indicate hardware, openkm version, and catalina.log error section )

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.