Mkfs: bad value for nbpi: must be at least 1048576 for multi-terabyte, nbpi

Hi, guys!
*1. I have a big FS (8 TB) on UFS which contains a lot of small files ~ 64B-1MB.*
-bash-3.00# df -h /mnt
Filesystem Size Used Avail Use% Mounted on
/dev/dsk/c10t600000E00D000000000201A400020000d0s0
8.0T 4.3T 3,7T 54% /mnt
*2. But today I noticed in dmesg such errors: "ufs: [ID 682040 kern.notice] NOTICE: /mnt: out of inodes"*
-bash-3.00# df -i /mnt
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/dsk/c10t600000E00D000000000201A400020000d0s0
8753024 8753020 4 100% /mnt
*3. So, I decided to make file system with new parameters:*
-bash-3.00# mkfs -m /dev/rdsk/c10t600000E00D000000000201A400020000d0s0
mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=8192,cgsize=143,free=1,rps=1,nbpi=997778,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=y /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
-bash-3.00#
-bash-3.00# mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=1024,cgsize=143,free=1,rps=1,nbpi=512,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=f /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
*3. I've got some warnings about inodes threshold:*
-bash-3.00# mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=1024,cgsize=143,free=1,rps=1,nbpi=512,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=n /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
mkfs: bad value for nbpi: must be at least 1048576 for multi-terabyte, nbpi reset to default 1048576
Warning: 2128 sector(s) in last cylinder unallocated
/dev/rdsk/c10t600000E00D000000000201A400020000d0s0: 17165172656 sectors in 2793811 cylinders of 48 tracks, 128 sectors
8381432.0MB in 19538 cyl groups (143 c/g, 429.00MB/g, 448 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 878752, 1757472, 2636192, 3514912, 4393632, 5272352, 6151072, 7029792,
7908512,
Initializing cylinder groups:
super-block backups for last 10 cylinder groups at:
17157145632, 17158024352, 17158903072, 17159781792, 17160660512, 17161539232,
17162417952, 17163296672, 17164175392, 17165054112
*4.And my inodes number didn't change:*
-bash-3.00# df -i /mnt
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/dsk/c10t600000E00D000000000201A400020000d0s0
8753024 4 8753020 1% /mnt
I found http://wesunsolve.net/bugid.php/id/6595253 that is a bug of mkfs without workaround. Is ZFS what I need now?

Well, to fix the bug you referred to you can apply patch 141444-01 or 141445-01.
However that bug is just regarding an irrelevant error message from mkfs, it will not fix your problem as such.
It seems to me like the minimum value for nbpi on a multi-terabyte filesystem is 1048576, hence you won't be able to create a filesystem with more inodes.
The things to try would be to either create two UFS filesystems, or go with ZFS, which is the future anyway ;-)
.7/M.

Similar Messages

  • Why passwd for CHAP must be the same while for PAP its not mandatory ?

    Hi,
    want to ask a question in WAN about PAP/CHAP.
    why passwd for CHAP must be the same between routers  while for PAP its not mandatory ?
    regards

    By default, much of this type of checking is performed for you. Read the available checks in {font:Courier}/usr/share/doc/pam-0.99.6.2/txts/README.pam_cracklib{font} and then decide if these are sufficient.
    Note that some checks are not enabled by default, You can tune them by editing the {font:Courier}/etc/pam.d/system-auth{font} file:
    # /bin/fgrep /etc/pam.d/system-auth
    password    requisite     pam_cracklib.so try_first_pass retry=3and tinkering with the command line arguments there.

  • Error in saving customer information. Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.

    I was trying to create a text alert. I was calling following in jsp
    email.setContactPointPurpose(myLookUpCode); //say XXMY_SMS_SHIP
            PartyManager.createEmail(email, ApiConstant.CONTACT_POINT);
    Getting following exception:
    Error in saving customer information.
    Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.
    Error trace:
    oracle.apps.ibe.customer.CustomerException: Error in saving customer information. at oracle.apps.ibe.tcav2.Email.create(Email.java:187) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Caused by: oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) ... 11 more Error in saving customer information. oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.

    Tried this but it is giving the below error
    APP-FND-01242: Cannot read value from field PER_ASSIGNMENT_ID
    Cause: The field PER_ASSIGNMENT_ID could not be located or read.
    Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field.

  • Startup nomont problem- ORA-07446: sdnfy: bad value '' for paramete

    what i am doing wrong?
    SQL> startup nomount pfile=/oracle/product/9.2.0.6/dbs/initncersp.ora;
    ORA-00444: background process "PMON" failed while starting
    ORA-07446: sdnfy: bad value '' for parameter .
    -rw-r--r-- 1 oracle dba 466 Jan 21 11:11 initncersp.ora
    oracle:tulppwradb02:ncersp>pwd
    /oracle/product/9.2.0.6/dbs
    oracle:tulppwradb02:ncersp>vi initncersp.ora
    "initncersp.ora" 127 lines, 3788 characters
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Archive
    log_archive_dest='/archive_nmarket/ncersp'
    log_archive_format='arch.ncersp.%s_%t.log'
    log_archive_start=true
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    db_files = 400
    # Cursors and Library Cache
    open_cursors=500
    # Database Identification
    db_domain=""
    db_name=ncersp
    # Global Naming -- enforce that a dblink has same name as the db it connects to
    global_names = TRUE
    # Diagnostics and Statistics
    background_dump_dest=/oracle/admin/ncersp/bdump
    core_dump_dest=/oracle/admin/ncersp/cdump
    user_dump_dest=/oracle/admin/ncersp/udump
    timed_statistics=TRUE
    # File Configuration
    control_files=("/db01/oradata/ncersp/ncerspcontrol01.ctl","/db01/oradata/ncersp/ncerspcontrol02.ctl","/db01/oradata/ncer
    sp/ncerspcontrol03.ctl")
    # Instance Identification
    instance_name=ncersp
    # Job Queues
    job_queue_processes=0 #zero during maintenance
    # Optimizer
    hash_join_enabled=TRUE
    #query_rewrite_enabled=TRUE
    #query_rewrite_integrity='trusted'
    #star_transformation_enabled=FALSE
    # Pools
    java_pool_size=51200
    large_pool_size=8388608
    shared_pool_size=55343360
    # Processes and Sessions
    processes=100
    # Redo Log and Recovery
    fast_start_mttr_target=300
    # Security and Auditing
    remote_login_passwordfile='EXCLUSIVE'
    audit_trail=DB
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=1024000
    # Need Varification for below paramaters by Primary DBA
    # Miscellaneous
    aq_tm_processes=1
    compatible=9.2.0.0.0
    log_buffer=32768
    log_checkpoint_interval = 10000
    log_checkpoints_to_alert=TRUE
    max_dump_file_size='10240'
    os_roles=FALSE
    remote_os_roles=FALSE
    os_authent_prefix=''
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_retention=10800
    undo_tablespace=UNDOTBS1
    #utl_file_dir='*'
    # OLD DB PARAMETERS
    #db_block_buffers=550
    #resource_limit=true
    #parallel_max_servers = 5 # SMALL
    #global_names = TRUE
    #job_queue_interval = 60

    Is this correct:
    os_authent_prefix=''
    I believe if you want to set this to null, you need to use double quotes, (as in os_authent_prefix="")
    Ref: http://www.dba-oracle.com/security/local_os_authentication.htm
    ==============================================
    To disable this feature, place the following lines in the initialization file, or change the lines to the following if they already exist and bounce the database.
    os_authent_prefix = ""
    remote_os_authent = FALSE

  • Can't build gcc-4.1.2; error: bad value (generic) for -mtune= switch

    I need this specific version of gcc, so I got the old PKDBUILD from svn, see below. However when gcc compiles I run into this compile error:
    TARGET_CPU_DEFAULT="" \
    HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
    /bin/sh ../../gcc-4.1.2/gcc/mkconfig.sh tconfig.h
    ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc/../ld -O2 -O2 -march=i686 -mtune=generic -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
    -c ../../gcc-4.1.2/gcc/crtstuff.c -DCRT_BEGIN \
    -o crtbegin.o
    ../../gcc-4.1.2/gcc/crtstuff.c:1: error: bad value (generic) for -mtune= switch
    make[2]: *** [crtbegin.o] Error 1
    make[2]: Leaving directory `/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc'
    make[1]: *** [stage1_build] Error 2
    make[1]: Leaving directory `/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc'
    make: *** [bootstrap] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Here is the PKGBUILD I use:
    # $Id: PKGBUILD,v 1.60 2007/02/14 14:53:50 jgc Exp $
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gcc
    pkgver=4.1.2
    pkgrel=3
    pkgdesc="The GNU Compiler Collection"
    arch=(i686 x86_64)
    url="http://gcc.gnu.org"
    depends=('glibc' 'binutils>=2.17')
    options=('!libtool')
    source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,objc}-${pkgver}.tar.bz2
    ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-4.0.0.tar.bz2
    DW_CFA_val.patch
    gcc_pure64.patch)
    md5sums=('2af3fb599635219171c6ae1f3034888a' '75c6d5fa3415d614314caf0f509e8933'
    'abda05c0ab99059e8f9e7a625361fd87' '2be86d2117c8fa7f9ec2845cc0660ab1'
    '078680c207f7cd490044d4a53edf158d' '1ceaa49e3a1d9f984ecc2893c43f7425')
    build() {
    export MAKEFLAGS="-j1"
    cd ${startdir}/src/gcc-${pkgver}
    # Don't install libiberty
    sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
    if [ "${CARCH}" = "x86_64" ]; then
    patch -Np1 -i ../gcc_pure64.patch || return 1
    fi
    patch -Np0 -i ${startdir}/src/DW_CFA_val.patch || return 1
    # Don't run fixincludes
    sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
    mkdir ../gcc-build
    cd ../gcc-build
    ../gcc-${pkgver}/configure --prefix=/usr --enable-shared \
    --enable-languages=c,c++,objc --enable-threads=posix \
    --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib \
    --libexecdir=/usr/lib --enable-clocale=gnu
    make bootstrap || return 1
    make DESTDIR=${startdir}/pkg install || return 1
    mkdir -p ${startdir}/pkg/lib
    (cd ${startdir}/pkg/lib; ln -s ../usr/bin/cpp)
    (cd ${startdir}/pkg/usr/bin; ln -sf gcc cc; ln -sf g++ c++)
    # install the libstdc++ man pages
    mkdir -p ${startdir}/pkg/usr/man/man3
    install -m644 ${startdir}/src/man/man3/* ${startdir}/pkg/usr/man/man3/
    Last edited by Phlogiston (2009-02-27 20:08:37)

    or here you go:
    # $Id: PKGBUILD,v 1.60 2007/02/14 14:53:50 jgc Exp $
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gcc-4.1
    pkgver=4.1.2
    pkgrel=3
    pkgdesc="The GNU Compiler Collection"
    arch=(i686 x86_64)
    url="http://gcc.gnu.org"
    depends=('glibc' 'binutils>=2.17')
    options=('!libtool')
    source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,objc}-${pkgver}.tar.bz2
    ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-4.0.0.tar.bz2
    DW_CFA_val.patch
    gcc_pure64.patch)
    md5sums=('2af3fb599635219171c6ae1f3034888a' '75c6d5fa3415d614314caf0f509e8933'
    'abda05c0ab99059e8f9e7a625361fd87' '2be86d2117c8fa7f9ec2845cc0660ab1'
    '078680c207f7cd490044d4a53edf158d' '1ceaa49e3a1d9f984ecc2893c43f7425')
    build() {
    export MAKEFLAGS="-j1"
    cd ${startdir}/src/gcc-${pkgver}
    # Don't install libiberty
    sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
    if [ "${CARCH}" = "x86_64" ]; then
    patch -Np1 -i ../gcc_pure64.patch || return 1
    fi
    patch -Np0 -i ${startdir}/src/DW_CFA_val.patch || return 1
    # Don't run fixincludes
    sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
    mkdir ../gcc-build
    cd ../gcc-build
    ../gcc-${pkgver}/configure --prefix=/opt/gcc-4.1 --enable-shared \
    --enable-languages=c,c++,objc --enable-threads=posix \
    --enable-__cxa_atexit --disable-multilib \
    --enable-clocale=gnu
    make bootstrap || return 1
    make DESTDIR=${startdir}/pkg install || return 1
    mkdir -p ${startdir}/pkg/lib
    # (cd ${startdir}/pkg/lib; ln -s ../usr/bin/cpp)
    # (cd ${startdir}/pkg/usr/bin; ln -sf gcc cc; ln -sf g++ c++)
    # install the libstdc++ man pages
    mkdir -p ${startdir}/pkg/usr/man/man3
    install -m644 ${startdir}/src/man/man3/* ${startdir}/pkg/usr/man/man3/

  • Error BEA-382510 bad value for type node

    Hi,
    We have a requirement to read the xpath from the resource file placed in project folder in OSB and use that xpath to generate the report. For this I have done the following:
    1) Made the xpath entry to properties file as <xpath>$body/*/*/EMPTYPE/EMPDATA/EMPNO</xpath>
    2) Created a variable to fetch the xpath value from property file, say xpathvar
    3) Created another variable, say reportvar which will have the contents: <report>{$xpathvar/text()}</report>. This should fetch the xpath from the variable and replace it in the calling part to fetch the value of the xpath.
    4) For report generation the in key value it is ./text() from variable reportvar.
    When I test this it throws error:
    <con:errorCode>BEA-382510</con:errorCode>
    <con:reason>
    OSB Assign action failed updating variable "reportxpath": com.bea.wli.common.xquery.XQueryException: Error parsing XML: line 1, column 19: {err}XP0006: "$body/*/*/EMPTYPE/EMPDATA/EMPNO ({http://www.w3.org/2001/XMLSchema}string)": bad value for type node
    </con:reason>
    Any pointers will be highly appreciated.
    Thanks!

    I think you cant substitute xpath as you have did.
    As shown in the blog which you mentioned in the other post you may need to have a xslt transformation with xalan:evaluate to correctly process the xpath read from the properties file.
    <report>{$xpathvar/text()}</report>. Here $xpathvar having the value '$body/*/*/EMPTYPE/EMPDATA/EMPNO' will be treated as string type (this will be string as you have read from the properties file as string) and not node. And you are trying to apply the text() function on a string instead of node which is resulting in that error.

  • BEA-382513: OSB Replace action failed: bad value for type element anyType

    Hello, in OSB I get this strange error message on my XQUERY TRANSFORMATION.
    *<faultstring>BEA-382513: OSB Replace action failed updating variable "response":*
    com.bea.wli.common.xquery.XQueryException:
    *Error parsing XML: {err}XP0006: "*
    *element {http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5}Cs2DebitorOpVieCollection*
    *{ {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }":*
    bad value for type element
    *{http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5}cs2RechungungenResponse*
    *{ {http://www.w3.org/2001/XMLSchema}anyType }*
    *</faultstring>*
    I'm a pl/sql developer and I have no idea what this error message is telling me.
    In this forum I'v read someting about a wrong namespace declaration. I can't see any wrong value on my xml (ok, I'm not the specialist here...)
    Maybe someone of you xquey cracks might have a look at my code?
    This is what I have:
    _1.) a XQuery variable called cs2RechnungenResponse with this content:_
    <cs2:Cs2DebitorOpVieCollection
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:cs2="http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5">
         <cs2:Cs2DebitorOpVie>
              <cs2:f40Konto>333</cs2:f40Konto>
              <cs2:AMT_BEZEICHNUNG>Amt für Gesundheit</cs2:AMT_BEZEICHNUNG>
              <cs2:f40Belnr>555</cs2:f40Belnr>
              <cs2:f40Sohab>S</cs2:f40Sohab>
              <cs2:f40Dmbet>100</cs2:f40Dmbet>
              <cs2:f40Fadat>2011-05-05T00:00:00.000+02:00</cs2:f40Fadat>
              <cs2:f40Valut>2011-05-05T00:00:00.000+02:00</cs2:f40Valut>
              <cs2:f40Mahns/>
              <cs2:f40F40Sj>0</cs2:f40F40Sj>
         </cs2:Cs2DebitorOpVie>
    </cs2:Cs2DebitorOpVieCollection>
    _2. a xquery with this code:_
    (:: pragma bea:global-element-parameter parameter="$cs2RechnungenResponse" element="ns2:cs2RechnungenResponse" location="../adapters/cs2_adapters/xsd/CS2AdapterSelectOffenePosten_v0_5_table.xsd" ::)
    (:: pragma bea:global-element-return element="ns0:getDebitorRechnungResponse" location="../../interfaces/RechnungServiceTypes_v0_6.xsd" ::)
    declare namespace ns3 = "http://www.llv.li/common/types/v1";
    declare namespace ns2 = "http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5";
    declare namespace ns1 = "http://www.llv.li/fin/types/v1";
    declare namespace ns0 = "http://www.llv.li/fin/services/rechnungService/v1";
    declare namespace xf = "http://tempuri.org/fin_sb/RechnungsService/transformations/CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v0_5/";
    declare function xf:CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v1_0($cs2RechnungenResponse as element(ns2:cs2RechnungenResponse))
    as element(ns0:getDebitorRechnungenResponse) {
    <ns0:getDebitorRechnungenResponse schemaVersion="0.6">
              if ($cs2RechnungenResponse/ns2:Cs2DebitorOpVie) then
              <ns0:debitorRechnungList>
         for $Cs2DebitorOpVie in $cs2RechnungenResponse/ns2:Cs2DebitorOpVie
         return
         <ns0:debitorRechnung>
              <ns1:peid>0</ns1:peid>
              <ns1:rechnungsnummer>{ data($Cs2DebitorOpVie/ns2:f40Belnr) }</ns1:rechnungsnummer>
              <ns1:rechnungsdatum>{ xs:date(fn-bea:remove-timezone-from-dateTime(data($Cs2DebitorOpVie/ns2:f40Fadat))) }</ns1:rechnungsdatum>
              <ns1:faelligAm>{ xs:date(fn-bea:remove-timezone-from-dateTime(data($Cs2DebitorOpVie/ns2:f40Valut))) }</ns1:faelligAm>
         <ns1:behoerde>{ data($Cs2DebitorOpVie/ns2:AMT_BEZEICHNUNG) }</ns1:behoerde>
         <ns1:positionList>
              <ns1:position>
                   <ns1:positionsnummer>1</ns1:positionsnummer>
                                                 <ns1:betrag>{ data($Cs2DebitorOpVie/ns2:f40Dmbet) }</ns1:betrag>
                                                 <ns1:waehrung>
                                                      <ns1:isoCode>CHF</ns1:isoCode>
                                                      <ns1:bezeichnung>Schweizer Franken</ns1:bezeichnung>
                                                 </ns1:waehrung>
              </ns1:position>
              </ns1:positionList>
         <ns1:status>offen</ns1:status>
              if ($Cs2DebitorOpVie/ns2:f40Mahns/text() > "") then
                   <ns1:mahnstufe>{ xs:int(data($Cs2DebitorOpVie/ns2:f40Mahns)) }</ns1:mahnstufe>
              else ()
         </ns0:debitorRechnung>
         </ns0:debitorRechnungList>
         else ()
    <ns0:resultatStatus>
         <ns3:code>Erfolgreich</ns3:code>
         <ns3:beschreibung>Rechnungen aus MFK fehlen</ns3:beschreibung>
    </ns0:resultatStatus>     
    </ns0:getDebitorRechnungenResponse>
    declare variable $cs2RechnungenResponse as element(ns2:cs2RechnungenResponse) external;
    xf:CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v1_0($cs2RechnungenResponse)
    _3. this should result in this response, but it doesn't_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <v1:getDebitorRechnungenResponse schemaVersion="0.6" xmlns:v1="http://www.llv.li/fin/services/rechnungService/v1">
    <v1:debitorRechnungList>
    <v1:debitorRechnung>
    <v11:peid xmlns:v11="http://www.llv.li/fin/types/v1">333</v11:peid>
    <v11:rechnungsnummer xmlns:v11="http://www.llv.li/fin/types/v1">555</v11:rechnungsnummer>
    <v11:rechnungsdatum xmlns:v11="http://www.llv.li/fin/types/v1">2011-05-05</v11:rechnungsdatum>
    <v11:faelligAm xmlns:v11="http://www.llv.li/fin/types/v1">2011-05-05</v11:faelligAm>
    <v11:behoerde xmlns:v11="http://www.llv.li/fin/types/v1">Amt für Gesundheit</v11:behoerde>
    <v11:positionList xmlns:v11="http://www.llv.li/fin/types/v1">
    <v11:position>
    <v11:positionsnummer>1</v11:positionsnummer>
    <v11:betrag>100</v11:betrag>
    <v11:waehrung>
    <v11:isoCode>CHF</v11:isoCode>
    <v11:bezeichnung>Schweizer Franken</v11:bezeichnung>
    </v11:waehrung>
    </v11:position>
    </v11:positionList>
    <v11:status xmlns:v11="http://www.llv.li/fin/types/v1">offen</v11:status>
    </v1:debitorRechnung>
    </v1:debitorRechnungList>
    <v1:resultatStatus>
    <v11:code xmlns:v11="http://www.llv.li/common/types/v1">Erfolgreich</v11:code>
    <v11:beschreibung xmlns:v11="http://www.llv.li/common/types/v1">Rechnungen aus MFK fehlen</v11:beschreibung>
    </v1:resultatStatus>
    </v1:getDebitorRechnungenResponse>
    </soap-env:Body>
    </soapenv:Envelope>
    But I do not get this expectet result, all I get is the BEA-382513: OSB Replace action failed: bad value for type element anyType?
    Any help would be appreciated.
    Thanks
    Best regards
    rk

    cs2RechungungenResponse or cs2RechnungenResponse ? the error message says cs2RechungungenResponse, but the actual element is cs2RechnungenResponse (one less "u")

  • Form Bad Value  coz of UDO

    Hi all,
    I have a text Box that i have binded(UDO) to a database data source through xml.
    That text BOx is linked to a choose from list .
    Through coding
    When i try to fill the textbox (which is linked to choose from list)  from the choose from list am getting 'Form Bad Value' Error.
    How can i solve this issue??
    Please very urgent
    Thanks in advance.

    I must say that I'm wrong and William is right!
    The pval.InnerEvent for the LOST FOCUS event does not work.  The event fires exponentially since the pVal.InnerEvent is always true in this event!
    Could this be a bug in the SAP UI API?  Don't understand this behavior why then is the InnerEvent available for this event if it is always to be false.
    What I found out is that you can always use the LOST FOCUS event as long as you don't click or update the contents of another control than the one you are working with.

  • How to solve: Main Thread (Suspended: Error: value of pendingCustomerTokenList must be a collection)

    Hi All,
    Have an app that I am creating in flashbuilder 4, java axis 2 web service and mysql.
    In my app I have defined a service.  I have had not problems with pulling data and inserting data
    by calling my java functions through the service.
    I added a new property and then made it available in flex.  it display on label field,  Ran the app and got the error:
    Error: value of pendingCustomerTokenList must be a collection
      at valueObjects::_Super_PendingTokensResponse/set pendingCustomerTokenList()[F:\vEngage\flexworkspace\FBAgentApp\src\valueObjects\_Super_Pe ndingTokensResponse.as:104]
      at com.adobe.serializers.utility::TypeUtility$/assignProperty()[/Users/sameer/depot/flex/ide _builder/com.adobe.flexbuilder.dcrad/serializers/src/com/adobe/serializers/utility/TypeUti lity.as:559]
      at com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[/Users/sameer/depot/fle x/ide_builder/com.adobe.flexbuilder.dcrad/serializers/src/com/adobe/serializers/utility/Ty peUtility.as:498]
      at com.adobe.serializers.utility::TypeUtility$/convertResultHandler()[/Users/sameer/depot/fl ex/ide_builder/com.adobe.flexbuilder.dcrad/serializers/src/com/adobe/serializers/utility/T ypeUtility.as:372]
      at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::processResult()[E:\dev\4.y\frameworks\projects \rpc\src\mx\rpc\soap\Operation.as:953]
      at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.y\frameworks\projects \rpc\src\mx\rpc\AbstractInvoker.as:313]
      at mx.rpc::Responder/result()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
      at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AsyncReq uest.as:84]
      at DirectHTTPMessageResponder/completeHandler()[E:\dev\4.y\frameworks\projects\rpc\src\mx\me ssaging\channels\DirectHTTPChannel.as:451]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/onComplete()
    I looked at the Network Monitor tab and examined the call/response.  Response body shows no error and the Response result shows the data returned by my java axis 2 function.  Its all correct.
    Ran configure return type again.  Let it auto-detect and return type from sample data. The properties returned looked just fine.
    Looked at the _Super_PendingTokensResponse.as on line 104
    var oldValue:ArrayCollection = _internal_pendingCustomerTokenList;              
            if (oldValue !== value)
                if (value is ArrayCollection)
                    _internal_pendingCustomerTokenList = value;
                else if (value is Array)
                    _internal_pendingCustomerTokenList = new ArrayCollection(value);
                else
                    throw new Error("value of pendingCustomerTokenList must be a collection");
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pendingCustomerTokenList", oldValue, _internal_pendingCustomerTokenList));
    How to I correct this problem ?
    thanks for any help.

    Have a look at these docs:
    E-CA Change Assistant gives error: All agents should be running and sending pulses for all application, batch, file and web servers for the environment before the Change Assistant is started (Doc ID 1073464.1)
    E-CA: PT8.53, PT8.52, PT8.51, PT8.50: EMF Agents not Finding Configuration Files for App Server, Batch Server (Doc ID 1080590.1)

  • Column value '        ' too long - must stop', probably configuration error

    Hi Experts,
    I have a Proxy to File Scenario when I execute it I get this error in RWB. Can you please help me on this:
    Message processing failed. Cause: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '        ' too long - must stop', probably configuration error in file adapter (XML parser error)''; nested exception caused by: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '        ' too long - must stop', probably configuration error in file adapter (XML parser error)'
    Thanks
    Srikanth E

    Hi,
    if there is any empty tag coming from source then target structure tag will not be created and because of which ur payload structure and FCC configuration is not matching.
    To use map with default between source and target strcture so in case source tag dont have value target structure will be created because of mapwithdegfault fuction and ur FCC will not fail.
    Open SXMB_MONI output payload and compare the structre with Data type u will se for no source value target tag is not created at all and FCC is failed.
    please refer below thread,
    0 byte txt file using receiver File Adapter
    regards,
    ganesh.

  • Form bad value when opening CFL in system forms

    Hi,
    I have a UDF control on the Stock Transfer Form which opens a CFL. Now at the CFL event, when i try to set the value from the CFL to the Parent Form (Stock Transfer). It opens the CFL again with "Form - Bad Value" error.
    This case i had faced but the problem was solved using
    dbdatasource.setValue = "string value returnd frm CFL datatable"
    but my problem comes with system form where i cannot use Setvalue method of DBDataSource.
    Please Help!
    Manu.

    Hi Trinidad,
    thanx for replying.
    my code is
    Select pVal.BeforeAction
    Case False
           Select Case pVal.EventType
                      Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST:
                                 ''' sCFL_Value1 is a string'''
                                 sCFL_Value1 = oCFLEvent.SelectedObjects.GetValue(1, 0).ToString()
                             If oCFLEvent.ItemUID = "47" Or oCFLEvent.ItemUID = "3" Then
                                     oEditText = oForm.Items.Item("etTest").Specific
                                     <b>oEditText.Value = sCFL_Value1</b>
    '''''' ******This is where i get the error i have tried using oEditText.String as well. I faced the same issue on a user form but when i used oDataSrc_Header.SetValue("U_Price", oDataSrc_Header.Offset, sCFL_Value1), my problem was solved.*********''''''''
                              End If
    i tried a workaround by saving the sCFL_Value into some other textbox which is not bound with a CFL control (e.g. the remarks field in stock transfer), there it does not throw any error but still as soon as i copy that value from remarks field to the actual control it throws "bad value error".
    Any help would be very grateful.
    Manu.

  • The connection factory name for jobs must be "JobQueueFactory

    Hi Experts
    Can you plase help me to reslove this issue
    Caused by: com.sap.engine.services.deploy.container.DeploymentException: Deployment of jobs in application [backgrounjobear] failed, reason is : [Job "BackGroundJob" of bean "BackGroundJob" does not have a connection factory name. The connection factory name for jobs must be "JobQueueFactory".]     
    while depling MessageDrivenBean 3.0 getting this.
    Any help would Greatly appricated.
    Thanks
    AB

    Hi All,
    I am also getting similar error i.e.
      Job "TestScheduler" of bean "TestScheduler" does not have a connection factory name. The connection factory name for jobs must be "JobQueueFactory".
    Steps that I have followed are bit different from what is mentioned in document "SAP NW Scheduler for Java" as I am working in 7.3
    a) Created EJB Project
    b) Created Message Driven Bean(JobSchedulerMDB.jav)
    c) Created SchedulerJob(TestScheduler.java)
    I dont see application-j2ee-engine.xml ; but have
    ejb-j2ee-engine.xml
    ejb-jar.xml
    job-defination.xml
    with following xml in them
    ejb-j2ee-engine.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ejb-j2ee-engine_3_0.xsd">
      <enterprise-beans>
        <enterprise-bean>
          <ejb-name>JobSchedulerMDB</ejb-name>
          <jndi-name>JobSchedulerMDB</jndi-name>
          <bean-props>
            <property>
              <property-name>destination-name</property-name>
              <property-value>JobQueue</property-value>
            </property>
            <property>
              <property-name>connection-factory-name</property-name>
              <property-value>JobQueueFactory</property-value>
            </property>
           </bean-props>
        </enterprise-bean>
    </enterprise-beans>
    </ejb-j2ee-engine>
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0">
      <display-name>
    JobSchedulerEJBProject </display-name>
      <ejb-client-jar>JobSchedulerEJBProjectClient.jar</ejb-client-jar>
    </ejb-jar>
    job-defination.xml
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <job-definitions>
    <job-definition name="TestScheduler"/>
    <enterprise-beans>
    <enterprise-bean>
    <ejb-name>JobSchedulerMDB</ejb-name>
    <jndi-name>JobSchedulerMDB</jndi-name>
    <resource-ref>
    <res-ref-name>JobQueueFactory</res-ref-name>
    </resource-ref>
    <message-destination-ref>
    <message-destination-ref-name>JobQueue</message-destination-ref-name>
    <jndi-name>JobQueue</jndi-name>
    </message-destination-ref>
    </enterprise-bean>
    </enterprise-beans>
    </job-definitions>
    Please help me in this

  • G/L account must be marked as ready for input

    Hi All,
    In our system (SAP 40B), I set a payer code reconcile account is 1000001. Then I add value "G/L Acc. 1000001, Alt. G/L 1100001" at IMG - Permitted Alternative Reconciliation Accounts.
    I used F-22 Input fi document for this payer code, when I changed the G/L account from 1000001 to 1100001, the system display below message.
    G/L account must be marked as ready for input
    Message no. F5 439
    Diagnosis
    A reconciliation account which is entered when you enter a document needs
    the marking "Reconciliation account is ready for input" in the master
    record. In this case, this requirement is not met.
    Where can I mark "Reconciliation account is ready for input" in the master
    record?
    Best regards,
    Eric Yang

    Dear Srikanth,
    Because one payer code only can set one reconcile account, user want to change reconcile account from account A to B (only for this document). So I set "Permitted Alternative Reconciliation Accounts" let user can change AR reconcile account by T-Code F-22。
    I have already sat the field 'Recon. acct ready for input' as display and solved this question, thanks for your help!
    Best regards,
    Eric

  • Error: Find criteria must contain at least one sort field value.

    Hi
    I am getting the followng error in Sort.as when I click on a column in a DataGrid that is bound to a nested property (e.g. parent.name)
    Error: Find criteria must contain at least one sort field value.
    I can see why this is failing.
    In the findItem function of Sort.as the code tests whether there is data in line (456) hasFieldName = values[fieldName] !== undefined. This fails and so an error is raised later in the function by:
         if (fieldsForCompare.length == 0)     {
         message = resourceManager.getString("collections", "findRestriction"); 
              throw new SortError(message);     }
     The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    In the case of a non nested property, everything works fine.
    There is lots of discussion about nested properties in DataGrid and there is this jira:
    http://bugs.adobe.com/jira/browse/SDK-9801
    There is talk of using a labelFunction or an itemRenderer and other third party solutions (extensions of DataGridColumn).
    Is this a bug?  is there a workaround using labelFunction or itemRenderer which can stop the error in Sort.as?
    James
    Here is the code of findItem in Sort.as of SDK 3..4.0.9271
    public  
    function findItem(items:Array,values:Object,
    mode:String,
    returnInsertionIndex:Boolean =
    false,compareFunction:Function =
    null):int{
    var compareForFind:Function; 
    var fieldsForCompare:Array; 
    var message:String; 
    if (!items){
    message = resourceManager.getString(
    "collections", "noItems"); 
    throw new SortError(message);}
    else if (items.length == 0){
    return returnInsertionIndex ? 1 : -1;}
    if (compareFunction == null){
    compareForFind =
    this.compareFunction; 
    // configure the search criteria
    if (values && fieldList.length > 0){
    fieldsForCompare = [];
    //build up the fields we can compare, if we skip a field in the
    //middle throw an error. it is ok to not have all the fields
    //though
    var fieldName:String; 
    var hadPreviousFieldName:Boolean = true; 
    for (var i:int = 0; i < fieldList.length; i++){
    fieldName = fieldList[i];
    if (fieldName){
    var hasFieldName:Boolean; 
    try
    hasFieldName = values[fieldName] !==
    undefined;}
    catch(e:Error){
    hasFieldName =
    false;}
    if (hasFieldName){
    if (!hadPreviousFieldName){
    message = resourceManager.getString(
    "collections", "findCondition", [ fieldName ]); 
    throw new SortError(message);}
    else
    fieldsForCompare.push(fieldName);
    else
    hadPreviousFieldName =
    false;}
    else
    //this is ok because sometimes a sortfield might
    //have a custom comparator
    fieldsForCompare.push(
    null);}
    if (fieldsForCompare.length == 0){
    message = resourceManager.getString(
    "collections", "findRestriction"); 
    throw new SortError(message);}
    else
    try
    initSortFields(items[0]);
    catch(initSortError:SortError){
    //oh well, use the default comparators...
    else
    compareForFind = compareFunction;

    I have tried a sortCompareFunction:
    var sort:Sort = new Sort();
    sort.compareFunction = compareFunction;sort.fields = [sortField];
    data.sort = sort;
    data.refresh();
    this makes no difference.
    James

  • Column total_retail bad value

    Hi All,
    I have a problem with the values on columns TOTAL_RETAIL and UNITS from table IF_TRAN_DATA.
    When I consult using PL/SQL or SqlDeveloper, this is the results:
    select total_retail, units from rms12.if_tran_data where rownum <= 5;
    -0,0101     10
    -0,0101     10
    -77,34     -1
    -66,6724     -1
    -77,34     -1
    But, when I consult using SQLPlus, this is the results:
    select total_retail, units from analize_if_tran_data;
    TOTAL_RETAIL      UNITS
    *.0000 10*
    *.0000 10*
    -77.34         -1
    -66.6724         -1
    -77.34         -1
    *5 rows selected.*
    The big problem occurs is when I do a calculation with these fields:
    select total_retail, units, total_retail/units from analize_if_tran_data;
    TOTAL_RETAIL      UNITS TOTAL_RETAIL/UNITS
    *.0000 10 .d067195*
    *.0000 10 .d067195*
    -77.34         -1              77.34
    -66.6724         -1            66.6724
    -77.34         -1              77.34
    *5 rows selected.*
    Does anyone know what the problem?
    Did anyone see it any time?
    Thanks in advance,
    Braga

    Hi Erik,
    Sorry about that. I forgot to explain me well.
    Bellow the explain better.
    -- Describe of table
    SQL> desc analize_if_tran_data
    Name Null? Type
    TOTAL_RETAIL NUMBER(20,4)
    UNITS NOT NULL NUMBER(12,4)
    -- Results with bad values
    SQL>
    SQL> select total_retail, units, total_retail/units from analize_if_tran_data;
    TOTAL_RETAIL UNITS TOTAL_RETAIL/UNITS
    *.0000 10 .d067195* +(crazy result)+
    *.0000 10 .d067195* +(crazy result)+
    -77.34 -1 77.34
    -66.6724 -1 66.6724
    -77.34 -1 77.34
    5 rows selected.
    -- Inserting a new row with correct value
    SQL> insert into analize_if_tran_data values (-0.0101,10);
    1 row created.
    SQL> commit;
    Commit complete.
    -- Results with bad and one right value
    SQL> select total_retail, units, total_retail/units from analize_if_tran_data;
    TOTAL_RETAIL UNITS TOTAL_RETAIL/UNITS
    *.0000 10 .d067195* +(crazy result)+
    *.0000 10 .d067195* +(crazy result)+
    -77.34 -1 77.34
    -66.6724 -1 66.6724
    -77.34 -1 77.34
    -.0101         10            -.00101 +(right result)+
    6 rows selected.
    Now, see the results on a graphical tool:
    (Toad/SqlDeveloper)
    select total_retail, units, total_retail/units from analize_if_tran_data;
    -0,0101     10     1,9767195 +(crazy result)+
    -0,0101     10     1,9767195 +(crazy result)+
    -77,34     -1     77,34
    -66,6724     -1     66,6724
    -77,34     -1     77,34
    -0,0101     10     -0,00101 +(correct result)+
    I don't know if stayed clear for you.
    The right value is '-0,0101', but I only see this value when I execute a query on a graphical tool (pl/sql, sqldeveloper or toad).
    If I execute the query the division TOTAL_RETAIL/UNIS is wrong.
    I think that now I explained better.
    If you see it any time, please help me.
    Thank you very much,
    Braga

Maybe you are looking for

  • IT0041 - employee with more than 12 date types;

    Has anyone had an instance where an employee has had more than 12 valid Date Types on IT0041?  If so, how did you enter their 13th date type?  We have just created our 12th date type in the table and we will probably be creating a 13th date type in t

  • Photo Stream not uploading enhanced photos

    I don't know if any of you have experienced this but all the photos on Photo Stream that are downloaded onto my computer are those that have yet to be auto-enhanced. Those auto-enhanced photos look superb on the iPhone 4S but strangely only the unenh

  • EDI - Porcess Code for Po create

    Hi I have the need to create PO (stock transport orders) in a client from a idoc that pas been posted. Whats the process code i set in we20 inbound to create a purchase order. Thanks Barry

  • MRP-Material requirement planning

    SAP Gurus My client has two plants. (Plant 1001 and 1706). Both plants are having different company codes. Plant 1001 creates a cross company Purchase order for plant 1706. Against this cross company PO plant 1706 will produce a semi finished materia

  • X-Fi Xtreme & Asus A8N-SLI Del

    I've checked messages concerning X-Fi and nForce4 motherboards. Here are my specs Asus A8N-SLI Deluxe (rev. A3) BIOS revision 05 (0/2/2005) Athlon64 3500+ s939 Venice 2GB (2xGB) Corsair PC3200 3-3-3-8 (dual channel) (SLI) NVIDIA 7800 GT X-Fi Xtreme S