Design fails co-sim when using DATAFLOW directive

hi, there's a function in my design that i want to turn on the DATAFLOW directive,
but whenever i do so the co-simulation fails,
and HLS warns that the RTL produces 'X' values.
the function looks like this:
void appKernel(const uint32_t in_buf[ROWS][COLS],
const uint32_t in2_buf[ROWS][COLS], uint32_t out_buf[ROWS][COLS]) {
#pragma HLS ARRAY_RESHAPE variable=out_buf complete dim=2
#pragma HLS ARRAY_RESHAPE variable=in2_buf complete dim=2
#pragma HLS ARRAY_RESHAPE variable=in_buf complete dim=2
#pragma HLS DATAFLOW
#pragma HLS INLINE off
uint32_t aryA_size;
uint32_t aryB_size;
uint32_t aryC_size;
double aryA[ARY_ROWS][ARY_COLS];
#pragma HLS ARRAY_RESHAPE variable=aryA complete dim=2
double aryB[ARY_ROWS][ARY_COLS];
#pragma HLS ARRAY_RESHAPE variable=aryB complete dim=2
double aryC[ARY_ROWS][ARY_COLS];
#pragma HLS ARRAY_RESHAPE variable=aryC complete dim=2
pre_process(in_buf, aryA_size, aryA);
pre_process(in2_buf, aryB_size, aryB);
linearR(aryA_size, aryA, aryB_size, aryB, aryC_size, aryC);
post_process(aryC_size, aryC, out_buf);
After looking into the trace waveform i found this:
You can see that the "aryC" ping-pong buffer was written into it 'X' values at the addr 22.
However at the upper part of waveform, the ap_start, ap_continue, ap_done handshakes for "linearR" looks fine.
Also, the design works correctly when DATAFLOW was not used.
The "linearR" function at its end writes to "aryC" in a for loop that looks like this:
loop_ary_rows: for (int i = 0; i < num_beat; i++) {
#pragma HLS PIPELINE II=1
#pragma HLS LOOP_TRIPCOUNT min=1 max=32
loop_ary_cols: for (int j = 0; j < ARY_COLS; j++) {
a[j + 3] = aryA[i + 1][j];
b[j] = aryB[i][j];
if (a[j] == b[j])
aryC[i][j] = 5.0;
else
aryC[i][j] = 7.0;
a[0] = a[4];
a[1] = a[5];
a[2] = a[6];
So, what is wrong and how do i go about debugging it ?

Hi ,
2014.4 is not the latest one. We have released 2015.1 & now the latest one is 2015.2.
Yes, 2015.2 is much stable compared to 2014.4. Please check in 2015.2. I can check for you in 2015.2. Please attach the archived project here.

Similar Messages

  • Crystal 2011 getting Logon failed IM004 error when using ODBC (RDO)

    I just installed Crystal Reports 2011 on Windows 7 Ultimate SP1.  Sporadically, but way too often (I would estimate about 60% of the time), when I go to set up an ODBC (RDO) connection or refresh an existing report and enter the password, I get the following error:
    Logon failed.
    Details: IM004:[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_Handle_ENV failed
    Other times, it just works, with no changed made.  It seems to work slightly more often when using the SQL Server driver (the one for SQL 2000) as opposed to the SQL Native Client or SQL Server Native Client 10.0 drivers.  But not often enough for that to be the solution.
    I have tested this with a locally installed SQL Server (on the same machine as Crystal Reports) and remote SQL Servers, with SQL 2000, 2005 and 2008.  Same results.
    I have Crystal Reports 2008 installed on the same machine and have not once had this problem.  I have tried using the same ODBC connections I already had from Crystal 2008 with Crystal 2011 and also to create new ones, same results either way.
    Is this a known issue, or is there a switch/setting I need to change to make this work consistently?  I am especially puzzled by the fact that it seems random, I have not been able to find any pattern at all.

    Hi Victoria,
    MS SQL Server 2008 has a client install now, the MDAC/WDAC doesn't install it as MS used to do with all of their OS's. CR also had to update the use of SQL Server 2008 to include the SQLNCLI10 client engine.
    I suggest, if you have not already, install the Native 10 client from either the SQL Server CD or you can download the MSI from MS's site and only use the Native 10 driver.
    MS kind of dropped ODBC and moved to OLE DB. The native client actually uses the OLE DB driver so using ODBC just puts another layer on top of OLE DB anyways. It's more convenient to use ODBC for deploying applications but it can affect performance.
    Anyways, as noted, CR 2011 is still in Ramp up mode so this issue may have been tracked. If not though you can purchase a support case, if it's a bug then you'll get a refund, if it's a limitation in MS then no refund.
    There is [SP 1 for CR 2011|https://smpdl.sap-ag.de/~sapidp/012002523100007683092011E/cr2011sp1.exe] - http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    Seems to be a problem with that page right now so try again later... and apply SP 1 or wait until it goes GA and test again. If it's still an issue then you can log a case.
    Firefox just got updated and it's failing, IE works though...
    Thanks again
    Don
    Edited by: Don Williams on Jun 22, 2011 8:51 AM

  • E5-00 fails to deblock when used with paired bluet...

    When using the E5 with the Toyota bluetooth carkit, it fails to deblock itself. Answering calls is not a problem as the E5 auto-deblocks upon receiving a call, but dailing via the carkit does not lift the block. As a result, I must first deblock it manually by entering the deblocking code which only solves the problem for a few minutes. Disabling auto-deblocking is not an option, as it would make the data on the phone vulnerable in case the phone would be lost/stolen. (This is about the code-block and not about the unprotected keypad block.) I have succesfully used HTC's and older Nokia's on the same carkit without this problem arising and my E5 software is up to date. Does anyone know how to arrange an auto-deblock when a bluetooth-paired device is being used like a carkit? Thanks!  

    Maybe a silly question, but is the Toyota car kit set as authorised ?
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Page designer show small view when using page template and cannot be run

    Dear Experts,
    I need to make some page templates.
    I have build 2 simple page templates, let say template0 & template1 which template1 using template0.
    It show no any problem until I close my Jdeveloper & reopen it.
    When I reopen template1, it show so small in designer (Jdeveloper window).
    Is there any wrong?
    I have build another template, just 1 template.
    When I used it at the first time, no any strange behavior occur.
    After ... (I don't exactly when), it give me the same view in my designer.
    Then I force to use my first tempate (template1 which used template0 inside), I cannot run my application at all.
    After wait several minutes, I found error log in my log messages.
    *#### Server Instance DefaultServer could not be started: Server Instance was terminated.*
    Above the message, I found another error messages:
    *Jun 7, 2009 5:40:19 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: null/tag:xmlContent/id:dte_160d74a
    org.xml.sax.SAXParseException: <Line 69, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
    *     at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)*
    Is there anyone that can help me to find out why this error occured?
    Should I raise this problem to metalink or just can post it in this forum?
    Many thanks for your supporting...
    N.B: Below I attach my template0 (AHM000.jspx) and template1 (AHM001.jspx)
    Best regards,
    Dominic Chandra
    AHM000.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM000"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:panelSplitter orientation="vertical" splitterPosition="60">
    <f:facet name="first">
    <af:decorativeBox theme="dark" topHeight="0px">
    <f:facet name="center">
    <af:panelHeader text="#{attrs.pageTitle}">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend">
    <af:panelGroupLayout>
    <af:outputText value="#{attrs.pageName}"/>
    <af:outputText value="#{sessionScope.userState.userName}"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="info">
    <af:statusIndicator/>
    </f:facet>
    </af:panelHeader>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter orientation="vertical" positionedFromEnd="true"
    splitterPosition="20">
    <f:facet name="first">
    <af:decorativeBox theme="light" topHeight="0px">
    <f:facet name="center">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout inlineStyle="text-align:right;">
    <af:outputText value="#{ahmwebtemplateBundleAHM000.VERSION} #{attrs.appVersion}"
    inlineStyle="color:Navy;"/>
    <af:outputText value="© 2009 PT Astra Honda Motor"
    inlineStyle="color:Navy; font-weight:bold;"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM000</display-name>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    </component>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>
    AHM001.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM001"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:pageTemplate viewId="/template/AHM000.jspx">
    <f:facet name="mainArea">
    <af:panelSplitter splitterPosition="#{attrs.searchAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="searchArea"/>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter positionedFromEnd="true"
    splitterPosition="#{attrs.infoAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="second">
    <af:facetRef facetName="infoArea"/>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:attribute name="pageTitle"
    value="#{attrs.pageTitle}"/>
    <f:attribute name="pageName" value="#{attrs.pageName}"/>
    <f:attribute name="appVersion" value="#{attrs.appVersion}"/>
    </af:pageTemplate>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM001</display-name>
    <facet>
    <description>Search Area</description>
    <facet-name>searchArea</facet-name>
    </facet>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <facet>
    <description>Info Area</description>
    <facet-name>infoArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    searchAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    infoAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    </component>
    <af:decorativeBox>
    <f:facet name="center"/>
    <f:facet name="top"/>
    </af:decorativeBox>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • "Filter failed" in CUPS when using IPP (HP LaserJet 500 color M551)

    I have two ArchLinux machines, one with HP LaserJet 500 color M551 connected over USB and another one on the same network. Printing over network (ipp) doesn't work: CUPS on the client says "Filter failed", so the job doesn't even reach the server. Printing directly from the server works perfectly fine, there's no "Filter failed" message and it just prints.
    Both machines have the same ArchLinux installation, they are both x86_64, they have hpijs installed and the same PPD selected. This WiKi entry didn't help and the printer differs from the one discussed here, so it doesn't seem to be a well-known issue. :-(
    I tried to reinstall the printer on the client many times, using both DNSSD and direct URI input. All this seems to work fine. The filter that fails is probably /usr/lib/cups/filter/hpps, but I have no idea how to get debugging info from it, i.e., why it fails etc. The same filter works just fine on the server.
    I thought this might have something to do with the distinction between PostScript and the HP PCL variants. Enabling Adobe TBCP should fix this by adding the appropriate binary metadata and escaping things as needed... However, switching TBCP on in the CUPS printer settings stopped the printer from working. The printer appeared to be OK and responsive, but simply didn't print anything. Disabling TBCP fixed this on the server, but the client shows the "Filter failed" message, no matter what's happening on the server.

    I have similar problems with network printing (from various 32-bit and 64-bit Arch systems) producing 'Filter failed' messages, while directly printing from the CUPS server - with USB connection to the device - works as expected. My all-in-one device is an HP Photosmart C4480 and everything worked fine a few weeks ago. (Ironically, I can get network scanning using Xsane!) I've tried reinstalling, and various drivers to no avail.
    It's very frustrating, and I think I've tried everything suggested in the Wiki.
    Added later, after setting 'LogLevel debug' in cupsd.conf:
    D [21/Aug/2013:22:19:57 +0100] [Job 18] Adding start banner page "none".
    D [21/Aug/2013:22:19:57 +0100] [Job 18] Queued on "hpc4480" by "anonymous".
    D [21/Aug/2013:22:19:57 +0100] [Job 18] File of type application/vnd.cups-raster queued by "anonymous".
    D [21/Aug/2013:22:19:57 +0100] [Job 18] Adding end banner page "none".
    D [21/Aug/2013:22:19:57 +0100] [Job 18] time-at-processing=1377119997
    D [21/Aug/2013:22:19:57 +0100] [Job 18] 1 filters for job:
    D [21/Aug/2013:22:19:57 +0100] [Job 18] hpcups (application/vnd.cups-raster to printer/hpc4480, cost 0)
    D [21/Aug/2013:22:19:57 +0100] [Job 18] job-sheets=none,none
    D [21/Aug/2013:22:19:57 +0100] [Job 18] argv[0]="hpc4480"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] argv[1]="18"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] argv[2]="anonymous"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] argv[3]="Test Page"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] argv[4]="1"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] argv[5]="job-uuid=urn:uuid:febcff1d-2cc5-3058-4c2f-c420e625e3ec job-originating-host-name=192.168.1.11 time-at-creation=1377119989 time-at-processing=1377119997"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] argv[6]="/var/spool/cups/d00018-001"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[1]="CUPS_DATADIR=/usr/share/cups"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[6]="CUPS_SERVERROOT=/etc/cups"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[7]="CUPS_STATEDIR=/run/cups"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[8]="HOME=/var/spool/cups/tmp"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[10]="[email protected]"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[11]="SOFTWARE=CUPS/1.6.3"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[12]="TMPDIR=/var/spool/cups/tmp"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[13]="USER=root"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[14]="CUPS_MAX_MESSAGE=2047"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[16]="CUPS_ENCRYPTION=IfRequested"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[17]="IPP_PORT=631"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[18]="CHARSET=utf-8"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[19]="LANG=en_GB.UTF-8"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[20]="PPD=/etc/cups/ppd/hpc4480.ppd"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[21]="RIP_MAX_CACHE=128m"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[22]="CONTENT_TYPE=application/vnd.cups-raster"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[23]="DEVICE_URI=hp:/usb/Photosmart_C4400_series?serial=MY842FM2150557"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[24]="PRINTER_INFO=HP Photosmart C4480"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[25]="PRINTER_LOCATION=ninian"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[26]="PRINTER=hpc4480"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[27]="PRINTER_STATE_REASONS=none"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[28]="CUPS_FILETYPE=document"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] envp[29]="AUTH_I****"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] Started filter /usr/lib/cups/filter/hpcups (PID 8978)
    D [21/Aug/2013:22:19:57 +0100] [Job 18] Started backend /usr/lib/cups/backend/hp (PID 8979)
    D [21/Aug/2013:22:19:57 +0100] [Job 18] prnt/hpcups/HPCupsFilter.cpp 548: cupsRasterOpen failed, fd = 5
    D [21/Aug/2013:22:19:57 +0100] [Job 18] PID 8978 (/usr/lib/cups/filter/hpcups) stopped with status 1.
    D [21/Aug/2013:22:19:57 +0100] [Job 18] Hint: Try setting the LogLevel to "debug" to find out more.
    D [21/Aug/2013:22:19:57 +0100] [Job 18] prnt/backend/hp.c 839: ERROR: null print job total=0
    D [21/Aug/2013:22:19:57 +0100] [Job 18] PID 8979 (/usr/lib/cups/backend/hp) exited with no errors.
    D [21/Aug/2013:22:19:57 +0100] [Job 18] End of messages
    D [21/Aug/2013:22:19:57 +0100] [Job 18] printer-state=3(idle)
    D [21/Aug/2013:22:19:57 +0100] [Job 18] printer-state-message="Filter failed"
    D [21/Aug/2013:22:19:57 +0100] [Job 18] printer-state-reasons=none
    Crucial error seems to be: prnt/hpcups/HPCupsFilter.cpp 548: cupsRasterOpen failed, fd = 5
    Last edited by ninian (2013-08-21 21:28:58)

  • Jvm startup fails with error when using large -Xmx value

    I'm running JDK 1.6.0_02-b05 on RHEL5 server. I'm getting error when starting the JVM with large -Xmx value. The host has ample memory to succeed yet it fails. I see this error when I'm starting tomcat with a bunch of options but found that it can be easily reproduced by starting the JVM with -Xmx2048M and -version. So it's this boiled down test case that I've been examining more closely.
    host% free -mt
    total used free shared buffers cached
    Mem: 6084 3084 3000 0 184 1531
    -/+ buffers/cache: 1368 4716
    Swap: 6143 0 6143
    Total: 12228 3084 9144
    Free reveals the host has 6 GB of RAM, approximately half is available. Swap is totally free meaning I should have access to about 9 GB of memory at this point.
    host% java -version
    java version "1.6.0_02"
    Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
    Java HotSpot(TM) Server VM (build 1.6.0_02-b05, mixed mode)
    java -version succeeds
    host% java -Xmx2048M -version
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    java -Xmx2048M -version fails. Trace of this reveals mmap call fails.
    mmap2(NULL, 2214592512, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
    Any ideas?

    These are the relevant java options we are using:
    -server -XX:-OmitStackTraceInFastThrow -XX:+PrintClassHistogram -XX:+UseLargePages -Xms6g -Xmx6g -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=128m -XX:MaxPermSize=192m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true
    This is a web application that is very dynamic and uses lots of database calls to build pages. We use a large clustered cache to reduce trips to the database. So being able to acces lots of memory is important to our application.
    I'll explain some of the more uncommon options:
    We use the Concurrent Garbage collector to reduce stop the world GC's. Here are the CMS options:
    -XX:+UseConcMarkSweepGC
    -XX:+CMSClassUnloadingEnabled
    -XX:+CMSPermGenSweepingEnabled An explicit coded GC invokes the Concurrent GC instead of the stop the world GC.
    -XX:+ExplicitGCInvokesConcurrentThe default PermSizes where not large enough for our application. So we increased them.
    -XX:PermSize=128m
    -XX:MaxPermSize=192mWe had some exceptions that were omitting their stack traces. This options fixes that problem:
    -XX:-OmitStackTraceInFastThrowWe approximate between 10% to 20% performance improvement with Large Page support. This is an advance feature.
    -XX:+UseLargePagesUseLargePages requires OS level configuration as well. In SUSE10 we configured the OS's hugepages by executing
    echo "vm.nr_hugepages = 3172" >> /etc/sysctl.confand then rebooting. kernel.shmmax may also need to be modified. If you use Large Page be sure to google for complete instructions.
    When we transitioned to 64bit we transitioned from much slower systems having 4GB of ram to much faster machines with 8GB of ram, so I can't answer the question of degraded performance, however with our application, the bigger our cache the better our performance, so if 64bit is slower we more than make up for it being able to access more memory. I bet the performance difference depends on the applications. You should do your own profiling.
    You can run both the 32bit version and the 64bit version on most 64bit OSes. So if there is a significant difference run the version you need for the application. For example if you need the memory use the 64bit version if you don't then use the 32bit version.

  • Popup LOV fails in firefox when using an outer join!!!

    I have a popup lov which contains at least 2 outer joins in my query. The popup renders fine in IE but i get the error message:
    "Popup List of Values query is invalid, a display and a return value are needed, the column names need to be different"
    when launching the popup from Firefox (1.5.0.2)
    Anyone got any idea why this works in IE but fails in Firefox?
    Cheers
    Duncan

    Hello,
    Duncan – If you'll run your example code on SQL*Plus, you'll see that for department "OPERATIONS" there is no returned value. This could happen with outer join. The problem can be with the way FF is interpreting this non-value. I didn't try it my self, but maybe if you'll use display null value with your LOV, it will solve the problem. Another possible option is to use NVL() on the returned value.
    Chris – Some of the Apex team members, like Carl, are using FF as their main browser. There are some compatibility issues with the last version of FF, but from that, to your conclusion of Apex only support IE, there's a long road.
    Regards,
    Arie.

  • Failed to GENERATEPDF when using checkbox UI element

    Hello everybody,
    I have a small interactive form, which works perfect as long as I do not use a context boolean element as type checkbox in the interactive form. As soon as I use a checkbox I get following exception underneath.
    I user Netweaver developer Studio SAP NetWeaver Developer Studio
    Version: 7.0.13
    Build id: 200708072056
    and Adobe LiveCycle Designer 7.1 including the patch.
    Regards
    Michael
    com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../vitra.com/invests/InvestApproval/~wd_key120_1225194243347/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=b00e34d1a4e511ddc2780011855f4200&sap-wd-appwndid=b00e34d2a4e511ddca990011855f4200&sap-wd-norefresh=X
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:406)
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  GENERATEPDF
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:419)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)

    Check the following:
    Form - Properties - Layout Type = ZCI
    Checkbox -> Object Palette -> Binding Tab
    On Value
    Off Value
    By default Adobe has on value = 1 and off value = 0.
    What do you have in your context (X/space or 1/0)
    If you have X and space in your context, change in adobe.
    Regards,
    Reema.

  • Period 000 failing data load when using formula FISCPER_CALMONTH

    Hello all,
    I am having issue with my data loads from yesterday, I am using this formula to get calendar month FISCPER_CALMONTH( FISCPER, FISCVAR, FISCYEAR, 0 ).
    But my data loads fail when the FISCPER is 2008000 at this formula with error message
    "An error occured in a function of the formula
    Message no. RS_EXCEPTION000"
    We are using the fiscal year variant N6, is there any other setting that we need to do on BW side.
    Thanks in advance

    Hello Manfred,
    This is what my table T009B looks like for N6 variant, so how do I modify this ?
    Fi.Year Variant Year Calendar month Calendar day Posting period Year shift
    N6              0000 01             31           007            0
    N6              0000 02             29           008            0
    N6              0000 03             31           009            0
    N6              0000 04             30           010            0
    N6              0000 05             31           011            0
    N6              0000 06             30           012            0
    N6              0000 07             31           001            +1
    N6              0000 08             31           002            +1
    N6              0000 09             30           003            +1
    N6              0000 10             31           004            +1
    N6              0000 11             30           005            +1
    N6              0000 12             31           006            +1

  • How to upgrade Data Modeler design to new version when using subversion?

    Hi,
    I just installed Data Modeler 3.1 product version and I'm using subversion. When I open a design which I have modified with earlier 3.1EA3 version, I get the message " This design is in old format You should use "Save as... from file menu ...
    Is there other more smart way to upgrade to new version than "save as" ? I remember having problems in earlier versions with this also. Am I supposed to save the design with different name or...? Or what is the best way?

    Hi ,
    I have updated the model to 3.1 version with subversion and I have to say that is quite hard for me,
    I have "save as" with other name in other folder and after I have dropped from SVN my current folder and copy the new files to new folder in SVN and add the files to SVN,
    I hope that I should not do this workaround too many times in future,
    maybe if we save the model below a folder with the version number of the tool will help us but I don't like this option,
    I guess someone could help us with a simpler solution than mine,
    Regards

  • Reports6i reports fail to run when used with parameters

    Hi there,
    I have successfully got reports 6i integrated with Portal. I can expose a report into a content area and run it as type HTMLCSS etc.
    However, when I change the report component to use the parameters it all goes wrong. I have added the user parameters in my report in the portal report definition 'edit' settings and made them visible via the customize option. I have then edited the properties for the item in the content area and turned on the parameter form.
    When I click on the item to run the report the parameter screen is displayed (with unfriendly P_PARAM_1 style titles which I would also like to change) and I enter the values and run the report. It bombs out with:
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-0248: Security check failed
    Error sequence number is: 17
    Error code30005 - Cannot access the output format:HTML
    In package:wwv_rw_usr function:security_check
    Command line is: server=Rep60_quay-street15 report=glf001aaaaa.rep destype=Cache desformat=HTML rundate="15-FEB-02 02:02:22" P_ACC_FROM="04202" P_ACC_TO="04202" P_COMPANY="Total" P_COST_CENTR="Total" P_EMPLOYEE="Total" P_END_ATTR_VAL="ZZ" P_PERIOD="DEC-01" P_PROGRAM="Total" P_REPORT_TYPE="Account Owner" P_SPARE="Total" P_START_ATTR_VAL="0" WEBDBVERSION="3" WWVRW_LOG_ID_="1" WWVRW_STIME_="-1701052885" SESSION_ID="993046001106" USERID="crystal@offm11"
    Executed on:02/15/02 02:02:22
    The parameter form in Reports works fine. Do I need to change anything for web based parameter forms?
    Any ideas?
    John

    Ok, got it working by ensuring that I have displayed the DESFORMAT to the parameter screen. Weird! Must you always display System Parameters?
    I would still like to change the parameter titles on the parameter screen. Can this be done?

  • Any limited access of international sim when using ipad cellular?

    if i purchased an Ipad in Singapore, is it usual to use Vietnam nano sim without any limitation? Do i have any other actions for setting up? (as I've seen in the website ipad wifi + cellular in Sing selling with contract with Star hub, singtel..etc?

    Yes I know. I work for an Investment Bank and luckily I had my iPhone to hand. The bank is/was considering the iPAD as an option for travellers but Apple need this to be sorted first. In the meantime simply remove the batteries from the keyboard when travelling. Other than this problem it's fantastic. I got loads done on the plane and happy to report I got 9hours of typing, music and video out of it during a flight from Heathrow to Vancouver and it was still showing 20% power left !!!! Brilliant !!!! Oh ... and Airport security didn't ask me to take it out of my briefcase like they do with my laptop.

  • Preparation failed in trex when using standard Who's who iview

    Hi,
    I have encountered a problem with the standard Who's who iview, which makes a simple search in the ume impossible.
    All users "preparation fails" with the following error from Trex monitor > Display queue entries:
    Document ID: /ume/users/USER.PRIVATE_DATASOURCE.un%3Ar5mas.usr, Return Code: 16040, Return Message: SSL: rc=-40 pse_error, Document Status: Prepration failed, Action: Index, Retry Count: 3.
    I'm working on Netweaver '04, stack 9, installed from rapid installer.
    Any help is greatly appreciated.
    Regards,
    Martin
    Message was edited by: Martin Søgaard

    Just in case anyone happens to stumble across this thread via search, the error 16040 means that your user doesn't have permission to read the PSE it's trying to open. You'll get errors like this in one of your trace files:
    [Thr 1224] =================================================
    [Thr 1224] = SSL Initialization  on  PC with Windows NT
    [Thr 1224] =   (710_REL,Jul 15 2010,mt,ascii,SAP_UC/size_t/void* = 8/64/64)
    [Thr 1224] =   found SAPCRYPTOLIB  5.5.5C pl36  (Jul  3 2013) MT,[aesni],NB
    [Thr 1224] =   current UserID: SAPDOMAIN\SAPServiceSID
    [Thr 1224] =   found SECUDIR environment variable
    [Thr 1224] =   using SECUDIR=E:\usr\sap\SID\TRX00\sec
    [Thr 1224] *** ERROR =>   secudessl_Create_SSL_CTX():  PSE "SAPSSLS.pse" not found! [ssslsecu.c   1354]
    [Thr 1224] secudessl_Create_SSL_CTX: SSL_CTX_set_default_pse_by_name() failed --
    [Thr 1224]   secude_error 1281 (0x00000501) = "open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned"
    [Thr 1224] >> ---------- Begin of Secude-SSL Errorstack ---------- >>
    [Thr 1224] ERROR in SSL_CTX_set_default_pse_by_name: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] ERROR in ssl_set_pse: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] ERROR in af_open: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] ERROR in secsw_open: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] ERROR in secsw_open_pse_or_extension: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] ERROR in sec_get_PSEtype: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] ERROR in aux_read_PSEFile: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] ERROR in aux_file2OctetString: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
    [Thr 1224] << ---------- End of Secude-SSL Errorstack ----------
    [Thr 1224] *** ERROR => SapISSLAddCredential(): Error SSSLERR_PSE_ERROR trying to create SERVER Credential
            for "SAPSSLS.pse" [ssslxxi.c    2278]
    [Thr 1224] *** ERROR => Initialization of SSL library failed -- NO SSL available!
    [Thr 1224] =================================================

  • W2k3 Auth failed with KRB5KDC_ERR_ETYPE_NOSUPP when using DES

    We are authenticating users on AD server 2k3, and the users are setup in AD to use DES (checked "Use DES encryption types for this account" in user properties).
    It failed somehow with ETYPE_NOSUPP. From the packet capture, I can find KRB5 AS-REQ contains des-cbc-crc/des-cbc-md5/des-cbc-md4 as encryption types.
    This is the request:
    ++++++++++ REQUEST ++++++++++++++++
    Kerberos AS-REQ
    Pvno: 5
    MSG Type: AS-REQ (10)
    padata: PA-ENC-TIMESTAMP
    Type: PA-ENC-TIMESTAMP (2)
    Value: 303ba003020117a2340432482d36ca7556ebf719421fc8b4... rc4-hmac
    Encryption type: rc4-hmac (23)
    enc PA_ENC_TIMESTAMP: 482d36ca7556ebf719421fc8b4530cfea187d35318fd63bd...
    KDC_REQ_BODY
    Padding: 0
    KDCOptions: 00000010 (Renewable OK)
    .0.. .... .... .... .... .... .... .... = Forwardable: Do NOT use forwardable tickets
    ..0. .... .... .... .... .... .... .... = Forwarded: This is NOT a forwarded ticket
    ...0 .... .... .... .... .... .... .... = Proxiable: Do NOT use proxiable tickets
    .... 0... .... .... .... .... .... .... = Proxy: This ticket has NOT been proxied
    .... .0.. .... .... .... .... .... .... = Allow Postdate: We do NOT allow the ticket to be postdated
    .... ..0. .... .... .... .... .... .... = Postdated: This ticket is NOT postdated
    .... .... 0... .... .... .... .... .... = Renewable: This ticket is NOT renewable
    .... .... ...0 .... .... .... .... .... = Opt HW Auth: False
    .... .... .... ..0. .... .... .... .... = Constrained Delegation: This is a normal request (no constrained delegation)
    .... .... .... ...0 .... .... .... .... = Canonicalize: This is NOT a canonicalized ticket request
    .... .... .... .... .... .... ..0. .... = Disable Transited Check: Transited checking is NOT disabled
    .... .... .... .... .... .... ...1 .... = Renewable OK: We accept RENEWED tickets
    .... .... .... .... .... .... .... 0... = Enc-Tkt-in-Skey: Do NOT encrypt the tkt inside the skey
    .... .... .... .... .... .... .... ..0. = Renew: This is NOT a request to renew a ticket
    .... .... .... .... .... .... .... ...0 = Validate: This is NOT a request to validate a postdated ticket
    Client Name (Principal): test
    Name-type: Principal (1)
    Name: test
    Realm: SRV.MYTESTSERVER.LOC
    Server Name (Unknown): krbtgt/SRV.MYTESTSERVER.LOC
    Name-type: Unknown (0)
    Name: krbtgt
    Name: FP.DEREKTESTING.COM
    from: 2011-04-07 08:10:06 (UTC)
    till: 2011-04-08 08:10:06 (UTC)
    Nonce: 1302163806
    Encryption Types: aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 des3-cbc-sha1 rc4-hmac des-cbc-crc des-cbc-md5 des-cbc-md4
    Encryption type: aes256-cts-hmac-sha1-96 (18)
    Encryption type: aes128-cts-hmac-sha1-96 (17)
    Encryption type: des3-cbc-sha1 (16)
    Encryption type: rc4-hmac (23)
    Encryption type: des-cbc-crc (1)
    Encryption type: des-cbc-md5 (3)
    Encryption type: des-cbc-md4 (2)
    ++++++++++ REQUEST ++++++++++++++++
    And this is the response:
    ++++++++++ RESPONSE ++++++++++++++++
    Kerberos KRB-ERROR
    Pvno: 5
    MSG Type: KRB-ERROR (30)
    stime: 2011-04-07 08:10:06 (UTC)
    susec: 247525
    error_code: KRB5KDC_ERR_ETYPE_NOSUPP (14)
    Realm: SRV.MYTESTSERVER.LOC
    Server Name (Unknown): krbtgt/SRV.MYTESTSERVER.LOC
    Name-type: Unknown (0)
    Name: krbtgt
    Name: SRV.MYTESTSERVER.LOC
    e-data
    padata: PA-ENCTYPE-INFO
    Type: PA-ENCTYPE-INFO (11)
    Value: 30443020a003020103a119041746502e444552454b544553... des-cbc-md5 des-cbc-crc
    Encryption type: des-cbc-md5 (3)
    Salt: 46502e444552454b54455354494e472e434f4d6a69616e
    Encryption type: des-cbc-crc (1)
    Salt: 46502e444552454b54455354494e472e434f4d6a69616e
    ++++++++++ RESPONSE ++++++++++++++++
    What could have possibly gone wrong? I also tried to reset the passwords of administrator and the user and restart the kdc services. It didn't help.
    Thanks.

    I am not sure, the exact behaviour must be specified somewhere, but I was not able to find any precise documentation on the topic. It may be, that the DC preferes AES if allowed by the client and it may colide with the setting on the user account.
    Anyway, why do you use the checkbox at all? If you wanted to enforce DES, you could have enabled the "System Cryptography: Use FIPS compliant algorithms for encryption, hashing and siging" policy which would switch the whole environment to DES or AES automatically.
    The user account setting is meant to only those accounts that are used by non-windows services IMHO.
    ondrej.

  • Tabindex fails to work when using any adobe component!

    Hello,
    Does anyone know why the tabIndex does not work as soon as
    you drag a adobe component to
    the stage. (Like a buton, combobox, checkbox ..)
    For example if you have to input text fields, you can you the
    tab key to switch from the first textfield
    to the next. But it does not work anymoer when you use a
    component like a comobox, or button
    Regards,

    Hi -  Is dns lookup set to all clients in Server.app DNS ?
    To set logging for dns:
    #look for the block below and change info to debug
    #Ctrl x then Y then <ret>
    #Stop and Start DNS in server.app or $ sudo serveradmin stop dns / $ sudo serveradmin start dns
    #log is /Library/Logs/named.log and is available in Console.app
    $ sudo nano /etc/named.conf
    logging {
              channel "_default_log" {
                        file "/Library/Logs/named.log";
                        severity info;
                        print-time yes;
              category "default" {
                        "_default_log";
    Good luck!

Maybe you are looking for

  • Client authentication not working

    Hi all, I am using Apache's HTTPClient to connect with a server running https. The server is the latest stable Tomcat (version 4.1.27). If I set clientAuth="false" in the Tomcat configuration, everything is working fine. I am able to comunicate with

  • ITUNES IS NOT PICKING UP MY IPOD, BUT WINDOWS DOES

    My i-tunes 7 is not pickin up my ipod, even when windows does, i have gone to the support site and have done everything ther;(delteing itunes, reinstalling itunes, re-installing my ipod and notthing) wat DOES happend is when i re-install i-tunes 7 an

  • Export with warning on 9i

    I have Oracle 9i installed on RedHat 7.2 machine successfully. The Oracle also created a database during installation without any error. However, when I run export on this database, it shows "EXP-00091: exporting questionable statistics" almost every

  • Disappearing slide show...

    I created a page and inserted a lightbox slideshow - using the new software out today.  When I preview on catalyst, the main screen doesn't appear but the thumbnails do.  When I click on a thumbnail they disappear and the main screen comes back.  I s

  • Lightroom with old Mac laptops?

    I am looking to purchase my first version of Adobe Lightroom for my Mac laptop. I know some of the new versions dont work with  old laptops, and was wondering how this works when you go to buy the software. i currently have a Mac OS X Version 10.5.8