*apfMsConnTask_0: spam_lrad.c:18962 LWAPP header parsing failed, dropping the packet
Hi ,
Today i face strange error i cant find solution. If anyone knows please help.
3/1/2013 6:30:43 PM x.x.x.x Error EFWLC01: *apfMsConnTask_0: spam_lrad.c:18962 LWAPP header parsing failed, dropping the packet
3/1/2013 6:30:42 PM x.x.x.x Error EFWLC01: *spamReceiveTask: spam_lrad.c:18962 LWAPP header parsing failed, dropping the packet
3/1/2013 6:30:42 PM x.x.x.x Error EFWLC01: *spamReceiveTask: spam_lrad.c:19081 Received invalid UDP port (5247) in the packet from AP 70:81:05:af:bb:e0, dropping the packet
Where as this 70:81:05:af:bb:e0 mac is of ap-manager Interface
During Error Message some clients were facing outage. But now error is not recieved again. I want to know root cause of this error message which i canot find on cisco website.
WLC Controller Model is AIR-WLC2106
Software Version 7.0.235.0
Up Time 199 days, 11 hours, 2 minutes
Jawad
UDP 5247 is the CAPWAP/LWAPP control protocol. The protocol packets obviously must have been corrupted and that is why the Controller could not interprete messages from the AP. The only resolution is to either use the Cisco bug toolkit and search if it is a bug perculiar to 2106 WLC or you open a TAC support case.
I would suggest that you hold off till the error occurs again. If it does, swap the AP and if it continues, open a TAC case.
Cheers
Similar Messages
-
Calling Web Service from PL/SQL (ORA-31011: XML parsing failed)
hi all,
i want to invoke a web service from PL/SQL.
i found a soap_api package from "Tim Hall".
but it gives error in "ealtas.soap_api.invoke function"
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00007: unexpected end-of-file encountered
ORA-06512: at "SYS.XMLTYPE", line 48
ORA-06512: at "EALTAS.SOAP_API", line 135
ORA-06512: at line 44
set scan off;
declare
P_ADRES_WS VARCHAR2(100) := 'http://<host>:<port>/dswsbobje/qaawsservices/biws?wsdl=1&cuid=AVhBxL14I2dDjz8yFoznRLY';
P_ENVELOPE VARCHAR2(32767);
P_FNC VARCHAR2(256) := 'runQueryAsAService';
ol_req ealtas.soap_api.t_request;
ol_resp ealtas.soap_api.t_response;
message varchar2(500);
BEGIN
p_envelope := '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:db="DB_SUBS_BUDGET">
<soapenv:Body>
<db:runQueryAsAService>
<db:login>DWH_BO</db:login>
<db:password>Pass1234</db:password>
</db:runQueryAsAService>
</soapenv:Body>
</soapenv:Envelope>
ol_req := ealtas.soap_api.new_request(P_FNC, 'xmlns="'||P_ADRES_WS||'"');
ol_resp := ealtas.soap_api.invoke(ol_req, P_ADRES_WS, p_fnc,P_ENVELOPE);
ealtas.soap_api.show_envelope(p_envelope);
message := ealtas.soap_api.get_return_value(ol_resp, 'Db_Timeid', 'xmlns:m="'||P_ADRES_WS||'"');
DBMS_OUTPUT.PUT_LINE('AAAA -'||message);
end;
thanks.
ealtas.AlexAnd thanks for your help.
ACL is ok.
can you help me about how can i edit this function. i tried many times but i could not do it :( .
web service url : <host>:<port>/dswsbobje/qaawsservices/biws?WSDL=1&cuid=AVhBxL14I2dDjz8yFoznRLY
what must be these variables values ?
l_url :=
l_namespace :=
l_method :=
l_soap_action :=
l_result_name :=
this is the xml;
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="DB_SUBS_BUDGET" xmlns:tns1="dsws.businessobjects.com" targetNamespace="DB_SUBS_BUDGET" xmlns="http://schemas.xmlsoap.org/wsdl/" name="queryasaservice">
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="DB_SUBS_BUDGET">
- <s:element name="runQueryAsAService">
- <s:complexType>
- <s:sequence>
<s:element name="login" type="s:string" />
<s:element name="password" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="Row">
- <s:sequence>
<s:element name="Db_Timeid" type="s:string" nillable="true" />
<s:element name="Db_Tariff" type="s:string" nillable="true" />
<s:element name="Grossadds" type="s:double" nillable="true" />
<s:element name="Cancellations" type="s:double" nillable="true" />
<s:element name="Netadds" type="s:double" nillable="true" />
<s:element name="Subs" type="s:double" nillable="true" />
<s:element name="Churn_P" type="s:double" nillable="true" />
</s:sequence>
</s:complexType>
- <s:complexType name="Table">
- <s:sequence>
<s:element name="row" maxOccurs="unbounded" type="s0:Row" />
</s:sequence>
</s:complexType>
- <s:element name="runQueryAsAServiceResponse">
- <s:complexType>
- <s:sequence>
<s:element name="table" type="s0:Table" />
<s:element name="message" type="s:string" />
<s:element name="creatorname" type="s:string" />
<s:element name="creationdate" type="s:dateTime" />
<s:element name="creationdateformated" type="s:string" />
<s:element name="description" type="s:string" />
<s:element name="universe" type="s:string" />
<s:element name="queryruntime" type="s:int" />
<s:element name="fetchedrows" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="QaaWSHeader">
- <s:complexType>
- <s:sequence>
<s:element name="sessionID" type="s:string" minOccurs="0" maxOccurs="1" nillable="true" />
<s:element name="serializedSession" type="s:string" minOccurs="0" maxOccurs="1" nillable="true" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
- <message name="runQueryAsAServiceSoapIn">
<part name="parameters" element="s0:runQueryAsAService" />
<part name="request_header" element="s0:QaaWSHeader" />
</message>
- <message name="runQueryAsAServiceSoapOut">
<part name="parameters" element="s0:runQueryAsAServiceResponse" />
</message>
- <portType name="QueryAsAServiceSoap">
- <operation name="runQueryAsAService">
<documentation>Get Web Service Provider server info</documentation>
<input message="s0:runQueryAsAServiceSoapIn" />
<output message="s0:runQueryAsAServiceSoapOut" />
</operation>
</portType>
- <binding name="QueryAsAServiceSoap" type="s0:QueryAsAServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="runQueryAsAService">
<soap:operation soapAction="DB_SUBS_BUDGET/runQueryAsAService" style="document" />
- <input>
- <soap:header message="s0:runQueryAsAServiceSoapIn" part="request_header" use="literal">
<soap:headerfault message="s0:runQueryAsAServiceSoapIn" part="request_header" use="literal" />
</soap:header>
<soap:body use="literal" parts="parameters" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="DB_SUBS_BUDGET">
<documentation />
- <port name="QueryAsAServiceSoap" binding="s0:QueryAsAServiceSoap">
<soap:address location="http://<host>:<port>/dswsbobje/qaawsservices/queryasaservice?&cuid=AVhBxL14I2dDjz8yFoznRLY&authType=secEnterprise&locale=en_US&timeout=60&ConvertAnyType=false" />
</port>
</service>
</definitions> -
XML parsing failed : Try to update FCRM field
i created one field in fusion crm ,lead . and i have one table in my oracle EBS database i write one procedure which get data from table and pur into fcrm
when i call procedure with static value it perfactly alright but ,when try to use xml parsing for all records give following error
ORA-20001: An error was encountered - -31011 -ERRORORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00245: extra data after end of document
Error at line 1
ORA-06512: at "SCOTT.XX_LEAD_UPDATE", line 101
ORA-06512: at line 1
my procedure as follow :
CREATE OR REPLACE PROCEDURE xx_lead_update
--(p_leadid IN VARCHAR2,p_xx_kp_lead IN VARCHAR2)
IS
p_leadid VARCHAR2(50);
p_xx_kp_lead VARCHAR2(50);
CURSOR c1 IS
SELECT FCRM_LEADID,XX_KP_LEAD
FROM XX_KP_EBSLEAD
WHERE ID = 6;
-- Construct xml payload, which is used to invoke the service.
l_envelope VARCHAR2(32767) := '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/" xmlns:lead="http://xmlns.oracle.com/oracle/apps/marketing/leadMgmt/leads/leadService/" xmlns:lead1="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/">
<soapenv:Header/>
<soapenv:Body>
<typ:updateSalesLead>
<typ:salesLead>
<lead:LeadId>'||p_leadid||'</lead:LeadId>
<lead:xx_kp_lead_c>'||p_xx_kp_lead||'</lead:xx_kp_lead_c>
</typ:salesLead>
</typ:updateSalesLead>
</soapenv:Body>
</soapenv:Envelope>';
--PartyId: 300000000912340
l_result VARCHAR2(32767) := null;
l_http_request UTL_HTTP.req;
l_http_response UTL_HTTP.resp;
v_len number;
v_txt Varchar2(32767);
soap_respond CLOB;
resp xmltype;
l_str long;
v_str varchar2(100);
BEGIN
OPEN c1;
LOOP
FETCH c1 INTO p_leadid,p_xx_kp_lead;
dbms_output.put_line ('p_xx_kp_lead '||p_xx_kp_lead);
dbms_output.put_line ('p_leadid: '||p_leadid);
-- Sets the Oracle wallet used for request, required for HTTPS
UTL_HTTP.set_wallet('file:/apps/oracle/dnlclone/10.2.0/wallet','test1234');
-- Creates new HTTP request
l_http_request := UTL_HTTP.begin_request('https://aes.crm.ap2.oraclecloud.com:443/mklLeads/SalesLeadService?WSDL', 'POST','HTTP/1.1');
-- Configure the authentication details on the request
UTL_HTTP.SET_AUTHENTICATION(l_http_request, '[email protected]', 'DNLcrm*1');
-- Configure the request content type to be xml and set the content length
UTL_HTTP.set_header(l_http_request, 'Content-Type', 'text/xml');
UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_envelope));
-- Set the SOAP action to be invoked; while the call works without this the value is expected to be set based on standards
UTL_HTTP.set_header(l_http_request, 'SOAPAction','http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/');
-- Write the xml payload to the request.
UTL_HTTP.write_text(l_http_request, l_envelope);
-- Get the response
l_http_response := UTL_HTTP.get_response(l_http_request);
utl_http.get_header_by_name(l_http_response, 'Content-Length', v_len, 1); -- Obtain the length of the response
FOR i in 1..CEIL(v_len/32767) -- obtain response in 32K blocks just in case it is greater than 32K
LOOP
utl_http.read_text(l_http_response, v_txt, case when i < CEIL(v_len/32767) then 32767 else mod(v_len,32767) end);
soap_respond := soap_respond || v_txt; -- build up CLOB
END LOOP;
UTL_HTTP.END_RESPONSE(l_http_response);
resp:= xmltype.createxml(soap_respond); -- Convert CLOB to XMLTYPE
--Using extract or extractvalue methods, retrieve value from a particular element/tag in the xml
--v_str := resp.extract('/env:Envelope/env:Body/ns0:updateOpportunityResponse/ns2:result/ns3:EBSOrderNumber_c/text()','xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:ns2="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:ns3="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/"').getstringval();
l_str := resp.extract('/*').getstringval();
LOOP
EXIT
WHEN l_str IS NULL;
dbms_output.put_line (SUBSTR (l_str, 1, instr (l_str, chr(10)) - 1));
l_str := SUBSTR (l_str, instr (l_str, chr(10)) + 1);
END LOOP;
--dbms_output.put_line('EBS Order Number updated as: '||v_str);
EXIT WHEN c1%NOTFOUND;
END LOOP;
CLOSE c1;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
--dbms_output.put_line('Exception');
RAISE_APPLICATION_ERROR(-20001,'An error was encountered - '
||SQLCODE||' -ERROR'||SQLERRM);
END;Hi,
Remove the exception handler (it's totally useless here) and tell us which line is really giving the error. -
XML parser fails to convert html encoded text nodes
Under the strain of large documents this defect rears its ugly head more often. While parsing a text node containing html encoded chars i.e. < > &; etc...
The parser will seemingly forget to change the chars at random, 99.9% of the time everything is ok and the proper conversions take place:
< -> <
> -> >
&; -> &
Once an error occurs it is reproducible until the text node is changed ( values and/or order ) then it is a crapshoot again.
These tests were done using the default UTF-8 encoding, here is the exception thrown by the parser along with a portion of the text node before and after the first parsing.
Let me be clear, the parser actually succeeds the first time but the transformation of the HTML encoded pieces possibly fails. It is on the parsing of the text node value as its own document that the parser fails.
Error 0 : Error parsing XML string! Line :: 1, Column :: 65674
Error 1 : End tag does not match start tag 'Project'.
End tag does not match start tag 'Project'.
at oracle/xml/parser/v2/XMLError.flushErrors (XMLError.java:233)
at oracle/xml/parser/v2/NonValidatingParser.parseDocument (NonValidatingParser.java:248)
at oracle/xml/parser/v2/XMLParser.parse (XMLParser.java:117)
at pacificedge/xml/XMLUtilities.loadParserFromString (XMLUtilities.java:104)
Preprocessing ::
<Project stuff0="0" stuff1="0" stuff2="0" stuff3="1" stuff4="100167" stuff5="100213">
<StuffA>100213</StuffA>
<Name>I am a Name</Name>
<StartDate>1998-08-10</StartDate>
<FinishDate>2000-06-30</FinishDate>
<Path>Folder1\Folder2</Path>
</Project>
Post processing:
<Project stuff0="0" stuff1="0" stuff2="0" stuff3="1" stuff4="100167" stuff5="100213">
<StuffA>100213</StuffA>
<Name>I am a Name</Name>
<StartDate>1998-08-10</StartDate> <-- Error is raised here when the value of the text node is used as an xml document
<FinishDate>2000-06-30</FinishDate>
<Path>Folder1\Folder2</Path>
</Project>
Please investigate this. It is a chronic problem for us and possibly many others.
nullSorry for the encoding issues in the message before here are the pertinent pieces hope this shows up correctly.
&;lt; -> &;#60;
&;gt; -> >
&;amp; -> &;#38;
Preprocessing ::
&;lt;Project stuff0="0" stuff1="0" stuff2="0" stuff3="1" stuff4="100167" stuff5="100213"&;gt;
&;lt;StuffA&;gt;100213&;lt;/StuffA&;gt;
&;lt;Name&;gt;I am a Name&;lt;/Name&;gt;
&;lt;StartDate&;gt;1998-08-10&;lt;/StartDate&;gt;
&;lt;FinishDate&;gt;2000-06-30&;lt;/FinishDate&;gt;
&;lt;Path&;gt;Folder1\Folder2&;lt;/Path&;gt;
&;lt;/Project&;gt;
Post processing:
<Project stuff0="0" stuff1="0" stuff2="0" stuff3="1" stuff4="100167" stuff5="100213">
<StuffA>100213</StuffA>
<Name>I am a Name</Name>
&;lt;StartDate>1998-08-10</StartDate> <-- Error is raised here when the value of the text node is used as an xml document
<FinishDate>2000-06-30</FinishDate>
<Path>Folder1\Folder2</Path>
</Project>
null -
Discovery response message header encapsulation failed
Hey All,
i get this from an AP any ideas why this may be happening?
Last Error Occurred
Failed to send Lwapp discovery response
Last Error Occurred Reason
Discovery response message header encapsulation failed
Last Join Error Timestamp
Sep 19 15:56:36.771
running WLC version
7.0.98.0This is what it tells me:
flashfs[0]: 4 files, 2 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 1755648
flashfs[0]: Bytes available: 5985792
flashfs[0]: flashfs fsck took 9 seconds.
Reading cookie from flash parameter block...done.
Base ethernet MAC Address: 00:13:19:c8:f9:b6
Initializing ethernet port 0...
Reset ethernet port 0...
Reset done!
ethernet link up, 100 mbs, full-duplex
Ethernet port 0 initialized: link is up
Loading "flash:/c1200-rcvk9w8-mx/c1200-rcvk9w8-mx"...################################################################################################################################################################################
File "flash:/c1200-rcvk9w8-mx/c1200-rcvk9w8-mx" uncompressed and installed, entry point: 0x3000
executing...
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, C1200 Software (C1200-RCVK9W8-M), Version 12.3(7)JX9, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Tue 17-Jul-07 00:44 by tinhuang
Image text-base: 0x00003000, data-base: 0x0033DA20
Initializing flashfs...
flashfs[1]: 4 files, 2 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 7741440
flashfs[1]: Bytes used: 1755648
flashfs[1]: Bytes available: 5985792
flashfs[1]: flashfs fsck took 2 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
cisco AIR-AP1231G-A-K9 (PowerPC405GP) processor (revision B0) with 14838K/1536K bytes of memory.
Processor board ID FTX0907J0E8
PowerPC405GP CPU at 196Mhz, revision number 0x0145
Last reset from power-on
1 FastEthernet interface
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:13:19:C8:F9:B6
Part Number : 73-8704-08
PCA Assembly Number : 800-23211-09
PCA Revision Number : A0
PCB Serial Number : FOC09024TMB
Top Assembly Part Number : 800-23304-08
Top Assembly Serial Number : FTX0907J0E8
Top Revision Number : A0
Product/Model Number : AIR-AP1231G-A-K9
Press RETURN to get started!
*Mar 1 00:00:04.402: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C1200 Software (C1200-RCVK9W8-M), Version 12.3(7)JX9, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Tue 17-Jul-07 00:44 by tinhuang
*Mar 1 00:00:05.380: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
*Mar 1 00:00:06.380: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
ap>
ap>en
ap#debug lwapp console cli
LWAPP console CLI allow/disallow debugging is on
ap#debug lwapp client event
LWAPP Client EVENT display debugging is on
ap#debug lwapp client error
LWAPP Client ERROR display debugging is on
ap#debug capwap client event
^
% Invalid input detected at '^' marker.
ap#debug capwap client error
^
% Invalid input detected at '^' marker.
ap#
ap#
ap#
ap#
*Mar 1 00:00:23.416: LWAPP_CLIENT_EVENT: lwapp_ip_address_change - ADDING IP 10.0.0.1, 255.255.255.0; resolvemethod 1, ip_dhcp_addr 0
*Mar 1 00:00:23.419: LWAPP_CLIENT_EVENT: lwapp_set_ip_address - Seting Static IP 10.0.0.1 255.255.255.0 on FastEthernet0
*Mar 1 00:00:23.419: LWAPP_CLIENT_EVENT: lwapp_set_ip_address - Seting Default Gateway IP to 10.0.0.2
*Mar 1 00:00:23.425: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:00:23.425: %LWAPP-5-CHANGED: LWAPP changed state to DISCOVERY
*Mar 1 00:00:23.431: LWAPP_CLIENT_EVENT: parse_lwapp_config: hostname AP0013.19c8.f9b6
end
*Mar 1 00:00:23.447: LWAPP_CLIENT_EVENT: lwapp_crypto_init_mic_keys_and_certs : MIC not present
*Mar 1 00:00:23.453: LWAPP_CLIENT_EVENT: lwapp_crypto_init_ssc_keys_and_certs found key(1) label CISCO_IOS_SSC_Keys
*Mar 1 00:00:23.458: LWAPP_CLIENT_EVENT: lwapp_crypto_init_ssc_keys_and_certs Certs Keylen 294
*Mar 1 00:00:23.459: LWAPP_CLIENT_EVENT: lwapp_crypto_init_ssc_keys_and_certs Public Key Match Found CISCO_IOS_SSC_Keys
*Mar 1 00:00:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:00:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:00:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:00:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:00:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:00:54.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:00:54.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:01:04.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:01:04.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:01:14.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:01:14.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:01:24.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:01:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:01:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:01:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:01:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:01:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:01:54.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:01:54.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:02:04.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:02:04.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:02:04.389: LWAPP_CLIENT_EVENT: lwapp_check_image_good: image is good now
*Mar 1 00:02:14.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:02:14.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
AP0013.19c8.f9b6#
*Mar 1 00:02:24.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:02:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:02:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:02:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:02:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:02:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:02:54.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:02:54.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:03:04.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:03:04.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:03:14.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:03:14.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:03:24.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:03:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:03:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:03:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:03:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:03:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:03:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:03:44.036: LWAPP_CLIENT_EVENT: spamStartDhcp - AP IP FALLBACK TO DHCP
Translating "CISCO-LWAPP-CONTROLLER.org.org"...domain server (10.1.0.254)
*Mar 1 00:03:53.074: LWAPP_CLIENT_EVENT: lwapp_ip_address_change - ADDING IP 10.0.1.254, 255.255.255.0; resolvemethod A, ip_dhcp_addr 1
*Mar 1 00:03:53.181: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0 assigned DHCP address 10.0.1.254, mask 255.255.255.0, hostname AP0013.19c8.f9b6
[OK]
*Mar 1 00:03:53.181: LWAPP_CLIENT_EVENT: lwapp_ip_address_change - ADDING IP 10.0.1.254, 255.255.255.0; resolvemethod A, ip_dhcp_addr 1
*Mar 1 00:03:54.057: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:03:54.057: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway found
*Mar 1 00:03:54.183: LWAPP_CLIENT_EVENT: lwapp_name_lookup - add (0) 10.0.254.253
*Mar 1 00:03:54.183: LWAPP_CLIENT_EVENT: lwapp_name_lookup - add (1) 10.0.254.254
*Mar 1 00:04:04.057: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
*Mar 1 00:04:04.057: LWAPP_CLIENT_EVENT: spamResolveStaticGateway - gateway NOT found
*Mar 1 00:04:15.063: %LWAPP-5-CHANGED: LWAPP changed state to JOIN
*Mar 1 00:04:20.063: LWAPP_CLIENT_ERROR_DEBUG: spamHandleJoinTimer: Did not recieve the Join response
*Mar 1 00:04:20.063: LWAPP_CLIENT_ERROR_DEBUG: No more AP manager IP addresses remain.
*Mar 1 00:04:20.063: %SYS-5-RELOAD: Reload requested by LWAPP CLIENT. Reload Reason: DID NOT GET JOIN RESPONSE.
*Mar 1 00:04:20.064: %LWAPP-5-CHANGED: LWAPP changed state to DOWN
And this is on the controller:
(Cisco Controller) >show ap join stats summary 00:13:19:c8:f9:b6
Is the AP currently connected to controller................ No
Time at which the AP joined this controller last time...... Not applicable
Type of error that occurred last........................... Failed to send Lwapp discovery response
Reason for error that occurred last........................ Discovery response message header encapsulation failed
Time at which the last join error occurred................. Nov 29 17:23:35.793
(Cisco Controller) >show ap join stats detailed 00:13:19:c8:f9:b6
Discovery phase statistics
- Discovery requests received.............................. 97
- Successful discovery responses sent...................... 94
- Unsuccessful discovery request processing................ 100
- Reason for last unsuccessful discovery attempt........... Discovery response message header encapsulation failed
- Time at last successful discovery attempt................ Dec 03 20:07:22.259
- Time at last unsuccessful discovery attempt.............. Nov 29 17:23:35.793
Join phase statistics
- Join requests received................................... 0
- Successful join responses sent........................... 0
- Unsuccessful join request processing..................... 0
- Reason for last unsuccessful join attempt................ Not applicable
- Time at last successful join attempt..................... Not applicable
- Time at last unsuccessful join attempt................... Not applicable
Configuration phase statistics
- Configuration requests received.......................... 0
- Successful configuration responses sent.................. 0
- Unsuccessful configuration request processing............ 0
- Reason for last unsuccessful configuration attempt....... Not applicable
- Time at last successful configuration attempt............ Not applicable
--More-- or (q)uit
- Time at last unsuccessful configuration attempt.......... Not applicable
Last AP message decryption failure details
- Reason for last message decryption failure............... Not applicable
Last AP disconnect details
- Reason for last AP connection failure.................... Not applicable
- Last AP disconnect reason................................ Not applicable
Last join error summary
- Type of error that occurred last......................... Failed to send Lwapp discovery response
- Reason for error that occurred last...................... Discovery response message header encapsulation failed
- Time at which the last join error occurred............... Nov 29 17:23:35.793
AP disconnect details
- Reason for last AP connection failure.................... Not applicable
Ethernet Mac : 00:00:00:00:00:00 Ip Address : 10.0.1.254
(Cisco Controller) > -
Using UTL_I18N.ESCAPE_REFERENCE still results in XML Parsing Failed'
Trying to create an RSS feed from a list of newly delivered library materials, and it's all working except for one record with a Turkish character in it. I am trying to convert that value into AL32UTF8 (the database is UTF8) in the XMLElement call, but I still receive errors that the parsing failed at line 24, which is just before the beginning of the loop to aggregate the xmlelements.
Any pointers to what I am doing wrong, conceptually and technically, would be gratefully received, thanks very much for any assistance and/or pointers here.
Peter
create or replace
PROCEDURE "RSSLOOPWORKS2" ( fund_in IN VARCHAR2)
is
-- customizable parameters
l_title varchar2(255) := ' New Titles Since ' || to_char(sysdate - 90, 'MM/DD/YYYY');
l_link varchar2(255) := 'replace this' || fund_in || '.rss';
l_description varchar2(255) := 'This is a feed of changes to items ' || fund_in;
l_language varchar2(255) := 'en-us';
-- end customizable parameters
l_version varchar2(10) := '2.0';
l_clob clob;
l_idx pls_integer := 1;
l_len pls_integer := 255;
l_defrows pls_integer := 100;
l_maxrows pls_integer := 100;
l_desclen pls_integer := 250;
-- for output to file
begin
-- fund := fund_in;
for i in (
select xmlelement( "rss",
-- Begin XML Header Block
xmlattributes( l_version as "version"),
xmlelement( "channel",
xmlforest( l_title as "title",
l_link as "link",
l_description as "description",
l_language as "language"),
-- End XML Header Block
-- Begin List of Individual Articles or Items
xmlagg(
xmlelement( "item",
CASE
WHEN x.title IS NOT NULL THEN xmlelement("title", x.title)
ELSE xmlelement("title", substr(UTL_I18N.ESCAPE_REFERENCE(x.description,'AL32UTF8'),1,255))
END,
xmlelement("link", x.link),
xmlelement("description", UTL_I18N.ESCAPE_REFERENCE(x.description,'AL32UTF8') || ' -- Call number: ' || x.callnum),
xmlelement("callnum", x.callnum),
xmlelement("pubDate", to_char(x.updated_on,'Dy, DD Mon RRRR hh24:mi:ss') || ' EST'),
xmlelement("guid", XMLATTRIBUTES('false' as "isPermaLink"),x.id||to_char(x.updated_on,'JHH24MISS'))
-- End List of Individual Articles or Items
) as result
from ( -- Actual Database Query that populates the list of Items
select id,title,link,description,updated_on, callnum
from drx_rss_feeds
where (fund like fund_in||'%')
and rownum < (l_maxrows+1)) x)
loop
l_clob := xmltype.extract(i.result,'/').getclobval;
exit;
end loop; --i
--- OUTPUT RESULTS
-- for i in 1..ceil(dbms_lob.getlength(l_clob)/l_len) loop
dbms_xslprocessor.clob2file(l_clob, '/iiidb/http/live/screens/rss/', fund_in || '.rss');
-- l_idx := l_idx + l_len;
-- end loop; --i
end rssloopworks2;Is your database characater set AL32UTF8 or UTF8. If it's not AL32UTF8 please convert and try again... Database character set UTF8 is not a complete implementation of XML's UTF-8 encoding.
-
Parsing Failed for Date in Prompt
Hi Folks,
I am having Parsing Issue on "Key Date" Object in Universe. See the Error and Code below for your review
Error: Parse Failed: Exception: DBD, The value entered is not valid. It must adhere to one of the following formats.
YYYYMMDD
DD.MM.YYYYState:N/A
Code:
<OPERATOR VALUE="AND"><OPTIONAL><FILTER KEY="[0I_DAYIN]"><CONDITION OPERATORCONDITION="Between"><CONSTANT TECH_NAME="@Prompt('Day Interval From','A','Calendar Day\LovDay IntervalBase',mono,primary_key)"/><CONSTANT TECH_NAME="@Prompt('Day Interval To','A','Calendar Day\LovDay IntervalBase',mono,primary_key)"/></CONDITION></FILTER></OPTIONAL><FILTER KEY="[0P_KEYDA]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Key Date','D',,mono,free)"/></CONDITION></FILTER></OPERATOR>
This universe is created by someone else and client need to modify it with a calendar but i did not modify it yet however its already giving me the hard time. Kindly advise, any kind of help will be appreciated
ThanksUse the code below for the filter:
<OPERATOR VALUE="AND">
<OPTIONAL>
<FILTER KEY="[0I_DAYIN]">
<CONDITION OPERATORCONDITION="Between">
<CONSTANT TECH_NAME="@Prompt('Day Interval From','D',,mono,free)"/>
<CONSTANT TECH_NAME="@Prompt('Day Interval To','D',,mono,free)"/>
</CONDITION>
</FILTER>
</OPTIONAL>
<FILTER KEY="[0P_KEYDA]">
<CONDITION OPERATORCONDITION="Equal">
<CONSTANT TECH_NAME="@Prompt('Key Date','D',,mono,free)"/>
</CONDITION>
</FILTER>
</OPERATOR>
Regards -
Hi All
Please help me with the following query. We are migrating SAP BW 7.4 on Oracle to HANA. We have few WEBI report's universes built on BEx queries. In one of those reports there are some hidden RKFs, these works perfectly fine in reports based on oracle. Now we migrated to HANA in development system and when i refresh the universe structure they started giving errors like "Parse failed: Exception DBD, The supplied XML is not valid[Measures].[SAP_OBJECT_NAME] State:N/A". The object giving this error is in hidden state. I tried to unhide it and run the report then it runs fine but that not the client want as there might be so many hidden KFs in other reports also. BO version is 4.1 SP 2. We are on SAPKW74006 support package on BW side. Is there any notes to correct this error. Please pass me the relevant links. Highly appreciate your help.
Thanks
DwarakaDCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
First of all test the web service you have created in model project. Right click the web service name and select "Test WebService". If you see any issue(s) while testing fix it first before you run the jspx page.
Check the port number in the URL and connections.xml, it have to be same. -
Hi ,
I am facing issue while building composite in jdeveloper.It is showing below error.Please Suggest how to proceed further.
Error: XML parsing failed because ""
Buildfile: C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml
scac:
[scac] Validating composite "C:\MR96\BPEL Services\MOOA_businesservices\AddComponent\composite.xml"
[scac] Setting BPELC option 'classpath' to C:\Oracle\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_2-0-0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;;C:\MR96\BPEL Services\MOOA_businesservices\AddComponent\SCA-INF\classes
[scac] java.lang.NullPointerException
[scac] at com.collaxa.cube.lang.compiler.map.bpel.BPELProcess.lookupInitiationInfo(BPELProcess.java:1010)
[scac] at com.collaxa.cube.lang.compiler.map.bpel.BPELProcess.addOnMessage(BPELProcess.java:903)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseOnMessage(BpelParser.java:1597)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.startElement(BpelParser.java:587)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:492)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:455)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:402)
[scac] at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:65)
[scac] at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
[scac] at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
[scac] at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
[scac] at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
[scac] at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1051)
[scac] at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
[scac] at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
[scac] at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
[scac] at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
[scac] at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
[scac] AddComponentProcess.bpel: error: XML parsing failed because ""
BUILD FAILED
C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:278: Java returned: 1 Check log file : C:\MR96\BPEL Services\MOOA_businesservices\AddComponent\SCA-INF\classes\scac.log for errors
Total time: 1 minute 27 seconds
ThanksHi,
Please give a try to this:(Take back up before doing this)
1. Download PATCH 11066656 .
2. Go to your JDEV_HOME/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/
and make a backup copy of orabpel.jar.
3. Copy the file orabpel.jar from patch 11066656 to JDEV_HOME/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/.
4. Restart JDeveloper.
5. Now the project should compile without the SCAC error.
This was fixed in 11.7 but since you are getting SCAC so asked the above action plan.
If it did not resolves see below steps:
=============================================================
File will be there but a class is missing which might cause this.
If you have same soa version 11.1.1.7.0 can you check that fabricruntime.jar from soa home and jdev home size is same?
In soa home it will be under Oracle_SOA/soa/modules directory.
If size is not same replace jdev fabricruntime.jar from soa home.
Also can you confirm on:
Please let me know whether you are able to deploy from EM or getting same error during deployment also? or from ant script. -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing
Hi,
I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we are able to generate the POAck for the updated sales order lines. But when i am rejecting one of the PO change lines by checking rejected flag, then order is getting imported successfully(I mean sales order is getting updated successfully) but during the POAck Generation i.e. 865 its raising "*ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00103: Warning: document structure does not match DTD Error at line 1*" at XML Gateway. we are using XML Gateway to process the orders, can somebody help me to get rid of this issue. Thanks in advance.
Thanks,
Sunil ChauhanHi Kishan
Thanks for the reply.
Because this is an outbound transaction so i can not provide you the XML file as we are facing issue to generate the same. Also we are using oracle seeded PO outbound Ack map.
In addition i can provide you the DTD file.
<!-- ==================================================== -->
<!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
%RESOURCES;
<!-- ==================================================== -->
<!ELEMENT ACKNOWLEDGE_PO_008 (CNTROLAREA, DATAAREA+)>
<!ATTLIST VERB
value CDATA #FIXED "ACKNOWLEDGE"
>
<!ATTLIST NOUN
value CDATA #FIXED "PO"
>
<!ATTLIST REVISION
value CDATA #FIXED "008"
>
<!ELEMENT DATAAREA (ACKNOWLEDGE_PO)
>
<!ELEMENT ACKNOWLEDGE_PO (POORDERHDR, POORDERLIN*)
>
<!ELEMENT POORDERHDR ((%DATETIME.DOCUMENT;)?, (%OPERAMT.EXTENDED.T;)?, POID, POTYPE, ACKREQUEST?, CONTRACTB?, CONTRACTS?, DESCRIPTN?, NOTES*, OPRAMTAUTH?, PORELEASE?, TAXWHEXMPT?, USERAREA?, ACKHEADER, ATTCHREF*, CHARGE*, PARTNER*, POTERM*)
>
<!ELEMENT ACKHEADER (SENDER, (%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, ACKCODE, DESCRIPTN?, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POTERM (DESCRIPTN?, TERMID?, ((DAYOFMONTH, PROXMONTH) | DAYSNUM), ((%OPERAMT.EXTENDED.T;) | (%QUANTITY.PERCENT;)), USERAREA?)
>
<!ELEMENT POORDERLIN ((%QUANTITY.ORDERED;), (%DATETIME.NEEDDELV;)?, (%OPERAMT.UNIT.T;)?, POLINENUM, DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?, NOTES*, PACKING?, POLNSTATUS?, TAXWHEXMPT?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?, ACKLINE*, ATTCHREF*, CHARGE*, DISTRIBUTN*, PARTNER*, POTERM*, POSUBLINE*, POLINESCHD*)
>
<!ELEMENT ACKLINE ((%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, (%QUANTITY.ORDERED;)?, ACKCODE, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POSUBLINE ((%QUANTITY.ITEM;), DRAWING?, ITEMRV?, ITEMRVX?, PSBLINENUM?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?)>
<!ELEMENT POLINESCHD ((%DATETIME.NEEDDELV;), (%QUANTITY.ORDERED;), DESCRIPTN?, PSCLINENUM?, USERAREA?)
>
Thanks,S
--Sunil -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L
Hi There,
I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
<?xml version="1.0"?>
<ROWSET>
<ROW>
<ID>13</ID>
<TYPE_SEQ>8</TYPE_SEQ>
<TYPE>B749</TYPE>
<TYPE_DESC>B758</_TYPE_DESC>
<EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
<EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
<CREATED_BY>958344</CREATED_BY>
<CREATED_ON>2099-01-01</CREATED_ON>
<UPDATED_BY>172283</UPDATED_BY>
<UPDATED_ON>2099-01-01</UPDATED_ON>
</ROW>
</ROWSET>
It throws the following error.
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
Can any one advice the solution please.
-Sudheer.Hi Sudheer,
This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
Check it with this code:
SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
Check it with:
SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
Rutger -
XML parsing failed while select from my table with criteria
While select from my table an error displayed as
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: '/<XML Path>/row[c24="SA0010001"]'
select * from category
where existsNode(xmlrecord, '/<XML Path>/row[c24="SA0010001"]') = 1;
xmlrecord
<row id="52843" xml:space="preserve">
<c1>Refund of Domestic Payment Order</c1>
<c2>Ref Dom Py Or</c2>
<c3>PLsql</c3>
<c20>1</c20>
<c21>62_TAABSINPUTT___OFS_TAABS</c21>
<c22>0803181605</c22>
<c23>62_TAABSINPUTT_OFS_TAABS</c23>
<c24>SA0010001</c24>
<c25>1</c25>
</row>Hi,
Did you copy that sample from some demo?
The part "<XML Path>" is meant to be replaced by a real XPath fragment.
Here, I think you may just want this :
select * from category
where existsNode(xmlrecord, '/row[c24="SA0010001"]') = 1;Edit : OK, just seen your previous post and the example given
Edited by: odie_63 on 6 juil. 2010 21:16 -
I received the following error when I gave the following statement in select:
case when {fn_year(FINANCE_PERIOD.FP_START)} @prompt('Enter Year','N',,mono,free)
then 1 else 0
end
Parse failed: Exception: DBD, [Microsoft][ODBC SQL Server Driver] Syntax Error or access violationState: 42000
I looked at differnt forums but could not fnd the error.Sams Latin
then try this:
CASE
WHEN YEAR(FINANCE_PERIOD.FP_START) = @Prompt('Enter Year','N',here give class/object or LOV's,mono,free) THEN 1 ELSE 0
END
Note: In case of Date , you can make it blank (3rd parameter), which gives you calendar at runtime.
I suggest you try it in step by step like:
>> @Prompt('Enter Year','N',here give class/object or LOV's,mono,free)
Parse it, succeed. Then
>> YEAR(FINANCE_PERIOD.FP_START)
Parse it, then
for each case see LOV's.
>> at last, try above CASE WHEN
Hope it solves you.
I'm Back
Merry Christmas -
[Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed
Hi,
I have got the following error when i tired to upload an XML file in my application. My application will insert the XML file in to Oracle 10g data base table. (Our DB server is Oracle 10g).
The error is as follows:-
[BEA][Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00004: internal error "MultiChar overflow"
Error at line 20795
ORA-06512: at "SYS.XMLTYPE", line 254
ORA-06512: at line 1
The XML file contains more than 90,000 lines in it. Please help.
Thanks!
Siva K.Is this a specific problem with 10G release? We are using 10.2.0.4.0.
Using CLOB, We think that this may hit the performance of the application as we are using large XML files. -
XML parsing failed - Works in Oracle Developer fails in SQLplus
Hello,
I am trying to figure out what could possibly be causing my XML parsing to fail from sqlplus. Basically the exact same sql script fails with the following error when run from sqlplus but works fine in Oracle Developer.
Now I have read a number of posts talking about the NLS_Lang and characterset issues. But these are all running on the same machine.
Error Message Received:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00222: error received from SAX callback function
ORA-06512: at "SYS.DBMS_XMLSTORE", line 78
ORA-06512: at line 53
Exact SQL Script
DECLARE
insCtx DBMS_XMLStore.ctxType;
rows NUMBER;
xmldoc CLOB :=
'<DepotData DepotCode="B106">
<tblPoint_of_Call>
<DEPOTCODE>B106</DEPOTCODE>
<MASTERKEY>2077</MASTERKEY>
<ADDR_ID>45286159</ADDR_ID>
<ADDR_MAIL_ID>45286160</ADDR_MAIL_ID>
<STREETBLOCK_KEY>45</STREETBLOCK_KEY>
<PC_ID>19603417</PC_ID>
<ST_ID>40034414</ST_ID>
<BUILDING_KEY>0</BUILDING_KEY>
<ADDR_NUM>505</ADDR_NUM>
<POCTYPE>154</POCTYPE>
<RECEPTACLETYPE>964</RECEPTACLETYPE>
<TOTALPOCS>1</TOTALPOCS>
<TOTALPOCSOCCUPIED>1</TOTALPOCSOCCUPIED>
<TOTALADMAIL>1</TOTALADMAIL>
<OLD038POC>0</OLD038POC>
<OCCUPIED>1</OCCUPIED>
<ADMAIL>1</ADMAIL>
<BAGGER>0</BAGGER>
<SORTED>1</SORTED>
<DELIVERED>1</DELIVERED>
<AMOBLIGATORY>0</AMOBLIGATORY>
<POCICANDIDATE>0</POCICANDIDATE>
<DELIVERYSEQUENCE>10</DELIVERYSEQUENCE>
<NUMSEPARATIONS>0.50</NUMSEPARATIONS>
<SEPSGROUPID>0</SEPSGROUPID>
<DELETED>0</DELETED>
<CARDID>0</CARDID>
<CARD>0</CARD>
<FORCECARD>0</FORCECARD>
<DNC>0</DNC>
<PRINTED>0</PRINTED>
<A12CARD>0</A12CARD>
<EXTRACARDS>0</EXTRACARDS>
<DSOUPDATECODE>0</DSOUPDATECODE>
<TRANSACTION_TYPE>0</TRANSACTION_TYPE>
<UPDATE_TYPE>0</UPDATE_TYPE>
<SORTSEQUENCE>10</SORTSEQUENCE>
<BUILDINGBASE>0</BUILDINGBASE>
</tblPoint_of_Call>
</DepotData>';
BEGIN
insCtx := DBMS_XMLStore.newContext('AIMPRIME.TBLPOINT_OF_CALL'); -- get saved context
-- set the columns to be updated as a list of values
-- Now insert the doc.
-- This will only insert into EMPNO, SAL and HIREDATE columns
DBMS_XMLStore.setRowTag(insCtx,'tblPoint_of_Call');
rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
-- Close the context
DBMS_XMLStore.closeContext(insCtx);
END;
System Information:
Oracle XE on windows XP. Everything is running on the same machine, sqlplus, Oracle Developer and the database are all on the same machine.
If you need any more information please let me know, and how to get the information you want. I am not a DBA so I don't know how to do a lot of things with oracle, but I do know that this SQL should be working.NLS...read up on them
on the same machine, yeah and...?
(1) c:\> set NLS_LANG=.....
(2) c:\> sqlplus
-- sqlplus has the active nls settings set from (1)
3) you now connect to a database
- this database has an NLS character settings that where set during using a spfile or pfile
- or, as in the case of the characterset, was defined and set once, during the creation of the database.
So...
Your NLS settings in (1) can be different from the ones that are active in the database (3).
Your NLS settings are / can be set on windows on 5 levels
In the registry under /software/oracle:
1) on HKEY_LOCAL_MACHINE
2) on HKEY LOCAL USER
In the envionment settings from windows under control panel, system, advanced, environment settings:
3) on system level
4) on user level
5) On command level via explicitly setting the parameter before starting the actual program
So in all, you can have the case where the NLS settings from sqlplus or Oracle Developer or the database are all different.
http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
Maybe you are looking for
-
Error in Transporting Process Chain in BI 7.0
Hi Gurus, i m getting following error "Object 'DM' (APCO) of type 'Application' is not available in version 'A' " in BI 7.0 while transporting a process chain. I thought it my have issues with version of process chain, but the proces chain is in A ve
-
How do I restrict access to the RT Series PXI Controller via its FTP server?
The RT Series PXI Controllers run an FTP server, so I can view files on the controller over the Internet wtih a Web browser. I can also download and upload files with a Web browser. How can I instruct the FTP server to give access only to specified,
-
How to resize photo to fit screen without loosing proportions?
I am in the process of creating a PowerPoint presentation and it will basically consist of photos, some text and a music background. I want the photos to fill my computer screen, so when I am in Elements 5, I am going to Image menu and then to resiz
-
I have two dimentional array of objects someobject[][] d = new someobject[3][3] when I try to access a mutator method in the particular object I get the NullPointerException d[0][0].setmethod(somearraylist) inside the object there is an ArrayList of
-
Self-contained movie asking for source files
I have exported a final cut pro movie as a self-contained file, and after I deleted the source files, as my harddrive was jammed full, I am unable to burn the project onto a dvd. The file won't open in quicktime or final cut pro. It keeps asking for