Loading data from MySQL in ListComponent-help!

Hello world

Complete newbie to this forum, but I heard that you are the best for help and advice, so here I am!

So I have a MySQL database and a Flash Document with a list item. I need to import (parts) of records to fill my List component.

For starters, I don't know what language I use - I was thinking about PHP?

Anyway, I searched the net for help and found none, where the post. Here is the code I have:

AS3:

var options: XML = new XML();

options.ignoreWhitespace = true;

var loader2:URLLoader = new URLLoader (new URLRequest ("http://localhost/list_1.xml"));

{loader2.addEventListener ("Complete", Function (Event)}

options = new XML (loader.data);

var options.brand = product;

for (var I produced) {;}

home_holder. AddItem ({label: product [i] .name});

}

});

PHP:

<? PHP



$link = mysql_connect ("localhost: 3306", "root", "");

@mysql_select_db ("test");



$query = "SELECT * LIMITED STOCK 1';"

$results = mysql_query ($query);



While ($line = {mysql_fetch_array ($results))}

echo $line ["Brand"];

echo $line ['Style'];

echo $line ['store name'];

echo $line ['Image'];

}



mysql_close ($Link);


? >

(Please note: the php file returns correct results, if I run it in my browser)

I also had a go at an XML version:

<? PHP

Header ("Content-type: text/xml");

$host = "localhost";

$user = 'root ';

$pass = "";

$database = "test";

$linkID = mysql_connect ($host, $user, $pass) or die ("cannot connect to the host.");

@mysql_select_db ($database, $linkID) or die ("cannot find database.");

$query = "SELECT * STOCK ORDER BY stock_ID DESC";

$resultID = mysql_query ($query, $linkID) or die ("no data found.");

$xml_output = ' <? XML version=\"1.0\"? " "> \n";

$xml_output. = "< entries > \n";

for ($x = 0; $x < mysql_num_rows ($resultID); $x ++) {}

$row = mysql_fetch_assoc ($resultID);

$xml_output. = '\t < entry > \n ";

$xml_output. = "\t\t < text >". $row ['style']. "< / text > \n";

$xml_output. = "\t\t < text >". $row ["info"]. "< / text > \n";

$xml_output. = "\t < / entry > \n";

}

$xml_output. = "< / entry > ';

echo $xml_output;

? >

Please send me some tips! Even if you suggest a completely different way to reach loading MySQL records into the list!

Thank you very much

Vicky

It is not really clear where a problem from what you say in your ad and you seem to be looking for guidance. But even in this case you seem to have an understanding of what you need to do.  If you have a handle on using PHP to interact with the database, and you intend to use XML as the data streams in Flash, then you want PHP to use the data in xml format.  Using this approach is common.

If you have a problem, understand how to deal with parsing the xml, you have to use Google for a tutorial using search terms such as "AS3 XML tutorial.

When you arrive to the filling of the list item, the help documents should help you determine what property (dataProvider) or (addItem) method you can use to do it and what data structure is required in both cases.

If/when you have an issue specific to obtaining the actionscript by working, then mail it with the corresponding code.

Tags: Adobe Animate

Similar Questions

  • migration of data from mysql to sql server

    Hi all

    I would like to import the database MySQL in SQL Server 2008 and export MySQL database into a ".sql" file to import data in SQL Server.

    Whenever I try to import data from MySQL, I get the error attached like a screenshot below.

    Please let me know what can be done and how can I import data with all the tables in the order.

    Kind regards

    Shiva

    Please check this answer of the dev, unfortunately migration of Foglight backend database between different types of databases only is not supported

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/f/4788/t/19559675.aspx#78924

    There are solutions to help you get the same types of a Foglight backend databases

    https://support.quest.com/SolutionDetail.aspx?ID=SOL42249

    Golan

  • Error loading data from Oracle 10 g to Excel

    Hello gurus,

    I get the error when loading data from the Oracle 10 g database table to Excel.
    I use SQL TO ADD SQL IKM.
    Staging area is different from the target and I use the same pattern sense to source and put in scene.
    Please help me...

    Error is

    0: S1000: sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.
    sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcStatement.executeBatch (unknown Source)

    at com.sunopsis.sql.SnpsQuery.executeBatch (SnpsQuery.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)

    at com.sunopsis.dwg.cmd.e.i (e.java)

    at com.sunopsis.dwg.cmd.g.y (g.java)

    at com.sunopsis.dwg.cmd.e.run (e.java)

    at java.lang.Thread.run (unknown Source)


    Kindly help me...

    Thanks in advance.

    Samuel

    Hello

    When you created the DSN for the spreed excel worksheet you dot not uncheck the read-only box.
    Make sure that the read-only checkbox is not checked, otherwise you will get an error message when trying to insert data into the Excel worksheet (error: "[Microsoft] [ODBC Excel Driver] operation must use an update query.").

    Thank you
    Fati

  • How to load data from ms sql to the by the file rules and maxl essbase

    Hi, everybody!
    Pretty Shure the kind of topic exists already on the forum, but unfortunately can't find it.

    I want to understand, how to load data from the database to ms sql for the PB of essbase application.

    (I) so I have:
    1. a request for 'society '.
    2 and its database 'Plan '.
    3. with simple outline, which contains only two dimensions:

    -The time period < 1 > (Label only)
    -Total year (~)
    -Qtr1 (+)
    Jan (+)
    Feb (+)
    Mar (+)
    -Qtr2 (+)
    APR (+)
    May (+)
    Jun (+)

    -Accounts < 1 > (Label only)
    -Lost / based (~) (Label only)
    -Revenues (+)
    L1.1 (+)
    L1.2 (+)
    -Costs (-)
    L2.1 (+)
    L2.2 (+)

    (II) also, I created a rules file called "CO_DWH" and associated with this schema
    It (Rules file) a 3 columns:
    Data of the 'period', 'account '.

    There is also the option checked "load data".

    (III) in MS SQL Server, I have a database of "hypdb" and "essadmin" with "password" login

    (IV) I executed my bat file:
    C:\Hyperion\EssLoad.bat
    There is only one line:

    EssLoad.bat-
    startMaxl.cmd EssLoad.txt
    ----------------------------------------------

    EssLoad.txt-
    login password admin on erpserver;
    Import database data Company.Plan connect in essadmin password using the server rules_file 'CO_DWH' error abort;
    disconnection;
    "exit";
    --------------------------------------------


    All plans that I copied well worked ERP system, but I don't understand, this is exactly table in the MS SQL database, data loading to essbase db?

    TOU have to do a few things
    1. on the server of Essbase, put in place a system odbc for your MySQL database connection
    2. in the State of charge, go to the file menu and select open source SQL database and in the source of data in your SQL statement. A few tips. Where it says select, don't put in the select Word and when he says to not put in of. The system adds for you. TI enter a simple SQL statement is to do this in the box so select if your SQL would be normanlly as select * from myTable just enter the code as * from myTable in the upscale neighborhood

    The ol/recover the click and fill your connection information. Should bring back the data in the State of charge. Save the State of charge and use

  • Loading data from DB.

    Hello!
    I have the database with 5 tables empty and cca 420 csv files.

    TABLES looks like
    Table1 (vtime, id1, id2, id3 70..)
    Table2 (vtime, 71, id72, id73... id140)
    VTIME value is in each table from 1 to 22 368 145

    CSV resembles
    CSV1 (vtime, id, x, value) [vtime is for example 1 to 53250]
    CSV420 (id, x, vtime, value) [vtime is for example 22 314 895 to 22 368 145]
    There are all the IDS of each CSV file


    What is the fastest way and to load data from csv to table?
    I wanted to use sql loader, but I can't specify something like -
    + load data from csv files 420 all and value at position 2 is (1-70) [71-140] {...}, load his value (position 3) (table 1) [table 2] {...}, rowing where vtime in the table is the same as for value(position 1) vtime + *.

    Can you help me with this please? Thank you!

    What is the fastest way and to load data from csv to table?

    Use an external table.
    In this way, you can do Oracle treat your files as if they were tables.
    You will have many more opportunities in this way.

    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:6611962171229
    http://www.Oracle-base.com/articles/9i/SQLNewFeatures9i.php#ExternalTables
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:2754967100346565998

  • Loading data from Microsoft Dynamics AX via FDM

    Hello world

    I was wondering if anyone was using FDM to load data from Microsoft Dynamics AX into HFM via FDM, and how this was done. We are currently on version 11.1.2.2.0, thanks for any idea.

    The easiest way would be to get the MS Dynamics team to provide a flat file extracts the required data and then use FDM to import in HFM. There is not out of the box adapters to interface directly with MS Dynamics, but another option would be to build an integration script to interface directly with the data in the relevant MS Dynamics via FDM tables but it would be more involved and require a knowledge of the underlying database MS Dynamics, FDM scripting, dry and would be much more difficult to maintain for the average user.

  • Loading data from SQL to Essbase table

    Hello

    I'm loading data from SQL to Essbase table by using a rules file. Number of rows in the source table is 7 million. I use the SUNOPSIS MEMORY ENGINE as area transit, LKM SQL for SQL and SQL IKM for Hyperion Essbase (DATA).

    Question:

    1 can I not use any other LKM as MSSQL for MSSQL (PCBS) to load data to the staging instead of LKM SQL for SQL? What I have to change the transit area then? Loading data using LKM SQL for SQL seems quite slow.

    2 it is mandatory to use LKM SQL for SQL, can someone please tell me what I can change to make this quick support parameters?

    3. is it compulsory to use the SUNOPSIS MEMORY engine loading data from SQL server to Essbase?

    Thank you...

    (1) Yes, I highly recommend watching using a KM which uses native as database technology these will usually be more efficient than the generic (like LKM SQL for SQL) KM especially when large volumes of data are involved. Your staging will change depends on where you organize data for example if you are using a SQL server specific KM as - MSSQL for MSSQL (PCBS) - you must have a lay-by available on a MSSQL database and have access to the utility of PCBS.

    (2) it is not mandatory to use this KM you can use a KMs supported by your database technology

    (3) it is absolutely not obligatory to use the SUNOPSIS MEMORY engine. This should only be used when you have relatively small amounts of data, as well as all the processes in memory, or in the case where you have no other relational technology to perform the staging on. However, in your case to use wherever you are processesing these large volumes of data you should be staged on a physical such as SQL Server or Oracle database if they are available.

  • Loading data from the planning application sample

    Hello

    I created an example of planning application in the workspace (V 11.1.1.3). By default, they dimension 'Year' the year of departure as FY11. Whereas, loading data from file 'SampleApp_data.txt' that comes with the installation is the year of departure as FY09. Then, when I insert data in environmental assessment (form free loading), there is an error that the FY09 member is not present. Does anyone know how can I approach properly load the sample data? I tried to replace by FY11 by FY12 FY10 FY09 and so forth in Notepad, but the process still hang on the first attempt.

    Thanks in advance,
    Aerts

    The easiest way is not sample application tick the options and change the calendar 2008 or 2009, go to the finsh tab, then return to the first screen and sample application tick, then finished, it will create with the year of departure.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to load data from workflow

    How to load data from workflow (POAPPRV.wft, QAPPRV.wft)

    11i apps

    Hello

    Use WFLOAD to load the workflow data I.

    WFLOAD apps / 0 Y FORCE xxxx.wft
    WFLOAD apps / 0 Y FORCE xxxx.wft

  • SOS! -Error to load data from Oracle 11 g to Essbase using ODI

    Hi all.

    I want to load data from oracle database to essbase using ODI.
    I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
    The problem is.
    1. when I try see data right click on the table of essbase.
    va.sql.SQLException: driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
    at com.sunopsis.graphical.frame.bo.bA (bo.java)
    at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
    to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
    to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
    I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
    2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 61, in there?
    com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]

    at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)

    at org.python.core.PyMethod.__call__ (PyMethod.java)

    at org.python.core.PyObject.__call__ (PyObject.java)

    at org.python.core.PyInstance.invoke (PyInstance.java)

    to org.python.pycode._pyx1.f$ 0 (< string >: 61)

    to org.python.pycode._pyx1.call_function (< string >)

    at org.python.core.PyTableCode.call (PyTableCode.java)

    at org.python.core.PyCode.call (PyCode.java)

    at org.python.core.Py.runCode (Py.java)

    at org.python.core.Py.exec (Py.java)



    I am very confused by it. Someone give me a solution or other docs.

    Ethan.

    Hello

    You say that you are loading, but you chose the KM for the loading of metadata?
    If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • create form to load data to mysql with a logic of file download option

    Hello

    I have a question of logic:

    I was trying to create a form to upload data to mysql with a download of optional file (for a photo).

    The logic that I'm struggling with is that I can not understand how to deal with a failed validation. I can upload a photo to mysql with data (personal information) if the validation is ok. This part works fine. What does not work is I can't wrap my head around how code if lets say that the image is too big or bad format.  As I am I eventually save personal info and set a warning message that tells the user that there was a problem loading the file.  Let's say that the user wants to try again with the right type of file this time. the form won't let him try again because it would create a duplicate of the same user.  Should I code another query below my code that find the tis user and update the image instead? What is the best logic to process the download errors during the data already stored on mysql?

    I use the following to get rid of the spaces and symbols from the file names:

    ([preg_replace (' #[\s\&\@\#\$\%\(\)------[\] \ &] #', ", $imagename);

    I also use strtolower() change all characters to lowercase.

    My actual code would not help you because I use a PHP class to handle downloads.

    It's also a good idea to check the spirit of mime typesh FILEINFO_MIME_TYPE

    If your form processing is on the same page as the form (usually it would be at the top), what you can do is, after the insertion of the record, have the database to return the new identification number. Something like:

    $employee_id = mysqli_insert_id ($connection);

    Then you may have a hidden field in your form for the employee id:

    Then, when the form is displayed, check to see if $employee_id has a value and use an if/else statement to decide whether to INSERT or update.

    If (is_numeric($_REQUEST['employee_id']) {}

    UPDATE

    } else {}

    INSERT

    }

    For security on the data in the form, I use striptags() and bound parameters

  • Cannot load data from floppy E or F drive on HP Desktop

    Help, please!  I have a HP Desktop running Windows 7 Ultra.  When I Start Menu---> computer, a green band appears at the top of the screen.  It takes at least five 5 minutes for Ribbon going green all the way through the 'x' on the right side.  So, sometimes (but not always) the computer configuration icons appear.  If I loaded a CD into drive E or F, this player icon on the screen, too.  Then, when I right click and select Properties, the size of the files on the CD appear.  But, if I have 'open' the CD, or abandon the min-menu left click on E, the Green band drive icon reappears at the top of the screen.  After ten 10 minutes and just before the Green band as the spread across the screen the 'x' on the right, he's suspended.  Nothing happens then, except for the impulse of the Green band which never reached the end of the Ribbon.  At this point, I have to drop out of the endless loop and start all over again.  And once again.  And then... you get the picture.  Either way, it is immaterial that I put the disc in the drive E or F, same problems.  Similarly, it makes any type of CD I install on the drive.  I tried all permutations of CD + / and DVD +/-in the readers or the other and both, in the order and at the same time.  No go.  Any help would be more/popular

    Hello

    To help you better, please answer these questions.

    1 when was the last time it was working fine?

    2. what happens when you try to load the data from the floppy E or F drive?

    I suggest you follow the provided methods to solve the problem.

    Method 1: Open the resolution of Performance problems

    http://Windows.Microsoft.com/en-in/Windows7/open-the-performance-Troubleshooter

    Method 2: Optimize Windows 7 for better performance

    http://Windows.Microsoft.com/en-in/Windows7/optimize-Windows-7-for-better-performance

    Method 3: Check the clean boot.

    Perform a clean boot to determine if any 3rd party service is causing the issue:

    http://support.Microsoft.com/kb/929135

    Note: After you perform troubleshooting steps to clean boot, follow the steps in the link to start the computer to Normal startup mode.

    As you mentioned the Windows crashes, I suggest you follow the method provided

    Method 4: Windows hangs or freezes

    http://support.Microsoft.com/kb/2681286

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    If you need help with the Windows operating system, just tell me and we will be happy to help you.

  • Loading data from table to file odi.

    I need to load the data from the table to file without using the interface in odi.  How to do it.

    Hello

    using tool OdiSqlUnload, it loads the table directly.

    I tried the db oracle table to the file without using interfaces. I used with procedures.

    to achieve this, must create the procedure in odi. Select the control on the target technology: oditool.

    «OdiSqlUnload "-FILE = data procedure.txt D:\TEXT\Test" "-DRIVER = oracle.jdbc.OracleDriver" «-URL=jdbc:oracle:thin:@192.0.0.0:1521:odiuser ' '-USER = odiuser ""-PASS = hpfHiT7Ql0Hd79KUseSWYAVIA ""-FILE_FORMAT = VARIABLE ""-FIELD_SEP =, ""-ROW_SEP = \r\n ""-DATE_FORMAT = YYYY/MM/DD hh: mm: ""-CHARSET_ENCODING = ISO8859_1 "" "-XML_CHARSET_ENCODING = ISO-8859-1"»

    Select * from odiuser. DWT_SECTOR.

    I think this will help for you.

    Thnaks in advance,

    A.Kavya.

  • Failed to load data from the staging area using the map of ERP SAP ABAP

    Hello

    I am new to ODI and some challenges. ODI 11g (11.1.1.6.0) I want to move data from a SAP EHP6 system to a warehouse of the oracle. I got the table that I need, using the SAP reverse engineering metadata browser. I then created the interface and on executing this operation fails on task/Session 13 - Loding - Srcset0 - load data into a staging. I use a shared directory. I put FTP_TRANSFER_METHOD = FSMOUNT_DIRECT. I get the error message is

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    to oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    to com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    to oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    to oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    to java.lang.Thread.run(Thread.java:744)
    Caused by: Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.python.core.PyException.doRaise(PyException.java:219)
    to org.python.core.Py.makeException(Py.java:1166)
    to org.python.core.Py.makeException(Py.java:1170)
    to org.python.pycode._pyx0.f$ 0 (< string >: 50)

    to org.python.pycode._pyx0.call_function (< string >)
    to org.python.core.PyTableCode.call(PyTableCode.java:165)
    to org.python.core.PyCode.call(PyCode.java:18)
    to org.python.core.Py.runCode(Py.java:1204)
    to org.python.core.Py.exec(Py.java:1248)
    to org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         ... 19 more


    I checked the log file and it contains the following


    $ ZODI_13001_11001_GLOBAL.log more

    SQL * Loader: release 11.2.0.4.0 - Production on Thu Mar 27 11:19:17 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    SQL * Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    I checked my tnsnames.ora and it seems to be OK


    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    XXXXXX =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = xxxxxx)
    (SID = xxxxxx)
    (GLOBAL_NAME = xxxxxx)
    )
    )


    Here's my listener.ora


    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx) (PORT = 1521))
    )
    )
    ADR_BASE_LISTENER = / u01/app/oracle



    What could be the problem?

    Concerning

    Thanks a lot for your help. The problem is that I had put in the incorrect name of the instance.

  • onchange event trigger to load data from Server

    I have following code to filter my second list from my list.

    It works when the user click on the drop down menu, since the event onchange trigger.

    I tried to load the data from the stored procedure, then the onchange event does not trigger when the user must update the data, and then see the entire list without filtering.

    I would like to know if it is possible to the onchange event of tripping when I insert data from a stored procedure,

    Your information and help is much appreciated,

    Kind regards

    Iccsi,

    < td > < select name = "Mylst" id = "Mylst" >

    < cfoutput query = "PSP" >

    < option value = "" #MySP.MyID # ""

    < cfif (isDefined "(form. MyID") AND form. MyID EQ MySP.MyID) > selected = "selected" < / cfif > > #MySP.MyName # < / option >

    < / cfoutput >

    < / select > < table >

    $("#Mylst").change (function)

    {$.ajax({)}

    type: 'GET ',.

    URL: ' Mycfc.cfc? method = GetMethod & MyParam ='+ jQuery("#MyPrelsty").val (),.

    data type: 'json ',.

    cache: false,

    success: function (data)

    {

    $('_#MySublst_option').remove ();

    $(données, fonction (i, obj) .each)

    {

    $("#MySublst").append (' < option value =' + ' "' + data [i] [0] + '"' +' > ' + data [i] [1] +)

    ("< / option >")

    });

    }

    });

    iccsi wrote:

    I would like to know if it is possible to the onchange event of tripping when I insert data from a stored procedure,

    Yes, it is of course possible. The environment in which the event takes place - the browser - is independent of the environment in which the data is loaded by the stored procedure - the ColdFusion server.

    Any problem that you are experiencing are probably those of JQuery. A similar question was answered Stackoverflow.

Maybe you are looking for

  • Download el capitan

    I had to reformat and reload my OS.  I managed to download and reinstall Yosemite which I had already purchased from the app store, but now I'm stuck trying to find El Capitan.  This has been removed from the app store two days when they made availab

  • Merging 2 iTunes - an old pc and the other on a new iMac libraries

    HHello everyone, hope led someone can help with this one. I'm trying to transfer iTunes library to an old windows to a new iMac pc. It's difficult because the pc has been and is still the host for an iPad, while the new iMac has already been connecte

  • HP Compaq dc5800 SFF: HP compaq dc5800 format factor windows 7 audio driver

    I received the message in error message "no output device is installed" on the sound icon in the task bar bar.  I don't understand why the driver of HP web page https://h20565.www2.HP.com/hpsc/SWD/public/readIndex?sp4ts.Oid=3658095 & swLangOid = 8 &

  • a6750f desktop click mouse right does not work

    I just bought an a6750f desktop PC & laptop G60-235DX within the past week. On both computers, when my wife & I try to use the right mouse button to click to copy & paste text or links, it won't work. If I just right click nothing highlighted options

  • Laptop freezes when you access Internet

    Original title: Network discovery sharing sharing inbound network incoming Remote Desktop RDP TS Remote Desktop Remote Assistance Network When I connect to internet, after about 10 seconds the laptop everything freezes.  I have to manually turn off b