CO Allocation Descriptions

Hi
A customer wants unlimited text to document CO allocations (KSV5, KB11N etc). The standard is 50 characters. Is there an enhancement that can do that or perhaps use ABAP?

Hi,
No enhancement exists for this... What is the business requirement behind this request?
Regards,
Eli

Similar Messages

  • Error(1): java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.ListOf

    Iam getting the following errors when I try to compile my jsp. But when I compile it om another pc it works fine
    Error(1): java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.ListOfValuesTEI
    Error(1): Unable to load taghandler class: http://java.sun.com/jstl/core
    Iam using jdev IDE 9.0.3.10.35
    below is the code Iam trying to compile. Is it a bug Iam experiencing or faulty code??????
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <HTML>
    <HEAD>
    <TITLE>  </TITLE>
    <LINK rel="stylesheet" type="text/css" href="../style/sheet.css">
    <script language="JavaScript">
    function confirmDelete(id) {
      var ans = confirm("Weet U zeker dat U deze allocatie wilt verwijderen?");
      if (!ans) return;
      window.document.SelectionForm.action="../servlet/colossus.servlets.DeleteAllocation";
      window.document.SelectionForm.selectedID.value=id;
      window.document.SelectionForm.url.value=document.location;
      window.document.SelectionForm.submit();
    function modify(id) {
      url = escape(window.document.location);
      window.document.location="../servlet/colossus.servlets.ModifyAllocation?allocID="+escape(id)+"&url="+url;
    </script>
    </HEAD>
    <BODY topmargin=10 leftmargin=15 >
    <table border="0" cellPadding="5" cellSpacing="0" width="472">
      <tr>
        <td bgcolor="#ffffff">     
          <table border="0" cellPadding="2" cellSpacing="0" width="462">
            <tr>
              <td class="kopbalk" width="440"><P class="kop"> <b>Allocaties bekijken</b></P></td>
              <td width="22"></td>
            </tr>
            <tr>
              <td width="440" height="10"></td>
              <td width="102" height="10"></td>
            </tr>
            <tr>
              <td width="440">
                <table width="440" cellpadding="2" cellspacing="0" border="0">
             <form name="SelectionForm" action="../servlet/colossus.servlets.ShowAllocations" method="get">
               <input type="hidden" name="selectedID" value="" />
               <input type="hidden" name="url" value="" />
               <c:if test="${!(empty errorMsg)}">
               <tr>
                 <td colspan="2" class="error"><p><c:out value="${errorMsg}" /></p></td>
                  </tr>
                  </c:if>
                  <tr>
                    <td width="130"><P>Van <FONT size="1">(dd-mm-jjjj)</FONT></P></td>
                    <td width="310"><P>
              <INPUT type="text" name="startDay" size="2" maxlength="2" value="<c:out value='${param.startDay}'/>"> -
              <INPUT type="text" name="startMonth" size="2" maxlength="2" value="<c:out value='${param.startMonth}'/>"> -
              <INPUT type="text" name="startYear" size="4" maxlength="4" value="<c:out value='${param.startYear}'/>"> om
              <INPUT type="text" name="startHour" size="2" maxlength="2" value="<c:out value='${param.startHour}'/>"> :
              <INPUT type="text" name="startMinute" size="2" maxlength="2" value="<c:out value='${param.startMinute}'/>">
              </P></td>
                  </tr>
                  <tr>
                    <td width="130"><P>Tot <FONT size="1">(dd-mm-jjjj)</FONT></P></td>
                    <td width="310"><P>
              <INPUT type="text" name="endDay" size="2" maxlength="2" value="<c:out value='${param.endDay}'/>" > -
              <INPUT type="text" name="endMonth" size="2" maxlength="2" value="<c:out value='${param.endMonth}'/>"> -
              <INPUT type="text" name="endYear" size="4" maxlength="4" value="<c:out value='${param.endYear}'/>"> om
              <INPUT type="text" name="endHour" size="2" maxlength="2" value="<c:out value='${param.endHour}'/>"> :
              <INPUT type="text" name="endMinute" size="2" maxlength="2" value="<c:out value='${param.endMinute}'/>">
              </P></td>
                  </tr>
                  <tr>
                    <td width="130"><P>Vestiging</P></td>
                    <td width="310"><P>
                      <SELECT name="vestigingID">
                  <c:forEach items="${offices}" var="office">
                          <option value="<c:out value='${office.ID}'/>" <c:out value="${office.selected}" /> >
                            <c:out value="${office.name}"/>
                          </option>
                  </c:forEach> 
                      </SELECT>
                    </P></td>
                  </tr>
               <tr>
                 <td colspan="2" width="440">
                <div align="center"><input type="submit" value="- Ok -"></div>
              </td>
               </tr>
             </form>
                </table>
              </td>
              <td width="102"> </td>
            </tr>
            <tr>
              <td width="440"> </td>
              <td width="102"> </td>
            </tr>
            <tr>
              <td colspan="2">
                <table width="542" cellpadding="0" cellspacing="0" border="0">
    <!--// begin van de tabel //-->
    <c:if test="${!(empty allocs)&&(empty errorMsg)}">
    <TABLE border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" width="572">
      <TR>
        <TD bgcolor="#ffffff" width="30"><P> </P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Verdieping</B></P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Ruimte</B></P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Van</B></P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Tot</B></P></TD>
        <TD bgcolor="#ffffff" width="200" align="center"><P><B>Omschrijving</B></P></TD>
      </TR>
      <c:forEach items="${allocs}" var="alloc">
        <TR>
          <TD bgcolor="#ffffff" width="30" align="center">
            <a href="javascript:modify('<c:out value="${alloc.ID}" />')"><IMG src="../images/edit.gif" border="0" alt="Allocatie wijzigen"></a><a href="javascript:confirmDelete('<c:out value="${alloc.ID}" />')"><IMG src="../images/delete.gif" border="0" alt="Allocatie verwijderen"></a>
          </TD>
          <TD bgcolor="#ffffff" width="80" align="center"><P><c:out value="${alloc.floorNumber}" /></P></TD>
          <TD bgcolor="#ffffff" width="80" align="center"><P><c:out value="${alloc.roomNumber}" /></P></TD>
          <TD bgcolor="#ffffff" width="80" align="center"><c:out value="${alloc.shortStartDate}" /><br>
                                                          <c:out value="${alloc.startTime}" /></TD>
          <TD bgcolor="#ffffff" width="80" align="center"><c:out value="${alloc.shortEndDate}" /><br>
                                                          <c:out value="${alloc.endTime}" /></TD>
          <TD bgcolor="#ffffff" width="200" align="left"><P><c:out value="${alloc.description}" /></P></TD>
        </TR>
      </c:forEach>
    </TABLE>
    </c:if>
    <!--// einde van de tabel //-->
                </table>          
              </td>
            </tr>
                       </TABLE>
        </td>
      </tr>
    </table>
    </BODY>
    </HTML>

    Olival,
    Is your application using UIX ? Seems like it from the error. The class you are getting the error on
    Erro: java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.RenderingContextTEI"
    is part of uix2.jar, which is available in JDev environment, but not under standalone
    OC4J. Hence the error.
    -Prasad
    Hi,
    I'm getting this error when trying to run my struts app:
    "500 Internal Server Error
    OracleJSP: oracle.jsp.parse.JspParseException: Nzmero da Linha 1, <%@ taglib uri="/WEB-INF/struts-logic.tld"
    prefix="logic" %>
    Erro: java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.RenderingContextTEI"
    The error msg is localized to my country (Brazil), so "Nzmero da Linha" translates to "Line Number", and "Erro" means "Error".
    The error comes from the 1st page called by the application (index.jsp), wich uses the struts redirect tag.
    Strange enough, this error only shows on OC4J 9.0.3 stand-alone (got the latest version today from OTN), but when calling from JDeveloper 9.0.3 (production), using the embedded OC4J, everything's ok.
    Has anybody experienced the same error ?
    Tnxs,
    Olival Jr.

  • Release-12.1.1. General Ledger-Mass Allocation-Error

    Hi,
    I have entered formula for Mass Allocation and I got Valdiated. While I running the Mass Allocation I got an
    error. In the View Output File. "Failure detected. Please see log file." When I seeing the Log file. I got the error
    GLAMAS module: Run MassAllocations
    Current system time is 01-OCT-2009 09:02:38
    glamai() 01-OCT-2009 09:02:38**************************************************
    01-OCT-2009 09:02:38
    AMAS0010: General Ledger MassAllocations Log File
    command_mode = C
    access set id = 1017
    incremental mode = N
    average journal flag = N
    ledger id override value = 1
    ledger override currency = USD
    balance segment override value = 02
    allocation batch id = 10079
    period = Jan-09
    journal effective date = 2009/01/31 00:00:00
    calc effective date = 2009/01/31 00:00:00
    glasob() 01-OCT-2009 09:02:38
    gluini() 01-OCT-2009 09:02:38
    glugsn() 01-OCT-2009 09:02:38<< glugsn() 01-OCT-2009 09:02:38
    << gluini() 01-OCT-2009 09:02:38
    accounted period type = Month
    chart_of_accounts_id = 101
    number of flexfield segments = 5
    balancing segment name = SEGMENT1
    management segment name = NA
    security segment name = NA
    flexfield delimiter = '-'
    active segments =
    SEGMENT1
    SEGMENT2
    SEGMENT3
    SEGMENT4
    SEGMENT5
    flex value sets =
    1002470
    1002471
    1002472
    1002473
    1002474
    account segment = SEGMENT3
    account segment length= 5
    flexfield length = 21
    << glasob() 01-OCT-2009 09:02:38
    glasys() 01-OCT-2009 09:02:38***********************************************
    * Warning: profile option has not been set up:*
    * GL: Number of Records to Process at Once *
    * Warning: profile option has not been set up:*
    * GL: Number of Accounts In Memory *
    foundation user id = 1013417
    foundation user name = ZUNAITHA
    concurrent request id = 5807601
    number of target records to process at a time = 1000
    number of flexfields to cache = 2500
    cache control segment = SEGMENT3
    length of control segment = 5
    length of flexfield = 21
    << glasys() 01-OCT-2009 09:02:38
    glavcmd() 01-OCT-2009 09:02:38SHRD0117: Inserted 1 record(s) into gl_alloc_history
    << glavcmd() 01-OCT-2009 09:02:38
    glacab() 01-OCT-2009 09:02:38glacab() - tf = 1, sqlerrd[2] = 1
    glacab--loopcnt = 1 and size 2b Malloced is 984
    << glacab() 01-OCT-2009 09:02:38
    glapst() 01-OCT-2009 09:02:38glapst() - pst0_stmt.arr =
    SELECT period_name,
         to_char(start_date, 'YYYY/MM/DD'),
         to_char(end_date, 'YYYY/MM/DD'),
         to_number(to_char(start_date,'J')),
         to_number(to_char(end_date,'J')),
         period_type,
         period_year,
         period_num,
         adjustment_period_flag
    FROM gl_periods
    WHERE      period_set_name ='Accounting'
    AND period_type ='Month'
    ORDER BY period_year, period_num
    AMAS0025: glapst() - Found 225 periods (COA=101)
    control->coa_rec.pstat[0].period_name = Dec-95
    control->coa_rec.pstat[0].start_date = 1995/12/01
    control->coa_rec.pstat[0].end_date = 1995/12/31
    control->coa_rec.pstat[0].jstart_date = 2450053
    control->coa_rec.pstat[0].jend_date = 2450083
    control->coa_rec.pstat[0].period_type = Month
    control->coa_rec.pstat[0].period_year = 1995
    control->coa_rec.pstat[0].period_num = 12
    control->coa_rec.pstat[1].period_name = Adj-95
    control->coa_rec.pstat[1].start_date = 1995/12/31
    control->coa_rec.pstat[1].end_date = 1995/12/31
    control->coa_rec.pstat[1].jstart_date = 2450083
    control->coa_rec.pstat[1].jend_date = 2450083
    control->coa_rec.pstat[1].period_type = Month
    control->coa_rec.pstat[1].period_year = 1995
    control->coa_rec.pstat[1].period_num = 13
    control->coa_rec.pstat[2].period_name = Jan-96
    control->coa_rec.pstat[2].start_date = 1996/01/01
    control->coa_rec.pstat[2].end_date = 1996/01/31
    control->coa_rec.pstat[2].jstart_date = 2450084
    control->coa_rec.pstat[2].jend_date = 2450114
    control->coa_rec.pstat[2].period_type = Month
    control->coa_rec.pstat[2].period_year = 1996
    control->coa_rec.pstat[2].period_num = 1
    control->coa_rec.pstat[3].period_name = Feb-96
    control->coa_rec.pstat[3].start_date = 1996/02/01
    control->coa_rec.pstat[3].end_date = 1996/02/29
    control->coa_rec.pstat[3].jstart_date = 2450115
    control->coa_rec.pstat[3].jend_date = 2450143
    control->coa_rec.pstat[3].period_type = Month
    control->coa_rec.pstat[3].period_year = 1996
    control->coa_rec.pstat[3].period_num = 2
    control->coa_rec.pstat[4].period_name = Mar-96
    control->coa_rec.pstat[4].start_date = 1996/03/01
    control->coa_rec.pstat[4].end_date = 1996/03/31
    control->coa_rec.pstat[4].jstart_date = 2450144
    control->coa_rec.pstat[4].jend_date = 2450174
    control->coa_rec.pstat[4].period_type = Month
    control->coa_rec.pstat[4].period_year = 1996
    control->coa_rec.pstat[4].period_num = 3
    control->coa_rec.pstat[5].period_name = Apr-96
    control->coa_rec.pstat[5].start_date = 1996/04/01
    control->coa_rec.pstat[5].end_date = 1996/04/30
    control->coa_rec.pstat[5].jstart_date = 2450175
    control->coa_rec.pstat[5].jend_date = 2450204
    control->coa_rec.pstat[5].period_type = Month
    control->coa_rec.pstat[5].period_year = 1996
    control->coa_rec.pstat[5].period_num = 4
    control->coa_rec.pstat[6].period_name = May-96
    control->coa_rec.pstat[6].start_date = 1996/05/01
    control->coa_rec.pstat[6].end_date = 1996/05/31
    control->coa_rec.pstat[6].jstart_date = 2450205
    control->coa_rec.pstat[6].jend_date = 2450235
    control->coa_rec.pstat[6].period_type = Month
    control->coa_rec.pstat[6].period_year = 1996
    control->coa_rec.pstat[6].period_num = 5
    control->coa_rec.pstat[7].period_name = Jun-96
    control->coa_rec.pstat[7].start_date = 1996/06/01
    control->coa_rec.pstat[7].end_date = 1996/06/30
    control->coa_rec.pstat[7].jstart_date = 2450236
    control->coa_rec.pstat[7].jend_date = 2450265
    control->coa_rec.pstat[7].period_type = Month
    control->coa_rec.pstat[7].period_year = 1996
    control->coa_rec.pstat[7].period_num = 6
    control->coa_rec.pstat[8].period_name = Jul-96
    control->coa_rec.pstat[8].start_date = 1996/07/01
    control->coa_rec.pstat[8].end_date = 1996/07/31
    control->coa_rec.pstat[8].jstart_date = 2450266
    control->coa_rec.pstat[8].jend_date = 2450296
    control->coa_rec.pstat[8].period_type = Month
    control->coa_rec.pstat[8].period_year = 1996
    control->coa_rec.pstat[8].period_num = 7
    control->coa_rec.pstat[9].period_name = Aug-96
    control->coa_rec.pstat[9].start_date = 1996/08/01
    control->coa_rec.pstat[9].end_date = 1996/08/31
    control->coa_rec.pstat[9].jstart_date = 2450297
    control->coa_rec.pstat[9].jend_date = 2450327
    control->coa_rec.pstat[9].period_type = Month
    control->coa_rec.pstat[9].period_year = 1996
    control->coa_rec.pstat[9].period_num = 8
    control->coa_rec.pstat[10].period_name = Sep-96
    control->coa_rec.pstat[10].start_date = 1996/09/01
    control->coa_rec.pstat[10].end_date = 1996/09/30
    control->coa_rec.pstat[10].jstart_date = 2450328
    control->coa_rec.pstat[10].jend_date = 2450357
    control->coa_rec.pstat[10].period_type = Month
    control->coa_rec.pstat[10].period_year = 1996
    control->coa_rec.pstat[10].period_num = 9
    control->coa_rec.pstat[11].period_name = Oct-96
    control->coa_rec.pstat[11].start_date = 1996/10/01
    control->coa_rec.pstat[11].end_date = 1996/10/31
    control->coa_rec.pstat[11].jstart_date = 2450358
    control->coa_rec.pstat[11].jend_date = 2450388
    control->coa_rec.pstat[11].period_type = Month
    control->coa_rec.pstat[11].period_year = 1996
    control->
    glamtt() - sqlcode alloc-target drop table = 942
    glamtt() - mtt_stmt.arr is
    CREATE TABLE gl_alloc_target_5807601 (
         allocation_formula_id number(15) not null,
         request_id number(15) not null,
         entered_amount number not null,
         accounted_amount number not null,
         je_batch_id number(15) not null,
         je_header_id number(15) not null,
         je_line_num number(15) not null,
         period_name varchar2(15) not null,
         accounting_date date not null,
         max_amount_flag VARCHAR2(1),
         description      varchar2(240),
         code_combination_id number(15),
         message_number      number(15),
         line_type VARCHAR2(1),
         ledger_id number(15),
         validation_error VARCHAR2(30),
         SEGMENT1      VARCHAR2(25),
         SEGMENT2 VARCHAR2(25),
         SEGMENT3 VARCHAR2(25),
         SEGMENT4 VARCHAR2(25),
         SEGMENT5 VARCHAR2(25),
         SEGMENT6 VARCHAR2(25),
         SEGMENT7 VARCHAR2(25),
         SEGMENT8 VARCHAR2(25),
         SEGMENT9      VARCHAR2(25),
         SEGMENT10      VARCHAR2(25),
         SEGMENT11      VARCHAR2(25),
         SEGMENT12      VARCHAR2(25),
         SEGMENT13      VARCHAR2(25),
         SEGMENT14      VARCHAR2(25),
         SEGMENT15      VARCHAR2(25),
         SEGMENT16      VARCHAR2(25),
         SEGMENT17      VARCHAR2(25),
         SEGMENT18      VARCHAR2(25),
         SEGMENT19      VARCHAR2(25),
         SEGMENT20      VARCHAR2(25),
         SEGMENT21      VARCHAR2(25),
         SEGMENT22      VARCHAR2(25),
         SEGMENT23      VARCHAR2(25),
         SEGMENT24      VARCHAR2(25),
         SEGMENT25      VARCHAR2(25),
         SEGMENT26               VARCHAR2(25),
         SEGMENT27               VARCHAR2(25),
         SEGMENT28               VARCHAR2(25),
         SEGMENT29               VARCHAR2(25),
         SEGMENT30               VARCHAR2(25))
    tablespace APPS_TS_INTERFACE
    PCTFREE 50
    STORAGE(initial 200K next 200K maxextents 121 pctincrease 0)
    gluddl() 01-OCT-2009 09:02:39<< gluddl() 01-OCT-2009 09:02:40
    glamtt() - sqlcode alloc target create table = 0
    glamtt() - mtt_stmt.arr is
    CREATE INDEX gl_alloc_target_5807601_n1
    on gl_alloc_target_5807601 (je_header_id)
    TABLESPACE APPS_TS_INTERFACE
    STORAGE(INITIAL 20K NEXT 20K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 0)
    gluddl() 01-OCT-2009 09:02:40<< gluddl() 01-OCT-2009 09:02:40
    glamtt() - sqlcode alloc targets create n1 index = 0
    glamtt() - mtt_stmt.arr is
    CREATE INDEX gl_alloc_target_5807601_n2
    on gl_alloc_target_5807601 (allocation_formula_id, je_line_num)
    TABLESPACE APPS_TS_INTERFACE
    STORAGE(INITIAL 20K NEXT 20K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 0)
    gluddl() 01-OCT-2009 09:02:40<< gluddl() 01-OCT-2009 09:02:40
    glamtt() - sqlcode alloc target create n2 index = 0
    << glamtt() 01-OCT-2009 09:02:40
    SHRD0119: Deleted 0 record(s) from GL_ALLOC_JE_ID_INT.
    sqlcaid: sqlabc: 0 sqlcode: 0 sqlerrml: 0
    sqlerrmc:
    ORA-00942: table or view does not exist
    sqlerrp:      sqlerrd: 0 0 0 0 0 538976288
    sqlwarn: sqltext:
    oracaid:      oracabc: 0
    oracchf: 0 oradbgf: 0 orahchf: 0 orastxtf: 0 orastxtl: 0
    orastxtc:
    orasfnmc: oraslnr: 0 orasfnml: 0
    orahoc: 0 ormoc: 0 oracoc: 0
    oranor: 0 oranpr: 0 oranex: 0
    SHRD0015: glamai failed:
    SHRD0033: Error Status: 0
    SHRD0103: Function warning number: -1
    glamai() - fatal sql error
    Process logging off database and exiting ...
    Can anyone help me in this regard
    Thanks
    Zunaitha

    Hello.
    Have a look on Metalink Doc ID: 857664.1
    Octavio

  • Complications in the Product Allocation

    Dear SAP Gurus,
    I am facing lot of problems in configuring the Product Allocation.
    Problem-01
    I started creating new Info Structure S561 copying the existing Info Structure S140 as the Info Structure is to be assigned in OV3Z (Specify hierarchy).
    The problem is that the Table MCVOBJECT is not appearing in the u201CCharacteristics for 0001 Incoming Orders Quantityu201D in the transaction code MC25. I tried to insert the Table name as MCVOBJECT and Field name as KONOB against the characteristics u201CProd Allocation obj.u201D but I got the error message as u201COnly source fields from MC Communication structures allowedu201D
    Only few Table names are available after pressing F4.
    Please help me how I can put the Table name MCVOBJECT and field name KONOB in the Characteristics for MC25.
    Problem-02
    In OVZ0  (Define Flow according to requirement category) I am not able to create new Requirement even in the change Mode. But I found some of them started with Z i.e. it has been created by somebody. I am in IDES system.
    Problem-03
    The same issue in OVZ8  (Process flow for each Schedule line Category) I am not able to create new Requirement even in the change Mode. But I found some of them started with Z i.e. it has been created by somebody.
    Please guide me how to create a new requirement and assign it.
    Problem-04
    When I am checking in OV8Z (Check setting in Product Allocationu201D, the following comments appear. If anybody guide me on this basis I will be grateful to him.
    u201CProd.alloc.detmtn prod: PRODUCT Description: Various Items
      Use for following materials:
        1478
      Method:
        Cumulative check
          Step: 01 Description: First step Info struct.: S561
            Info struct.
              Planning version 000 is defined for info structure S561 .
              Periodicity M ( ) is set for info structure S561 .
            Update
              Updating is not defined for S561 at schedule line level!
              The update date is not permitted for S561 (permitted; MBDAT , WADAT , EDATU )!
              The period settings for info structure S561 agree
              The info structure is updated synchronously.
              Formula 146 is used for the order incoming quantity
              Not every characteristic has a formula
            Plng
              No allocation quantities have been defined for product allocation object MCA1 !
              End of allocation validity is always end of a period (PRODUCT ,01 ).
              The product allocation objects are entered in the planning hierarchy.u201D
    Problem-05
    Where should I put the quantity because when I am creating Sales Order no Product Allocation function is working.
    Problem-06
    I have used Transaction code MC8A for creating Planning type but every time I put some value and save but after that in change mode I am not finding those values.
    Regards,
    Jans

    Hi Lakshmpathi,
    Please help me in solving these problems,
    Thanks,
    Jans

  • Allocated ATP derivation for bulk loads and stealing

    Gurus,
    We are designing a solution where the requirement is to derive ATP for more than a million items every day. For around a 250,000 items, we need to know the maximum quantity available for an item, org, demand class (including Stealing).
    We need to know the availability for future dates (like Horizontal plan) which includes stealing. We are using Allocated ATP and we are in R12.2.3.
    Questions:
    1) As per the document (Doc ID 150908.1) ATP API Description R12 (ATP API MRP_ATP_PUB.Call_ATP) the API can be used derive multiple items in a single call. Is there a limit on the number of items can be passed in a single call?
    2) Can we derive ATP values including stealing in a single call? If so, which of the output record type can be referred to ATP_Rec_Typ, ATP_Period_Typ and ATP_Supply_Demand_Typ?
    3) Can we derive future availability of items in a single call? We saw the output of X_ATP_PERIOD which seem to give the horizontal plan. Can we get the availability with stealing in horizontal plan in a single ATP call itself?
    4) If API is not the suitable approach, can you please let us know the table/logic that can be used for derivation?
    Appreciate your help.
    Thanks,
    Ram.

    889367 wrote:
    What's the benefit of including "IF  :NEW.col1  IS NULL" statement? If I leave it out and someone tries to insert a value not using the trigger it changes the value for me. I can see that being good and bad, but it keeps them from not using the sequence.
    The benefit is that it allows you to manually assign the column value if you want to. Whether that is a 'benefit' for your use case or not is for you to decide.
    But I'm trying to decide when and if I should use this. I wouldn't consider it but we've got Informatica developers that insist on writing dynamic sql functions to pull values for sequences to use in inserts because they can't reference the nextval in the their workflows.
    Don't use Informatica to do something that can be done using Oracle. The strength and utility of an ETL tool is in doing things that the database either can NOT do or cannot do efficiently: for example pulling data from multiple databases and flat files for insert into a target database. The goal being to get ALL of the data into the target database as quickly and efficiently as possible. Then you can apply the full power of the target database to ALL of the data.

  • Relative Weight and vCPU allocation query

    Hi all
    I've done a lot of reading around this subject mainly starting here:
    http://social.technet.microsoft.com/wiki/contents/articles/1234.hyper-v-concepts-vcpu-virtual-processor.aspx
    So I know the technical descriptions and some of the background but there is one key area on which I am seeking some clarification if possible.
    Most of my Hyper-V experience is with 2008 and 2008R2 so that's what I will be asking about (but it would be useful to know if 2012 changes anything).
    I understand the concept of virtual CPUs (vCPU) as given to a VM via the VM settings dialog box. I understand that giving a VM 1 to 4 vCPUs does not give the VM any sort of 1:1 or exclusive right to any of the parent's CPU cores. My understanding is that
    (basically) the parent server's cores are formed into a 'pool' and each VM is given a 'time share' of this pool of CPU. I know it is more complex than that due to the way threads may not easily be moved from core to core but let's ignore that!
    I understand the 'relative weight' option is used to distribute the 'grunt' from the pool of parent CPU to the VMs such that each VM gets a proportion of the parents CPU-pool as per the ratio of the relative weight scores.
    So as an arbitrary, simplified example let's imagine the parent has 2 physical quad core CPUs running at 2.0Ghz. So that's 8 cores running at 2Ghz. So let's imagine the CPU-pool 'grunt' is 16Ghz. (Grunt could be also called 'power', 'horsepower' etc.) I
    know it doesn't work out quite like this but this is simplified.
    So we add some VMs.
    Let's add 4 VMs all with 1 vCPU and all equal 100 relative weight (RW). For the sake of argument all the VMs are 'busy' so that they always need CPU. Let's say each of them shows fairly constant 80% CPU activity in Task Manager within the VM. None of the
    VMs are Terminal Servers. Let's also ignore the Hyper-V parent partition's draw on CPU as negligible.
    So in this case, if there is contention for the parent CPU, then each of the 4 VMs would be allocated an equal time share of the parent's pool of CPU. So it might be said that on average each VM runs as if it had 4Ghz of 'grunt'. Inside each VM the applications
    would see a single vCPU running at 4Ghz. (Bear with me on Ghz, I could have called Ghz 'gruntz' or indeed anything, but I think it helps to talk in terms of Ghz as this is familiar).
    Is this correct? Assuming it is then ...
    So now I need more 'grunt' to be available to the first VM. So some people may consider two options. Increase the number of vCPU assigned to the VM or increase the Relative Weight. This is where I am confused.
    So my question is if the RW is kept constant does increasing the number of vCPU make any more grunt available to a VM or is the grunt simply divided up. For example:
    I change VM1 so have 4 vCPU. My understanding is that because RW has not changed then the applications running on VM1 see things change from 1 vCPU running at 4Ghz to 4 vCPUs running at 1Ghz. I surmise this because the RW is what dictates the amount of time
    a VM gets on the parent pool of CPU so the VM's allocation (of 4Ghz) must be divided by the number of vCPU.
    However I am continually faced with clients asking to allocate more vCPU because they feel this improves the performance of the applications running on the VM, hence I wanted some clarification on whether my understanding is correct or not.
    I know that Brian Ehlert, and others, have often stated that it is best to try and give VMs as few vCPUs as possible so that the VM's OS doesn't need to spend time shuffling threads. If this is the case then what is the background or reason for increasing
    the allocation of vCPU to a VM? Why add more? When does it have benefit? Is it also required to increase the RW at the same time as adding the vCPU?
    It would be great if there was an in-depth article from Microsoft explaining how this all works, in the meantime I'm hoping for some enlightenment from this forum.
    Thanks in advance.
    Ian

    Thanks for your input Ben, that is a very interesting document indeed.
    The section that is most pertinent is this one:
    <<18.2.3       CPU
    Weight
    The CPU weight is a relative weight assigned to each of the virtual processors of the partition. Unless otherwise constrained by reserves and caps, the scheduler will attempt to weight the run time of the virtual processors scheduled on
    a given logical processor according to their relative weights. Let’s consider the case where three partitions, each with one virtual processor are being scheduled on a single logical processor, their weights are 100, 200 and 700, no reserves or caps are in
    effect, and all three of the virtual processors have work to perform (that is, they are not idle). In this case, the fraction of physical CPU capacity provided to the three virtual processors would be approximately
    10%, 20%, and 70%.
    The CPU weight value is expressed as a decimal value from 1 to 10,000 where 100 (the geometric mean) is the typical value.
    By default, a partition’s weight is set to 100.>>
    After having read this (and your statement about scheduling processors not VMs) I have had a 'lightbulb moment' where I first understand that the various 'switches' such as Relative Weight are per vCPU and not per VM.
    I went back to the online help from Hyper-V and it points to this document:
    Performance Tuning Guidelines for Windows Server 2008
    http://msdn.microsoft.com/en-us/windows/hardware/gg463394.aspx
    In this document there are some useful statements that I was not aware of i.e.
    <<Hyper-V in Windows Server 2008 supports up to 16 logical processors and can use all logical processors if the number of active virtual processors matches that of logical processors. This can reduce
    the rate of context switching between virtual processors and can yield better performance overall.">>
    This is not something that I was aware of. I thought that if you had fewer vCPU than logical CPUs on the host then the vCPU would be shared around the logical CPUs in order to fully utilise the parent CPUs. After reading this above it is obvious that this
    is not the case.
    And this statement:
    <<Virtual Processors
    Hyper‑V in Windows Server 2008 supports a maximum of four virtual processors per VM. VMs that have loads that are not CPU intensive should be configured to use one virtual processor. This is because of the additional overhead that is associated
    with multiple virtual processors, such as additional synchronization costs in the guest operating system. More CPU-intensive loads should be placed in 2P or 4P VMs if the VM requires more than one CPU of processing under peak load.>>
    These two statements lead me to the feeling that it is better to add more vCPU to VMs than fewer if you want to 'make the most of' the CPU you have available on the parent. So going back to my original example of a parent with two quad core CPU (no hyper-threading)
    we have 8 logical CPUs available. If we have four VMs that running approximately equal, and busy workloads, we should set each VM to at least 2 vCPU. This would ensure all 8 logical CPUs were used.
    First question: What would the potential downside be to setting all four VMs with 4 vCPU which would overcommit the vCPU to logical CPU by a factor of 2. Would this cause scheduling overhead and therefore wasteful of CPU?
    Second Question: If I wanted to give a greater share of parent CPU to one of the VMs how would it be best done? Adding more vCPUs to the VM or changing the Relative Weight? Or both? Assuming I was using a Hyper-V 2012 parent that allows more than 4 vCPU
    per VM which would be the best way of boosting the performance of one of the VMs:
    a) VM1 gets 8 vCPU and each other VM (VM2, VM3 & VM4) each gets 4 vCPU
    or
    b) VM1 gets 200 Relative Weight and 4 vCPU and each other VM (VM2, VM3 & VM4) each gets 100 Relative Weight and 4 vCPU
    Many, many thanks for helping me here.
    Ian

  • Cant launch JVM with high max memory allocation

    We have a couple of Windows machines - a Win7 and Win Server 2012 - both being 64-bit machines. The Win7 machine has 190GB of RAM and the Win Server has 500GB RAM. We are running a memory hungry application so we tried to allocate as much RAM as possible. We have however discovered that we CANNOT allocate more than 160GB RAM on both machines to Java - we get a "Java Platform Binary SE has stopped working" message (we are running Java 1.7.0_13). I have read in various places that the OS "has a say" in the amount of RAM that can be allocated/passed on to Java but havent found any conclusive description/explanation. I'm hoping to get as accurate a picture as possible as to why we getting this apparent restriction - especially with the Win Server machine which has 500GB RAM. Details on why Windows is doing this - if it is - will be greatly appreciated.
    Many thanks.

    Probably (hopefully) some environment limit.
    Briefly googling doesn't suggest anything.
    If it was me....
    -  I would write a C++\C# app to test maximum app limit.  If that is limited by the same amount then it proves it in an environment and not java limit.
    - Look into paid support requests to Oracle and\or Microsoft to ask them why the limit might exist.

  • MSSQL$MICROSOFT##SSEE event description not found - 2008 R2 DC

    This is a 2008 R2 domain controller, that previously had WSUS and Deep Freeze Core / Admin installed on it.
    In order to promot system stability, I have removed WSUS and Deep Freeze, and uninstalled MSSQL 2005 / 2008 components from the server.
    Previous thread:
    http://social.technet.microsoft.com/Forums/en/winserverwsus/thread/7f50a802-8f72-46a6-a433-7929ca1b0735
    dcdiag /c reports the domain is passing all tests.
    However, I am seeing event log messages that there are event descriptions for "MSSQL$MICROSOFT##SSEE" that can't be found. I believe this is the Windows Internal Database used by domain controllers.
    Service info:
    HKLM\SYSTEM\CurrentControlSet\services\eventlog\Application\MSSQL$MICROSOFT##SSEE]
    "CategoryCount"=dword:00000008
    "CategoryMessageFile"="c:\\Windows\\SYSMSI\\SSEE\\MSSQL.2005\\MSSQL\\Binn\\Resources\\sqlevn70.rll"
    "EventMessageFile"="c:\\Windows\\SYSMSI\\SSEE\\MSSQL.2005\\MSSQL\\Binn\\Resources\\sqlevn70.rll"
    "TypesSupported"=dword:000000ff
    This SQL event category/message file exists, so I don't know what exactly the problem is:
    C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\Binn\Resources\sqlevn70.rll
    Size: 3kb
    Date created: 10/14/2005 1:26 PM
    File Version: 2005.090.1399.00
    One event log mentions event ID 17111, and lists a log location:
    C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\LOG\ERRORLOG
    The logs in that directory in general look to me like the Internal Database is working, and it's just the event log that's having a problem showing logged event descriptions correctly:
    2013-01-09 03:30:22.10 Server      Microsoft SQL Server 2005 - 9.00.5000.00 (X64)
     Dec 10 2010 10:38:40
     Copyright (c) 1988-2005 Microsoft Corporation
     Windows Internal Database (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)
    2013-01-09 03:30:22.24 Server      (c) 2005 Microsoft Corporation.
    2013-01-09 03:30:22.24 Server      All rights reserved.
    2013-01-09 03:30:22.24 Server      Server process ID is 2000.
    2013-01-09 03:30:22.24 Server      Authentication mode is WINDOWS-ONLY.
    2013-01-09 03:30:22.24 Server      Logging SQL Server messages in file 'C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\LOG\ERRORLOG'.
    2013-01-09 03:30:22.24 Server      This instance of SQL Server last reported using a process ID of 1888 at 1/9/2013 3:27:20 AM (local) 1/9/2013 9:27:20 AM (UTC). This is an informational message only; no user action is required.
    2013-01-09 03:30:22.24 Server      Registry startup parameters:
    2013-01-09 03:30:22.24 Server        -d C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\master.mdf
    2013-01-09 03:30:22.27 Server        -e C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\LOG\ERRORLOG
    2013-01-09 03:30:22.27 Server        -l C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\mastlog.ldf
    2013-01-09 03:30:22.53 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2013-01-09 03:30:22.53 Server      Detected 2 CPUs. This is an informational message; no user action is required.
    2013-01-09 03:30:24.56 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2013-01-09 03:30:25.50 Server      Database mirroring has been enabled on this instance of SQL Server.
    2013-01-09 03:30:25.75 spid5s      Starting up database 'master'.
    2013-01-09 03:30:26.70 spid5s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2013-01-09 03:30:27.18 spid5s      SQL Trace ID 1 was started by login "sa".
    2013-01-09 03:30:27.25 spid5s      Starting up database 'mssqlsystemresource'.
    2013-01-09 03:30:27.28 spid5s      Error: 958, Severity: 10, State: 1. (Params:). The error is printed in terse mode because there was error during formatting. Tracing, ETW, notifications etc are skipped.
    2013-01-09 03:30:27.51 spid5s      Server name is 'MYSERVER\MICROSOFT##SSEE'. This is an informational message only. No user action is required.
    2013-01-09 03:30:27.57 spid8s      Starting up database 'model'.
    2013-01-09 03:30:27.57 spid5s      Starting up database 'msdb'.
    2013-01-09 03:30:27.57 Server      Server local connection provider is ready to accept connection on [
    \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query ].
    2013-01-09 03:30:27.59 Server      Dedicated administrator connection support was not started because it is not available on this edition of SQL Server. This is an informational message only. No user action is required.
    2013-01-09 03:30:27.62 Server      SQL Server is now ready for client connections. This is an informational message; no user action is required.
    2013-01-09 03:30:27.98 spid8s      Clearing tempdb database.
    2013-01-09 03:30:29.12 spid8s      Starting up database 'tempdb'.
    2013-01-09 03:30:29.46 spid5s      Recovery is complete. This is an informational message only. No user action is required.
    2013-01-09 03:30:29.57 spid11s     The Service Broker protocol transport is disabled or not configured.
    2013-01-09 03:30:29.59 spid11s     The Database Mirroring protocol transport is disabled or not configured.
    2013-01-09 03:30:29.80 spid11s     Service Broker manager has started.
    2013-01-09 19:00:11.38 Server      Server resumed execution after being idle 55750 seconds: user activity awakened the server. This is an informational message only. No user action is required.
    2013-01-10 22:29:20.01 Server      Server resumed execution after being idle 4449 seconds: user activity awakened the server. This is an informational message only. No user action is required.
    I can't find a clear answer to what "Error 958 Severity 10" is, but it looks like the Internal database succeeds at starting up regardless of that error, so apparently it is working properly.
    At this point there is no non-DC software installed that is trying to use the Internal Database, so I assume it is being used by the domain controller for its own domain purposes as it should be.
    Due to the weird/incorrect event log messages, should I be concerned here at all that the Internal Database may be damaged and this domain controller may be unreliable?
    There are only two DCs in this network and this is one of them.

    You are probably correct. The Wikipedia article for the internal database CAN be used by Active Directory, but it isn't necessarily actually used.
    http://en.wikipedia.org/wiki/Windows_Internal_Database
    "Several components of Windows Server 2008 and 2012 use Windows Internal Database for their data storage:
    Active Directory Rights Management Services,
    Windows System Resource Manager,
    UDDI Services,
    Active Directory Federation Services 2.0, and Windows SharePoint Service."
    It is quite possible it is sitting idle and nothing is using it. I do not see the Internal Database installed on our other domain controller, and I'd expect it on both if the domain needs it.
    So, I am now looking at the prospect of reinstalling some SQL tools just so I can access the internal database to see what, if anything, is in there.
    How to look at databases in Windows Internal Database
    http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/7ac072ab-62b7-436e-a468-65067e17ed77
    Microsoft® SQL Server® 2008 Management Studio Express
    http://www.microsoft.com/en-us/download/details.aspx?id=7593
    Windows Internal Database is not listed in the Add or Remove Programs tool
    http://support.microsoft.com/kb/920277/en-us

  • Error allocating a servlet instance

    i have a problem with the migration de aplication
    the aplication it�s mountage in HP with Unix, with containner iPlanet, with data bases SyBASE; and migrated in mac os x with data bases in MySQL, container TomCat;
    show the next error:
    javax.servlet.ServletException: Error allocating a servlet instance
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:625)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:552)
    root cause
    java.lang.NoClassDefFoundError: ServletVerifyPsswd (wrong name: SCI/ServletVerifyPsswd)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1649)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:931)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1373)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1252)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:838)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:552)
    configuration of the archive server.xml
    <Context path="/sci" docBase="sci"
    debug="5" reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_sci_log." suffix=".txt"
    timestamp="true"/>
    <Resource name="jdbc/dbSCI"
    auth="Container"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/dbSCI">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <!-- Maximum number of dB connections in pool. Make sure you
    configure your mysqld max_connections large enough to handle
    all of your db connections. Set to 0 for no limit.
    -->
    <parameter>
    <name>maxActive</name>
    <value>100</value>
    </parameter>
    <!-- Maximum number of idle dB connections to retain in pool.
    Set to 0 for no limit.
    -->
    <parameter>
    <name>maxIdle</name>
    <value>30</value>
    </parameter>
    <!-- Maximum time to wait for a dB connection to become available
    in ms, in this example 10 seconds. An Exception is thrown if
    this timeout is exceeded. Set to -1 to wait indefinitely.
    -->
    <parameter>
    <name>maxWait</name>
    <value>10000</value>
    </parameter>
    <!-- MySQL dB username and password for dB connections -->
    <parameter>
    <name>username</name>
    <value>usersif</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>sifsci</value>
    </parameter>
    <!-- Class name for mm.mysql JDBC driver -->
    <parameter>
    <name>driverClassName</name>
    <value>com.mysql.jdbc.Driver</value>
    </parameter>
    <!-- The JDBC connection url for connecting to your MySQL dB.
    The autoReconnect=true argument to the url makes sure that the
    mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
    connection. mysqld by default closes idle connections after 8 hours.
    -->
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/bdsif?autoReconnect=true</value>
    </parameter>
    </ResourceParams>
    </Context>
    and the archive web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Sistema de Consultas Integrales</description>
    <display-name>Sistema de Consultas Integrales</display-name>
    <servlet>
    <servlet-name>Connect</servlet-name>
    <servlet-class>Connect</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Connect</servlet-name>
    <url-pattern>/servlet/Connect</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>ServletAcuOperacionSIF</servlet-name>
    <servlet-class>ServletAcuOperacionSIFeClase</servlet-class>
    </servlet>
    mapping the servlet
    <resource-ref>
    <description>DB Coneccion</description>
    <res-ref-name>jdbc/dbSCI</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>

    package SCI;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    import java.math.*;
    import java.text.*;
    public class ServletAcumuladoOp extends HttpServlet{
         private ServletOutputStream out = null;          
         private ResultSet resultado = null;
         private Statement query = null;
         private String tv;
         private String liq;
         public ServletAcumuladoOp(){
              super();
         public void init(){
         //System.out.println("Inicie el servicio del ServletAcumuladoOp...");
         try{
              Class.forName("com.mysql.jdbc.Driver");
                   //System.out.println("Carge el Driver Sybase...");
              }catch(java.lang.ClassNotFoundException e){
                   System.out.println("Imposible cargar la clase : "+e.getMessage()+" ,,,Verifique la Ruta");
         public boolean datosOk(HttpServletRequest req){
              //System.out.println(req.getRemoteUser());
              Enumeration e = req.getParameterNames();
              Hashtable ht = new Hashtable();          
              while (e.hasMoreElements()) {
                   String cad= (String) e.nextElement();
                   ht.put(cad," ");          
              //     System.out.println(cad);     
              if ( ht.containsKey("TV_AS") && ht.containsKey("Liq") ){
                   tv = "";
                   liq = "";
                   liq = req.getParameter("Liq");
                   tv = req.getParameter("TV_AS");
              }else{
                   return false;
              return true;
         protected synchronized void doPost(HttpServletRequest req, HttpServletResponse res)
         throws IOException, ServletException{
              res.setContentType("text/html");
    out = res.getOutputStream();          
              out.println("<html>\n<head>\n<title>Acumulado de operaciones</title>\n</head>\n<body background='../../../../../SCI/GRA/fondo.jpg'><center>");
              if (datosOk(req)){
                   out.println("<TABLE BORDER=0 width=740 cellspacing=0 cellpadding=0>\n");
                   out.println("<tr>\n");
                   out.println("<td valign='top'><font face='Verdana,Arial' size=2 color='black'><b>");               
                   out.println("Acumulado de operaciones");
                   out.println("</b></TD>\n");
                   out.println("<td ALIGN=RIGHT valign='top'><font face='Verdana,Arial' size=1 color='black'>"+getFechaLocal()+"</FONT></TD>\n");
                   out.println("</tr>\n");
                   out.println("<tr>\n");
                   out.println("<TD colspan=2 align='left' valign='top'>\n");
                   out.println("<font face='Verdana,Arial' size=2 color='black'>\n");
                   if (tv.equals("") || tv.equals("*"))
                        out.println("Tipo de valor: <B>Todos</B>");
                   else
                        out.println("Tipo de valor: <B>"+tv+"</B>");
                   if (liq.equals("") || liq.equals("*"))
                        out.println(", Liquidaci&oacute;n: <B>Todas</B>");
                   else
                        out.println(", Liquidaci&oacute;n: <B>"+liq+"</B>");
                   out.println("</font></TD>\n");
                   out.println("</TR>\n");
                   out.println("</table>\n");
                   out.println("<br>\n");
                   if (getConsulta())                    
                        out.println("</TABLE>\n<HR color=Black width=740>\n</center></BODY>\n</HTML>");
                   else
                        out.println("<br><center><font face='Verdana,Arial' size=4 color=Red>No existen datos para este rango de fechas</font></center>\n</BODY>\n</HTML>");
              }else{
                   out.println("<BR><font face='Verdana,Arial' size=4 color=Red> Se ha producido un error interno... Los par�metros de este Servlet son incorrectos \n</font>\n</BODY>\n</HTML>");
              out.close();          
         public void setHead()throws IOException{
              out.println("<table border=0 width=740 height=30 cellspacing=0 cellpadding=0>\n<tr>\n");
              out.println("<td width=60 align=center ><font face='Verdana,Arial' size=-1><b>Inst</td>\n");
              out.println("<td width=60 align=center ><font face='Verdana,Arial' size=-1><b>Emisora</td>\n");
              out.println("<td width=40 align=center><font face='Verdana,Arial' size=-1><b>Liq</td>\n");
              out.println("<td width=50 align=center><font face='Verdana,Arial' size=-1><b>Oper</td>\n");
              out.println("<td width=70 align=center><font face='Verdana,Arial' size=-1><b>N Series</td>\n");
              out.println("<td width=70 align=center><font face='Verdana,Arial' size=-1><b>N Oper</td>\n");
              out.println("<td width=150 align=center><font face='Verdana,Arial' size=-1><b>Vol�men</td>\n");
              out.println("<td width=150 align=center><font face='Verdana,Arial' size=-1><b>Importe</td>\n");
              out.println("<td width=90 align=center><font face='Verdana,Arial' size=-1><b>% Part.</td>\n");
              out.println("</tr>");
         public boolean getConsulta() throws IOException{
              Connection conexion = getConexion();
              try{
                   DecimalFormat df = new DecimalFormat("###,###,###,###,###.00");
                   String cadTV = "";
                   String cadLiq = "";
                   int cont = 0;
                   double operaciones_total = 0;
                   double volumen_total = 0;
                   double importe_total = 0;
                   double operaciones_subtot = 0;
                   double volumen_subtot = 0;
                   double importe_subtot = 0;
                   double suma_total_importe = 0;
                   double porcentaje = 0;
                   boolean ok = false;
                   int cent = 0;
                   boolean bandera = true;
                   int col = 0;
                   String color = "";
                   //Determina si ya cerr� el mercado
                   query=conexion.createStatement();
                   String sql = "select ctr_estado from ctrlre";
                   resultado=query.executeQuery(sql);
                   while (resultado.next())
                        cadTV = resultado.getString(1);
                   out.println("<table border=0 width=740 height=30 cellspacing=0 cellpadding=0 >");
                   out.println("<TR>");
                   out.println("<TD bgcolor='#FFFFBB' align=right><FONT face='Verdana,Arial'><b>");
                   if ( cadTV.equals("NO") )
                        out.println("DEFINITIVO</b></FONT> </TD> </TR> </table>\n");
                   else
                        out.println("PRELIMINAR</b></FONT> </TD> </TR> </table>\n");
                   out.println("<BR>");
                   cadTV="";
                   sql = getSql();
                   query = conexion.createStatement();
                   resultado = query.executeQuery(sql);
                   //out.println(sql);
                   while(resultado.next()){
                        if (bandera){
                             setHead();
                             bandera = false;
                        String tvalor = resultado.getString(1); //thp_tipo_valor
                        String emisora = resultado.getString(2); //thp_emisora
                        String liquidacion = resultado.getString(3); //thp_liquidacion
                        String toperacion = resultado.getString(4); //thp_tipo_operacion
                        int series = resultado.getInt(5); //series
                        int operaciones = resultado.getInt(6); //operaciones
                        double volumen = resultado.getDouble(7);; //thp_volumen
                        double importe = resultado.getDouble(8);; //thp_importe
                        // Salida al browser
                        if (cont == 0){
                             cadTV = tvalor.trim();
                             cadLiq = liquidacion.trim();
                             suma_total_importe = getTotalImporte(tvalor, liquidacion);
                        if (col == 1){                         
                             color = "#E1E1E1";
                             col = -1;
                        if (col == 0)
                             color = "#FFFFFF";
                        col++;
                        if ( (!cadTV.equals(tvalor.trim()) || !cadLiq.equals(liquidacion.trim()) )&& cont != 0){
                             setSubTotal(cadLiq, operaciones_subtot, volumen_subtot, importe_subtot, df);
                             suma_total_importe = getTotalImporte(tvalor, liquidacion);
                             // Agrega a sumas totales               
                             operaciones_total = operaciones_total + operaciones_subtot;
                             volumen_total = volumen_total + volumen_subtot;
                             importe_total = importe_total + importe_subtot;
                             operaciones_subtot = 0;
                             volumen_subtot = 0;
                             importe_subtot = 0;
                             cadTV = tvalor.trim();
                             cadLiq = liquidacion.trim();
                             cont=0;
                             out.flush();
                        operaciones_subtot = operaciones_subtot + operaciones;
                        volumen_subtot = volumen_subtot + volumen;
                        importe_subtot = importe_subtot + importe;
                        if (suma_total_importe == 0)
                             porcentaje = 0;
                        else
                             porcentaje = ( importe * 100 ) / suma_total_importe;
                        setRow(color,
                        " "+tvalor,
                        " "+emisora,
                        " "+liquidacion,
                        " "+toperacion,
                        " "+series,
                        " "+operaciones,
                        " "+df.format(volumen),
                        " "+df.format(importe),
                        " "+getScala(porcentaje,2));
                        cont++;
                        cent++;
                   conexion.close();
                   if (cent==0){ // No hubo registros
                        return false;
                   if (cont!=0){
                        setSubTotal(cadLiq, operaciones_subtot, volumen_subtot, importe_subtot, df);
                        // Agrega a sumas totales               
                        operaciones_total = operaciones_total + operaciones_subtot;
                        volumen_total = volumen_total + volumen_subtot;
                        importe_total = importe_total + importe_subtot;
                   setTotal(operaciones_total, volumen_total, importe_total, df);
              }catch(SQLException e){
                   System.out.println("Codigo de Error :"+e.getErrorCode());
                   System.out.println("Descripci�n del error :"+e.getMessage());
                   System.out.println("Estado del SQL :"+e.getSQLState());                    
              return true;
         public String getSql(){
              String sql1="select thp_tipo_valor, thp_emisora, thp_liquidacion, thp_tipo_operacion, "+
         "count(distinct(thp_emision)), count(thp_folio), sum(thp_volumen), sum(thp_importe) "+
                   "from thecprod "+
                   "where ( thp_tipo_valor = '"+tv+"' or '"+tv+"'='*') and "+
                   " ( thp_liquidacion = '"+liq+"' or '"+liq+"'='*') "+
                   "group by thp_tipo_valor, thp_emisora, thp_liquidacion, thp_tipo_operacion";
              return sql1;
         public void setRow(String a1,String a2,String a3,String a4,String a5,String a6,String a7,String a8,
                                  String a9, String a10) throws IOException{
                   out.println("<tr bgcolor='"+a1+"'"+" align=center bordercolor='"+a1+"' bordercolorlight='"+a1+"' bordercolordark='"+a1+"'>\n");
                   out.println("<td width=60 align=center><font face='Verdana,Arial' size=-1>"+a2+"</td>\n");
                   out.println("<td width=60 align=center><font face='Verdana,Arial' size=-1>"+a3+"</td>\n");
                   out.println("<td width=40 align=center><font face='Verdana,Arial' size=-1>"+a4+"</td>\n");
                   out.println("<td width=50 align=center><font face='Verdana,Arial' size=-1>"+a5+"</td>\n");
                   out.println("<td width=70 align=center><font face='Verdana,Arial' size=-1>"+a6+"</td>\n");
                   out.println("<td width=70 align=center><font face='Verdana,Arial' size=-1>"+a7+"</td>\n");
                   out.println("<td width=150 align=right><font face='Verdana,Arial' size=-1>"+a8+"</td>\n");
                   out.println("<td width=150 align=right><font face='Verdana,Arial' size=-1>"+a9+"</td>\n");
                   out.println("<td width=90 align=right><font face='Verdana,Arial' size=-1>"+a10+"%</td>\n");
                   out.println("</tr>\n");
         public void setSubTotal(String liquidacion, double operaciones_sub, double volumen_sub, double importe_sub, DecimalFormat df)throws IOException {
              out.println("<tr>\n");
                   out.println("<td width=60 align=center bgcolor=#FFFFFF><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=60 align=center bgcolor=#FFFFFF><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=40 align=center bgcolor=#ffffbb><font face='Verdana,Arial' size=-1>"+liquidacion+"</td>\n");
                   out.println("<td width=50 align=center bgcolor=#ffffbb><font face='Verdana,Arial' size=-1>Total</td>\n");
                   out.println("<td width=70 align=center bgcolor=#ffffbb><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=70 align=center bgcolor=#ffffbb><font face='Verdana,Arial' size=-1>"+getScala(operaciones_sub,0)+"</td>\n");
                   out.println("<td width=150 align=right bgcolor=#ffffbb><font face='Verdana,Arial' size=-1>"+df.format(volumen_sub)+"</td>\n");
                   out.println("<td width=150 align=right bgcolor=#ffffbb><font face='Verdana,Arial' size=-1>"+df.format(importe_sub)+"</td>\n");
                   out.println("<td width=90 align=right bgcolor=#ffffbb><font face='Verdana,Arial' size=-1>100.00%</td>\n");
                   out.println("</tr>\n");
         public void setTotal(double operaciones_total, double volumen_total, double importe_total, DecimalFormat df)throws IOException {
              out.println("<tr>\n");
                   out.println("<td width=60 align=center bgcolor=#FFFFFF><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=60 align=center bgcolor=#FFFFFF><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=40 align=center bgcolor=#FFFFFF><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=50 align=center bgcolor=#FFFFFF><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=70 align=center bgcolor=#FFFFFF><font face='Verdana,Arial' size=-1> </td>\n");
                   out.println("<td width=70 align=center bgcolor=#b5cffb><font face='Verdana,Arial' size=-1>"+getScala(operaciones_total,0)+"</td>\n");
                   out.println("<td width=150 align=right bgcolor=#b5cffb><font face='Verdana,Arial' size=-1><b>"+df.format(volumen_total)+"</td>\n");
                   out.println("<td width=150 align=right bgcolor=#b5cffb><font face='Verdana,Arial' size=-1><b>"+df.format(importe_total)+"</td>\n");
                   out.println("<td width=90 align=right bgcolor=#b5cffb><font face='Verdana,Arial' size=-1><b> </td>\n");
                   out.println("</tr>\n");
         public String getScala(double val, int uno){
              BigDecimal bd = new BigDecimal(val);
              return " "+bd.setScale(uno,5);
         protected synchronized double getTotalImporte(String tipovalor, String liquidacion){          
              double total = 0;
              try{
                   Connection conexion1 = getConexion();
                   Statement q = conexion1.createStatement();
                   String sql ="";
                   sql = "select sum(thp_importe) from thecprod where thp_tipo_valor = '"+tipovalor+"' and thp_liquidacion = '"+liquidacion+"'";
                   ResultSet res = q.executeQuery(sql);
                   while(res.next()){
                        total = res.getDouble(1);
                   res.close();
                   conexion1.close();               
              }catch(SQLException e){
                   System.out.println("Codigo de Error :"+e.getErrorCode());
                   System.out.println("Descripci�n del error :"+e.getMessage());
                   System.out.println("Estado del SQL :"+e.getSQLState());
              return total;
         public Connection getConexion(){
              String url ="jdbc:mysql//localhost:3306/bdsif";
              Connection conexion = null;
              try{
                   conexion = DriverManager.getConnection(url, "usersif", "password");
              }catch(SQLException e){
                   System.out.println("Codigo de Error :"+e.getErrorCode());
                   System.out.println("Descripci�n del error :"+e.getMessage());
                   System.out.println("Estado del SQL :"+e.getSQLState());
              return conexion;
         public String getFechaLocal(){
              java.util.Date today;
              String output;
              java.text.SimpleDateFormat formatter;
              formatter = new java.text.SimpleDateFormat("EEEEEEEEE dd 'de' MMMMMMMMMM 'del' yyyy", new Locale("es", "Spanish"));
              today = new java.util.Date();
              return " "+formatter.format(today);          
         public void destroy(){
    //     System.out.println("Destrui el ServletAcumuladoOp...");
    }

  • Activity allocation

    Dear Gurus
    I have a situation: Employee's like GM works on different locations e.g., Plant A & Plant B.  Both Plant A & B have different Cost Centers.  I want to distribute GM's Cost on both Centers (Activity Allocation).
    Is is possible? if yes then how?
    Kindly guide in detail.
    regards,

    The IT0027 (Cost Distribution) screen captures the WBS & cost distribution details which the salary of the student will be charged to. Hence, if the same student is being hired in more than one dept, he/she will have to be appointed under different personnel numbers because each dept has its own WBS vote. Enter the following data:
         (i) Co. u2013 u201C01u201D for NUS (fixed value)
         (ii) WBS element. u2013 EOM WBS vote number (E.g. C-XXX-000-002-001). You can search for WBS by description, e.g. LAW. This will return you with all WBS having the word u201CLAWu201D in it.
         (iii) Pct. u2013 Percentage of funding from the WBS vote. Normally u201C100u201D

  • Queue Memory Allocation Weirdness

    I am at a loss to how LabVIEW is allocating memory in its queues.
    In the example I attached you must open Windows Task Manager and look at the Memory column.
    I'll try to lead you through the steps of the example.
    1.) Make a queue of length 10, data type double array.
    2.) Fill the queue with 10 arrays of 1M points, watch the memory increase in 8M steps in the Task Manager. (This makes complete sense to me.)
    3.) Empty the queue of the 10 elements. Note that the memory stays constant in the Task Manager. (This also make sense to me and LabVIEW will not release the memory in case it is needed later.)
    4.) Fill the queue with empty arrays, watch the memory decrease in 8M steps in the Task Manager. (This also makes complete sense to me.)
    5.) Put one array element in the queue, 1M doubles, then dequeue the element. Now the memory increases by 8M steps for all 10 iterations. Note if you increase the number of iteration on this last loop, the total memory used never goes beyond 80M, the original allocation.
    Why is LabVIEW using all the memory initially allocated to the queue when there is only 1 element in it at any time?
    I ask this because at points in my real program I want to limit my queue to a single element to save memory, but this example shows that will require a work around.
    If anybody has any insights, I greatly appreciate it.
    Cheers,
    Andrew
    Attachments:
    QueueMemoryWeirdness.vi ‏23 KB
    QueueMemoryWeirdness.png ‏64 KB

    Nathand,
    Thanks for your advice, although I am having a hard time following it. I'm trying to put the words into images in my head, but presently it is not working. It has been a long week.
    As far a real program goes, a brief description is as follows:
    I have a bunch of A/D boards in a PXI chassis; the slow part of my program is writing to a file. After the data is processed, I store the values in a queue where it is passed to a "consumer loop" that saves the data. If I have a single element queue, then my DAQ acquisition speed is limited by how fast the files can be saved. Thus, I have a finite length queue to buffer the data while it gets saved.
    The person that I work likes to store millions of double precision points, so memory can grow fast. Typically we only get 2M total points from each board, and my queue can grow to 500MB in size. However, there are times when my colleague wants to acquire 10M or more points from each board. In this case, I want to limit the queue size to 1. Since this can not be done dynamically while the program is running, I am using a semaphore like construct to limit my queue to 1 element. (That is I wait until my file is saved before adding another element.) When I tried to do this, my memory usuage kept growing, similar to the example I provided earlier.
    I came up with a kludge type solution, fill up the queue to N-1 elements with empty arrays, then insert in the front my real data set. It works but I am not happy with it.
    On this board there are plently of people like yourself who are much more clever than me, and i am hoping they can figure out what is going on here. (I'm still trying to figure out your advice.)
    Thanks again for your help.
    Cheers,
    mcduff

  • "Unknown error" during allocation

    Hello!
    Has anybody got the same error?
    Dim Source Basis
    A AB AB Description
    a2 -800 -1000 Unknown error (11/3) (11)
    Here is the script which produce this error:
    oknullstatus=YES;
    naskip=YES;
    naskip2=YES;
    define a dimension text;
    mnt a add 'a2' 'a21' 'a22' 'a23' 'a24' 'a25' 'a26' 'a27' 'a28' 'a29';
    define arel relation a <a>;
    arel(a'a21')='a2';
    arel(a'a22')='a2';
    arel(a'a23')='a2';
    arel(a'a24')='a2';
    arel(a'a25')='a2';
    arel(a'a26')='a2';
    arel(a'a27')='a2';
    arel(a'a28')='a2';
    arel(a'a29')='a2';
    lmt a to all;
    define avls valueset a;
    define b dimension text;
    mnt b add 'b1';
    define ab variable decimal <a b>;
    define aallmap aggmap;
    allocmap joinlines ('relation arel operator heven args protect avls' 'end');
    ab(a'a2')=-1000;
    lmt avls to 'a21' 'a22';
    ab(a'a21')=-100;
    ab(a'a22')=-100;
    allocate ab using aallmap;
    I discovered that the problem occured when i want to allocate from a negative number! But in the real world (in my country) costs are usually represented by negative numbers, so this problem is serious!
    Thanks for the quick reply!
    DenX
    [email protected]
    PS: Sorry if the text wrapping goes wrong...

    I'm not sure why you're getting "Unknown error" - you should be seeing this:
    a2 -800 -1000 A source was OVER ALLOCATED to its children (11)
    But that's still a bug - negative numbers and PROTECT (and probably any modifier which causes ALLOCATE to need to renormalize data like MIN/MAX/FLOOR/CEILING as well) seem to interact poorly. It will be fixed in future patch releases, if you'd like a backport please file a TAR.
    Thanks a lot for the concise test case, that really eases the bug hunting.

  • Error in activity allocation

    Hi Experts.
    I am from HR area , i am executing an integrated scenario with controlling . While creating some master data , i am providing activity allocation details like company code , sender and receiver fucntional area and Fund id. I am getting an error " UNITS WITH DIFFERENT DIMENSIONS CANNOT BE CONVERTED" . Can anyone please help to resolve this problem.If you want the complete scenario description i can provide it .
    Regards,
    Balaji.D.N
    Edited by: Balaji DN on Oct 7, 2009 8:33 AM

    please check the unit of measure assigned in the activity type and unitof measure of Statistical key figure being used in the activity type.

  • .../sound/core/snd-page-alloc.ko.gz': No such directory -- [solved]

    I lost my sound when I tried loading the manufacturers driver. So I went to the Arch wiki page and followed the steps to set up but this is what I get (Making sure the sound modules are loaded--section).
    https://wiki.archlinux.org/index.php/Ad … figuration
    [joe@Tux-Box ~]$ modprobe snd-hda-intel
    WARNING: Could not read '/lib/modules/3.1.8-1-ARCH/kernel/sound/core/snd-page-alloc.ko.gz': No such file or directory
    WARNING: Could not read '/lib/modules/3.1.8-1-ARCH/kernel/sound/core/snd.ko.gz': No such file or directory
    WARNING: Could not read '/lib/modules/3.1.8-1-ARCH/kernel/sound/core/snd-timer.ko.gz': No such file or directory
    WARNING: Could not read '/lib/modules/3.1.8-1-ARCH/kernel/sound/core/snd-pcm.ko.gz': No such file or directory
    WARNING: Could not read '/lib/modules/3.1.8-1-ARCH/kernel/sound/core/snd-hwdep.ko.gz': No such file or directory
    WARNING: Could not read '/lib/modules/3.1.8-1-ARCH/kernel/sound/pci/hda/snd-hda-codec.ko.gz': No such file or directory
    FATAL: Could not read '/lib/modules/3.1.8-1-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko.gz': No such file or directory
    It looks like the install script wiped out all the previous modules. 
    I then followed the wiki link to the "Alsa Sound Card Matrix" and selectd hda-intel and ran the command below which based on this sight indicates the module is loaded.
    [joe@Tux-Box ~]$ modinfo soundcore
    filename: /lib/modules/3.1.8-1-ARCH/kernel/sound/soundcore.ko.gz
    alias: char-major-14-*
    license: GPL
    author: Alan Cox
    description: Core sound module
    depends:
    vermagic: 3.1.8-1-ARCH SMP preempt mod_unload modversions
    parm: preclaim_oss:int
    So at this point I am confused and not sure what to do to correct.
    Any direction would be appreciated as the only solution I can think of is to rebuild the system which I don't have the time for currently.   
    Some more info....
    [joe@Tux-Box ~]$ lspci | grep Audio
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40) --- On Board audio which I have been using.
    01:00.1 Audio device: nVidia Corporation GF106 High Definition Audio Controller (rev a1) -- Audio built into my Video card which I don use.
    Thanks in advance for your direction
    Last edited by jv2112 (2012-01-14 15:17:32)

    I ran
    packer -Syu
    which then reloaded the linux headers and ran udev & viola ---- Sound

  • Class to Class Allocation Table

    Hi,
    I've assigned a class to another class to create a hierarchical structure. Which table can I find this allocations? For example, both classes B and C are assigned to class A creating a hierarchy. But in which table this assignment is stored?
    Please advice.

    Check with below table :
    Classification
    Name Description Uses
    KSSK Material number to class
    KLAS Class description
    KSML Characteristic name
    CABN/CABNT Characteristic name description
    CAWN/CAWNT Characteristic name
    FM : K_HIERARCHY_TABLES_READ
    Tables : KLAH
    Thanks
    Seshu

Maybe you are looking for

  • When will I get the final bill. Billing cycle is already over

    Hi, I ported my verizon number out on 12/25/2013, my billing cycle ends on 01/12. But I still havent received any email/mail regarding final bill. I even went to the link www.vzw.com/paymybill and entered my account number, it says 0.0 balance. Is th

  • How do i encode a HUGE movie to fit on a website?

    I have a film shot by my client that is 58Mb (about 720px wide) , and I need to resize it and encode it so that it is downloadable in several formats (wmv, avi, mov) on the client's website. I will probably also have an embedded version, but that dep

  • Questions on SES

    Hi, We went through the PDF docment “<b>Enabling Full-Text Search for Business Objects in mySAP ERP</b>” by Karsten Hohage.  We have following observation/questions based on our understanding of the document. 1) For all the business objects mentioned

  • How to re-install all mail files in Mountain Lion

    Hi, Can someone tell me to delete ALL mail user files so I can set up new accounts again?

  • Gatewayed URL problem to Flex portlet

    i'm create a remote portlet which point to a flex content and jsp in a remote server and through by gateway, but after and add gateway URL in front of the remote server URL, the portlet become can't display on the screen. Because of my remote server