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")
Similar Messages
-
OSB replace action failed..
very urgent help needed.
Scenario:
1. My proxy service (new wsdl based) calls business (legacy wsdl based).
2. I want to transform input format from new format schema to legacy format schema.
3. I write a Xquery and Replace ./* in variable body with Xquery. Binding variable is accepted as $body.
4. Individually tested, works like a charm; but when proxy is exected-throws following error:
BEA-382513: OSB Replace action failed updating variable "body": line 29, column 1: {err}XP0006: "element {http://schemas.xmlsoap.org/soap/envelope/}Body { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://myURL}SwapnilRequest { {http://www.w3.org/2001/XMLSchema}anyType }
here myURL is namespace defined for input format "SwapnilRequest".
In short, the content of variable "body" are not changed even after transformation.
Please help.
Thanks and Regards,
Swapnil Kharwadkar.Dear Eric,
Following is Xquery:
(:: pragma bea:global-element-parameter parameter="$aMA_UpdateRQ1" element="ns0:AMA_UpdateRQ" location="AMA_UpdateRQ.xsd" ::)
(:: pragma bea:schema-type-return type="ns1:ListOfAyLoyMemberPortalProspectTopElmt" location="AY%20LOY%20Member%20Portal%20Prospect_blore.wsdl" ::)
declare namespace ay = "http://www.siebel.com/xml/AYRES%20Member%20Information%20–%20Long%20Portal";
declare namespace com = "http://com.finnair";
declare namespace asi = "http://siebel.com/asi/";
declare namespace xf = "http://tempuri.org/GetNewCard_WithSiebel_XQuery/A_getProfile_Xquery/newResponse/";
declare namespace pros="http://com.finnair/prospectProcessing/";
declare function xf:A_blore_QueryByExample_Request($AMA_UpdateRQ as element(com:AMA_UpdateRQ))
as element(asi:ListOfAyLoyMemberPortalProspectTopElmt) {
let $AMA_UpdateRQ := $AMA_UpdateRQ
return
<asi:ListOfAyLoyMemberPortalProspectTopElmt>
<ay:ListOfAyLoyMemberPortalProspect>
<ay:Contact>
<ay:Id>{ data($AMA_UpdateRQ/com:UniqueID/@ID) }</ay:Id>
<ay:ContactId>{ data($AMA_UpdateRQ/com:UniqueID/@ID) }</ay:ContactId>
</ay:Contact>
</ay:ListOfAyLoyMemberPortalProspect>
</asi:ListOfAyLoyMemberPortalProspectTopElmt>
declare variable $AMA_UpdateRQ as element() external;
xf:A_blore_QueryByExample_Request($AMA_UpdateRQ) -
OSB : BEA-382510: OSB Assign action failed updating variable
Hi all,
I just started learning OSB and created a simple process .
This is my request :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
<soapenv:Body>
<hel:getGreeting xmlns:hel="http://hello.alsb.com/">
<!--Optional:-->
<arg0>string</arg0>
</hel:getGreeting>
</soapenv:Body>
</soapenv:Envelope>
im getting a error response in Assign:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>
BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
</faultstring>
<detail>
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382510</con:errorCode>
<con:reason>
OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
</con:reason>
<con:location>
<con:node>RouteTo_HelloWorldBiz</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
This is my Xquery:
xquery version "1.0" encoding "Cp1252";
declare namespace xf = "http://tempuri.org/GoodbyeWorld_SB/XQuery/Hello_to_GoodBye/";
declare function xf:Hello_to_GoodBye($helloStr as xs:string)
as xs:string {
replace($helloStr, 'HELLO', 'Goodbye')
declare variable $helloStr as xs:string external;
xf:Hello_to_GoodBye($helloStr)
in my message response pipeln of the proxy service:
i have added the assign and given the expression : $body/hel:getGreetingResponse/return
var :Test
After the assign: i have given a replace activity:
xpath: ./hel:getGreetingResponse/return
varabile : body
Expression : string($Test)
when i test in OSB console:
im getting this error:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>
BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
</faultstring>
<detail>
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382510</con:errorCode>
<con:reason>
OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
</con:reason>
<con:location>
<con:node>RouteTo_HelloWorldBiz</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
aany suggestions on where the issue is.
im totaly stuck here:
TIA,
karthikit is not clear at which point you are invoking Hello_to_GoodBye, and using which argument
anyway it's likely that you are passing an Xml element (a node, something like <hello>Charlie</hello>) instead of a simple type (a string, like "Charlie")
you should use the function data($body/bla) or text ($body/bla/text() ) to extract the value (Charlie) of your element -
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. -
I need helop with my ALSB Replace action failed updating variable
System Error Handler
$fault:
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382513</con:errorCode>
<con:reason>
ALSB Replace action failed updating variable "body": Error parsing XML: {err}XP0006: "element {http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/}AndelsbogAnmaerkningStatusModtag { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/}AndelsbogAnmaerkningStatus { {http://www.w3.org/2001/XMLSchema}anyType }
</con:reason>
<con:location>
<con:node>PipelinePairNode1</con:node>
<con:pipeline>PipelinePairNode1_response</con:pipeline>
<con:stage>stage1</con:stage>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
Edited by: user543916 on Jun 28, 2011 2:28 AMyou should report also the content of the variable you were trying to assign to $body, and which element in $body you were trying to modify.
-
OSB Validate action failed validation
Hi All,
I'm trying to convert non-xml to xml by using XqueryTransformation source as an HL7 and target as an CCD schema.When validating the against the schema I got the following exception.
Please provide any suggestions.
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382505</con:errorCode>
<con:reason>OSB Validate action failed validation</con:reason>
<con:details>
<con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:message>
string value '' does not match pattern for cs in namespace urn:hl7-org:v3
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
</con1:ValidationFailureDetail>
</con:details>
Thanks
ManiHi Anuj,
I tried doing that but in Response, it is echoing back the request after the statement:
The invocation resulted in an error: .
And now it shows:
Stage Error Handler
$fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382505</con:errorCode>
<con:reason>OSB Validate action failed validation</con:reason>
<con:details>
<con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:message>
string value '2' is not a valid enumeration value for VersionType in namespace http://www.example.org/abcd_Request_Schema
</con1:message>
<con1:xmlLocation>
<abcd:Version xmlns:abcd="http://www.example.org/abcd_Request_Schema">2</abcd:Version>
</con1:xmlLocation>
</con1:ValidationFailureDetail>
</con:details>
<con:location>
<con:node>PipelinePairNode1</con:node>
<con:pipeline>PipelinePairNode1_request</con:pipeline>
<con:stage>request xml validation</con:stage>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
System Error Handler
$fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>402</con:errorCode>
<con:reason>
Validation Failed. Please enter proper values.
</con:reason>
<con:details>
<con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:message>
string value '2' is not a valid enumeration value for VersionType in namespace http://www.example.org/abcd_Request_Schema
</con1:message>
<con1:xmlLocation>
<abcd:Version xmlns:abcd="http://www.example.org/abcd_Request_Schema">2</abcd:Version>
</con1:xmlLocation>
</con1:ValidationFailureDetail>
</con:details>
<con:location>
<con:node>PipelinePairNode1</con:node>
<con:pipeline>PipelinePairNode1_request</con:pipeline>
<con:stage>request xml validation</con:stage>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
Is there any way by which only the customized error can be seen & not the OSB errors? -
MQ:OSB Assign action failed updating variable "ServiceRequest"
Hi
We have a problem with the MQ adapters in Oracle Service Bus.
If we (by accident/break testing) put messages on the queue that are invalid XML (such as "Banana" as plain text), the OSB goes into an infinte loop with this message, as it can never be dequeued due to:
<BEA-381901> <Exception in MQ Inbound Request: TransportException EndPoint: T20230_GoodsEvent/ProxyServices/T20230_G
oodsEvent, com.bea.wli.sb.transports.TransportException: OSB Assign action failed updating variable "ServiceRequest": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0
005: expected exactly one item, got 0 items
com.bea.wli.sb.transports.TransportException: OSB Assign action failed updating variable "ServiceRequest": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0005: expect
ed exactly one item, got 0 itemsThis even prevents the message from being put on the dead letter queue.
Any hints?Correct, but we have tried switching to Text to no avail.
-
OSB Validate action fails even an element is nillable="true"
Hi,
I have declared two elements in my inline schema nillable="true":
<xsd:element name="Skip_CreditChk" nillable="true" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Observation_End_Date" nillable="true" type="xsd:date" minOccurs="0" maxOccurs="1"/>
In my OSB message flow, my first action is a Validate action.
When I test the proxy service in the OSB Console and input the following elements I encounter an OSB validate action failed error even when those fields below are declared as nillable in the schema. Anyone got an idea regarding this issue?
<Skip_CreditChk/>
<Observation_End_Date/>Please check W3C recommendation -
http://www.w3.org/TR/xmlschema-0/ (section 2.9 Nil Values)
Your input should be like -
<Skip_CreditChk xsi:nil="true"></Skip_CreditChk>
<Observation_End_Date xsi:nil="true"></Observation_End_Date>
Regards,
Anuj -
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 = 60Is 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 -
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. -
Photoshop: values for type, brush, crop, lasso etc tools broken on Leopard
I posted this in answer to another thread, but decided that it may be helpful to some Photoshop users if it had its own topic:
The following is a technote copied from Adobe's forums, regarding the performance of several menus for key tool settings in Photoshop CS3 running in Leopard:
*Changing values for type, brush, crop, lasso etc tools broken on Leopard*
*Kirsten Harris - 08:58pm Nov 15, 2007 Pacific*
Adobe and Apple are working closely to provide a fix to a known issue running Adobe Photoshop CS3 and Photoshop CS3 Extended on Mac OS X Leopard (v10.5.1). Currently, when you enter values in numerical fields to set sizes for the brush, crop, marquee, lasso, type, and other Photoshop CS3 tools, those values revert to previously entered values when you try to apply them.
# While we have identified workarounds for some of the affected tools, this issue prevents people from working as precisely and intuitively as they expect. Providing a fix to customers is a top priority. Please note the following: The fix will be provided through an update to Mac OS X Leopard. Consequently, it is not part of the Photoshop CS3 (10.0.1) update.
# Apple is collaborating closely with us to get this fix incorporated into a Mac OS X Leopard update. No public schedule is available at this time, but both companies understand the urgency of this fix.
# As soon as the appropriate update to Mac OS X Leopard is available, we will immediately alert our Photoshop users.
Affected Photoshop CS3 tools: Art History tool, Blur tool, Brush tool, Burn tool, Color Replacement tool, Clone tools (all), Crop tool, Dodge tool, Eraser tools (all), Gradient tool, Healing tools (all), History tool, Lasso tools (all), Line tool, Magic Wand tool, Marquee tools (all), Paint Bucket tool, Pencil tool, Polygon tool, Quick Selection tool, Red Eye tool, Rounded Rectangle tool, Sharpen tool, Smudge tool, Sponge tool, Slice tool, Type tool
Workaround for tools with sliders: Instead of typing in a number, use the sliders to change the value.
Workaround for tools with pop-up menus: Enter a value for the size but don’t press Return/Enter to apply the value. Instead, choose it from the top of the Size pop-up menu to commit it.
Workaround for tools which do not have sliders or pop-up menus: For certain tools, such as the Line tool, you may want to set up presets that you can load to set common sizes. Alternatively, you can restart Photoshop CS3 to clear the problem. You will then be able to enter values again. However, the issue typically re-surfaces quickly.
If additional details come to light, our tech doc Values in numerical fields in Photoshop CS3 revert to the previous value in Mac OS X v10.5.1 (Leopard) will be updated.Well, that's interesting! Here I thought the problem with my CS1 was just that it was too old, running in Rosetta and all, and would be fixed when I get my Xmas treat of CS3. Wonder if that means when the fix comes from Apple it will also fix the same problem in CS1? Of course, by then I'll probably have CS3.... Thanks for posting this, I would have been mighty annoyed to have plonked down my 200 bucks only to discover that I had the same bugs.
Francine
Francine
Schwieder -
There are values for cost element 80000 that are not assigned to any line I
Hi,
While calulating WIP I am getting below error:
There are values for cost element 80000 that are not assigned to any line ID
Message no. KJ161
Diagnosis
Not all values for the cost element are assigned to a line ID.
Procedure
Assign the cost element to a line ID. If you don't want to include the cost element in results analysis, assign it to a line ID of category N.
You can access a detailed list of unassigned cost elements as follows: Start results analysis in the individual processing mode (transaction KKA1, KKA2, or KKA3). Select the field Full log. Execute the function. On the next screen, choose Logs -> Parameter List in the menu. A list is generated. The unassigned values are shown at the end of the list.
If cost element "+++++++++" was shown in the message, this is because in the assignment of costs and revenues to line IDs, you have not used a cost element other than the full masking "+++++++++". In this case a presummarization eliminates the information on the cost element.
Cost Element 80000 is of type 43 Internal activity allocation, I have Masked this in OKGB as below:
Controlling Area = FLGP
RA Version = 0
Masked Cost Element = 000008++++
Masked Cost Center = ++++++++++
Masked Activity Type = +++++
ReqToCap= COS (Secondary Cost)
I have Configure OKGA also but still system is giving error.
Please help me to understand.
Regards,
VivekI was wondering if you could help me I am trying to configure the RA key for Refurb orders and when I go into txn OKGB for the Assignment of C/E for WIP there is sample config already there which I copied. But I am having difficulty getting the KK1A to work I am getting the message as outlined above. Could you explain how this OKGB works and how to configure it a bit more fully. In my sample config there is a ReqTOCap section and in it there are letters like ABR, EK, FK, EL what do they mean. This is a screen shot of it. I am not sure how to go about this entirely so any light you could shed would be greatly appreciated. Can you suggest a good resource or documentation you may have, would be greatly appreciated.
-
How to set a new value for an element inside an XML file....
Hi guys...!
I'm using Java to process an XML file and I want to able to make changes to the document. For instance, let say:
<firstName> John </firstName>
and I want to change the content or value of the element "firstName" to "Marc"
<firstName>Marc</firstName>
How can I get this done?
This is the code that I have in my java file...But it doesn't work. Nothing happens. The firstName remains "John".
Do I need to get the owner document to do this?
firstPersonElement.getElementsByTagName("firstName").item(0).getFirstChild().setNodeValue("Marc");
Any suggestions will be appreciated...
Thanks...
--- Spirit_Away...IMHO, it should work the way you describe. Do you
actually save the DOM tree to file afterwards?Good point. No, actually.
How do you save the document in that case ???
Any suggestions...
Thanks...
--- Spirit_Away -
Info about Element entry values for an element
Hi
Im trying to get info on something. Im supposed to get entry values for a certain Sc med element.
Now i know that the entry values reside in pay_element_entry_values_f.
The values i need are for the input EE Contr
Now when i query the pay_element_entry_values_f table I see that the screen entry value for the input EE Contr is null.
But when i use the screens to look at the value in the EE Contr and ER Contr i see values in double quotes in red like "377.22".
The Pay value is null which is why i see null in the pay_element_entry_values_f screen entry value column.
I wanna know how i can pull that value(in red double quotes) in an sql query.I mean do we know which table these seemingly default values are stored in?
Ive already tried using record history and other things to get it.but the tables i see are null.
Any help in getting this info is much appreciated.
Thanks
JThis value can be obtained from pay_input_values_f and the data u see in " " in red color is due to the Hot default flag checked.
Reagrds,
Prashanth
Edited by: user574397 on 6 Apr, 2010 5:53 PM -
JList: how a set a "name" and "value" for a element
my JList
DefaultListModel listMBuddy;
JList listBuddy;
listMBuddy = new DefaultListModel();
listBuddy = new JList(listMBuddy);
listMBuddy.insertElementAt("buddy name 1", listMBuddy.size());
listMBuddy.insertElementAt("buddy name 2", listMBuddy.size());
listMBuddy.insertElementAt("buddy name 3", listMBuddy.size());a string "buddy name 1" will be show in JList, it is like a name of element.
how i set value for "buddy name 1"? like html
<select>
<option value="5">buddy name 1</option>
<option value="7">buddy name 2</option>
<option value="2">buddy name 3</option>
</select>
thanksYou have to write your own renderer.
example:
public class MyListsRenderer extends JPanel implements ListCellRenderer {
JTextArea t;
private LinkedHashMap<Integer, String> departmentsList;
private LinkedHashMap<Integer, Boolean> checkedList;
public MyListsRenderer(int tabSize) {
t = new JTextArea();
t.setTabSize(tabSize);
public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus) {
Integer id = (Integer) value;
// you need to create class that get an id (value) and return name
//this is my example:
String name = Contacts.getInstance().getContacts().get(
(Integer) value);
t.setText(name);//this is the text in the list row
add(t);
return this;
}
Maybe you are looking for
-
I can't get in to downloads folder.
I can't get in to downloads folder and it's seem like i can't move or delete files in downloads folder what should I do?
-
SAP BusinessObjects Analysis, Edition for Microsoft Office - 1.4 SP6 SAP BusinessObjects BI Platform - 4.1 SP2 BW 7.3 SAP Logon pad - 7300.1.0.1074 We are trying to implement What-if analysis in Analysis Office tool like Revenue increase by N per
-
Adding schedule agreement & schedule lines in one out put
Hi Friends, Can we add schedule agreement & schedule lines in one out put. What settings to be done. I am using document type as LP. I am in ECC 5.0 version. Regards
-
No invoice amount value in 2LIS_02_SCL
I have created a PO, with an IR connected to it. The IR contains an invoiced amount - however it is not extracted in 2LIS_02_SCL in BW nor with the RSA3. The value is 0, Anyone that knows why? Any conditions that has to be met in order for the Invoic
-
Using CMP 2.0 with existing DB Schema?
Hi. From what I have read about CMP2.0 it seems that the container is responsible for creating the db schema after looking at the deployment descriptor. I was wondering, is it still possible to use an existing database schema with CMP2.0? I dont know