Issue with allowedHTMLdomains.txt in Live App

Hi,
My Purpose is to record live streams on server side and play recorded files later.
What i have done is -
1. Copied All files of applications/live in some safe location.
2. Copied all files from samples/applications/live to applications/live folder. (Deleted main.far from live folder)
3. Restricted SWF and HTML to mydomain in these files - allowedHTMLdomains.txt and allowedSWFdomains.txt
4. In main.asc i added these line in the end
var mystream;
var intervalID;
application.onConnect = function(clientobj)
  return true;
application.onPublish = function(clientObj,streamObj){
trace("In app pub:");
mystream = Stream.get(streamObj.name);
mystream.onStatus = function(info)
     trace("mystream onstatus:"+ info.code);
mystream.record();
trace("Got it via FMLE = " + streamObj.name);
application.onUnpublish = function(clientObj,streamObj){
mystream.record(false);
5. Then i restarted FMS and tried streaming using FLash Media Encoder. I was able to live stream and then i stopped it.
6. A FLV File was recorded in application/live folder with the stream name that i used in encoder.
Now the issues i have, i am able to view live video on my domain as well as some other domain, that means allowedHTMLdomains.txt and allowedSWFdomains.txt did not worked. Another issue is that i am not able to view recorded video after i stopped encoder but i was able see live video before stopping. i am using jwplayer to view the video and using flashvars streamer(rtmp://xx.xx.xx.xxx/live) and file(abc) to view the live and recorded video.

I am getting another issue now.
i was able to record with this app when i changed fms.ini
i added this line in fms.ini
LIVE2_DIR = /opt/adobe/fms/applications/webroot/live_recorded
also changed Application.xml in new app and changed this line <Streams>/;${LIVE2_DIR}</Streams>
After this i was able to record files using my previously mentioned code. But i want to record live videos in same app in streams/intancename/ folder or streams/_definst_ folder 
i also created streams/_definst_ folder in inside myapp folder with 777 permissions
after this i changed fms.ini again and changed LIVE2_DIR = /opt/adobe/fms/applications/webroot/live_recorded to LIVE2_DIR = /opt/adobe/fms/applications/myapp
But now there is no recording. Please help me what i am doing wrong.
Again i am pasting my code of main.asc here with was a copy of samples/appplications/live folder-
* application.onAppStart:
*                    is called when application load. It contains Live (out of the box)
* application specific initializations.
application.onAppStart = function()
    // Logging
    trace("Starting Live Service...");
    //  Turning on the Authentication by default
    this.HTMLDomainsAuth =    true;
    this.SWFDomainsAuth =    true;
    // Populating the list of domains which are allowed to host HTML file
    // which in turn may embed a SWF that connects to this application
    this.allowedHTMLDomains = this.readValidDomains("allowedHTMLdomains.txt","HTMLDomains");
    // Populating the list of domains which are allowed to host a SWF file
    // which may connect to this application
    this.allowedSWFDomains = this.readValidDomains("allowedSWFdomains.txt","SWFDomains");
    // Logging
    if(this.HTMLDomainsAuth){
        trace("Authentication of HTML page URL domains is enabled");
    if(this.SWFDomainsAuth){
        trace("Authentication of SWF URL domains is enabled");
    trace("...loading completed.");
*  application.validate:
*                 function to validate a given URL by matching through a list of
* allowed patterns.
* Parameters:
*     url:        contains the input url string.
*     patterns:    Array; an array of permmited url patterns.
* return value:
*             true; when 'url domain" contains a listed domains as a suffix.
*              false; otherwise.
application.validate = function( url, patterns )
    // Convert to lower case
    url = url.toLowerCase();
    var domainStartPos = 0; // domain start position in the URL
    var domainEndPos = 0; // domain end position in the URL
    switch (url.indexOf( "://" ))
        case 4:
            if(url.indexOf( "http://" ) ==0)
                domainStartPos = 7;
            break;
        case 5:
            if(url.indexOf( "https://" ) ==0)
                domainStartPos = 8;
            break;
    if(domainStartPos == 0)
        // URL must be HTTP or HTTPS protocol based
        return false;
    domainEndPos = url.indexOf("/", domainStartPos);
    if(domainEndPos>0)
        colonPos = url.indexOf(":", domainStartPos);
        if( (colonPos>0) && (domainEndPos > colonPos))
            // probably URL contains a port number
            domainEndPos = colonPos; // truncate the port number in the URL
    for ( var i = 0; i < patterns.length; i++ )
        var pos = url.lastIndexOf( patterns[i]);
        if ( (pos > 0) && (pos  < domainEndPos) && (domainEndPos == (pos + patterns[i].length)) )
            return true;
    return false;
*     application.onConnect:
*                 Implementation of the onConnect interface function (optional).
*  it is invoked whenever a client connection request connection. Live app uses this
*  function to authenticate the domain of connection and authorizes only
*  for a subscriber request.
application.onConnect = function( p_client, p_autoSenseBW )
    // Check if pageUrl is from a domain we know.   
    // Check pageurl
    // A request from Flash Media Encoder is not checked for authentication
    if( (p_client.agent.indexOf("FME")==-1) && (p_client.agent.indexOf("FMLE")==-1))
        // Authenticating HTML file's domain for the request :
        // Don't call validate() when the request is from localhost
        // or HTML Domains Authentication is off.
        if ((p_client.ip != "127.0.0.1") && application.HTMLDomainsAuth
                &&  !this.validate( p_client.pageUrl, this.allowedHTMLDomains ) )
            trace("Authentication failed for pageurl: " + p_client.pageUrl + ", rejecting connection from "+p_client.ip);
            return false;
        // Authenticating the SWF file's domain for the request :
        // Don't call validate() when the request is from localhost
        // or SWF Domains Authentication is off.
        if ((p_client.ip != "127.0.0.1") && application.SWFDomainsAuth
                &&  !this.validate( p_client.referrer, this.allowedSWFDomains ) )
            trace("Authentication failed for referrer: " + p_client.referrer + ", rejecting connection from "+p_client.ip);
            return false;
            // Logging
        trace("Accepted a connection from IP:"+ p_client.ip
                        + ", referrer: "+ p_client.referrer
                        + ", pageurl: "+ p_client.pageUrl);
    }else{
        // Logging
        trace("Adobe Flash Media Encoder connected from "+p_client.ip);
    // As default, all clients are disabled to access raw audio and video and data bytes in a stream
    // through the use of BitmapData.draw() and SoundMixer.computeSpectrum()., Please refer
    // Stream Data Access doccumentations to know flash player version requirement to support this restriction
    // Access permissions can be allowed for all by uncommenting the following statements
    //p_client.audioSampleAccess = "/";
     //p_client.videoSampleAccess = "/";  
    this.acceptConnection(p_client);
    // A connection from Flash 8 & 9 FLV Playback component based client
    // requires the following code.
    if (p_autoSenseBW)
        p_client.checkBandwidth();
    else
        p_client.call("onBWDone");
    p_client.setBandwidthLimit(74000, 74000);
        application.acceptConnection(p_client);
* Client.prototype.getPageUrl
*                 Public API to return URL of the HTML page.               
Client.prototype.getPageUrl = function() {
    return this.pageUrl;
* Client.prototype.getReferrer
*                 Public API to return Domain URL of the client SWF file.               
Client.prototype.getReferrer = function() {
    return this.referrer;
* FCPublish :
* FME calls FCPublish with the name of the stream whenever a new stream
* is published. This notification can be used by server-side action script
* to maintain list of all streams or also to force FME to stop publishing.
* To stop publishing, call "onFCPublish" with an info object with status
* code set to "NetStream.Publish.BadName".
Client.prototype.FCPublish = function( streamname )
    // setup your stream and check if you want to allow this stream to be published
    if ( true) // do some validation here
    {      // this is optional.
        this.call("onFCPublish", null, {code:"NetStream.Publish.Start", description:streamname});
    else
        this.call("onFCPublish", null, {code:"NetStream.Publish.BadName", description:streamname});
* FCUnpublish :
* FME notifies server script when a stream is unpublished.
Client.prototype.FCUnpublish = function( streamname )
    // perform your clean  up
    this.call("onFCUnpublish", null, {code:"NetStream.Unpublish.Success", description:streamname});
* releaseStream :
* When FME connection to FMS drops during a publishing session it will
* try and republish the stream when connection is restored. On certain
* occasions FMS will reject the new stream because server is still
* unaware of the connection drop, sometimes this can take a few minutes.
* FME calls "releaseStream" method with the stream name and this can be
* used to forcibly clear the stream.
Client.prototype.releaseStream = function(streamname)
     s = Stream.get(streamname);
     s.play(false);
* application.readValidDomains
*             Function to read Allowed domain file
* Parameters:
*         fileName:
*             name of the file in the application directory
* which contains one valid domain name per line. This file can contain
* comments followed by a '#' as the very first charector in that line.
* a non-comment entry with a space is considered as an error case.
* returns
*         an array in which each entry contains a domain name
* listed in the file.
application.readValidDomains = function( fileName , domainsType )
    var domainFile = new File(fileName);
    var domainsArray = new Array();
    var index = 0;
    var lineCount = 0;
    var tempLine;
    domainFile.open("text", "read");
    // Read the file line-by-line and fill the domainsArray
    // with valid entries
    while (domainFile.isOpen && ! domainFile.eof() )
        tempLine = domainFile.readln();
        lineCount++;
        if( !tempLine  || tempLine.indexOf("#") == 0)
            continue;
        tempLine = tempLine.trim();
        if(tempLine.indexOf(" ")!=-1)
            trace("undesired <space>, domain entry ignored. "+fileName+":"+(lineCount+1));
        else
            domainsArray[index] =  tempLine.toLowerCase();
            index++;
            if(tempLine == "*")
                switch (domainsType){
                    case "HTMLDomains":
                        trace ("Found wildcard (*) entry: disabling authentication for HTML file domains ")    ;
                        application.HTMLDomainsAuth =    false;       
                        break;
                    case "SWFDomains":
                        trace ("Found wildcard (*) entry: disabling authentication for SWF file domains ")    ;
                        this.SWFDomainsAuth =    false;       
                        break;
                    default:
                        // Do nothing
                        break;   
    } // End while
    // Something is wrong! the domains file must be accessible.
    if( !domainFile.isOpen){
        trace("Error: could not open '"+fileName+"', rejecting all clients except localhost. ");
    else
        domainFile.close();
    return domainsArray;
* String.prototype.trim:
*             Function to trim spaces in start an end of an input string.
* returns:
*         a trimmed string without any leading & ending spaces.
String.prototype.trim = function () {
    return this.replace(/^\s*/, "").replace(/\s*$/, "");
var mystream;
application.onPublish = function(clientObj,streamObj){
mystream = Stream.get("mp4:"+streamObj.name+".f4v");
    if (mystream)
                mystream.record("record",600);
                mystream.play(streamObj.name,-2,-1);
application.onUnpublish = function(clientObj,streamObj){
mystream.record(false);

Similar Messages

  • In -App purchase With the absence of live app

    Hi,
    I am developing an application which features 'in-app purchases'. But i heard that a live app should be there in app store for this feature , currently i dont have any live application in app store.Anybody have an idea that to get in -app purchase feature with absence of live app.Also instruct me to test for in-App purchase for my app.
    If anybody have an idea, pls reply asap.
    Thanks

    I am developing an application which features 'in-app purchases'.
    Have you staged that app in the store (added with binary pending) yet?

  • Issues with iPhone 4 and Netflix app?

    Has anyone tried to watch Netflix on their iPhone 4 while using headphones?  If I do not use headphones while watching Netflix on my phone, the sound is perfectly fine.  But, when I attempt to use headphones and watch Netflix, the sound becomes distorted and almost as though the background noise/music is much louder than the voices of the actor/actress.  I am trying to see if this might be an issue with the phone, app or headphones.  On a side note, I can use the headphones and listen to music without complications.  Any input or advice is greatly appreciated.  Thanks!

    Thanks for your quick reply!  I am actually using the white headphones that originally came with the iPhone and I also tried using ones that I bought to specifically use with the iPhone so I could also answer the phone and hear through those.  Any other advice?

  • Strange issue with right click menus in apps

    Every now and again the right click menu will stop working in applications. I won't be able to right click at all and sometimes closing and re-opening the app will work and sometimes I will need to restart the computer to fix the issue.
    I am running a very simple Fluxbox and SLiM based system and only really use Chromium, Thunderbird, XChat and Gvim on a regular basis but it seems to affect all of them from time to time which suggests to me it is a system wide problem. Does anyone have any ideas as to what may be causing this rather annoying problem?
    As an aside this never effects the right click menu in Fluxbox.

    Issues with a massive right-click context menu have been reported as caused by Firebug, so make sure to update Firebug to the latest version.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Is there an issue with iCloud syncing on iWork apps?

    I thought everything was ok with iCloud syncing but I seem to now have issues.
    I created a spreadsheet under Pages on my iPad (3rd Gen) and, after pressing the 'spreadsheet' button to show thumbnails of all docs being worked on, I'm seeing a small arrow pointing upwards on the thumbnail.  Before, I used to see a progress bar updating in the thumbnail (which I presume is updating to iCloud). 
    Now? Nothing.  The arrow stays and nothing is updated on my iPhone 4.   In fact, a previous version of my spreadsheet is shown on my iPhone with the same upwards pointing arrow but with the whole thumbnail 'greyed out'.  I can't even open it on the iPhone to delete it!
    Is this a know issue and are there any fixes?  I've tried the usual turning iCloud off and on for both devices but this has not had any effect.

    This is ridiculous!
    I have now established that there are issues with Pages, Numbers and Keynote documents!!!  They surely cannot all be corrupted?
    I have managed to salvage an important Numbers Document which I have copied in to iTunes (and subsequently on to my external HD).
    To try and rectify the situation I have then turned off iCloud on all 3 apps on both my iPhone 4 and iPad and deleted all documents under each app.  I have then gone on to iWork under iCloud and deleted all documents off there (some of which I noted were not the up-to-date documents I had been working on in iOS).  I had to turn off iCloud regardless to delete a couple of the documents on my iPhone (under all 3 apps) as some documents were greyed out (see original post) and could not be deleted.  As soon as iCloud was disabled it enabled me to remove off the local device. 
    Having switched iCloud back on to my iPhone and iPad (and bearing in mind I had deleted all documents off both iOS devices and in iCloud) the greyed out thumbnails re-appear (and cannot be deleted or altered!!!!)
    Anybody? Aaaaarrrrrrgggghhhhhh!!!!!!!!

  • Issue with apple id and tracker app

    hi all,
    My mum has a issue, she has misplaced her phone and wants to find it using the find my phone app on my phone. The problem is that she cant mind her apple id or her email adress that was connected with it as it was all just saved to her phone. so my question is how can i go about finding the apple id for her account without the the email,
    thanks

    You can use this to find the Apple ID:
    https://iforgot.apple.com/iForgot/findAccount.html;jsessionid=9EE908FE3FE3215A94 49B9B50126D9A9?border=false
    However, if Find My Phone was not setup/activated BEFORE she lost her phone, that won't do you any good. There is no way to locate the phone.

  • Issue with Family Sharing and unshareable apps

    My husband and I just upgraded to iPhone 6's with iOS 8.0.  Previously, we both used my Apple ID for all app purchases on our old phones.  With iOS 8.0, we turned on the Family Sharing feature.  We would both like to install the mobile app for our bank (TD (Canada)).  With Family Sharing turned on, this app is listed as one of my purchases.  However, it is also listed as "unshareable".  I can install the app on my phone, but when my husband tries to install the app, he gets a message saying that the app has already been purchased using a different Apple ID and cannot be installed on his phone.  Note that on his phone, he does not even see the app under my purchases when he goes to App Store | Updates | Purchased.  However, if he searches for the app in the App Store, instead of a "FREE" button, he sees the iCloud download icon.
    Has anyone else run into this problem and figured out how to fix it, or is this just an iOS 8.0/iTunes/App Store/iCloud bug?  It actually does not make sense that a free banking app would be "unshareable" under Family Sharing in the first place since several members of the same family will most likely use the same bank.
    Thanks for your help!

    I have the same issue.  I spent an hour on the phone with Apple and they don't have a clean fix for it.  The issue seems to be with apps that developers have not yet set the Family share-able flag as yes or no.  They said that when developers update the flag this will resolve itself.  Meanwhile, if in the app store the details of the app under Family Sharing it says "Not Available" it will be an issue. I found a reasonable workaround for this particular issue by hiding the original purchase and "re-purchasing" as follows:     Disclaimer/Note: Not all Apps are share-able, (even free ones.)  If the app you are trying to deal with is an actual paid for app, you will be buying it again!  Better to wait until the core issue gets fixed, unless you are willing to pay for it again.
    1.  On a PC or Mac, in iTunes, have the original purchaser log in to the iTunes store, then under Quick Links click on Purchased.  Click on Apps at the top and find the app that is at issue. (Hint:  The apps are not necessarily listed under the obvious app name.  I was looking for Colorspot from  SherwinWilliams, and found it under SherwinWlliams, not Colorspot.)  Once you find the app, hover over it and click on the X in the upper left corner to hide it.  Do this for all the apps that are at issue. (See Disclaimer/Note above)
    2.  On the iOS device that is having the problem, close the App Store app. (If you have many apps at issue you might make a list, or take a screenshot first)
    3.  On the same iOS device, find the app and delete it.  (not ideal but it works!).  Once you have all the apps at issue deleted, reboot, and make sure you are logged in to the iTunes store as the secondary "purchaser", (If you are logged in as the original purchaser you probably wouldn't have the issue in the first place, although to me that means going a bit backwards and not really using the Family Sharing program.)
    4.  Open the App store app, if you started the whole process with an app that wouldn't update, confirm that the app is no longer listed.
    5.  Search the store for the problem app as though it was a new purchase (at this point it is.)  Once found, it should be listed with the "Free" or a "price" icon. If it shows the cloud and download arrow icon the hiding you did in step 1 hasn't updated yet.  Wait awhile longer. (Reboot again? Re-log into store again?)  (Also note here, that a properly shared app will show the cloud/download arrow icon and would be download-able without issue.)  If it shows as Update, it hasn't actually been deleted from the device.  If all is well, you should be able to proceed with a typical "purchase" of the item.  (See Disclaimer/Note above) If the family member has multiple devices, repeat 2-5 for each device.
    If you have multiple family sharing members wanting the app you will have to repeat  step 1, hiding the purchase in each iTunes account until all family members have gone through the re-purchase process.  After fixing all of their devices, each person can go back into iTunes, click on Account under Quick Links, go to iTunes in the Cloud section, Hidden Purchases line, click Manage, and unhide the hidden apps.  This would be important for future sharing when the bugs get worked out.
    Good luck!

  • Gmail causing issues with other email using mail app

    I use the standard mail app for 3 hotmail accounts (with my own domain name) &amp; a work exchange account (which I turn on and off as required). These work well on iPhone 4 &amp; iPad3 using IOS5.1. 
    However, on adding a gmail account to the mail program I stop receiving all email on the hotmail accounts. As soon as I delete gmail on a device, that device I starts receiving hotmail emails.
    The solution for me was to delete the gmail account as I only set it up for analytics &amp; don't need the mail. Although this issue would stop me switching to gmail full time.
    Has anyone else encountered this error &amp; found a solution? 

    No, you can’t. Gmail doesn’t let mail to be downloaded twice by either the same or different POP mail clients.
    I believe .Mac actually handles something like this but I do not have it.
    Any IMAP account would allow you to do this. Actually, almost any POP account other than Gmail would also at least let you download the same mail on both computers. It’s just Gmail that doesn’t.

  • Security issue with connecting to Microsoft Live

    I currently use StudioCloud for my studio management software. However, I'm unable to use the email features of the software as they state "**Adobe Air has a security issue connecting to Windows Live and, as such, StudioCloud can not work with Windows Live/Hotmail at this time.**" (http://app1.studiocloud.com/support/index.php?/article/AA-00265/0).
    Are there any plans on resolving this issue?
    As a small business owner, I need to streamline my processes.  If there is a possibilty of this being fixed in the near future, then I won't look at other options, but if it isn't, then I need to determine if I will be moving my email to another host, or using a different studio managment software, or finding a different method of handing my email communications with my clients which is efficient and meets my needs. 
    Thank you.
    Catherine Bowser

    Reported via a live chat.  I must say that the guy was very helpful and said he'd reported the issue together with the tracert data I had provided.
    Afraid I lose the will when trying to speak to BT by phone!

  • Issue with SOAP.jar in Oracle Apps 11i

    Hi,
    We have developed OAF page in R11i to call BPEL services, it works fine with following settings
    1. Place soap.jar on server from JDeveloper
    2. Set class path to point soap.jar in jserv.properties file
    In our instance one saop.jar already exists in server and path for this file in specified in in jserv.properties, our functionality works fine if we place our soap.jar path in jserv.properties before standard soap.jar file. If we ask our DBA to specify our path before standard soap.jar then our DBA has doubt that it may clash with other XML services.
    Please let me know if there is any Metalink doc id available for this issue or any SR has been raised for the same, please help it is urgent.
    Regards,
    Reetesh Sharma

    Any update on this??
    Edited by: Reetesh Sharma on 08-Jul-2010 04:38

  • Issue with Load balancing for 2 Apps Node for EBS 12.1

    Hi Guys,
    I had been following section 2.4 of Using Load-Balancers with Oracle E-Business Suite Release 12 (Doc ID 380489.1).
    As per doc, I should be able to (but which is not happening in my case)
    [root@ebs1 etc]# nslookup ebslbr.oracle.com
    Server:         172.18.0.99
    Address:        172.18.0.99#53
    Name:   ebslbr.oracle.com
    Address: 172.18.0.102
    Name:   ebslbr.oracle.com
    Address: 172.18.0.101
    [root@ebs1 etc]# telnet ebslbr.oracle.com
    Trying 172.18.0.101...
    telnet: connect to address 172.18.0.101: Connection refused
    Trying 172.18.0.102...
    telnet: connect to address 172.18.0.102: Connection refused
    telnet: Unable to connect to remote host: Connection refused
    [root@ebs1 etc]#
    I could able to lookup individual servers as well.
    [root@ebs1 etc]# nslookup ebs1
    Server:         172.18.0.99
    Address:        172.18.0.99#53
    Name:   ebs1.oracle.com
    Address: 172.18.0.101
    [root@ebs1 etc]# nslookup ebs2
    Server:         172.18.0.99
    Address:        172.18.0.99#53
    Name:   ebs2.oracle.com
    Address: 172.18.0.102
    [root@ebs1 etc]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1       localhost.localdomain   localhost
    #:1             localhost6.localdomain6 localhost6
    #172.18.0.101    ebs1.oracle.com        ebs1
    #172.18.0.102     ebs2.oracle.com        ebs2
    #172.18.0.111    db1.oracle.com         db1
    [root@ebs1 etc]# ping ebs2
    PING ebs2.oracle.com (172.18.0.102) 56(84) bytes of data.
    64 bytes from ebslbr (172.18.0.102): icmp_seq=1 ttl=64 time=0.482 ms
    64 bytes from ebslbr (172.18.0.102): icmp_seq=2 ttl=64 time=0.546 ms
    --- ebs2.oracle.com ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 999ms
    rtt min/avg/max/mdev = 0.482/0.514/0.546/0.032 ms
    [root@ebs1 etc]# ping ebs1
    PING ebs1.oracle.com (172.18.0.101) 56(84) bytes of data.
    64 bytes from ebs1 (172.18.0.101): icmp_seq=1 ttl=64 time=0.032 ms
    64 bytes from ebs1 (172.18.0.101): icmp_seq=2 ttl=64 time=0.044 ms
    64 bytes from ebs1 (172.18.0.101): icmp_seq=3 ttl=64 time=0.041 ms
    [root@ebs1 etc]#
    [root@ebs1 etc]# telnet 127.0.0.1
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host: Connection refused
    [root@ebs1 etc]# service iptables status
    Firewall is stopped.
    [root@ebs1 etc]#
    I've further went, made changes in context file...ran autoconfig...but not getting frontend with 'ebslbr' hostname.
    Can you please assist what could be the issue ?
    Thanks,

    Hi Hussein,
    I've checked it... but  there is a confusion... is telnet work without any port no ?
    I mean see below output,
    [applmgr@ebs1 ~]$ telnet ebs1 8000
    Trying 172.18.0.101...
    Connected to ebs1.
    Escape character is '^]'.
    Connection closed by foreign host.
    [applmgr@ebs1 ~]$ telnet ebs2 8000
    Trying 172.18.0.102...
    Connected to ebs2.
    Escape character is '^]'.
    Connection closed by foreign host.
    [applmgr@ebs1 ~]$ telnet ebs2
    Trying 172.18.0.102...
    telnet: connect to address 172.18.0.102: Connection refused
    [applmgr@ebs1 ~]$ telnet ebslbr
    Trying 172.18.0.101...
    telnet: connect to address 172.18.0.101: Connection refused
    Trying 172.18.0.102...
    telnet: connect to address 172.18.0.102: Connection refused
    [applmgr@ebs1 ~]$ telnet ebslbr 8000
    Trying 172.18.0.101...
    Connected to ebslbr.
    Escape character is '^]'.
    As per Metalink DOC: 380489.1, my Context file entries for both nodes,
    [applmgr@ebs1 ~]$ grep -i s_webentryurlprotocol $CONTEXT_FILE
             <webentryurlprotocol oa_var="s_webentryurlprotocol">http</webentryurlprotocol>
    [applmgr@ebs1 ~]$ grep -i s_webentryhost $CONTEXT_FILE
             <webentryhost oa_var="s_webentryhost">ebslbr</webentryhost>
    [applmgr@ebs1 ~]$ grep -i s_webentrydomain $CONTEXT_FILE
             <webentrydomain oa_var="s_webentrydomain">oracle.com</webentrydomain>
    [applmgr@ebs1 ~]$ grep -i s_webentrydomain $CONTEXT_FILE
             <webentrydomain oa_var="s_webentrydomain">oracle.com</webentrydomain>
    [applmgr@ebs1 ~]$ grep -i s_active_webport $CONTEXT_FILE
          <activewebport oa_var="s_active_webport" oa_type="DUP_PORT" base="8000" step="1" range="-1" label="Active Web Port">8000</activewebport>
    [applmgr@ebs1 ~]$ grep -i s_login_page $CONTEXT_FILE
             <login_page oa_var="s_login_page">http://ebslbr.oracle.com/OA_HTML/AppsLogin</login_page>
    [applmgr@ebs1 ~]$ grep -i s_external_url $CONTEXT_FILE
             <externURL oa_var="s_external_url">http://ebslbr.oracle.com</externURL>
    After running autoconfig, I still get frontpage for http://ebs1.oracle.com:8000/OA_HTML/AppsLogin & http://ebs2.oracle.com:8000/OA_HTML/AppsLogin  which eventually redirects to http://ebslbr.oracle.com:8000/OA_HTML/RF.jsp?function_id=28716&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=… but which is wrong (there is no load balancing at all)...as my local desktop system32\drivers\etc\hosts file have following entries,
    172.18.0.101    ebs1.oracle.com
    ebslbr.oracle.com    ebslbr
    172.18.0.102    ebs2.oracle.com
    ebslbr.oracle.com    ebslbr
    so,
    ebs1.oracle.com:8000 -> ebslbr.oracle.com:8000 (It will always go to 1st node only)
    This can be also proved  by,
    [applmgr@ebs1 ~]$ telnet ebslbr.oracle.com 8000 (telnet to ebslbr always going to 1st node on ebs1)
    Trying 172.18.0.101...
    Connected to ebslbr.oracle.com.
    Escape character is '^]'.
    [applmgr@ebs2 scripts]$ telnet ebslbr.oracle.com 8000 (telnet to ebslbr always going to 2nd node on ebs2)
    Trying 172.18.0.102...
    Connected to ebslbr.oracle.com.
    Escape character is '^]'.
    This should be round robin fashion...
    Can you please help me, what is going wrong here ?
    your help would be much appreciated ...
    Regards,
    Manish

  • Any issues with keeping shapes in Live Paint Mode?

    1. Are there any drawbacks to keeping a shape in Live Paint Mode and not expanding it?
    2. Are there any drawbacks to using Live Paint Mode at all? Does it change the way the artwork works with other shapes in AI?
    Thank you.

    Depends on how you define drawbacks. What context?
    Same as 1. Also, about which interactions are you talking?

  • Issue with Classifying Items in Web Apps

    I've been classifying items in Web Apps for our site in order to activate them to appear live. I just entered some content as a Web App item, classified it, and it is still tagged as "inactive." I'm also not able to remove the classification from a Web App item to make it inactive.
    Any thoughts? This essentially means that I cannot post or remove content from our site.
    Edit: I tried deleting and recreating the category and now none of the items appear on the page when I classify them under this new category (I also reinserted the module on the page just to be sure).
    Very frustrating.
    Thanks.

    You doing this through import export and spreadsheet?
    If so inactive happens as your spreadsheet program will edit the date format and set it to the past so when you upload it is in the pased and thus inactive.

  • Issues with 'extern' in Objective-C app.

    Hi there,
    I am currently developing a Cocoa Document-based application, and have so far created an NSArrayController and linked that it to a class in my application. In my Interface Builder file, I have a main window which appears at launch, and another window that is by default, hidden.
    I am overriding the NSArrayContoller's 'add:' method via the MyDocument class that comes by default in the project, and with this overridden method wish to open this second window.
    Usually, I would just add the window as an outlet in a class of mine to control. The issue here is, I am unable to add the window as an outlet to the NSArrayController object (this is the first time I have dealt with an NSArrayController), and so have added the window as an outlet to another class, named InfoController.
    The aim here, is to allow the MyDocument class to access InfoController's window that I have linked.
    I have tried using the following in InfoController.h;
    extern IBOutlet NSWindow *authenticate;
    I also obviously import the InfoController's header file to the MyDocument's header file;
    #import "InfoController.h"
    This causes an error where the compiler spits the dummy;
    "_authenticate", referenced from:
    _authenticate$non_lazy_ptr in MyDocument.o
    symbol(s) not found
    collect2: Id returned 1 exit status
    In case you were wondering where I got this idea from, I followed the instructions in the second option - http://www.cocoadev.com/index.pl?GlobalVariablesInCocoa
    I would really appreciate any help here.
    Please let me know if I need to clarify anything.
    Thanks in advance,
    Ricky.

    Nothing in that article suggests declaring class instance variables as extern.

  • Weird issue with spacebar and text based apps...

    I've never seen this one before and I've been using OS X since the beginning.
    I'm seeing this on my boss' computer so here goes...
    When using any text based app ie Text Edit, Mail, Microsoft Office 2011, etc. if I try and write a word and then add a few spaces in between that and a new word the app won't let me add more than 2 spaces. If I create another user and try with the said apps there -- adding more than 2 spaces works fine. The thing is my boss doesn't really want to transition to another user because it would take him forever. Thus far, I've repaired permissions and deleted a few suspect preferences. Nothing worked. Any ideas as to why this is happening. Could there be some hidden setting that is user wide that would cause this?
    Regards,
    Scotty

    Moving all the prefs to a folder on the desktop seemed to work. I figured that Mail would be important along with a few other apps like Address Book and iCal so I left them in the Preferences folder. The boss is going to have to deal with any other loss of preferences.
    Thanks Tom!
    ~Scott

Maybe you are looking for