MyDocumentum

Community with Real World Experience

 

Login

Adjust Java Method Server Memory PDF Print E-mail
Written by <a href="http://www.mydocumentum.net/component/comprofiler/userprofile/jazar">James Azarja</a>   
Wednesday, 18 February 2009 15:09

Tags See All Tags Add New Tag...

Please Enter New Tags Separated By Comma's
  Or Close


Copyright 2008. All Rights Reserved.

Question: An exception was throwed when JMS trying to invoke a web service:

java.lang.RuntimeException: Response Fault: Exception during processing: java.lang.OutOfMemoryError (see Fault Detail for stacktrace)
at com.documentum.bps.webservice.outbound.runtime.WebServiceClient.convertSOAPMessageToWSResponse(WebServiceClient.java:562)
at com.documentum.bps.webservice.outbound.runtime.WebServiceClient.invoke(WebServiceClient.java:338)
at com.documentum.bps.webservice.outbound.runtime.WebService.execute(WebService.java:214)
at com.documentum. BPM.services.BPSIntegrationFramework.executeService(BPSIntegrationFramework.java:239)
at com.documentum.bpm.services.BPSIntegrationFramework.executeMethod(BPSIntegrationFramework.java:76)
at com.documentum.bpm.services.BPSIntegrationMethod.executeMethod(BPSIntegrationMethod.java:30)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:125)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:278)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:63)
at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)

Answer:

From the error stack trace, there is a problem with Java Memory allocation (OutOfMemoryError), by default JMS was started with 256 MB, to change this setting (for Documentum 6.5 and 6.5 SP 1) go to C:\Documentum\jboss4.2.0\server (in Content Server machine), edit startMethodServer.cmd file.

1
2
3
4
5
set NOPAUSE=true
set USER_MEM_ARGS=-Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=512m -Xss256k -XX:+DisableExplicitGC -Xrs
set JAVA_OPTIONS=-Duser.name=Administrator
C:\Documentum\jboss4.2.0\bin\run -c DctmServer_MethodServer -b 0.0.0.0 %JAVA_OPTIONS%
 

 

Trackback(0)
Comments (2)Add Comment
0
Cool Stuff - wholesale cool gifts - unique gift ideas
written by cool stuff, August 26, 2010
very cool article ,thanks for sharing the article!like my cool stuff .very useful.
uCoolStuff is the leading China wholesaler for cool stuff, cool gifts, unusual gadgets and other unique gift ideas. We provide the very latest cool stuff and cool gifts for you
0
China Wholesale Directory - Top China Wholesalers
written by china wholesale directory, August 26, 2010
excellent article , I added you to my Top China Wholesalers category.. thanks for sharing the article!

Write comment

security code
Write the displayed characters


busy