LoadVars and listener functions

Hi all...I posted yesterday with some trouble getting
loadvariables to work. I have since changes the code to use the
LoadVars class instead but I am still have the same issue as
before. The request for variables from the server does not complete
and the values do not get set before the variables need to be used.
I have a simple flash movie with 1 input text box (name_txt),
1 button (Submit) and 1 dynamic text box (lblOutput).
I have a simple script on the button:
on (release) {
//loadVariables("dev.aspx?foo=" + name_txt.text, "POST");
newVars = new LoadVars();
newVars.load("dev.aspx?foo="+_level0.name_txt.text);
//This line just visually shows me that the script makes it
this far
_level0.lblOutput.text += "This is hard coded
text.<br>";
_level0.lblOutput.text += newVars.retVal;
I have a very simple asp page that returns the value:
'Format the response
Response.ContentType = "application/x-www-form-urlencoded"
'Create a string and
Dim foo As String = "&retVal=" &
Request.QueryString("foo") & " - This is from the ASP
Page.<br>"
Trace.Warn(foo.ToString)
Response.Write(foo.ToString)
Response.End()
When I load the Flash movie and type the word "test" into the
input field and click submit...I can see that Flash sends the
variable to the asp page by checking the asp trace information. The
value comes into asp just fine but, as I understand it, I need some
sort of listener function to force Flash to wait for the
transaction to complete before trying to load the use the variable
values.
Could someone please explain how I can add this listener
functionality to the script above? Many thanks!!

You need a stop() on the frame doing the load and onLoad.
Then in the onLoad
you move to the next frame. Other approaches include hiding
the UI and in
the onLoad, revealing the UI such as a MovieClip cover is
made invisible.
Declare the results LoadVars object on the timeline outside
of a function
and it is accessible for the entire movie at all levels.
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"nagromme" <[email protected]> wrote in
message
news:e4fpvm$qmq$[email protected]..
I'm using LoadVars in Frame 1, and I need to use the
resulting variables in
other scripts afterwards. (But all the examples I find online
only use the
variables right in the same script.)
The problem I'm having is, the onLoad function doesn't
actually make it
wait.
It goes ahead to the next frame whether fully loaded or not.
It depends on
the
connection at the moment--if the vars haven't fully loaded,
hilarity ensues.
<b>My script in Frame 1:</b>
_root.myloadvars = new LoadVars();
_root.myloadvars.load("datapairs.txt");
_root.myloadvars.onLoad = function(success) {
if (success) {
//trace("TXT RETRIEVED");
gotoAndPlay(2);
} else {
trace("TXT NOT RETRIEVED");
gotoAndPlay(1);
<b>It's SUPPOSED to hold in Frame 1 until ready to
proceed and make use of
the
variables in Farme 2.
Things I have tried:</b>
* Moving the above to Frame 2, so the "not retrieved" loop
actually has two
frames to cycle (back to 1, then forward to 2 where the
script it).
* Adding an additional gotoAndPlay(1) BELOW the above.
But regardless, it never goes back to Frame 1, it always
goes forward. It
reports success, but half the time the variables (or some of
them) are still
Undefined.
What's the RIGHT way to wait in a frame for LoadVars, and
then let other
scripts use the variables afterwards?
<b>Many thanks for any advice!</b>
(PS, this is Flash MX--I'm waiting for Universal Binary
before I upgrade.)

Similar Messages

  • HT2688 Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared librar

    Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared library?

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • Disable copy and paste function in jtextfield

    I wish to disable the copy and paste function (CTRL+C and CTRL+V) of the data in the jtextfield... anybody can help?

    I think you can add a KeyListener to listen to those keys and when you get such an input just do nothing. Not tested though.

  • Problem with LoadVars and stopping/playing

    I've got a flash movie set up online that isn't working
    properly. The details are this: the movie has two frames, the first
    being a blank loading frame meant to keep anything from being
    displayed till the variables are delivered by my PHP script, and
    the second being the frame with the actual movie content.
    The actionscript I use on the first frame is as follows:
    quote:
    names = new LoadVars();
    names.onLoad = function() {
    gotoAndStop(2);
    names.load("txt?id="+"EBfig298x"+"&"+secure);
    stop();
    The
    "txt. . .secure bit is the location of my PHP script that
    delivers the necessary variables. I know that the PHP side of
    things is working because the flash program DOES load all the
    variables in exactly as I want it to. The problem I am having is
    that when played, the program stops indefinitely on frame 1. I have
    to right-click and force the program to play before it flickers
    past frame 2 (the content) and back to the loading frame, where it
    then loads the variables and plays like it's supposed to.
    You can play the flash movie at
    http://images4u.com/thumbs_i4u.php?play=EBfig298x.swf
    As I described above, it remains blank indefinitely, so you
    will need to force it to play to see what I'm talking about.
    I'd appreciate any help you guys can give to get the movie
    playing automatically as it should.

    The first time flash attempts to do the loading, there
    appears to be a 301 redirect from images4u.com to www.images4u.com
    for the requested text data.
    This then appears to sent... but then flash requests a
    crossdomain.xml file from www.images4u.com and it receives none
    (404 not found).
    At that point I assume that the LoadVars onLoad does not
    trigger.
    The second time around it requests it from the
    www.images4u.com domain and there is no problem - it doesn't seem
    to need a crossdomain.xml permission.
    So the problem is with the redirect. I don't know exactly the
    solution. I would guess either make the request from flash to
    www.images4u.com/etcetera or put a crossdomain.xml at your sites
    root covering both www.images4u.com and images4u.com in terms of
    permissions.

  • I have had IPhones since their inception.  Last phone was the 5.  A few months ago, I upgraded to the 6 Plus. Here is my issue. On my 5, my car radio (which has USB port) allowed me to plug in and listen to radio or music from my phone and the bonus

    I have had IPhones since their inception.  Last phone was the 5.  A few months ago, I upgraded to the 6 Plus.
    Here is my issue.
    On my 5, my car radio (which has USB port) allowed me to plug in and listen to radio or music from my phone and the bonus was it charged the phone as well. All worked great.
    Now with the 6 Plus, neither of things work.  The message on the radio (Kenwood) says I Pod error.  The message on my phone say's "this device is supported".
    I have called on this before and was told you are aware and that the issue will be addressed in a future update.  There have been several updates on IOS 8 and the issue remains.

    I have a Kenwood KDC-X695. When I purchased this stereo and had it installed, I had an ATT iPhone 4.
    It worked with the stereo, but had a few issues. I had purchased a few audio books that I would listen to while driving. When I plugged it in it would immediately begin to play the book from the beginning or if I had been listening to music, it would start playing the song that was at the top of the song list.
    The stereo came equipped with Firmware version 3.05. I upgraded to the iPhone 5 a year later. I had that phone for approximately 2 years. The song or book issue remained the same.
    I just recently upgraded to the iPhone 6 and the Bluetooth function still works, however the USB port on the stereo that the phone plugs into to allow files on the phone to play through the stereo no longer works.
    I contacted the service provider (Verizon) and after speaking to several different technical support technicians, they provided me the phone numbers for Kenwood and Apple because they were unable to help me.
    I spoke with Kenwood technical support the following day and after a few fumbling miscues from the technical advisor, it was suggested that I upgrade the firmware, even though the Kenwood literature warns against this if the Bluetooth portion is working, because if there is a problem with the upgrade, it can render the Bluetooth useless and non-functional. The advisor did suggest the latest firmware on the second or third attempt, after I pointed out what I was able to glean from my initial search.
    Later that day, I went back to the Kenwood site (from their homepage) and by using their selection tools, discovered that this particular model was only ever intended to be used with the iPhone 4S (the technical advisor was not aware of this, even though I mentioned this during my phone call earlier in the day). According to the Firmware selection tool, my iPhone 5 should not have worked with it.
    I performed the Firmware upgrade, and it took 13 minutes. This was less than the 15 minutes that was forecast in the Kenwood literature. The Bluetooth still works but the USB cable connection still causes the unsupported device message that I received prior to the upgrade. I am incredibly annoyed and disappointed.
    By upgrading to the iPhone 6, I have three choices; (1) only use the Bluetooth for phone calls without the ability to play other files from my iPhone 6 (2) forced obsolescence of my stereo, requires buying a new stereo (3) return my iPhone 6 and go back to my iPhone 5.
    I do not believe that I should have to be a software/Firmware/hardware engineer, vetting every single device that I own; prior to upgrading a cell phone.
    I am incredibly annoyed with Apple at the moment.
    I have a separate Bluetooth headset that worked with both my iPhone 4 and iPhone 5 that the iPhone 6 simply does not recognize. That is another story for another time.
    Currently, I am incredibly underwhelmed with Apple.

  • Custom event never reaching Listening function

    Hi all, I have been having a problem usign a custom event... I attached it to the the main class using "addEventListener" and fire it off with "dispatchEvent" in another class. I checked that it was attached to the main class using "hasEventListener" and it returned true, also "dispatchEvent" returns true... but it ever reaches the function that I attaced it to... is there any thing I am missing?
    Thanks a lot

    i assume by main class you mean document class.
    1.  is the listener function in your document class?
    2.  is the even listener added before the event is dispatched?
    if no to either (or both), you need to fix that.
    if yes and yes, you don't have a correct reference to your document class.

  • LoadVars and onLoad question

    I'm using LoadVars in Frame 1, and I need to use the
    resulting variables in other scripts afterwards. (But all the
    examples I find online only use the variables right in the same
    script.)
    The problem I'm having is, the onLoad function doesn't
    actually make it wait. It goes ahead to the next frame whether
    fully loaded or not. It depends on the connection at the moment--if
    the vars haven't fully loaded, hilarity ensues.
    My script in Frame 1:
    _root.myloadvars = new LoadVars();
    _root.myloadvars.load("datapairs.txt");
    _root.myloadvars.onLoad = function(success) {
    if (success) {
    //trace("TXT RETRIEVED");
    gotoAndPlay(2);
    } else {
    trace("TXT NOT RETRIEVED");
    gotoAndPlay(1);
    It's SUPPOSED to hold in Frame 1 until ready to proceed and make
    use of the variables in Farme 2.
    Things I have tried:
    * Moving the above to Frame 2, so the "not retrieved" loop
    actually has two frames to cycle (back to 1, then forward to 2
    where the script it).
    * Adding an additional gotoAndPlay(1) BELOW the above.
    But regardless, it never goes back to Frame 1, it always goes
    forward. It reports success, but half the time the variables (or
    some of them) are still Undefined.
    What's the RIGHT way to wait in a frame for LoadVars, and
    then let other scripts use the variables afterwards?
    Many thanks for any advice!
    (PS, this is Flash MX--I'm waiting for Universal Binary
    before I upgrade.)

    You need a stop() on the frame doing the load and onLoad.
    Then in the onLoad
    you move to the next frame. Other approaches include hiding
    the UI and in
    the onLoad, revealing the UI such as a MovieClip cover is
    made invisible.
    Declare the results LoadVars object on the timeline outside
    of a function
    and it is accessible for the entire movie at all levels.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "nagromme" <[email protected]> wrote in
    message
    news:e4fpvm$qmq$[email protected]..
    I'm using LoadVars in Frame 1, and I need to use the
    resulting variables in
    other scripts afterwards. (But all the examples I find online
    only use the
    variables right in the same script.)
    The problem I'm having is, the onLoad function doesn't
    actually make it
    wait.
    It goes ahead to the next frame whether fully loaded or not.
    It depends on
    the
    connection at the moment--if the vars haven't fully loaded,
    hilarity ensues.
    <b>My script in Frame 1:</b>
    _root.myloadvars = new LoadVars();
    _root.myloadvars.load("datapairs.txt");
    _root.myloadvars.onLoad = function(success) {
    if (success) {
    //trace("TXT RETRIEVED");
    gotoAndPlay(2);
    } else {
    trace("TXT NOT RETRIEVED");
    gotoAndPlay(1);
    <b>It's SUPPOSED to hold in Frame 1 until ready to
    proceed and make use of
    the
    variables in Farme 2.
    Things I have tried:</b>
    * Moving the above to Frame 2, so the "not retrieved" loop
    actually has two
    frames to cycle (back to 1, then forward to 2 where the
    script it).
    * Adding an additional gotoAndPlay(1) BELOW the above.
    But regardless, it never goes back to Frame 1, it always
    goes forward. It
    reports success, but half the time the variables (or some of
    them) are still
    Undefined.
    What's the RIGHT way to wait in a frame for LoadVars, and
    then let other
    scripts use the variables afterwards?
    <b>Many thanks for any advice!</b>
    (PS, this is Flash MX--I'm waiting for Universal Binary
    before I upgrade.)

  • Is there any way to send more then 1 parameter to the listener function?

    Hi guys, so is there any way to send more then 1 parameter to the listener function?

    Hi,
    sure.
    The first variant is to add many parameters to event.
    The second variant is to extend calling callback functions.
    For example,
    public function addCallBack(eventName:String, callBack:Function = null, ... rest):void
         // save callBack function and event type and other args (rest)
         addEventListener(eventName, myHandler);
    private function myHandler(event:Event):void
         // get function and args by eventName
         fnc.apply(null, [event, args]);

  • Event Listening Function Return

    I don't know if it is possible, but is there any way that you
    can have a event listening function return a value? Thanks for any
    suggestions!

    Substitute this NSLog for yours and post back result.
    NSLog(@"Description is: %@", [myresult description]);

  • Changin from IPs to hostnames in tnsnames and listener heads to TNS-12541

    Hello.
    In order to prevent problems and extrawork in future with planned IP changes, i want to change the tnsnames and listener.ora server configuration files.
    Now they are using the IP in the HOST parameter, and I want to use the hostname. But it doesnt works:
    TNSNAMES.ORA:
    VCSBD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = 62.37.231.78)(PORT = 1524))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = vcsbd)
    LISTENER.ORA:
    LISTENER_VCSBD=
            (ADDRESS_LIST=
                    (ADDRESS=
                            (PROTOCOL=tcp)
                            (HOST=62.37.231.78)
                            (PORT=1524)
                    (ADDRESS=
                            (PROTOCOL=ipc)
                            (KEY=vcsbd)
    SID_LIST_LISTENER_VCSBD=
            (SID_LIST=
                    (SID_DESC=
                            (GLOBAL_DBNAME=vcsbd)
                            (SID_NAME=vcsbd)
                            (SERVICE_NAME=vcsbd)
                            (ORACLE_HOME=/usr/oracle/product/11.2.0)
    TESTING: --
    $ tnsping vcsbd
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:32:30
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Archivos de parámetros utilizados:
    /usr/oracle/product/11.2.0/network/admin/sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Intentando contactar con (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST = 62.37.231.78)(PORT = 1524)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = vcsbd)))
    Realizado correctamente (0 mseg)I want to change the HOST parameter to server hostname, in order to make oracle resolve the hostname from the /etc/hosts.
    But wen I change it, I get TNS-12541 errors when tnsping. Ping works, but tnsping not.
    updating TNSNAMES:
    VCSBD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = servervcs)(PORT = 1524))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = vcsbd)
    updating LISTENER.ORA
    LISTENER_VCSBD=
            (ADDRESS_LIST=
                    (ADDRESS=
                            (PROTOCOL=tcp)
                            (HOST=servervcs)
                            (PORT=1524)
                    (ADDRESS=
                            (PROTOCOL=ipc)
                            (KEY=vcsbd)
    SID_LIST_LISTENER_VCSBD=
            (SID_LIST=
                    (SID_DESC=
                            (GLOBAL_DBNAME=vcsbd)
                            (SID_NAME=vcsbd)
                            (SERVICE_NAME=vcsbd)
                            (ORACLE_HOME=/usr/oracle/product/11.2.0)
    TESTING: ---
    $ cat /etc/hosts:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               servervcs localhost.localdomain localhost
    62.37.231.78            servervcs
    #62.37.231.68           servervcs
    ::1             localhost6.localdomain6 localhost6
    $ lsnrctl reload LISTENER_VCSBD
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:37:05
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Conectándose a (ADDRESS=(PROTOCOL=tcp)(HOST=servervcs)(PORT=1524))
    TNS-12541: TNS:no hay ningún listener
    TNS-12560: TNS:error del adaptador de protocolo
      TNS-00511: No hay ningún listener
       Linux Error: 111: Connection refused
    Conectándose a (ADDRESS=(PROTOCOL=ipc)(KEY=vcsbd))
    El comando ha terminado correctamente
    $ lsnrctl status LISTENER_VCSBD
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:37:12
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Conectándose a (ADDRESS=(PROTOCOL=tcp)(HOST=servervcs)(PORT=1524))
    TNS-12541: TNS:no hay ningún listener
    TNS-12560: TNS:error del adaptador de protocolo
      TNS-00511: No hay ningún listener
       Linux Error: 111: Connection refused
    Conectándose a (ADDRESS=(PROTOCOL=ipc)(KEY=vcsbd))
    LISTENER STATUS
    Alias                     LISTENER_VCSBD
    Versión                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Fecha de Inicio       28-MAY-2012 12:04:16
    Tiempo Actividad   130 días 1 hr. 32 min. 56 seg.
    Nivel de Rastreo        off
    Seguridad               ON: Local OS Authentication
    SNMP                      OFF
    Parámetros del Listener   /usr/oracle/product/11.2.0/network/admin/listener.ora
    Log del Listener          /usr/oracle/diag/tnslsnr/efacturaES-BD1/listener_vcsbd/alert/log.xml
    Recibiendo Resumen de Puntos Finales...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=62.37.231.78)(PORT=1524)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=vcsbd)))
    Resumen de Servicios...
    El servicio "vcsbd" tiene 2 instancia(s).
      La instancia "vcsbd", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
      La instancia "vcsbd", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "vcsbdXDB" tiene 1 instancia(s).
      La instancia "vcsbd", con estado READY, tiene 1 manejador(es) para este servicio...
    El comando ha terminado correctamente
    $ ping servervcs
    PING servervcs (127.0.0.1) 56(84) bytes of data.
    64 bytes from servervcs (127.0.0.1): icmp_seq=1 ttl=64 time=0.017 ms
    64 bytes from servervcs (127.0.0.1): icmp_seq=2 ttl=64 time=0.013 ms
    --- servervcs ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 999ms
    rtt min/avg/max/mdev = 0.013/0.015/0.017/0.002 ms
    $ tnsping vcsbd
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:32:33
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Archivos de parámetros utilizados:
    /usr/oracle/product/11.2.0/network/admin/sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Intentando contactar con (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST = servervcs)(PORT = 1524)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = vcsbd)))
    TNS-12541: TNS:no hay ningún listenerAny clue?
    what i'm doing wrong? what did I forget?
    Regards
    Edited by: elvegaa_esp on 05-oct-2012 4:48

    Sure
    $ echo $HOSTNAME
    AOC-BD1
    $ /sbin/ifconfig
    eth0      Link encap:Ethernet  HWaddr **:**:**:**:**:**
              inet addr:192.168.76.8  Bcast:192.168.76.255  Mask:255.255.255.0
              inet6 addr: fe80::221:85ff:fe35:74c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:281062361 errors:0 dropped:0 overruns:0 frame:0
              TX packets:68084207 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1817935227 (1.6 GiB)  TX bytes:3856945523 (3.5 GiB)
              Base address:0x3000 Memory:dfb40000-dfb60000
    eth0:1    Link encap:Ethernet  HWaddr **:**:**:**:**:**
              inet addr:192.168.76.10  Bcast:192.168.76.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0x3000 Memory:dfb40000-dfb60000
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:210984342 errors:0 dropped:0 overruns:0 frame:0
              TX packets:210984342 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:3935512631 (3.6 GiB)  TX bytes:3935512631 (3.6 GiB)
    $ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               AOC-BD1 localhost.localdomain
    192.168.76.8            AOC-BD1 localhost.localdomain
    $ cat /usr/oracle/product/10.2.0/network/admin/tnsnames.ora
    AOC-BD1_AOCPROD_HN=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=AOC-BD1)(Port=1521)))(CONNECT_DATA=(service_name=aoc-bd1_aocprod)(INSTANCE_NAME=aocprod)(SID=aocprod)))
    $ cat /usr/oracle/product/10.2.0/network/admin/listener.ora
    listener_aoc-bd1_aocprod=
       (ADDRESS_LIST=
          (ADDRESS=
              (PROTOCOL=tcp)
              (HOST=AOC-BD1)
              (PORT=1521)
         (ADDRESS=
              (PROTOCOL=ipc)
              (KEY=aoc)
    SID_LIST_listener_aoc-bd1_aocprod=
       (SID_LIST=
          (SID_DESC=
               (GLOBAL_DBNAME=aoc-bd1_aocprod)
               (SID_NAME=aocprod)
               (SERVICE_NAME=aocprod)
               (ORACLE_HOME=/usr/oracle/product/10.2.0)
    STARTUP_WAIT_TIME_listener_aoc-bd1_aocprod=0
    CONNECT_TIMEOUT_listener_aoc-bd1_aocprod=0
    $ lsnrctl status listener_aoc-bd1_aocprod
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 08-OCT-2012 13:20:17
    Copyright (c) 1991, 2006, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=AOC-BD1)(PORT=1521))
    STATUS of the LISTENER
    Alias                     listener_aoc-bd1_aocprod
    Version                   TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Start Date                17-DEC-2011 09:49:05
    Uptime                    248 days 13 hr. 13 min. 56 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /usr/oracle/product/10.2.0/network/admin/listener.ora
    Listener Log File         /usr/oracle/product/10.2.0/network/log/listener_aoc-bd1_aocprod.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=AOC-BD1)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=aoc)))
    Services Summary...
    Service "aoc-bd1_aocprod" has 1 instance(s).
      Instance "aocprod", status UNKNOWN, has 1 handler(s) for this service...
    Service "aocprod" has 1 instance(s).
      Instance "aocprod", status READY, has 1 handler(s) for this service...
    Service "aocprodXDB" has 1 instance(s).
      Instance "aocprod", status READY, has 1 handler(s) for this service...
    Service "aocprod_XPT" has 1 instance(s).
      Instance "aocprod", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $ tnsping AOC-BD1_AOCPROD_HN
    TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 08-OCT-2012 13:20:37
    Copyright (c) 1997, 2006, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=AOC-BD1)(Port=1521)))(CONNECT_DATA=(service_name=aoc-bd1_aocprod)(INSTANCE_NAME=aocprod)(SID=aocprod)))
    OK (0 msec)

  • Will I be able to copy my music library from my PC to I pad and listen to it at a remote place without sync and without I tunes match?

    Will I b able to copy my music library from PC to I pad while sync and listen to it without sync at a remote place. Is it possible without iTunes Match?

    Yes. As long as all your songs you lost have been Matched or Uploaded to iTunes Match you can download your entire library from the cloud.
    It might take some time though

  • GUI_DOWNLOAD and UPLOAD Function Modules?

    Hi All,
    What exactly done by GUI_DOWNLOAD and UPLOAD Function Modules?
    Akshitha.

    What you exactly want know?
    Here is the Sap documentation for both FM:
    FU GUI_UPLOAD
    Short Text
    Upload for Data Provider
    Functionality
    The module loads a file from the PC to the server. Data can be transferred binarily or as text. Numbers and date fields can be interpreted according to the user settings.
    Example
    Binary upload: No conversion or interpretation
                begin of itab,
                      raw(255) type x,
                end of itab occurs 0.
               CALL FUNCTION 'GUI_UPLOAD'
               exporting
                  filetype =  'BIN'
                  filename = 'C:\DOWNLOAD.BIN'
               tables
                 data_tab = itab.
    Text upload
               begin of itab,
                     text(255) type c,
               end of itab occurs 0.
               CALL FUNCTION 'GUI_UPLOAD'
               exporting
                  filetype = 'ASC'
                  filename = 'C:\DOWNLOAD.TXT'
               tables
                 data_tab = itab.
    Parameters
    FILENAME
    FILETYPE
    HAS_FIELD_SEPARATOR
    HEADER_LENGTH
    READ_BY_LINE
    DAT_MODE
    CODEPAGE
    IGNORE_CERR
    REPLACEMENT
    CHECK_BOM
    VIRUS_SCAN_PROFILE
    NO_AUTH_CHECK
    FILELENGTH
    HEADER
    DATA_TAB
    Exceptions
    FILE_OPEN_ERROR
    FILE_READ_ERROR
    NO_BATCH
    GUI_REFUSE_FILETRANSFER
    INVALID_TYPE
    NO_AUTHORITY
    UNKNOWN_ERROR
    BAD_DATA_FORMAT
    HEADER_NOT_ALLOWED
    SEPARATOR_NOT_ALLOWED
    HEADER_TOO_LONG
    UNKNOWN_DP_ERROR
    ACCESS_DENIED
    DP_OUT_OF_MEMORY
    DISK_FULL
    DP_TIMEOUT
    Function Group
    SFES
    FU GUI_DOWNLOAD
    Short Text
    Download an Internal Table to the PC
    Functionality
    Data transfer of an internal table form the server to a file on the PC. The Gui_Download module replaces the obsolete modules Ws_Download and Download. The file dialog of the download module is available in the class Cl_Gui_Frontend_Services.
    Further information
    TYPE-POOLS: ABAP.
    Binary download table
    DATA: BEGIN OF line_bin,
             data(1024) TYPE X,
          END OF line_bin.
    DATA: data_tab_bin LIKE STANDARD TABLE OF line_bin.
    Ascii download table
    DATA: BEGIN OF line_asc,
             text(1024) TYPE C,
          END OF line_asc.
    DATA: data_tab_asc LIKE STANDARD TABLE OF line_asc.
    DAT download table
    DATA: BEGIN OF line_dat,
             Packed   TYPE P,
             Text(10) TYPE C,
             Number   TYPE I,
             Date     TYPE D,
             Time     TYPE T,
             Float    TYPE F,
             Hex(3)   TYPE X,
             String   TYPE String,
          END OF line_dat.
    DATA: data_tab_dat LIKE STANDARD TABLE OF line_dat.
    Get filename
    DATA: fullpath      TYPE String,
          filename      TYPE String,
          path          TYPE String,
          user_action   TYPE I,
          encoding      TYPE ABAP_ENCODING.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
       EXPORTING
         WINDOW_TITLE         = 'Gui_Download Demo'
         WITH_ENCODING        = 'X'
         INITIAL_DIRECTORY    = 'C:\'
      CHANGING
         FILENAME             = filename
         PATH                 = path
         FULLPATH             = fullpath
         USER_ACTION          = user_action
         FILE_ENCODING        = encoding
      EXCEPTIONS
         CNTL_ERROR           = 1
         ERROR_NO_GUI         = 2
         NOT_SUPPORTED_BY_GUI = 3
         others               = 4.
    IF SY-SUBRC <> 0.
      EXIT.
    ENDIF.
    IF user_action <> CL_GUI_FRONTEND_SERVICES=>ACTION_OK.
      EXIT.
    ENDIF.
    Download variables
    DATA: length TYPE I.
    Binary download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'BIN'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_bin
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    Ascii download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'ASC'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_asc
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    DAT download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'DAT'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_dat
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    Parameters
    BIN_FILESIZE
    FILENAME
    FILETYPE
    APPEND
    WRITE_FIELD_SEPARATOR
    HEADER
    TRUNC_TRAILING_BLANKS
    WRITE_LF
    COL_SELECT
    COL_SELECT_MASK
    DAT_MODE
    CONFIRM_OVERWRITE
    NO_AUTH_CHECK
    CODEPAGE
    IGNORE_CERR
    REPLACEMENT
    WRITE_BOM
    TRUNC_TRAILING_BLANKS_EOL
    WK1_N_FORMAT
    WK1_N_SIZE
    WK1_T_FORMAT
    WK1_T_SIZE
    WRITE_EOL
    FILELENGTH
    DATA_TAB
    FIELDNAMES
    Exceptions
    FILE_WRITE_ERROR
    NO_BATCH
    GUI_REFUSE_FILETRANSFER
    INVALID_TYPE
    NO_AUTHORITY
    UNKNOWN_ERROR
    HEADER_NOT_ALLOWED
    SEPARATOR_NOT_ALLOWED
    FILESIZE_NOT_ALLOWED
    HEADER_TOO_LONG
    DP_ERROR_CREATE
    DP_ERROR_SEND
    DP_ERROR_WRITE
    UNKNOWN_DP_ERROR
    ACCESS_DENIED
    DP_OUT_OF_MEMORY
    DISK_FULL
    DP_TIMEOUT
    FILE_NOT_FOUND
    DATAPROVIDER_EXCEPTION
    CONTROL_FLUSH_ERROR
    Function Group
    SFES

  • Not able to sign into Blackberry Protect. Backup and Restore function not working. "Your device isn't associated with a Blackberry ID"

    Not able to sign into Blackberry Protect.  Backup and Restore function not working. Message is: "Your device isn't associated with a Blackberry ID."  My Blackberry Messenger and Blackberry World is working fine so I am sure its not an ID issue on the phone.  I can sign into Link, Blackberry.com and Protect.  I see my device in Protect but cannot send messages or view it on a map.  Times out with cannot reach device message.  BB Protect on Device has a swirling circle beside the on/of switch.  Cannot turn off.  
    I have deleted Link and re-installed.
    I have reset phone to default(factory) and signed in. 
    OS level is 10.2.1.3062
    BB Link is 1.2.3.56
    Solved!
    Go to Solution.

    I managed to figure this out myself. I had to delete the device from the Blackberry Protect website.  protect.blackberry.com.  I wiped my device again and signed in with my Blackberry ID.  I dont know if the step of wiping was necessary as I did not try my backup with the current configuration on the device following the delete.  Restore is in progress for me!

  • Problem with tpcall and tpgetrply functions

    Hi,
    I have a problem with tpcall() and tpgetrply() functions.
    In this example (invoke tpcall()):
    FBFR32 *buf;
    FLDLEN32 buflen;
    buf = a_buffer.getBuffer(); /* getBuffer() returns FBFR32* */
    buflen = a_buffer.getLongitud();
    /* at this point: buf == a_buffer.getBuffer() */
    if (tpcall(a_contenedor.getServname(),
    (char*)a_contenedor.getBufferPeticion()->getBuffer(),
    a_contenedor.getBufferPeticion()->getLongitud(),
    (char**)&buf,
    (long*)&buflen,
    0) == -1)
    if (tperrno != TPESVCFAIL)
    LANZAR_EXCEPCION(CADENA_WHAT_SB,
    "Error en funcion Execute(), llamada tpcall()",
    tpstrerror(tperrno))
    /* at this point: buf != a_buffer.getBuffer() */
    tpcall() function change the memory address of buf. What is the problem? Is wrong my code? Is a problem with tuxedo version?
    My tuxedo version is:
    tmadmin -vINFO: BEA Tuxedo, Version 8.0, 32-bit, Patch Level 306
    INFO: Serial #: 650522264137-773290431251, Expiration NONE, Maxusers 150
    INFO: Licensed to: Telefonica Moviles Espa?a, S.A.
    INFO: 56-bit Encryption Package
    Thanks,
    ANTONIO.

    There's nothing wrong with your code or tuxedo. tpcall (and tpgetrply) can change the address of the return buffer if it needs to allocate more memory to hold the data. This is the reason why you pass a pointer to the buffer as the output buffer parameter to tpcall and tpreturn. Everything is working as expected.

  • Pinch open and close function not working after upgrade

    I'm having trouble with the pinch open and close function on my trackpad. It was working fine until I installed the new Google upgrade and now it doesn't seem to be working. Any suggestions. The other functions are working fine.

    Click on the Apple icon at the top left of the screen. Select "System Preferences", then "Trackpad".
    Be sure to select:
    "Pinch Open and Close" in the "Two Finger" Menu...
    Sly

Maybe you are looking for

  • file was not copied to the iPod because it cannot be played on this iPod

    Hi,    I'm a complete newb with the first generation iPod Touch. It's my wife's and I don't use it but I wanted to experiement with giving her access to some movies. As an experiment I've encoded 1 chapter of a movie on my Linux box using Handbrake u

  • Stop download mail to my hard drive :( mavericks

    Hi everyone, I've just instaled new system, before I didn't have mail on my disc and now I can't find it. I have small SSD and I want save free space Gmail has 6gb Please can you help me ?  Thanks so much, George

  • Error on My Services page Total BB Option 1

    When I log in to my account there is an error on My Services broadband section it says 40GB but Option 1 is only 10GB. Copied & pasted below: BT Total Broadband Option 1 Part of your Broadband and Calls bundle 40GB usage Advanced anti-virus security

  • Flash button link?

    I am also new to Flash. I made a Flash button (in Flash 8u) that I put on my Dreamweaver created web page. I can export it to Dreamweaver, but I am definitely missing something. It is probably quite simple, but I can't get the button to link to anoth

  • Activation code not valid anymore

    Hi, My LR5.7 on Windows 7 crashed. I tried many things and had to download a new version (5.7.1). It doesn't recognize my activation code anymore. Tried each code I had since LR1. What to do?  Dany