Production Issue heap space error. Getting ERROR 503 Service not deployed

Hi,
I have deployed my web services (VAS services) in tomcat 6.0 in production .I am using axis2 1.4.1 as web service engine and apache 2.2 for httpd service. My problem is that in every 8-10 hrs when no of transactions increase, a problem occurs in my server and I get an “ERROR 503 service not deployed”. I don’t know the exact cause and solution to this problem. Presently every time I face this problem, I restart my httpd services and tomcat. Please help me to rectify this problem as this is hampering our business in a big way. I am sending the log details of catalina.log in tomcat’s log folder
17-Nov-2008 17:20:56 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet AxisServlet threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:21:33 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet AxisServlet threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:21:33 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet AxisServlet threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:21:36 org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)
at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121)
at org.apache.jk.core.MsgContext.action(MsgContext.java:301)
at org.apache.coyote.Response.action(Response.java:183)
at org.apache.coyote.Response.finish(Response.java:305)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:276)
at org.apache.catalina.connector.Response.finishResponse(Response.java:486)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:285)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Unknown Source)
17-Nov-2008 17:21:36 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet AxisServlet threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:23:31 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:23:31 org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
17-Nov-2008 17:23:31 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:23:31 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:23:31 org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)
at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121)
at org.apache.jk.core.MsgContext.action(MsgContext.java:301)
at org.apache.coyote.Response.action(Response.java:183)
at org.apache.coyote.Response.finish(Response.java:305)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:276)
at org.apache.catalina.connector.Response.finishResponse(Response.java:486)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:285)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Unknown Source)
17-Nov-2008 17:23:31 org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)
at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121)
at org.apache.jk.core.MsgContext.action(MsgContext.java:301)
at org.apache.coyote.Response.action(Response.java:183)
at org.apache.coyote.Response.finish(Response.java:305)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:276)
at org.apache.catalina.connector.Response.finishResponse(Response.java:486)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:285)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Unknown Source)
17-Nov-2008 17:23:34 org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
17-Nov-2008 17:23:34 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:604)
at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:186)
at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
at org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.java:110)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:287)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Unknown Source)
17-Nov-2008 17:23:34 org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
17-Nov-2008 17:23:34 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: Java heap space
17-Nov-2008 17:23:34 org.apache.catalina.core.ApplicationDispatcher invoke
Regards,
Paritosh
Edited by: anshu_299 on Nov 18, 2008 9:39 AM

Hi,
503 error comes when the client finds that the target server is not running or accessible.
Is the java system up and running? Check if the server nodes are up ?
check for the logs in work dir and if only server node is not coming up then check for default traces.
Amit.

Similar Messages

  • While generating the huge report getting Java Heap Space Error

    Hi All,
    We are using XML Publisher 5.6.2. we have to generate the huge report which contains more than 300 sql statements. Since our schema structure we can not reduce the queries. Now we are facing issue while generating the report. It takes lot of time and gives 'java heap space error'. We are using data template and RTF template for generating excel report.
    Can anybody help me to resolve the issue? or is there any other way to generate the huge reports?
    Thanks,

    Hi,
    I had seen the forum, but we had already adjusted the parameters in the oc4j "-XX:MaxPermSize=128m -Xmx512m" values to 4096. but still we are getting the java heap space error. since we increased the size of xmx value, XML Publisher occupies 61% of memory of the server. B'coz of this our other applications are getting affected.
    and also, since we are using XML Publisher 5.6.2, can you please assist us how to set the scalable property to 'true'.
    Thanks,
    Ramya.
    Edited by: user753355 on Aug 12, 2009 3:35 AM

  • LARGE Report | Heap space error | Scalable mode causes XDOIOException

    hi,
    we have a report that returns many records causing a fairly big memory consumption which results in a java heap space error.
    i have read the following post 'Error: Java Heap Space with the scalable mode setting.
    i activated the scalable mode feature for this report, however, after outputting the report again, i get the following exeption:
    oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to oracle.apps.xdo.XDOIOException
    i activated the setting via the xdo.cfg in the according report-folder. the .cfg looks like this:
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="xslt-scalable">true</property>
    </properties>
    </config>
    can somebody give me a hint in which direction i should look for the error? the exeption tells me nothing to be honest.
    the report works fine with less records - with activated scalable mode however ill get the exception.
    would be very glad for advice.
    thanks a lot.
    Oracle BI Publisher: 10.1.3.4.1

    - Which Application server are you using: OC4J, Weblogic?
    - Did you increase the app server heap size?
    - Enable the DEBUG mode to troubleshoot this issue: http://bichaos.blogspot.com/2011/04/enabling-log-messages-in-bi-publisher.html
    - Start testing a small rowset and then continue increasing it until you get the error.
    regards
    Jorge

  • Java Heap Space Error

    Hi,
    We are running SAP MII 12.0 on windows server 2003 SP1 installed on a virtual machine with 4GB RAM, Intel Xenon CPU E5504 @ 2.00 GHz.
    We started getting the Java Heap Space Error while executing a transaction which fetches about 200 rows. But now the error is quiet frequent and appears while trying to open or close the transactions or save trying to save data.
    I have edited the heap space in the config tool to 2048 but this has not helped. Not sure if this is of significance but the SAP R3 server being used is quiet slow and takes about 3 mins to return data when I run the BAPI on it. This resulted in the transaction timing out a few times before we started getting the error. Increasing the connection timeout and read timeout for the transaction has not helped.
    Please help me resolve this
    Thanks
    Maaz Ahmed

    The BAPI being used is BAPI_GOODSMVT_GETITEMS I am specifying the Material, Plant, Goods Mvt ranges, and a date range.
    I was informed that the QA R3 system is not among the best servers and the speeds would be better in production (under 3s).
    Also I have been looking at the sapmmc. Each time I restart the cluster or the server I get a series of messages or alerts. In these alerts I see a series (Content, Navigation, PRT, etc..) of health checks failing. And the last two errors are as below
    Object - Common Information
    Attribute - Failed to Start Application
    Description - 2 appl > 1 appl last reported value above threshold.
    and
    Object - Common Information
    Attribute - Failed to Start Application
    Description - 1 appl > 0 appl last reported value above threshold.
    I am able to launch the menu page after this and when i run the above mantioned BAPI I get the error
    Object - Memory Info
    Attribute - Usage Rate
    Description - 81% > 80% last reported value above threshold

  • Flash Builder 4.5 Java Heap Space Error

    Hello everyone,
    I've downloaded Flash Builder 4.5 trial a few days ago. Let me first tell that I like the new features a lot and they help to speed up the development process noticably. I thank Adobe for that very much.
    However I did not notice any performance boost over the Flash Buidler 4. Even worse, the 4.5 version seems to run much slower and use more memory than Flash Builder 4. I constantly keep getting Java Heap Space errors and needles to say, the tool just crashes and I have to restart it.
    Here how my experience working with the new version looks like. I start the Flash Builder 4.5 which has my current project open (for the record, I still use Flex 4.1, and the project includes roughly 300+ classes and 30000+ lines of code (AS and MXML)). At the beggining everything works fine and pretty fast. UI, code completion, snippets and all other good stuff works pretty fast. However, after each build, FlashBuilder.exe process eats up from 50 to 100 megabytes of memory and does not seem to release it or reuse it. So after a 5 or 10 builds it already appears to be using over 1 GB of RAM. At that point the editor becomes sloppy - it can't keep up with my typing, code completion popups takes a few seconds to show up. And a few more builds - the Flash Builder freezes and after a minute or two I get Java Heap Space error.
    I've tried increased the JRE heap space used by the Flash Builder (flashbuilder.ini, flashbuilderc.ini, eclipse.ini) to -Xms512m -Xmx1024m as well as permanent generation heap space to -XX:MaxPermSize=512m -XX:PermSize=256m and the mxml compiler (jvm.config) to -Xms384m -Xmx768m. However this did not solve the problem. Maybe just postponed it a bit.
    Am I the only one observing such behaviour of Flash Builder 4.5? Does any one have any other ideas how to fix this? (by the way, I work on 64bit machine with Widnows Server 2008R2, 4GB of RAM and 2.66 GHz Intel Core 2 Duo).
    Thanks in advance.
    Michael

    I'm seeing nearly the same thing.  I also have a very large set of projects similar to what you are describing and I do have Java Heap Space errors (The details show an error of "java.lang.OutOfMemoryError: unable to create new native thread" occurring for me)
    I had similar issues, although they are more frequent in the 4.5 builder, in the 4.1 builder.  In 4.1 builder, I didn't get the exact same detailed error regarding threads.
    I did install my flash builder into a clean instance of eclipse 3.6.2 vs using the standalone install.  That shouldn't make a difference though.  In 4.1, I tried he standalone install and saw the same issues I saw in the plugin version.
    I'm also using the 4.1 SDK in Flash Builder 4.5 (It appears that is what you are doing).  I've been attributing the crashes to the following bug in the 4.1 SDK, although I have applied the files in the bug report and still have the problem.  I'm hoping when I'm able to switch to the 4.5 SDK it may help.  (I can't switch yet because from what I can tell, it requires 10.2 Flash Player and my company is currently only on 10.0)
    The Bug Report I'm referring to is: https://bugs.adobe.com/jira/browse/SDK-26366
    I've bumped up all of the memory settings you've referred to and it helps the environment run longer, but it still eventually crashes.  One thing I definately do is make sure that the "Build Automatically" is unchecked.
    The machine I'm running on is an Intel 2600K with 16GB of memory running Windows 7 64-bit, so I don't think hardware is the issue.
    No real answer, but your not alone in having similar issues.
    Jon

  • Jva Heap space error

    hi.
    I'm creating an xml file using xerces parser.
    creation is fine ..
    but when i try to serialise my Document object using
    XMLSerialiser.serialize(xmlDoc);
    i get heap space error.
    i did the memory check and the memory consumption is betwenn 25% to 35%..
    is there any way i can optimize serialize function??
    or what can i do so that memory utilization is less.
    Thanx
    Richa

    thanx for the reply.
    if i'm not using Doc then what should i use?
    thanxUse SAX serializing instead.
    There are two forms of XML processing. SAX and DOM. DOM from the programmer's viewpoint is probably easier but it is more resource intensive.
    When you run into memory issues processing XML the best solution is thus usually to switch to SAX processing instead. This is a more scalable solution (and thus better then increasing the heap size).

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • Java Heap Space error while reading from Excel

    Hello,
    I have a data flow which reads from excel and updates records in an oracle table.
    When the data flow tries to read the excel I get a java Heap space Error.
    Error preparing to read <SUPP_STG3_FILE1>: <Java heap space>.
    Data flow <DF_SUPP_STG3_UPD> is terminated due to error <58105>.
    I have configured Excel Adapter since the server is on UNIX. BOExcelAdapter shows status as red once the execution fails. Before that BOExcel adapter status is green.
    BOExcelAdapter Trace:
    1/13/12 10:57:38 PM Thread[Thread-6,5,main]      Received an error message from the message broker. [Communication failure. Read timed out]. Will exit adapter immediately.
    1/13/12 10:57:47 PM Thread[main,5,main]      Create broker client for life-cycle management. Host:port = hikalxboes01:4001
    1/13/12 10:57:47 PM Thread[main,5,main]      Create broker client for data exchange with ASP. Host:port = hikalxboes01:4001. Client ID = com.acta.adapter.msexceladapter.MSExcelAdapter.data_18
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Create broker client for real-time services with ASP. Host:port = 'hikalxboes01:4000''.
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Start instance [BOExcelAdapter] of adapter [com.acta.adapter.msexceladapter.MSExcelAdapter].
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Register the client ID [com.acta.adapter.msexceladapter.MSExcelAdapter.data_18] and adapter destination [hikalxboes01:4001] with the adapter manager.
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Registration complete.
    1/13/12 10:58:10 PM Thread[Thread-10,5,main]      java.lang.OutOfMemoryError: Java heap space
         at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
         at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
         at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
         at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
         at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
         at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
         at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
         at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
         at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
         at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
         at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
         at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
    BOExcelAdapter Error Log:
    1/13/12 10:58:10 PM      java.lang.OutOfMemoryError: Java heap space
         at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
         at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
         at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
         at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
         at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
         at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
         at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
         at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
         at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
         at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
         at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
         at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)

    As Jay mentioned above it might be due to the size of the Excel spreadsheet as you might be hitting the limitation in Apache POI library used for adapter.
    What is the size of the Excel file?
    What is the value of -Xmx parameter - see DS Management Console > Adapter configuration page.
    Thank you,
    Viacheslav.

  • Java Heap Space Error in BI Publisher

    Hi,
    I have an issue with BIP reports.
    My report is working fine in development instance as it has very less data.
    But the same report is throwing "Java Heap Space" error in another instance which is having huge amount of data.
    I tried to modify the oc4j.cmd file by increasing the values -XX:MaxPermSize=128m -Xmx1024m.
    After restarting the oc4j serivices,my OBIEE and BIP URL's becomes dead slow.
    Is there any solution to improve the performance (or) is there any other way to resolve this issue.
    I am running on
    OBIEE 10.1.3.4.2.
    oc4j Server
    Windows box.
    Thanks in advance.
    Pramod.

    Changing os's may help, or it may not. Java requires contiguous memory addresses for the heap, and that varies with the os, os parameters, what has previously been loaded into memory, and how much physical memory is available. The heap can't be assigned to the os's swap space; the os handles paging in and out of memory. All modern os's provide paging to disk.

  • Recon task fails with Java heap space error

    Hi All,
    I have this annoying issue at the moment where a custom recon task will start, process a few users, and then end up with a java heap space error. The app server will then restart after a few minutes and run into the same problem and bomb out while continuing to fill the log file.
    This has only just started and nothing has changed in our environment so it baffles me as to why it has started. The recon task uses some code to do a lookup and then adds the users to certain groups.
    Error from log:
    10/12/12 17:41:03 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],AddGroup:107:addGroup(BR20, SCHOOLS, EMPOWER)
    10/12/12 17:41:03 Looking up
    DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    10/12/12 17:55:31 Running GETLOOKUP
    10/12/12 17:55:31 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],AddGroup:109:addGroup(MTH, CAMPUSES, EMPOWER)
    10/12/12 17:55:31 Looking up
    DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    ERROR,12 Dec 2010 18:01:18,108,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    APP SERVER RESTARTS...
    Then falls over again:
    10/12/12 18:12:26 Running GETLOOKUP
    10/12/12 18:12:26 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],AddGroup:119:addGroup(MTH, CAMPUSES, EMPOWER)
    10/12/12 18:12:26 Looking up
    DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    10/12/12 18:13:11 Running GETLOOKUP
    10/12/12 18:13:11 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 18:13:11,546,[UBOIM],AddGroup:107:addGroup(S&P, PORTFOLIOS, EMPOWER)
    10/12/12 18:13:11 Looking up
    DEBUG,12 Dec 2010 18:13:11,547,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    ERROR,12 Dec 2010 18:15:52,318,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    ERROR,12 Dec 2010 18:15:52,324,[XELLERATE.SERVER],Class/Method: tcKeylessDataObj/runInitialSelect encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: RESULT_TOO_LARGE_FOR_SERVERDetail: (none)Description: RESULT_TOO_LARGE_FOR_SERVERSQL State: Vendor Code: -1Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    What can I check/change given that this has happened out of no where. Only fix at the moment is to stop and start app server, but seems to fall over again on the same recon task.

    Error is just related to memory. Why don't you increase memory in your environment ?

  • Consequences of out of heap space errors

    Hello,
    I'm curious what are the consequences of an out of heap space error. If my application is running and I get a heap space error does this corrupt my application? If I had some variable x = 123 can a out of heap space error corrupt x to make it -123?
    Thanks

    Hello,
    I'm curious what are the consequences of an out of
    heap space error. If my application is running and I
    get a heap space error does this corrupt my
    application? If I had some variable x = 123 can a
    out of heap space error corrupt x to make it -123?
    No.
    Corrupt is to harsh of a word.
    However where you run out of space can make your application unusable. For example you might run out of space when loading a new class. Or when creating a new thread. Does your code account for that? If not then that could be a problem.
    On the other hand if you are creating a large data structure and at some point you run out of memory then if you just go back to where you started the creation and remove all references then it shouldn't impact your application.

  • Flash Builder 4.5 crashes frequently with heap space error

    We have a reasonably complex AIR application, but by and large I would not say it is enormous. It compiles down to an AIR file that is around 6MB. It is broken out into about 6 different modules. We have given the java VM the maximum RAM that it will utilize without complaining (somewhere around 768MB. You can't go to 1024MB or it blows up). Yet, Flash Builder crashes very frequently when trying to build, generally with "java heap space" errors. We are developing on Windows 7.
    I had hoped Flash Builder 4.5 would be an improvement over Flash Builder 4 in this regard. It in fact got worse.
    Is there any hope of seeing action on this?
    Kevin

    Hi Kevin,
    Eliminating this completely is definitely on our radar and a high priority.
    For now, there are a couple of things you can do to reduce the occurence of out of memory errors when building:
    1. Move all embedded fonts and images into an AS class in a library project.
    2. Edit the file: C:\Program Files\Adobe\Adobe Flash Builder 4.5\eclipse\plugins\com.adobe.flexbuilder.project_4.5.1.313231\.options in wordpad. Setting, useGlobalSwcCache and useApplicationCache to false will reduce the overall memory consumed, but decrease performance.
    P.S: Please note that 2 is not officially supported or tested. If those options were, they would have been in preferences.
    -Anirudh

  • Java Heap Space Error in Unix

    Will Java Heap Space error occur in Unix environment? I have problem with heap space error in Windows. Will it help if i switch to Unix platform? Does Unix swap memory to secondary storage when out of memory?

    Changing os's may help, or it may not. Java requires contiguous memory addresses for the heap, and that varies with the os, os parameters, what has previously been loaded into memory, and how much physical memory is available. The heap can't be assigned to the os's swap space; the os handles paging in and out of memory. All modern os's provide paging to disk.

  • How can I detect Java Heap Space Error?

    Is it possible to detect "Java Heap Space" error logged by Report Viewer Bean?
    It's displayed on screen and Console - but what about API?
    Can I catch it somewhere? Any isError() method? I tried isBusy(), but it does not work - after Heap Space Error, isBusy() still returns true...
    Edit:
    Sometimes, there is NullPointerException logged after Heap Space Error - in this case isBusy() is set to false after five minutes timeout.
    Edited by: mr. regis on Jan 17, 2011 10:27 AM

    Can you show me the link of the bug report?
    A.A.
    This type of functionality is supposed to exist via
    the dom,
    but I don't think it works as advertised in 1.4.x (bug
    reports).

  • Team Foundation Server 2013 update 4 New Install - Error 503 Service Unavailable for Sharepoint Central Admin

    Hello,
    I ran a new install of Team Foundation Server and let it install the built in SharePoint pieces on a single server setup. After the install i'm able to access the
    http://teamfoundation:8080/tfs/ address without issue but am unable to create a project. When I attempt to create a project I get the following error:
    TF30172: You do not have permission to create a new team project (when checking security i'm a member of the project collection administrators and Team Foundation Administrators)
    This led me to look at the sharepoint central administration site where I receive the following error:
    Error 503 Service Unavailable
    I've gone through and validated the identity is set correctly in IIS for the following services:
    SharePoint Central Admin v4
    SharePoint15AppPool
    The SharePoint Web Services Root is set as LocalService instead of the domain user.
    The identity domain user is setup as local administrator on the Team Foundation Server. They are all set to use .net v4.0.30319 with integrated Pipeline mode.
    Any help would be great!
    Thanks!
    Eric

    Hi Eric,      
    Thanks for your post.
    Please share your detailed team project creation log here.
    In your TFS Admin Console>>Extensions for SharePoint Products tab, ensure SharePoint Web Application shows correctly in the right panel. And go to TFS Admin Console>>Application Tier>>SharePoint Web Applications tab, ensure your SharePoint
    web application displays in the right panel, then select your SharePoint web application and click Repair Connection, ensure can repair successfully.
    In your IIS Manager, select your SharePoint Central Administration V4 site and click Browser:17012(http) in the right panel, check if your SharePoint Central site can be opened successfully or not. If your SharePoint Central site cannot be accessed, I think
    this issue relate to your SharePoint site, you should contact SharePoint experts to resolve this issue first. After you resolved this issue and your SharePoint Central Admin site can be accessed correctly, then try to create your team project(within SharePoint
    site) again, if there still has issue when creating team project, please share the detailed error message here, we will try to resolve it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Finder crashes when folder opens

    I have an external hard drive that i use to store files. The hard drive is formatted as FAT-32 in case that matters. Whenever I click on a certain folder, finder crashes and all the icons on my desktop disappear. They reappear a second later, but my

  • Automatic upload bank stmt.

    Hi,     I faced a problem when uploading the bank stmt into Tcode FF67 , the fields which r entered in my selection criteria went to selection screen of FF67, but i did not get the output , when the program executed directly the batch input is create

  • HT5628 how to install mac os x lion on ipad 4?

    How do I install Mac OS X Mountain Lion on my Ipad 4 without Jailbreak??????

  • SCCM 2012 SP1 CU4 migrated DP shows package status "unknown"

    I have a SCCM 2012 SP1 CU4 environment and have shared SCCM 2007 distribution points. Today I migrated one of the DP's which seems to work well. However all my packages shows now the status "unknown" for this migrated DP. This is a problem which shou

  • SCSM 2012 console crashes

    Hello ,    SCSM console crashes when i try to open the Service requests forms.It happens only when i open the closed requests.Below is the error. Description:   Stopped working Problem signature:   Problem Event Name: CLR20r3   Problem Signature 01: