Page 1 of 1

Memory leaks on Fedora 9 ?

PostPosted:Tue Jun 03, 2008 7:09 am
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.

Re:Memory leaks on Fedora 9 ?

PostPosted:Wed Jun 04, 2008 5:48 pm
by pavila
In Ubuntu with JDK 1.5 runs ok. You should search for Java or JBoss problems for Fedora.

Re:Memory leaks on Fedora 9 ?

PostPosted:Tue Jun 17, 2008 6:30 am
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

Re:Memory leaks on Fedora 9 ?

PostPosted:Tue Jun 17, 2008 10:47 am
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

Re:Memory leaks on Fedora 9 ?

PostPosted:Wed Jun 18, 2008 3:42 am
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.

Re:Memory leaks on Fedora 9 ?

PostPosted:Wed Jun 18, 2008 6:37 pm
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.

Re: Memory leaks on Fedora 9 ?

PostPosted:Thu Mar 05, 2015 7:26 am
by xpotwenty
description The server encountered an internal error () that prevented it from fulfilling this request.
????

Re: Memory leaks on Fedora 9 ?

PostPosted:Fri Mar 06, 2015 5:38 pm
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 )