cancel
Showing results for 
Search instead for 
Did you mean: 

SAP bo SDK ireportappfactory hang on problem

Former Member
0 Kudos

Dear all,

I encountered a problem recently.

I used ireportappfactory to get repository info, the code like this,

but some err occurred,

[4/20/16 17:32:15:820 CST] 00000018 ThreadMonitor W   WSVR0605W: Thread "WebContainer : 2" (00000022) has been active for 649235 milliseconds and may be hung.  There is/are 2 thread(s) in total in the server that may be hung.

      at java.lang.Object.wait(Native Method)

      at java.lang.Object.wait(Object.java:196)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.request(Unknown Source)

      at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

      at hk.com.mtr.pcis.report.ReportCreator.prepareExportReport(ReportCreator.java:119)

      at hk.com.mtr.pcis.report.ReportCreator.getReportStream(ReportCreator.java:173)

      at hk.com.mtr.pcis.report.ReportCreator.exportReportToWebView(ReportCreator.java:265)

      at hk.com.mtr.pcis.report.ReportFactory.GenerateReport(ReportFactory.java:139)

      at hk.com.mtr.pcis.report.ReportFactory.GenerateReport(ReportFactory.java:105)

      at hk.com.mtr.pcis.web.servlet.Report.doGet(Report.java:337)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

      at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)

      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3826)

      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)

      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)

      at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)

      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)

      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)


I think it may has something to do with the firewall, so I open the necessary ports


But err still exists.


What should I do?


many thanks



Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

by the way, the client and server are in the same subnet,

if the code run in the server, everything is ok

Former Member
0 Kudos

Usually it happens when the report is taking long time to execute causing the application server to report that the processing thread is 'hung'.

Set the <CORBARequestTimeout> value in clientSDKOptions.xml file. You can find the file in the lib directory where you have all the BO jars.

Copy and place this file in your application's WEB-INF/classes folder, or alternatively, you can specify the location of the clientSDKOptions.xml file at run-time as below.

  • In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp").

Thanks,

Prithvi