Problem in loading AdobeSpellingConfig.xml.
I am using Squiggly for my spellcheck requirement in flex.
I confired it as describe in douments and its works great in local machine.
I am using SpellUI class to get spell check done.
Now, My problem start when i upload it to the server.
I am using WAS 7 on server side.
I think internall SpellUI class load the AdobeSpellingConfig.xml. Now problem is I think SpellUI class always expect the xml should be in location (URL) which is been shown in browser addressbar.
We have configured some logical folders on the server which actually manupulates the path, and the path shown in browser is different than the physical path.
I just wanted to know can i set the path forAdobeSpellingConfig.xml while i am using SpellUI class.
You can't specify the path in 0.3. They're trying to make it customizable in the next release.
Similar Messages
-
Problem In loading Application_context.xml using CustomContextListener
Hi,
I had a problem with Acegi Security 2.0.2 as we are using our customLoaderListener class.We are using Mevan Build tool, Weblogic11g Application server and We are create EAR File . CustomLoaderListener we are configuring in Weblogic-application.xml and We are placing application-context.xml,application-context-security.xml,Data-access-context.xml in META-INF folder .I will post my CustomLoaderListener tell me a way to run SpringSecurity .
Jar files We are using for Security:
1)spring-security-acl-2.0.2.jar
2)spring-security-core-2.0.2.jar
3)spring-security-core-tiger-2.0.2.jar
4)spring-security-taglibs-2.0.2.jar
<Dec 30, 2010 4:49:13 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Dec 30, 2010 4:49:13 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Dec 30, 2010 4:49:14 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Dec 30, 2010 4:49:14 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log00014. Log messages will continue to be logged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log.>
<Dec 30, 2010 4:49:14 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Dec 30, 2010 4:49:21 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Dec 30, 2010 4:49:24 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Dec 30, 2010 4:49:24 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\access.log00007. Log messages will continue to be logged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\access.log.>
<Dec 30, 2010 4:49:28 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Dec 30, 2010 4:49:28 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Dec 30, 2010 4:49:37 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/PBAWeb'
Dec 30, 2010 4:49:40 PM com.sun.faces.spi.InjectionProviderFactory getProviderInstance
SEVERE: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
Dec 30, 2010 4:49:40 PM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
<Dec 30, 2010 4:49:42 PM IST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.springframework.security.util.FilterToBeanProxy.
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:95)
at org.springframework.security.util.FilterToBeanProxy.getContext(FilterToBeanProxy.java:178)
at org.springframework.security.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:120)
at org.springframework.security.util.FilterToBeanProxy.init(FilterToBeanProxy.java:190)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
Truncated. see log file for complete stacktrace
>EJP wrote:
You need to give the InitialContext some properties, there's no magical way it'll configure itself (outside of a Java EE container).If you lookup a URL with a known protocol, e.g. ldap: or in this case java:, it will configure itself in any environment that has a factory for the protocol.Is this a recent change? Last time I was accessing Ldap, it did require me to specify the com.sun.jndi.ldap.LdapCtxFactory separately. -
Get problem in loading the xml code
Hi all,
I have got one problem in program. </method >not get generates after method block.
I want output like this:
<?xml version="1.0" encoding="UTF-8"?>
<interface>
---<name>the name of package</name>
---<className>The name of class</className>
----<methods>
---------<name>the name of the method</name>
---------<returnType>the return type of the method</returnType>
-----</methods>
----<methods>
---------<name>the name of the method22</name>
---------<returnType>the return type of the method22</returnType>
---------</methods>
</interface>
But the output comes like:
<?xml version="1.0" encoding="UTF-8"?>
<interface>
---<name>the name of package</name>
---<className>The name of class</className>
----<methods>
---------<name>the name of the method</name>
---------<returnType>the return type of the method</returnType>
---------<name>the name of the method22</name>
---------<returnType>the return type of the method22</returnType>
---------</methods>
</interface>
import java.io.File;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentFragment;
import org.w3c.dom.Node;
public class TryXML
public static void main(String args[])
try
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder parser = factory.newDocumentBuilder();
Document methoddoc = parser.parse(new File("methodinfo.xml"));
Document packageDoc = parser.parse(new File("interface.xml"));
Node packagenameNode = packageDoc.getElementsByTagName("name").item(0);
Node packageclassNode = packageDoc.getElementsByTagName("className").item(0);
Node methodnode = packageDoc.getElementsByTagName("methods").item(0);
packagenameNode.setTextContent("the name of package");
packageclassNode.setTextContent("The name of class");
Node nameNode = methoddoc.getElementsByTagName("name").item(0);
Node returnTypeNode = methoddoc.getElementsByTagName("returnType").item(0);
nameNode.setTextContent("the name of the method");
returnTypeNode.setTextContent("the return type of the method");
Node node = packageDoc.importNode(methoddoc.getDocumentElement(), true);
// Create the document fragment node to hold the new nodes
DocumentFragment docfrag = packageDoc.createDocumentFragment();
// Move the nodes into the fragment
while (node.hasChildNodes())
docfrag.appendChild(node.removeChild(node.getFirstChild()));
methodnode.appendChild(docfrag);
nameNode.setTextContent("the name of the method22");
returnTypeNode.setTextContent("the return type of the method22");
node = packageDoc.importNode(methoddoc.getDocumentElement(), true);
// Create the document fragment node to hold the new nodes
docfrag = packageDoc.createDocumentFragment();
// Move the nodes into the fragment
while (node.hasChildNodes())
docfrag.appendChild(node.removeChild(node.getFirstChild()));
methodnode.appendChild(docfrag);
DOMSource source = new DOMSource(packageDoc);
StreamResult result = new StreamResult(System.out);
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
System.out.println("This is the content of the XML document:\n");
transformer.transform(source, result);
catch (Exception e)
Please help me.
Thanks
buntyReplace the following line:methodnode.appendChild(docfrag);with these lines:Node methodnode2 = packageDoc.createElement("methods");
packageDoc.getDocumentElement().appendChild(methodnode2);
methodnode2.appendChild(docfrag);The problem was that you omitted to create a new <methods> element for the document fragment to be inserted in, so it got inserted in the original <methods> element. -
Problem in loading Context.xml file
Hi,
I just tried to create datasource from context.xml. i did the following steps
1. i added context.xml file in webapps/META-INF/
2. I added the below values to that xml file.
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/myApp" >
<Resource name="jdbc/dbtest" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" password="test_dev" minIdle="1" maxIdle="1" maxActive="10" maxWait="5000" username="test_dev" url="jdbc:oracle:thin:@22.4.55.6:1521:TEST"/>
</Context>3.
public class TestDB {
private static Logger log = Logger.getLogger(TestDB.class.getName());
private final static String JNDI_PATH_DB = "java:comp/env/jdbc/dbtest";
public javax.sql.DataSource getCatalogDS() throws NamingException
try
InitialContext initCtx = new InitialContext();
return (DataSource)initCtx.lookup(JNDI_PATH_DB);
catch (NamingException ex)
log.info("NamingException: " + ex.getMessage());
throw ex;
public Connection getConnection() throws Exception
try
DataSource catalogDS = getCatalogDS();
return catalogDS.getConnection();
catch(Exception ex)
log.info(ex.getMessage());
throw ex;
public static void main (String args[]){
try {
TestDB obj = new TestDB();
System.out.println("before lookup");
System.out.println("Datasource is "+obj.getConnection());
} catch( NamingException ne ) {
throw new RuntimeException( "Unable to aquire data source", ne );
catch (Exception e)
String st = StringUtils.StackTraceToString( e );
}4. i run this class to get connection.
i am getting an error
Exception in thread "main" java.lang.RuntimeException: Unable to aquire data source
at it.sscenter.escape.admintools.TestDB.main(TestDB.java:51)
Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at it.sscenter.escape.admintools.TestDB.getCatalogDS(TestDB.java:22)
at it.sscenter.escape.admintools.TestDB.getConnection(TestDB.java:35)
at it.sscenter.escape.admintools.TestDB.main(TestDB.java:49)Is that right way or do i need to configure the context file in somewhere OR do i need to create an properties file?
Kindly help to resolve this issue.
Thanks
JasminEJP wrote:
You need to give the InitialContext some properties, there's no magical way it'll configure itself (outside of a Java EE container).If you lookup a URL with a known protocol, e.g. ldap: or in this case java:, it will configure itself in any environment that has a factory for the protocol.Is this a recent change? Last time I was accessing Ldap, it did require me to specify the com.sun.jndi.ldap.LdapCtxFactory separately. -
dear,
i have problem to load a xml file from flash.
see in below:
when i put this : xmlpath.load(_root.xmlFile==undefined?"datas.xml":_root.xmlFile); it works perfect in flash but not in the browser.
kindly help me on this...
i will appreciate your help
regards,
MELAS076I solved the URL But i have some issues between 2 flashs and 2 xml files which they are loading and navigate together....
let me explain my problem is:
- i have 2 flashs (main + index) and 2 xmls(data + datas) but they are not in the same path.
in the main.swf : we have pictures of product which is load datas from data.xml and it is loading MC when clicked on one of picture.
is in the root path.
in the index.swf: we have all details and pictures of product which is loaded from datas.xml clicked by main.swf
is in the root path/products/name1/ and we have root path/products/name2/.
and each product has datas.xml in their folder with index.swf
so how can i let the index.swf load its datas.xml when i clicked from main.swf?
My main.swf code:
stop();
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
links = [];
description = [];
thumbnails = [];
a =[];
total = xmlNode.firstChild.childNodes.length;
for (i=0; i<total; i++) {
links[i] = xmlNode.firstChild.childNodes[i].attributes.datas;
description[i] = xmlNode.firstChild.childNodes[i].attributes.label;
thumbnails[i] = xmlNode.firstChild.childNodes[i].attributes.thumbs;
a[i] = xmlNode.firstChild.childNodes[i].attributes.folder;
thumbnails_fn(i);
//trace(xmlNode.firstChild.childNodes[1].attributes.thumbs);
initPreloading();
//firstImage();
} else {
content = "file not loaded!";
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("data.xml");
p = 0;
function thumbnails_fn(k) {
this.thumbnail_mc.createEmptyMovieClip("t"+k, this.thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = (eval("this.thumbnail_mc.t"+k)._width+20)*k;
target_mc.pictureValue = k;
aa = xmlData.firstChild.firstChild.childNodes[k].attributes.datas;
target_mc.onRelease = function() {
LOADmc.loadMovie(aa);
//trace();
p = this.pictureValue;
//nextImage();
target_mc.onRollOver = function() {
this._alpha = 90;
//thumbNailScroller();
target_mc.onRollOut = function() {
this._alpha = 100;
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
LOADmc._x=(alignmc.width-LOADmc._width)/2;
LOADmc._y=(alignmc.height-LOADmc._height)/2;
my data.xml:
<?xml version="1.0"?>
<data>
<category title="OUR PRODUCTS">
<item id="1" folder="Products/Multihost" thumbs="Products/Multihost/thumbs/1.jpg" label="Multihost" datas="Products/Multihost/index.swf"/>
<item id="2" folder="Products/VOIP" thumbs="Products/VOIP/thumbs/image1.jpg" label="VO IP" datas="Products/VOIP/index.swf"/>
</category>
</data>
my index.swf in each product/name :
var xmlfiles:XML = new XML();
xmlfiles.ignoreWhite = true;
xmlfiles.load("../../data.xml");
xmlfiles.onLoad=function(success) {
if (success) {
// total = xmlfiles.firstChild.firstChild.childNodes.length;
//for (i=0; i<total; i++) {
var ba = xmlNodes.firstChild.firstChild.childNodes[k].attributes.folder;
var xmlOb:XML = new XML();
xmlOb.ignoreWhite = true;
xmlOb.onLoad = function() {
var aux:main = new main(xmlOb);
trace(ba+"/datas.xml");
xmlOb.load(a+"/datas.xml");
//xmlOb.load(_root.xmlFile==undefined?"datas.xml":_root.xmlFile);
//xmlOb.load("products/multihost/datas.xml");
my datas.xml for prduct name 1:
<?xml version="1.0" encoding="utf-8"?>
<product>
<gallery>
<button id="1" title="Multihost 20" subtitle="MH20" thumb="Products/Multihost/thumbs/2.jpg" ProductTitle="MH20">
<picture thumb="Products/Multihost/thumbs/1.jpg" image="Products/Multihost/images/1.jpg"/>
<picture thumb="Products/Multihost/thumbs/2.jpg" image="Products/Multihost/images/2.jpg"/>
<picture thumb="Products/Multihost/thumbs/3.jpg" image="Products/Multihost/images/3.jpg"/>
<picture thumb="Products/Multihost/thumbs/5.jpg" image="Products/Multihost/images/5.jpg"/>
<description linkname="MH Overview.pdf"><![CDATA[Marwan salem tests]]></description>
</button>
</gallery>
<mainTitle MainTitle="Multihost"/>
</product>
my datas.xml for prduct name 2:
<?xml version="1.0" encoding="utf-8"?>
<product>
<gallery>
<button id="0" title="VO IP 20" subtitle="VO IP 20" thumb="Products/VO IP/thumbs/image1.jpg" ProductTitle="VO IP 20"><picture thumb="Products/VO IP/thumbs/image1.jpg" image="Products/VO IP/images/image1.jpg"/><description linkname="Multi-Host Flyer.pdf"><![CDATA[MArwan VO IP 20]]></description></button></gallery>
<mainTitle MainTitle="VO IP"/>
</product>
thanks for your help.
best regards,
MELAS076
Message was edited by: melas076 -
Problem to load XML SQL Utility into other user
Hi,
I need help to load XML Utility into other user than
"scott"tiger".
I loaded both xmlparser.jar and oraclexmlsql.jar into
"scott/tiger", it works and creating functions and testing work
fine. But when change USER_PASSWORD to another user, it gave me
some errors like
creating : org/xml/sax/helpers/AttributeListImpl
Error while creating class org/xml/sax/helpers/AttributeListImpl
ORA-29506: invalid query derived from USING clause
ORA-00942: table or view does not exist
Error while accessing MD5 table
ORA-00942: table or view does not exist
Do I need create any table or view for my another oracle account?
Or did I missed any thing. From the installation instruction, I
cano not find any about creating table or view before I load the
two jar files.
Thanks
Yuping
nullHi Yuping,
Great to hear that! Thx for posting the solution to the
problem! Let us know if you have any problems with the utility
or if u need any enhancements!
Thx
Murali
Yuping Zhu (guest) wrote:
: Hi,Murali,
: The problem is fixed now. When load xmlparser into the user, it
: creates two tables automatically, my mistake is I did not grant
: "create table" privilege to the user. After I granted the
: privilege to it, it works fine.
: Thanks!
: Yuping
: Murali K (guest) wrote:
: : Hi,
: : I will check this out with the Java folks and let u know
: : Thx
: : Murali K
: : Yuping Zhu (guest) wrote:
: : : Hi, Murali
: : : I'm using Oracle8i on Solaris 2.6. When I load xmlparser
: using
: : : loadjava -resolve -verbose -user $USER_PASSWORD
xmlparser.jar
: : : I get error message and I catch part of erros
: : : PS, I can load it into scott/tiger.
: : : Thanks!
: : : Yuping
: : : loading : org/w3c/dom/html/HTMLLegendElement
: : : Error while loading org/w3c/dom/html/HTMLLegendElement
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : creating : org/w3c/dom/html/HTMLLegendElement
: : : Error while creating class
org/w3c/dom/html/HTMLLegendElement
: : : ORA-29506: invalid query derived from USING clause
: : : ORA-00942: table or view does not exist
: : : Error while accessing MD5 table
: : : ORA-00942: table or view does not exist
: : : loading : org/w3c/dom/html/HTMLImageElement
: : : Error while loading org/w3c/dom/html/HTMLImageElement
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : creating : org/w3c/dom/html/HTMLImageElement
: : : Error while creating class
org/w3c/dom/html/HTMLImageElement
: : : ORA-29506: invalid query derived from USING clause
: : : ORA-00942: table or view does not exist
: : : Error while accessing MD5 table
: : : ORA-00942: table or view does not exist
: : : loading : oracle/xml/parser/v2/XSLException
: : : Error while loading oracle/xml/parser/v2/XSLException
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : Murali K (guest) wrote:
: : : : Hi Yuping,
: : : : I tried the same on a 8i database and it seems to be
: : working
: : : : fine. (loading into two schemas). In fact I just created
: the
: : : : other user and it doesnt have any tables or anything in
it.
: : : : You do not need to create anything (table/view) extra
for
: : : these
: : : : to work.
: : : : Which database (Oracle8 or 8i) are u using?
: : : : Thanks
: : : : Murali
: : : : Yuping Zhu (guest) wrote:
: : : : : Hi,
: : : : : I need help to load XML Utility into other user than
: : : : : "scott"tiger".
: : : : : I loaded both xmlparser.jar and oraclexmlsql.jar into
: : : : : "scott/tiger", it works and creating functions and
: testing
: : : work
: : : : : fine. But when change USER_PASSWORD to another user,
it
: : gave
: : : me
: : : : : some errors like
: : : : : creating : org/xml/sax/helpers/AttributeListImpl
: : : : : Error while creating class
: : : : org/xml/sax/helpers/AttributeListImpl
: : : : : ORA-29506: invalid query derived from USING clause
: : : : : ORA-00942: table or view does not exist
: : : : : Error while accessing MD5 table
: : : : : ORA-00942: table or view does not exist
: : : : : Do I need create any table or view for my another
oracle
: : : : account?
: : : : : Or did I missed any thing. From the installation
: : instruction,
: : : I
: : : : : cano not find any about creating table or view before
I
: : load
: : : : the
: : : : : two jar files.
: : : : : Thanks
: : : : : Yuping
null -
Performance problems loading an XML file into oracle database
Hello ODI Guru's,
I am trying to load and XML file into the database after doing simple business validations. But the interface takes hours to complete.
1. The XML files are large in size >200 Mb. We have an XSD file for the schema definition instead of a DTD.
2. We used the external database feature for loading these files in database.
The following configuration was used in the XML Data Server:
jdbc:snps:xml?f=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xml&d=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xsd&re=initialLoad&s=CM&db_props=oracle&ro=true
3. Now we reverse engineer the XML files and created models using ODI Designer
4. Similar thing was done for the target i.e. an Oracle database table as well.
5. Next we created a simple interface with one-to-one mapping from the XSD schema to the Oracle database table and executed the interface. This execution takes more than one hour to complete.
6. We are running ODI client on Windows XP Professional SP2.
7. The Oracle database server(Oracle 10g 10.2.0.3) for the target schema as well as the ODI master and work repositories are on the same machine.
8. I tried changing the following properties but it is not making much visible difference:
use_prepared_statements=Y
use_batch_update=Y
batch_update_size=510
commit_periodically=Y
num_inserts_before_commit=30000
I have another problem that when I set batch_update_size to value greater that 510 I get the following error:
java.sql.SQLException: class org.xml.sax.SAXException
class java.lang.ArrayIndexOutOfBoundsException said -32413
at com.sunopsis.jdbc.driver.xml.v.a(v.java)
The main concern is why should the interface taking so long to execute.
Please send suggestions to resolve the problem.
Thanks in advance,
Best Regards,
NikunjApproximately how many rows are you trying to insert?
One of the techniques which I found improved performance for this scenario was to extract from the xml to a flat file, then to use SQL*LOADER or external tables to load the data into Oracle. -
PROBLEM IN LOADING XML SECOND TIME
HI,
Actually i m loading xml 1st time when the page is loading,then again 2nd time when i m trying to load 2nd xml based on dropdown value then it is loading xml but it is appending the 2nd xml with the 1st xml.i m also unloading xml at first then loading 2nd xml but it is cming like that.the code is for loading and unloading is........
for loading i m calling---------------load_xml(xml)
for unloading i m calling------------- unload_xml()
function unload_xml():void
trace("in unload")
this.removeChild( flashmo_item_group );
function push_array(e:Event):void
flashmo_xml = XML(e.target.data);
total = flashmo_xml.item.length();
for( i = 0; i < total; i++ )
flashmo_item_list.push( { content: flashmo_xml.item[i].content.toString() } );
load_css();
function load_xml(xml_file:String):void
var xml_loader:URLLoader = new URLLoader();
xml_loader.load( new URLRequest( xml_file ) );
xml_loader.addEventListener(Event.COMPLETE, push_array);
xml_loader.addEventListener(IOErrorEvent.IO_ERROR, io_error);
function load_css():void
css_loader.load( new URLRequest(css_file) );
css_loader.addEventListener(Event.COMPLETE, css_complete);
css_loader.addEventListener(IOErrorEvent.IO_ERROR, io_error);
function css_complete(e:Event):void
var css_format:TextFormat = new TextFormat();
flashmo_style.parseCSS(css_loader.data);
create_item_list();
flashmo_loading.visible = false;
function io_error(e:IOErrorEvent):void
flashmo_loading.xml_info.text += "\n\n" + e;
function create_item_list():void
for( i = 0; i < total; i++ )
var flashmo_item = new MovieClip();
flashmo_item.addChild( create_item_desc( flashmo_item_list[i].content ) );
flashmo_item.addChildAt( create_item_bg( flashmo_item.height, i ), 0 );
flashmo_item.y = item_height;
item_height += flashmo_item.height + item_spacing;
flashmo_item_group.addChild( flashmo_item );
this.addChild( flashmo_item_group );
flashmo_item_group.mask = flashmo_mask;
flashmo_sb.scrolling("flashmo_item_group", "flashmo_mask", 0.40); // ScrollBar Added
function create_item_bg( h:Number, item_no:Number )
var fm_rect:Shape = new Shape();
fm_rect.graphics.beginFill(0xFFFFFF, 1); // ITEM BACKGROUND COLOR
fm_rect.graphics.drawRoundRect(0, 0, item_width, h + item_padding * 2, 0);
fm_rect.graphics.endFill();
return fm_rect;
function create_item_desc( item_desc:String )
var fm_text = new TextField();
fm_text.x = item_padding;
fm_text.y = item_padding;
fm_text.width = item_width - item_padding * 2;
fm_text.styleSheet = flashmo_style;
fm_text.htmlText = item_desc;
fm_text.multiline = true;
fm_text.wordWrap = true;
fm_text.selectable = true;
fm_text.autoSize = TextFieldAutoSize.LEFT;
return fm_text;
flashmo_sb.alpha=1;
so plz give me idea to resolve this problem.function push_array(e:Event):void
flashmo_item_list = [];
flashmo_xml = XML(e.target.data);
total = flashmo_xml.item.length();
for( i = 0; i < total; i++ )
flashmo_item_list.push( { content: flashmo_xml.item[i].content.toString() } );
load_css();
that will reset your array. -
Hi.
I have a problem this load XML data. For example: file name:
01-05-2008.xml => in this file all data have date=01.05.2008.
Once i load period 01.05.2008 to 10.05.2008 my app load 10 files.
Sometimes some row this greater date stay earlier then row this
smaller date. I don't know why this happend. Bellow part of code.
Please help.
P.S. sorry for my very bad english.Hi Lekser,
ntsii is totally right.
Calling httpservice send is a async operation, which means
you don´t know when the result event of such operation will
return.
You can also sort your grid after a xml data file was loaded.
At least it would guarantee that the entries appear in the
right order.
best regards,
kcell -
I'm running 10.2.0.3 on a Linux box and I'm having problems loading a large XML document (about 100 MB). In the past, I would simply load the XML file into a XMLType column like this:
INSERT INTO foo VALUES (XMLType(bfilename('XMLDIR', 'test.xml'). nls_charset_id('AL32UTF8')));
But when I try this with a large file, it runs for 10 minutes and then returns an ORA-03113. I'm assuming the file is just too large for this technique. I spoke to Mark Drake when I was at OpenWorld and he suggested I use Oracle XML DB, so I created and registered a schema and tried using sqlldr to load the doc, but it ran for 2 1/2 hours before returning:
Parse Error on row 1 in table FOO
OCI-31038: Invalid integer value: "129"
I tried simplifying both the XML file and schema to just the following:
<schedules>
<s s="2009-09-21T04:00:00" d="21600" p="335975" c="19672"/>
<s s="2009-09-21T04:00:00" d="21600" p="335975" c="15387"/>
<s s="2009-09-21T04:00:00" d="25200" p="335975" c="5256"/>
<s s="2009-09-21T04:00:00" d="86400" p="335975" c="26198">
<k id="5" v="2009-09-21 09:00:00.000"/>
<k id="6" v="2009-09-22 03:59:59.000"/>
<k id="26" v="0.00"/><k id="27" v="US"/>
</s>
<s s="2009-09-21T04:00:00" d="21600" p="335975" c="11678"/>
<s s="2009-09-21T04:00:00" d="21600" p="335975" c="26697"/>
<s s="2009-09-21T04:00:00" d="21600" p="335975" c="25343"/>
<s s="2009-09-21T04:00:00" d="21600" p="335975" c="25269"/>
<s s="2009-09-21T04:00:00" d="86400" p="335975" c="26200">
<k id="5" v="2009-09-21 09:00:00.000"/>
<k id="6" v="2009-09-22 03:59:59.000"/>
<k id="26" v="0.00"/><k id="27" v="US"/>
</s>
</schedules>
<?xml version="1.0" encoding="UTF-8"?>
<!--W3C Schema generated by XMLSpy v2008 sp1 (http://www.altova.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb"
version="1.0"
xdb:storeVarrayAsTable="true">
<xs:element name="schedules" xdb:defaultTable="SCHEDULES">
<xs:complexType xdb:SQLType="SCHEDULES_T">
<xs:sequence>
<xs:element ref="s" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="s">
<xs:complexType>
<xs:choice minOccurs="0">
<xs:element ref="f" maxOccurs="unbounded"/>
<xs:element ref="k" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="s" use="required" type="xs:dateTime"/>
<xs:attribute name="p" use="required" type="xs:int"/>
<xs:attribute name="d" use="required" type="xs:int"/>
<xs:attribute name="c" use="required" type="xs:short"/>
</xs:complexType>
</xs:element>
<xs:element name="k">
<xs:complexType>
<xs:attribute name="v" use="required" type="xs:string"/>
<xs:attribute name="id" use="required" type="xs:byte"/>
</xs:complexType>
</xs:element>
<xs:element name="f">
<xs:complexType>
<xs:attribute name="id" use="required" type="xs:byte"/>
</xs:complexType>
</xs:element>
</xs:schema>
Keep in mind both the actual XML file and corresponding XSD is much more complex, but this particular section is about 70 MB so I wanted to see if I could just load that. I used the following sqlldr script:
LOAD DATA
INFILE *
INTO TABLE schedules_tmp TRUNCATE
XMLType(xml_doc)(
lobfn FILLER CHAR TERMINATED by ',',
xml_doc LOBFILE(lobfn) TERMINATED BY EOF
BEGINDATA
/tmp/schedules.xmlThis worked fine on a small doc - loaded correctly and I could query it fine - but when I tried using the 70 MB file it ran for a couple of hours before dying with a memory problem.
So what am I doing wrong? Is there a better way to load a large file?
Thanks for the help.
Pete
Edited by: mdrake on Nov 9, 2009 8:46 PMMark:
Answers to your questions:
Do you use direct load ? -> Yes. I tried again using UNRECOVERABLE LOAD DATA to try to speed up performance, but it still ran for a couple of hours before dying.
Which DB Release are you working with ? -> 10.2.0.3
Can you see if you can upload via FTP ? -> I added noNamespaceSchemaLocation to my XML file and ftp'd it to my XML directory, but it wasn't recognized. Is there something else I have to do?
The change for unsignedInt should have code rid of the issue with the value 129. Did it ? -> I didn't try it again on the whole XML file (I'm just working with the schedules section), so I haven't verified this.
I'm still stumped as to why sqlldr takes so long. I could write something to parse the XML file into a flat file and then use sqlldr to load it into a relational table, and the load would only take a few minutes. But then I wouldn't be using XML DB which I thought would be faster. What am I doing wrong?
Pete -
Problem Updating Business Partner DI Object loaded via XML
Hello,
I'm working with SB1 8.81 PL 08
I have to Update a Business Partner Object in a Target SB1 Company Database starting from a Business Partner Objects saved as XML from the Source SB1 Company Database.
Normally this works fine, I load from XML this Object and calling the Method Update all data is Syncronized in the Target DB.
But if the Business Partner Object has at least a Contact Person and in the Target Company DB a Marketing Document has been created for this particular Business Partner the Update Method called on the loaded by XML object always fail giving the following error:
Error: -10
Message: Contact Person is referenced by another object. , 'Sales Quotations [...contact Person ID...]'
The modifications I need to update do not involve contact person in the BP object but only other simple properties like Tel Nr. ...
In conclusion ... if the target BP has a marketing document created it seems no more possible to update it with an XML load, instead if a load the BP using the GetByKey() Method and changing manually some properties of the object the Update works fine.
Thank you for support.
MaxHi,
First Use the getbykey to get the Business partnet then update.
sample code is available with B1WS package
Regards. -
Problem when trying to load an XML document with DTD or XML SCHEMA
Hello
I have tried to load an XML document in Data Services, and I created the xsd file and Dtd file. (With altova xml spy software automatically) to import into SAP Data Services 3.2. .
In Data Services I created the dtd import file DTD and then called the XML file from the DTD (the xml file is validated vs the dtd file), and I could not read the xml correctly because it tells me that an ELEMENT called <item> expected joiners who did not come in the structure of import (dtd), but if the xml.
I understand that the document root is the label: CUSTOMER_FULL_2014, the data flow is as follows:CARGA_XML_CUSTOMER |
Turns out the joiners element is used to separate the xml elements are repeated, but is used at different levels. My idea is that the design will dtd second, or something I'm missing or is incorrectly stated.
Thank you.
xml
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<?xml version="1.0" encoding="utf-8"?>
<CUSTOMER_FULL_2014>
<item>
<CUST_NO>202222</CUST_NO>
<ADDRESS>
<item>
<SHIP_TO>202222</SHIP_TO>
<NAME1>Henley.</NAME1>
<STREET>Vitacura #40</STREET>
<CITY>LIMA</CITY>
</item>
</ADDRESS>
<EQUIPMENT>
<item>
<EQUI_NO>81623</EQUI_NO>
</item>
<item>
<EQUI_NO>81633</EQUI_NO>
</item>
<item>
<EQUI_NO>81993</EQUI_NO>
</item>
<item>
<EQUI_NO>82003</EQUI_NO>
</item>
<item>
<EQUI_NO>82013</EQUI_NO>
</item>
<item>
<EQUI_NO>82103</EQUI_NO>
</item>
<item>
<EQUI_NO>82113</EQUI_NO>
</item>
<item>
<EQUI_NO>581203</EQUI_NO>
</item>
<item>
<EQUI_NO>900003-EMER</EQUI_NO>
</item>
<item>
<EQUI_NO>9000033-STOCK</EQUI_NO>
</item>
</EQUIPMENT>
<STORAGE_LOC>
<item>
<STOR_LOC_NO>0001</STOR_LOC_NO>
<DESCRIPTION>01 Parts Center</DESCRIPTION>
</item>
<item>
<STOR_LOC_NO>0056</STOR_LOC_NO>
<DESCRIPTION>56 henley</DESCRIPTION>
</item>
</STORAGE_LOC>
</item>
<item>
<CUST_NO>2007933434343</CUST_NO>
<ADDRESS>
<item>
<SHIP_TO>2007933434343</SHIP_TO>
<NAME1>Campos de Almacenaje SA</NAME1>
<STREET>Calacoto2, Calle 1</STREET>
<HOUSE_NO>Piso 1</HOUSE_NO>
<CITY>La Paz</CITY>
</item>
</ADDRESS>
<EQUIPMENT>
<item>
<EQUI_NO>90000-EMER</EQUI_NO>
</item>
<item>
<EQUI_NO>90000333-STOCK</EQUI_NO>
</item>
</EQUIPMENT>
<STORAGE_LOC>
<item>
<STOR_LOC_NO>00012</STOR_LOC_NO>
<DESCRIPTION>01 Parts Center</DESCRIPTION>
</item>
<item>
<STOR_LOC_NO>0056</STOR_LOC_NO>
<DESCRIPTION>56 henley</DESCRIPTION>
</item>
</STORAGE_LOC>
</item>
<item>
<CUST_NO>200801333</CUST_NO>
<ADDRESS>
<item>
<SHIP_TO>200801333</SHIP_TO>
<NAME1>CONSTRUCTORA SA.</NAME1>
<STREET>Ruta Panamericana Km 100</STREET>
<CITY>San Antonio 23</CITY>
</item>
</ADDRESS>
<EQUIPMENT>
<item>
<EQUI_NO>1507933</EQUI_NO>
</item>
<item>
<EQUI_NO>1509733</EQUI_NO>
</item>
<item>
<EQUI_NO>90000-EMER</EQUI_NO>
</item>
<item>
<EQUI_NO>90000333-STOCK</EQUI_NO>
</item>
</EQUIPMENT>
<STORAGE_LOC>
<item>
<STOR_LOC_NO>0001</STOR_LOC_NO>
<DESCRIPTION>01 Parts Center</DESCRIPTION>
</item>
<item>
<STOR_LOC_NO>0056</STOR_LOC_NO>
<DESCRIPTION>56 henley</DESCRIPTION>
</item>
</STORAGE_LOC>
</item>
</CUSTOMER_FULL_2014>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ARCHIVO DTD CREADO (automáticamente con xml spy)
<?xml version="1.0" encoding="UTF-8"?>
<!-- DTD generado con XMLSpy v2014 rel. 2 (x64) (http://www.altova.com) -->
<!ELEMENT CITY (#PCDATA)>
<!ELEMENT item ((SHIP_TO, NAME1, STREET, HOUSE_NO?, CITY) | (CUST_NO, ADDRESS, EQUIPMENT, STORAGE_LOC) | (STOR_LOC_NO, DESCRIPTION) | EQUI_NO)>
<!ELEMENT NAME1 (#PCDATA)>
<!ELEMENT STREET (#PCDATA)>
<!ELEMENT ADDRESS (item)>
<!ELEMENT CUST_NO (#PCDATA)>
<!ELEMENT EQUI_NO (#PCDATA)>
<!ELEMENT SHIP_TO (#PCDATA)>
<!ELEMENT HOUSE_NO (#PCDATA)>
<!ELEMENT EQUIPMENT (item+)>
<!ELEMENT DESCRIPTION (#PCDATA)>
<!ELEMENT STORAGE_LOC (item+)>
<!ELEMENT STOR_LOC_NO (#PCDATA)>
<!ELEMENT CUSTOMER_FULL_2014 (item+)>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The error of MONITOR Data Services
11676
5184
XML-240108
11-04-2014 17:34:16
|Data flow CARGA_XML_CUSTOMER|Reader READ MESSAGE customer OUTPUT(customer)
11676
5184
XML-240108
11-04-2014 17:34:16
An element named <item> present in the XML data input does not exist in the XML format used to set up this XML source in data
11676
5184
XML-240108
11-04-2014 17:34:16
flow <CARGA_XML_CUSTOMER>. Please validate your XML data.
11676
5184
XML-240307
11-04-2014 17:34:16
|Data flow CARGA_XML_CUSTOMER|Reader READ MESSAGE customer OUTPUT(customer)
11676
5184
XML-240307
11-04-2014 17:34:16
XML parser failed: See previously displayed error message.
The Error from Monitor
The metadata DTD
Thanks
JuanHi Juan Juan,
I generated a new XSD file using MS Visual Studio based on your XML file.
The empty spaces in the source is replaced with <Null> in the target table.
Here is the XSD:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="CUSTOMER_FULL_20140207_033015_001">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element name="CUST_NO" type="xs:unsignedInt" />
<xs:element name="ADDRESS">
<xs:complexType>
<xs:sequence>
<xs:element name="SHIP_TO" type="xs:unsignedInt" />
<xs:element name="NAME1" type="xs:string" />
<xs:element name="STREET" type="xs:string" />
<xs:element minOccurs="0" name="HOUSE_NO" type="xs:string" />
<xs:element name="CITY" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EQUIPMENT">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="EQUI_NO" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="STORAGE_LOC">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element name="STOR_LOC_NO" type="xs:unsignedByte" />
<xs:element name="DESCRIPTION" type="xs:string" />
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
For Source XML
<?xml version="1.0" encoding="utf-8"?>
<CUSTOMER_FULL_20140207_033015_001>
<CUST_NO>200530</CUST_NO>
<ADDRESS>
<SHIP_TO>903533</SHIP_TO>
<NAME1>HENLEY - PART MAQUINARIAS S.A.</NAME1>
<STREET>Dean Camilo # 148, San Carlos</STREET>
<CITY>LIMA</CITY>
</ADDRESS>
<EQUIPMENT>
<EQUI_NO>4442</EQUI_NO>
<EQUI_NO>8163</EQUI_NO>
<EQUI_NO>8199</EQUI_NO>
<EQUI_NO>8200</EQUI_NO>
<EQUI_NO>8201</EQUI_NO>
<EQUI_NO>8210</EQUI_NO>
<EQUI_NO>8211</EQUI_NO>
<EQUI_NO>58120</EQUI_NO>
<EQUI_NO>90000-EMERGENCY</EQUI_NO>
<EQUI_NO>90000-STOCK</EQUI_NO>
</EQUIPMENT>
<STORAGE_LOC>
<STOR_LOC_NO>0001</STOR_LOC_NO>
<DESCRIPTION>01 Parts Center</DESCRIPTION>
<STOR_LOC_NO>0056</STOR_LOC_NO>
<DESCRIPTION>56 HEN</DESCRIPTION>
</STORAGE_LOC>
<CUST_NO>200793</CUST_NO>
<ADDRESS>
<SHIP_TO>200793</SHIP_TO>
<NAME1>Minera San Cristobal S.A.</NAME1>
<STREET>Calacoto, Calle 90, Torre 2</STREET>
<HOUSE_NO>Piso 5</HOUSE_NO>
<CITY>La Paz</CITY>
</ADDRESS>
<EQUIPMENT>
<EQUI_NO>90000-EMERGENCY</EQUI_NO>
<EQUI_NO>90000-STOCK</EQUI_NO>
</EQUIPMENT>
<STORAGE_LOC>
<STOR_LOC_NO>0001</STOR_LOC_NO>
<DESCRIPTION>01 Parts Center</DESCRIPTION>
<STOR_LOC_NO>0056</STOR_LOC_NO>
<DESCRIPTION>56 HEN</DESCRIPTION>
</STORAGE_LOC>
<CUST_NO>200801</CUST_NO>
<ADDRESS>
<SHIP_TO>200801</SHIP_TO>
<NAME1>ISEMAR S.A.</NAME1>
<STREET>Ruta Km 28.45</STREET>
<CITY>Don Torcuato Paraguay</CITY>
</ADDRESS>
<EQUIPMENT>
<EQUI_NO>15079</EQUI_NO>
<EQUI_NO>15097</EQUI_NO>
<EQUI_NO>90000-EMERGENCY</EQUI_NO>
<EQUI_NO>90000-STOCK</EQUI_NO>
</EQUIPMENT>
<STORAGE_LOC>
<STOR_LOC_NO>0001</STOR_LOC_NO>
<DESCRIPTION>01 Parts Center</DESCRIPTION>
<STOR_LOC_NO>0056</STOR_LOC_NO>
<DESCRIPTION>56 HEN</DESCRIPTION>
</STORAGE_LOC>
</CUSTOMER_FULL_20140207_033015_001>
Output:
Regards,
Akhileshkiran. -
Problem with special characters loaded from XML
I have an XML whose elements contain special characters (for example: ñ, Ñ, á, Á, etc..), When I load the XML and make a Trace () the loaded element, I see that it is loaded correctly, but then in the text field is not special characters. For example in the XML I have the text Baños, but in the text field shown Baos.
It is clear that in the text field are incorporated upper case, lower case, numerals, punctuation symbols and Basic Latin.
I also tested with the judgment System.useCodePage = true in the code but does not work.
Thanks for any help you can give me.
Garchabig.
PD: Sorry for poor English, I'm Latino. -Hi, before reading your answer I tried embedding all characters and surprise surprise, it worked!
So then I was testing with embedded characters to see what was the need to display special characters (like "ñ", "í", etc..) and discovered that it has to be built or yes is Latin I (194/388 glyphs).
Thank you very much also for the answer.
Greetings, Garchabig. - -
[SOLVED Thanks ]// problem with loading XML in projectors and Firefox
Hi !
I've been working and testing my movie in flash only. when I
start the file in IE it works but when I try to load the file in
firefox or make a standalone exe player it won´t read the
XMLfile. I've tried to allow all access and set the root in the
tilestructor to a trusted location in the flashplayers settings.
/MickeHI Micke,
What is the code you are using to load the XML file ?
Regards
FlashJester Support Team
e. - [email protected]
w. -
http://www.flashjester.com
There is a very fine line between "hobby" and
"mental illness." -
Problem when loading xml file using sql loader
I am trying to load data into table test_xml (xmldata XMLType)
i have an xml file and i want whole file to be loaded into a single column
when i use the following control file and executed from command prompt as follows
sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl direct=true;:
LOAD DATA
INFILE *
TRUNCATE INTO TABLE test_xml
xmltype(xmldata)
FIELDS
ext_fname filler char(100),
xmldata LOBFILE (ext_fname) TERMINATED BY EOF
BEGIN DATA
/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml
the file is being loaded into table perfectly.
unfortunatley i cant hardcode file name as file name will be changed dynamically.
so i removed the block
BEGIN DATA
/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml
from control file and tried to execute by giving file path from command line as follows
sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml direct=true;
but strangely it's trying to load each line of xml file into table instead of whole file
Please find the log of the program with error
Loading of XML through SQL*Loader Starts
SQL*Loader-502: unable to open data file '<?xml version="1.0"?>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '<Root>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '<Type>Forms</Type>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '</ScriptFileType>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '<Type>PLL</Type>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '</ScriptFileType>' for field XMLDATA table TEST_XML
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
please help me how can i load full xml into single column using command line without hardcoding in control file
Edited by: 907010 on Jan 10, 2012 2:24 AMbut strangely it's trying to load each line of xml file into table instead of whole fileNothing strange, the data parameter specifies the file containing the data to load.
If you use the XML filename here, the control file will try to interpret each line of the XML as being separate file paths.
The traditional approach to this is to have the filename stored in another file, say filelist.txt and use, for example :
echo "/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml" > filelist.txt
sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=filelist.txt direct=true;
Maybe you are looking for
-
I have another computer that a virus may have taken over and I cannot log into it anymore. I just downloaded Itunes on a new computer but most of my songs are not on there. Is there a way to still access or find those songs? Remotely or another wa
-
I've been trying to publish a site on iweb. It seems that iweb is unable to sign in to my icloud account. I push the publish to mobile me tab, push the sign into your account tab,( already a member). I get the barbers pole for 30 seconds or so, and t
-
My computer motherboard and hard drive burn up with cs 4 on it. I got a new computer and cannot reinstalled cs 4 on the new computer. The serial number stated invalid. I needed a serial number that will work.
-
BUG: Channel-based blend modes in FW CS5 & CS6
I've observed problems with some of the blend modes in Fireworks CS5 and CS6. Several are definitely broken—most likely a by-product of changes introduced in CS5, which attempted to match some of Photoshop's blend mode behaviors (for Hue, Saturation,
-
Hi, How do you incorporate an Icon in to your website so that when someone puts a web short cut on their desktop it changes from the default to your customized one. Where in DW CS3 do you put this file? Thanks Tony