Hi,

I'm using WebSphere WebFacing tool to convert an old 5250 application and I am getting this error when I try to convert a particular application. I've tried increasing the java heap but this does not make any difference.

Would anyone know how to allocate more memory within websphere?

Thanks.

[02/02/10 8:18:37:278 PST] 00000028 SystemOut O Valid license not found. You have two trial connections.
[02/02/10 8:18:40:512 PST] 00000028 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet action. Exception thrown : java.lang.OutOfMemoryError:
at com.ibm.as400ad.webfacing.runtime.host.HJIRequestSet.parseReplies(HJIRequestSet.java:130)
at com.ibm.as400ad.webfacing.runtime.host.HJIRequestSet.submit(HJIRequestSet.java:159)
at com.ibm.as400ad.webfacing.runtime.host.HostJobInfo.submitRequests(HostJobInfo.java:841)
at com.ibm.as400ad.webfacing.runtime.controller.Request.displayScreen(Request.java:57)
at com.ibm.as400ad.webfacing.runtime.controller.ApplicationRequest.handleApplicationRequest(ApplicationRequest.java:225)
at com.ibm.as400ad.webfacing.runtime.controller.ApplicationRequest.processHostData(ApplicationRequest.java:571)
at com.ibm.as400ad.webfacing.runtime.controller.WFState.processRequest(WFState.java:99)
at com.ibm.as400ad.webfacing.runtime.controller.struts.actions.WebFacingAction.execute(WebFacingAction.java:240)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1521)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
at com.ibm.etools.iseries.webfacing.runtime.filters.WFCharacterEncodingFilter.doFilter(WFCharacterEncodingFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.etools.iseries.webfacing.runtime.filters.CompressionFilter.doFilter(CompressionFilter.java:47)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:759)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

[02/02/10 8:18:41:309 PST] 00000028 WebApp E SRVE0026E: [Servlet Error]-[action]: java.lang.OutOfMemoryError:
at com.ibm.as400ad.webfacing.runtime.host.HJIRequestSet.parseReplies(HJIRequestSet.java:130)
at com.ibm.as400ad.webfacing.runtime.host.HJIRequestSet.submit(HJIRequestSet.java:159)
at com.ibm.as400ad.webfacing.runtime.host.HostJobInfo.submitRequests(HostJobInfo.java:841)
at com.ibm.as400ad.webfacing.runtime.controller.Request.displayScreen(Request.java:57)
at com.ibm.as400ad.webfacing.runtime.controller.ApplicationRequest.handleApplicationRequest(ApplicationRequest.java:225)
at com.ibm.as400ad.webfacing.runtime.controller.ApplicationRequest.processHostData(ApplicationRequest.java:571)
at com.ibm.as400ad.webfacing.runtime.controller.WFState.processRequest(WFState.java:99)
at com.ibm.as400ad.webfacing.runtime.controller.struts.actions.WebFacingAction.execute(WebFacingAction.java:240)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1521)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
at com.ibm.etools.iseries.webfacing.runtime.filters.WFCharacterEncodingFilter.doFilter(WFCharacterEncodingFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.etools.iseries.webfacing.runtime.filters.CompressionFilter.doFilter(CompressionFilter.java:47)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:759)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

How much is "more" memory? At my current project we use Maven to start jetty, load the application etc. Because my system is 64bit instead of 512MB other members on my team uses I have to do it with 1500MB

Hi and thanks for you reply.

I'm not really sure how much we need. The laptop that I"m developing on and which hosts the test server has 2.5G of memory. I think the default JVM memory is 128M. I suppose I could increase it to 1G. WEbSphere dev studio is a memory hog, but 1G might be O.K.

I think I need to increase the heap through websphere somehow, but the only options I see in WebSPhere are for Java applications. I'm not developing a java application.

Thanks.

Problem solved. I deleted the profile i was working with, created a new one and I no longer get the error. I can't say why it worked unfortunately, but in case anyone else stumbles on this thread I used the

wasprofile -delete -profileName <profile_name>

command

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.