Recording USA net

My scheduled recording of "Covert Affairs" the last couple of times resulted in 2 recordings of the same program, neither of which I am able to view...I get the  "unable to access, try again later" or something of that sort...of course, I cannot view this program except for on-demand and its limitations; any clues to why this happens?
Thanks, frustrated

Well, I'm not Mr.Muench, but I think that your user was not granted privilages to use the package. If it was PL you should give privilage with the GRANT command, but in JAVA there is an DBMS_JAVA.GRANT(?something like that). Take a look at the documentation :
-> JDev release notes
-> JAVA in Oracle man./EJB man / etc...
-> XML release notes.
Another OBS: Have you tried the -force option when deploying into database ? Sometimes the database "thinks" that the older version is the same of the newer version... (it's from my experience, maybe I'm wrong: DON'T Trust the loadjava without force option)
Good Luck

Similar Messages

  • Creative Stream Recorder stops while recording with "net busy&qu

    Hello.
    Using SB Audigy 2 Platinum.
    Every stream I'm trying to record (all youtube URLs) stops at exactly the same point in the "communicating" phase, at about 75% of the way, with "(net busy)" message until times out.
    Tried all connection types (even though I'm connected via cables).
    Please assist,
    Thanks,
    Mor

    Yeah that was using Fraps.
    I'm not exactly sure what Direct Stream is, but to me (correct me if I'm wrong) it sounds like Fraps is getting the audio from DirectSound, which in vista is completely software based and when OpenAL is used in the game, Fraps using Direct Stream recieves no audio, hence no sound.
    I'm still not sure why 'What you hear' is very distorted and crackly, that's a work in progress

  • Net Value not updated

    Hi,
    I have created a pricing procedure with a few tax conditions but somehow while using this procedure in the Sales order I see that the net value of the order is not getting updated.
    I am able to add value for the tax conditions but the net value isnt getting updated.
    Please advise.

    Net value = Total before taxes
    So, when you add new tax conditions or change values in the tax condition record the Net value will not change but Tax values and the Invoice totals (Gross value) will change.
    Hope this helps, if not, provide us more details in order to understand your problem better.
    Thanks.

  • Info Record not updating

    All,
    I have created a info record with net price 200 .
    Then I have created a PO for net price 350 .
    I have ticked the ' info update ' .
    But while going to the info record again the net price is not update .
    1. Why it is like this ?
    2. Also tax code I put in the PO which was blank in the info record .
        Tax code is not coming in the same info record , please explain ?
    regards

    Hi Sandeep,
    There are two types of info records,
    one with basic information, no prices etc. but with a PO history (and price history) attached
    the other is the full infor record maintained manually in ME11 and 12.
    The update info record flag on the PO ONLY updates the first type of info record, it does not affect the price etc., this can be added and maintained but only manually via ME11 or ME12.
    So the title of the flag is misleading.
    It works OK if you have the system set up to suggest the last price paid, but if you want to use FULL info records then all it is doing is recording the PO price history against the basic info record.
    Steve B

  • How can I have my servlet accept 100 concurrent client requests?

              My servlet extends HttpServlet so it is multithreaded. Then I have written a java
              client which starts 100 concurrent threads that try to contact the servlet.
              There are always lots of threads which are refused by the Weblogic Server 6.0.
              They get a 'Connection refused' exception. Sometimes there are 50 refused connections,
              sometimes there are 0 refused connections (not very often), sometimes there are
              80 refused connections (usually).
              I have checked the 'Servlet' documentation and the 'J2EE Design Considerations
              for Weblogic Server' which recommends not to exceede the execute thread count
              number of 15. I have not changed that value, I do not even know if it still exists
              in Weblogic 6.0 as the document refers to the 5.0 version.
              Does anybody know how to solve this problem? How can I have the client requests
              waiting rather than being refused? Of course the main goal is to serve all the
              client requests, not to refuse.
              This is the code that the client thread uses to contact the servlet:
              URL url = new URL("http://localhost:7001/examplesWebApp/myServlet");
              URLConnection conn = url.openConnection();
              conn.setDoInput(true);
              conn.setDoOutput(true);
              DataOutputStream os = new DataOutputStream(conn.getOutputStream());
              os.writeBytes()
              os.writeBytes()
              Thanks for your time,
              David
              

              The key is
              KKEY_LOCALMACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters
              There you may need add a value "MaxUserPort" as REG_DWORD (5000 is default), also
              change "TcpTimedWaitDelay" to small number (30 is minimum). You may have trouble
              to find them. Just add them.
              You can also use Microsoft Web Application Stress Tool to test your Weblogic applications.
              As a free test tool, it is really powerful, although not so flexible.
              I guess you write your own test tool with java.net.URLConnection. I am not sure
              about the power of this class. In my case, I wrote my stress test tools with Java
              Socket. I can test application on Weblogic 6 with 1000 threads with my own tool
              and Microsoft tool, depending on memory and CPU of the machines I use. I run my
              tests on both Windows 2000 professional and Solaris.
              Check your CPU and memory usage with task manager.
              On the other hand, you should check log message on Weblogic 6. Try to turn on
              HTTP debug by add the following in your config.xml in tag <Server>.
              <ServerDebug DebugHttp="true" DebugURLResolution="true"
              JDBCConn="true" JDBCSQL="true" ListenThreadDebug="true" Name="myserver"/>
              "David Ruana" <[email protected]> wrote:
              >
              >Xiang, I really appreciate your help. I changed my Weblogic server configuration
              >from the console but I still experience the same problems.
              >
              >I start my 100 threads, and from about the 20th onward all them get the
              >'Connection
              >refused' exception in the URLConnection::getOutputStream() function,
              >always after
              >a successful URLConnection::openConnetion().
              >
              >My system is Windows 2000 Professional (Spanish version). I tried to
              >check the
              >open client socket descriptor limit but I was not able to find the TCPIP/MAXUSERPORT
              >in the registry. Do you know how is this entry called in Windows 2000?
              >
              >At this point I am not sure whether my problems are related to the Weblogic
              >server
              >or to the operative system. I will keep trying... I would appreciate
              >any other
              >suggestion.
              >
              >Thank you very much.
              >
              >
              >
              >"Xiang Rao" <[email protected]> wrote:
              >>
              >>It is better to use Weblogic 6 console to configure Weblogic server.
              >>In the console,
              >>there is tab Servers->myServer->Congiguration->Tuning, you can find
              >execute
              >>length
              >>and backlog.
              >>
              >>If you use Windows as test client, note Windows have a 5000 open client
              >>socket
              >>descriptors limit. You need change Windows Registry (TCPIP/MAXUSERPORT)
              >>to change
              >>this parameter.
              >>
              >>On the other hand, during test, you should monitor your test via Weblogic
              >>console
              >>(myServer->Monitoring->Performance), here you can see the change of
              >wait
              >>queue.
              >>If the queue keeps increaing, you are in trouble.
              >>
              >>Since you know how to use MBean, try to write customized (servlet, for
              >>example)
              >>to collect the following data: opened socket number, open socket number,
              >>opened
              >>session number and open session number. The two "open" numbers will
              >give
              >>you some
              >>clue. Also record your CPU and memory usage.
              >>
              >>BTW, what is the output you get from your test in terms of number of
              >>requests
              >>per second, response time and number of bytes downloaded/uplodaed per
              >>second?
              >>Are your test client and Weblogic running on the same machine?
              >>
              >>
              >>
              >>"David Ruana" <[email protected]> wrote:
              >>>
              >>>By the way, this is a piece of the config.xml file where you can see
              >>>my Server
              >>>configuration. It is the configuration which is installed in the examplesServer
              >>>in the free evaluation of Weblogic 6.0. I only modified the AcceptBacklog
              >>>value,
              >>>and added the ThreadPoolSize="15" line which was missing (I copied
              >from
              >>>the petstoreServer).
              >>>
              >>> <Server AcceptBacklog="1000" AdministrationPort="0" ClusterWeight="1"
              >>> ConsoleInputEnabled="false" DGCIdlePeriodsUntilTimeout="2"
              >>> DefaultProtocol="t3" DefaultSecureProtocol="t3s"
              >>> HttpdEnabled="true" JavaCompiler="C:\bea\jdk130/bin/javac"
              >>> ListenPort="7001" Name="examplesServer" NativeIOEnabled="true"
              >>>     ThreadPoolSize="15"
              >>> SocketReaderTimeoutMaxMillis="10"
              >>> TransactionLogFilePrefix="config/examples/logs/"
              >>> TunnelingClientPingSecs="45" TunnelingClientTimeoutSecs="40"
              >>>XMLRegistry="examplesXMLRegistry">
              >>> <ServerDebug Name="examplesServer"/>
              >>> <WebServer DefaultWebApp="DefaultWebApp_examplesServer"
              >>> LogFileName="./config/examples/logs/access.log"
              >>> LoggingEnabled="true" Name="examplesServer"/>
              >>> <Log FileName="./config/examples/logs/weblogic.log" Name="examplesServer"/>
              >>> <KernelDebug Name="examplesServer"/>
              >>> <SSL Enabled="true" ListenPort="7002" Name="examplesServer"
              >>> PeerValidationEnforced="0"
              >>> ServerCertificateChainFileName="./config/examples/ca.pem"
              >>> ServerCertificateFileName="./config/examples/democert.pem"
              >>> ServerKeyFileName="./config/examples/demokey.pem" TrustedCAFileName="./config/examples/ca.pem"/>
              >>> </Server>
              >>>
              >>>
              >>>
              >>>
              >>>
              >>>"Xiang Rao" <[email protected]> wrote:
              >>>>
              >>>>You only need to change Weblogic HTTP configuration. Give the server
              >>>>a big socket
              >>>>Backlog number. Since you test with 100 threads, you can think 1000
              >>>to
              >>>>5000, i.e.,
              >>>>1000 to 5000 requests will be in queue before got served. Aslo, you
              >>>might
              >>>>need
              >>>>to change your OS TCP/IP settings (both test clients and servers),
              >>such
              >>>>as maximum
              >>>>number of sockets and timeout value(so closed sockets will release
              >>socket
              >>>>descriptors
              >>>>immediately).
              >>>>
              >>>>On the other hand, the number of executive threads can be much larger
              >>>>than 15
              >>>>(50-200 is a normal number), depending on the features of your application.
              >>>>You
              >>>>can try your stress test tools to find a reasonable number by analyzing
              >>>>the relationships
              >>>>among (throughtput, response time, number of executive threads, etc).
              >>>>
              >>>>
              >>>>"David Ruana" <[email protected]> wrote:
              >>>>>
              >>>>>My servlet extends HttpServlet so it is multithreaded. Then I have
              >>>written
              >>>>>a java
              >>>>>client which starts 100 concurrent threads that try to contact the
              >>>servlet.
              >>>>>
              >>>>>There are always lots of threads which are refused by the Weblogic
              >>>Server
              >>>>>6.0.
              >>>>>They get a 'Connection refused' exception. Sometimes there are 50
              >>refused
              >>>>>connections,
              >>>>>sometimes there are 0 refused connections (not very often), sometimes
              >>>>>there are
              >>>>>80 refused connections (usually).
              >>>>>
              >>>>>I have checked the 'Servlet' documentation and the 'J2EE Design Considerations
              >>>>>for Weblogic Server' which recommends not to exceede the execute
              >thread
              >>>>>count
              >>>>>number of 15. I have not changed that value, I do not even know if
              >>>it
              >>>>>still exists
              >>>>>in Weblogic 6.0 as the document refers to the 5.0 version.
              >>>>>
              >>>>>Does anybody know how to solve this problem? How can I have the client
              >>>>>requests
              >>>>>waiting rather than being refused? Of course the main goal is to
              >serve
              >>>>>all the
              >>>>>client requests, not to refuse.
              >>>>>
              >>>>>This is the code that the client thread uses to contact the servlet:
              >>>>>
              >>>>>URL url = new URL("http://localhost:7001/examplesWebApp/myServlet");
              >>>>>URLConnection conn = url.openConnection();
              >>>>>conn.setDoInput(true);
              >>>>>conn.setDoOutput(true);
              >>>>>
              >>>>>DataOutputStream os = new DataOutputStream(conn.getOutputStream());
              >>>>>os.writeBytes()
              >>>>>os.writeBytes()
              >>>>>...
              >>>>>
              >>>>>Thanks for your time,
              >>>>>David
              >>>>>
              >>>>
              >>>
              >>
              >
              

  • Re: Partition Log

    AFAIK, it is not possible( urrrgh..).
    The best thing you can do is
    to take a backup of the log file for your records, or
    use a different log file( based on mmddyy strings ets )
    each time. You automate this by writing a small batch program
    or a script file.
    Best wishes,
    Ajith Kallambella M.
    From: "Anil Thomas Samuel [Team Leader]" <[email protected]>
    Reply-To: "Anil Thomas Samuel [Team Leader]" <[email protected]>
    To: Forte Sage Solution Forum <[email protected]>
    CC: Keivan Khalichi <[email protected]>, Alex Kalinovsky
    <[email protected]>, Rick Penrose <[email protected]>,
    [email protected]
    Subject: Partition Log
    Date: Fri, 30 Apr 1999 08:34:41 +0530
    Hi
    The partition log generated overwrites the existing file if I specify a
    file name name using -fl
    flag at command line. Is there anyway that I can make it to append to
    existing log ?
    Awaiting for your support ...
    ThanX.. @nthoz
    Anil Thomas Samuel(Team Leader)|Voice:(91 - 80)3322139,3324313,3322337
    IBC Solutions India Pvt. Ltd. |Ext:40
    #2201, 11th Main, A Block |Fax:(91 - 80) 3321369
    2nd Stage, Rajajinagar |Web Pager:[email protected]
    Bangalore, India - 560 010. |Visit us @ http://www.ibcweb.com
    URL:http://members.tripod.com/~anthos/index.htm
    ***************************** Day's Quote *****************************
    Hall's Laws of Politics: (1) The voters want fewer taxes and more
    spending. (2) Citizens want
    honest politicians until they want something fixed. (3) Constituency
    drives out consistency
    (i.e., liberals defend military spending, and conservatives social
    spending in their own
    districts).
    ***************************** Day's Quote *****************************
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    Get Free Email and Do More On The Web. Visit http://www.msn.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    AFAIK, it is not possible( urrrgh..).
    The best thing you can do is
    to take a backup of the log file for your records, or
    use a different log file( based on mmddyy strings ets )
    each time. You automate this by writing a small batch program
    or a script file.
    Best wishes,
    Ajith Kallambella M.
    From: "Anil Thomas Samuel [Team Leader]" <[email protected]>
    Reply-To: "Anil Thomas Samuel [Team Leader]" <[email protected]>
    To: Forte Sage Solution Forum <[email protected]>
    CC: Keivan Khalichi <[email protected]>, Alex Kalinovsky
    <[email protected]>, Rick Penrose <[email protected]>,
    [email protected]
    Subject: Partition Log
    Date: Fri, 30 Apr 1999 08:34:41 +0530
    Hi
    The partition log generated overwrites the existing file if I specify a
    file name name using -fl
    flag at command line. Is there anyway that I can make it to append to
    existing log ?
    Awaiting for your support ...
    ThanX.. @nthoz
    Anil Thomas Samuel(Team Leader)|Voice:(91 - 80)3322139,3324313,3322337
    IBC Solutions India Pvt. Ltd. |Ext:40
    #2201, 11th Main, A Block |Fax:(91 - 80) 3321369
    2nd Stage, Rajajinagar |Web Pager:[email protected]
    Bangalore, India - 560 010. |Visit us @ http://www.ibcweb.com
    URL:http://members.tripod.com/~anthos/index.htm
    ***************************** Day's Quote *****************************
    Hall's Laws of Politics: (1) The voters want fewer taxes and more
    spending. (2) Citizens want
    honest politicians until they want something fixed. (3) Constituency
    drives out consistency
    (i.e., liberals defend military spending, and conservatives social
    spending in their own
    districts).
    ***************************** Day's Quote *****************************
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    Get Free Email and Do More On The Web. Visit http://www.msn.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • What is POP, POP3, and IMAP When I Setup My Email Account in the HP ePrint App?

    I have done as much research as I can do in regards to setting up the HP ePrint App Email Accounts.  If you do not see your email information listed here, feel free to post it below or contact your internet service provider, phone or email company, or whomever else that might know this. I am certain there are many more that could be added but this is a rather extensive list.  I hope you find what you need to finish setting up your email applications.
    I have noticed information differs from website to website but as I have learned over time, with domain masking and companies buying out other companies, I just researched all the information I could find and that way if one of the hostnames or ports don’t work, then you can continue to view further into this page to see if that information is the same. At that point, if you can’t find what you need here, I would say you have done all that you can do before contacting the appropriate support team for your email information.  
    Most of the links are active and the ones listed below should send you directly the pages I pulled this information from but only a few of them were from the actual support sites themselves (Apple support was vague, as well as Microsoft, Macintosh, and commonly used ISPs). Save yourself some time by searching here first. I hope you find what you need in this one-stop-shop and if you get an email address not listed here please post it below and I will add it to this original document.
    Lastly, as this information is from forum-based and other unofficial websites, I would like to add that this is a copy/paste/edit-for-easy-reading document I created in my spare time. This is a very long document so I do recommend using the search and find quick keys to search for the email you need but the top part of this has definitions as to what servers, ports, and hostnames are and the basic setup in case you need to know what these options are used for and what they mean.
    Below are the most common settings needed to set up most POP3/IMAP Email Clients or Devices:
    The following information below can be found at http://www.swestcom.com/Support/q4.htm
    “What is POP3?
    Post Office Protocol version 3 (POP3) is a standard mail protocol used to receive emails from a remote server to a local email client. POP3 allows you to download email messages on your local computer and read them even when you are offline."
    "What is IMAP?
    The Internet Message Access Protocol (IMAP) is a mail protocol used for accessing email on a remote web server from a local client. IMAP and POP3 are the two most commonly used Internet mail protocols for retrieving emails. Both protocols are supported by all modern email clients and web servers."
    "Main difference between IMAP and POP3:
    The POP3 protocol assumes that there is only one client connected to the mailbox. In contrast, the IMAP protocol allows simultaneous access by multiple clients. IMAP is suitable for you if your mailbox is about to be managed by multiple users."
    "What is SMTP?
    Simple Mail Transfer Protocol (SMTP) is the standard protocol for sending emails across the Internet. SMTP uses TCP port 25 or 2525 and sometimes you can have problems to send your messages in case your ISP has closed port 25 (How to check if port 25 is open?). To determine the SMTP server for a given domain name, the MX (Mail eXchange) should have more information."
    "When setting up:
    POP - choose POP and the incoming server port will default to 110
    IMAP - choose IMAP and the incoming server port will default to 143
    All other settings are the same.
    Username = [email protected]
    Password = the password you set up when you configured your mail box
    Incoming Mail Server = mail.yourdomain.com
    Outgoing Mail Server= smtp.yourdomain.com
    Outgoing Server Requires Authentication (typically found in advanced options or settings)
    Do NOT check "Log on Using Secure Password Authentication"
    Use the same Username and Password as Incoming or select "Use Same Settings as Incoming"
    Outgoing Server Port= 2525 or 587This is subject to change based on the individual preferences of your ISP"
    Note - Substitute your actual domain name for "yourdomain.com" and substitute the first part of your email address for "user."
    Email Ports
    For networks, a port means an endpoint to a logical connection. The port number identifies what type of port it is. Here are the default email ports for:     
    POP3 - port 110
    IMAP - port 143
    SMTP - port 25
    HTTP - port 80
    Secure SMTP (SSMTP) - port 465
    Secure IMAP (IMAP4-SSL) - port 585
    IMAP4 over SSL (IMAPS) - port 993
    Secure POP3 (SSL-POP) - port 995.
    For Mozilla, Outlook, Windows mail, Windows Live, Outlook 2003-2010, Entourage for Mac OS, and Mail for Mac OS follow this link: http://help.outlook.com/en-ca/140/cc875899.aspx    (this website has not been looked over for validation but may assist in other leads towards the right direction)
    Have you ever wished you could use your AOL email account with something else, something more powerful, something more convenient than AOL, something like Outlook, Windows Mail, Outlook Express, or The Bat!? Thanks to the wonders of IMAP, you can.
    If you set up your AOL email account in any email client capable of IMAP, you can receive and send messages easily. Even the AOL folders — Spam, Saved, Sent Items and your Trash will be there automatically. Of course, you can also use POP to fetch incoming mail in an uncomplicated fashion.
    For instructions on how to assist you with this you can also follow this link: http://email.about.com/od/aoltips/qt/Access_an_AOL_Email_Account_with_any_POP_IMAP_Email_Program.htm
    Set Up POP or IMAP E-Mail on an Android G1 How do I set up POP or IMAP E-Mail on an Android Device?
    From the home screen, tap Applications > Settings > Accounts & sync > Add account > Manual setup.
    On the Incoming settings screen, in the Protocol drop-down menu, select IMAP or POP3. We suggest you select IMAP because it supports more features.
    In the Email address and Username text boxes, enter your full e-mail address, for example [email protected], and then select Next. Your user name is the same as your e-mail address.
    In the Password text box, enter your password.
    In the IMAP server or POP3 server text box, enter your IMAP or POP server name. For information about how to look up the server settings you need to complete this step and other steps in this procedure, see “How do I find the server settings” later in this topic.
    In the Security type drop-down menu and Server port text boxes, specify the POP or IMAP settings that you looked up in step 5, and then tap Next. Your e-mail application will check your IMAP or POP settings.
    On the Outgoing server settings screen, the Login required option should be selected for you, and the Username and Password text boxes should be filled in.
    In the SMTP server text box, enter the SMTP server name you looked up in step 5.
    In the Security type drop down menu and Server port text box, specify the SMTP settings that you located in step 5, and click Next.
    In the Account name, text box, enter a name for your account (for example “Office 365 email” or “Work email”). In the Your name text box, enter the name you want displayed when you send e-mail to others (for example “Tony Smith”), and then select Finish Setup.
    What else do I need to know?
    If your e-mail account is the type that requires registration, you must register it the first time you sign in to Outlook Web App. Connecting to your e-mail account through a mobile phone will fail if you haven't registered your account through Outlook Web App. After you sign in to your account, sign out. Then try to connect using your mobile phone. For more information about how to sign in to your account using Outlook Web App, see How to Sign In to Your E-Mail Using a Web Browser. If you have trouble signing in, see FAQs: Sign-in and Password Issues or contact the person who manages your e-mail account.
    Information below provided by: http://www.defcon-5.com/support/index.cfm?docid=95
    Yahoo:
    POP3: pop.mail.yahoo.com Port 995
    SMTP: smtp.mail.yahoo.com Port 465
    ESMTP should be enabled
    SSL: YES
    User name must not include the @yahoo.com
    GMail:
    POP3: pop.gmail.com Port 995
    SMTP: smtp.gmail.com Port 465
    ESTMP should be enabled
    SSL: YES
    AOL:
    IMAP: imap.aol.com Port 143
    SMTP: smtp.aol.com
    SSL: NO
    ATT World Net:
    POP3: ipostoffice.worldnet.att.net Port 995
    SMTP: imailhost.worldnet.att.net Port 465
    SSL REQUIRED for Incoming and Outgoing
    Cox:
    NOTE: With Cox you can only use their SMTP servers while on their network.
    Central
    POP3: pop.central.cox.net
    SMTP: smtp.central.cox.net
    ESMTP should be enabled
    SSL: NO
    East Cost
    POP3: pop.east.cox.net
    SMTP: smtp.east.cox.net
    ESMTP should be enabled
    SSL: NO
    West Cost
    POP3: pop.west.cox.net
    SMTP: smtp.west.cox.net
    ESMTP should be enabled
    SSL: NO
    Comcast:
    POP3: pop3.comcast.net Port 110
    SMTP: smtp.comcast.net Port 587
    ESMTP should be enabled
    SSL: NO
    User name must NOT include @comcast.net
    Comcast SMART ZONE:
    POP3:  sz-pop.mail.comcast.net Port 995
    SMTP: smtp.compcast.net Port 587
    ESMTP should be enabled
    SSL: NO
    User name must NOT include @comcast.net
    Earthlink:
    POP3: pop.earthlink.net Port 110
    SMTP: smtpauth.earthlink.net Port 587
    ESMTP should be enabled
    SSL: NO
    User name must include @earthlink.net
    Hughes Net:
    POP3: mail.hughes.net Port 110
    SMTP: smtp.hughest.net Port 25
    ESMTP should be enabled
    SSL: NO
    User name must include @hughes.net
    Metrocast:
    POP3: pop.va.metrocast.net Port 110
    SMTP: smtp.va.metrocast.net Port 25
    ESMTP should NOT be enabled
    User name MUST be full email address
    SSL: NO
    MSN:
    POP3: pop 3 . live. com  port #995.
    SMTP: smtp.live. com port #25
    SSL: YES
    ESMTP: should be enabled
    User name must have the full email address
    NetZero:
    POP3: pop.netzero.com Port 110
    SMTP: smtpauth.netzero.com Port 25
    ESMTP should be enabled
    SSL: NO
    User name must include @netzero.com
    Verizon:
    POP3: incoming.verizon.net Port 110
    SMTP: outgoing.verizon.net Port 25
    ESMTP should be enabled
    SSL: NO
    The following information is according to a forum comment at the bottom of this webpage concerning HOTMAIL and mail server settings:
     “As other web based email services, Hotmail is using the HTTP protocol for connecting you to your mailbox. If you want to send and receive Hotmail emails using an email client software, then your software must support Hotmail HTTP access for your email account. Some email clients, such as Outlook Express or Microsoft Outlook, offer builtin support for Hotmail accounts, so you only have to select HTTP when you are asked to select your email account type and select Hotmail as the HTTP Mail Service Provider.”
    Mail Server Settings for Hotmail using the Microsoft Outlook Connector
    If you are using Microsoft Outlook & the Outlook Connector, you can define your Hotmail account just like any regular POP3 email account:
    Hotmail Incoming Mail Server (POP3) - pop3 . live. com  (logon using Secure Password Authentification - SPA, mail server port: 995)
    Hotmail Outgoing Mail Server (SMTP) -smtp . live . com (SSL enabled, port 25)
    Additional information from this website has not been confirmed or validated as of yet but it does include additional information or perhaps corrected information. If the above steps do not fix the problem with setting up an email account for the HP Apps then read on:
    Yahoo! Mail Settings
    Yahoo Mail offers standard POP3 access for receiving emails incoming through your Yahoo mailbox, by using your favorite email client software. To setup your email client for working with your Yahoo account, you need to select the POP3 protocol and use the following mail server settings:
    Yahoo Incoming Mail Server (POP3) - pop.mail.yahoo.com (port 110)
    Yahoo Outgoing Mail Server (SMTP) - smtp.mail.yahoo.com (port 25)
    POP Yahoo! Mail Plus email server settings
    Yahoo Plus Incoming Mail Server (POP3) - plus.pop.mail.yahoo.com (SSL enabled, port 995)
    Yahoo Plus Outgoing Mail Server (SMTP) - plus.smtp.mail.yahoo.com (SSL enabled, port 465, use authentication)
    · Google GMail Settings
    The Google GMail service offers email client access for retrieving and sending emails through your Gmail account. However, for security reasons, GMail uses POP3 over an SSL connection, so make sure your email client supports encrypted SSL connections.
    Google Gmail Incoming Mail Server (POP3) - pop.gmail.com (SSL enabled, port 995)
    Outgoing Mail Server - use the SMTP mail server address provided by your local ISP or smtp.gmail.com (SSL enabled, port 465)
     MSN Mail Settings
    The MSN email service allows you to use the MSN POP3 and SMTP servers to access your MSN mailbox.
    MSN Incoming Mail Server (POP3) - pop3.email.msn.com (port 110, using Secure Password Authentication - SPA)
    MSN Outgoing Mail Server - smtp.email.msn.com (select "My outgoing server requires authentication")
     Lycos Mail Settings
    The Lycos Mail Plus service allows you to use POP3 and SMTP servers for accessing your Lycos mailbox.
    Lycos Mail Incoming Mail Server (POP3) - pop.mail.lycos.com (port 110)
    Outgoing Mail Server - smtp.mail.lycos.com or use your local ISP SMTP mail server
     AOL Mail Settings
    The AOL email service is a web based system, designed for managing your AOL mailbox via HTTP IMAP access. Unlike Hotmail, you can use any email client to access your AOL mailbox, as long as it supports the IMAP protocol.
    AOL Incoming Mail Server (IMAP) - imap.aol.com (port 143)
    AOL Outgoing Mail Server - smtp.aol.com or use your local ISP SMTP mail server
     Mail.com Mail Settings
    The Mail.com email service allows you to use POP3 and SMTP servers for accessing your Mail.com mailbox.
    Mail.com Mail Incoming Mail Server (POP3) - pop1.mail.com (port 110)
    Outgoing Mail Server - use your local ISP SMTP mail server
     Netscape Internet Service Mail Settings
    The Netscape e-mail system is web-based, which means you can access their e-mail from any Internet connection. Netscape Internet Service also supports AOL® Communicator, Microsoft® Outlook, Microsoft® Outlook Express, and other POP3 e-mail software. The outgoing mail server needs SSL support, so make sure your email client software supports SSL connections over the SMTP protocol.
    Netscape Internet Service Incoming Mail Server (POP3) - pop.3.isp.netscape.com (port 110)
    Netscape Internet Service Outgoing Mail Server - smtp.isp.netscape.com (port 25, using a secure SSL connection)
    Tiscali Mail Settings
    The Tiscali email service allows you to use POP3 and SMTP servers for accessing your Tiscali mailbox.
    Tiscali Incoming Mail Server (POP3) - pop.tiscali.com (port 110)
    Outgoing Mail Server - use your local ISP SMTP mail server
    Freeserve Mail Settings
    The Freeserve email service allows you to use POP3 and SMTP servers for accessing your Freeserve mailbox.
    Freeserve Incoming Mail Server (POP3) - pop.freeserve.com (port 110)
    Outgoing Mail Server - use your local ISP SMTP mail server
    Supanet Mail Settings
    The Supanet email service allows you to use POP3 and SMTP servers for accessing your Supanet mailbox.
    Supanet Incoming Mail Server (POP3) - pop.supanet.com (port 110)
    Outgoing Mail Server - use your local ISP SMTP mail se
    AT&T SMTP IMAP Server
    smtp.att.yahoo.com
    SSL Port 465
    imap.att.yahoo.com
    SSL Port 993
    Iphone POP/IMAP Setup
    Although I am sure it is out of scope for HP to assist with iPhone setup with mail, contact, calendars, etc so here is a PDF with pictures and a walkthrough from:
    https://www.millikin.edu/it/services/HandH/Documents/iPhone%20IMAP%20POP%20Setup.pdf 
    This hyperlink seems inactive so you may have to copy and paste for a direct walkthrough of this comprehensive pdf.
    Lastly if the above information is incorrect or does help, here is one last website to provide you with a complete list that I found located at att.com to assist their customers trying to setup emails in conjunctions with their apps.
     Popular POP and IMAP e-mail providers and their incoming server names
    http://www.wireless.att.com/support_static_files/KB/KB5892.html
    SUBJECT:
    Popular POP and IMAP e-mail providers and their incoming server names
    What are the AT&T outgoing (SMTP) server names?
    SYMPTOM:
    ISP E-mail servers
     E-mail
    ADVISORY:
    This information has been retrieved from the proper e-mail provider support pages. This is not an exhaustive list, please refer to your e-mail provider for additional information and compatibility.
    FIX:
    Outgoing Servers
    AT&T outgoing SMTP server policy
    Incoming Servers
    Users must contact their e-mail service providers for server addresses not included in this list.
    Incoming POP3 server uses default port of 110.
    Incoming IMAP4 server uses default port of 143.
    When using SSL (Secure Socket Layer):
    The incoming POP3 port needs to be set to 995.
    The incoming IMAP4 port needs to be set at 993.
    Internet Service Provider (ISP)
    Incoming Server Address
    Username
    Port
    1and1.com
    POP: pop.1and1.com
    IMAP4: imap.1and1.com
    More information at 1and1.com Article.
    full e-mail address
    POP3: 110
    IMAP4: 143
    Adelphia
    mail.adelphia.net
    username only
    POP3: 110
    Airmail.net (Internet America)
    pop3.airmail.net
    username only
    Alltel.net
    (See Windstream)
    Ameritech (at&t Yahoo!)
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    AOL (America Online)
    Instructions and Disclaimer
    username only
    IMAP4: 143
    AIM Mail
    Instructions and Disclaimer
    username only
    IMAP4: 143
    AT&T Broadband Internet (ATTBI)
    mail.attbi.com
    AT&T Worldnet
    ipop.worldnet.att.net
    -or-
    ipostoffice.worldnet.att.net
    Informational only:
    AT&T WorldNet e-mail may not be accessible from any device e-mail client due to firewall restrictions implemented by AT&T WorldNet.
    See alternatives for accessing AT&T WorldNet:
    - Former AT&T Wireless customers
    - New and Existing AT&T wireless services customers
    full e-mail address
    POP3: 995 uses SSL
    Bell Atlantic (Verizon)
    pop.bellatlantic.net
    Bell South
    mail.bellsouth.net
    username only
    Cable One
    mail.cableone.net
    More information at Cable One.
    username only
    Cablevision
    mail.optonline.net
    username only
    Charter
    pop.charter.net
    username only
    Clearwire
    mail.clearwire.net
    More information at Clearwire Article.
    full e-mail address
    POP3: 110
    Comcast
    mail.comcast.net
    More information at Comcast Article.
    username only
    POP3: 110
    ComNetcom.net (Earthlink)
    pop.comnetcom.net
    Compuserve Classic
    pop.compuserve.com
    Compuserve
    imap.cs.com
    username only
    Concentric
    pop3.concentric.net
    Coqui (Puerto Rico)
    pop.coqui.net
    Covad
    pop3.covad.net
    More information on support article.
    full e-mail address
    POP3: 110
    Cox Central
    pop.central.cox.net
    More information at Cox Article.
    username only
    POP3: 110
    Cox East
    pop.east.cox.net
    More information at Cox Article.
    username only
    POP3: 110
    Cox West
    pop.west.cox.net
    More information at Cox Article.
    username only
    POP3: 110
    Cox Business
    pop.coxmail.com
    More information at Cox Business Article.
    full e-mail address
    POP3: 110
    Earthlink
    pop.earthlink.net
    full e-mail address
    POP3: 110
    Eudora
    mail.speakeasy.net
    Excite
    pop3.excite.com - Requires "Premium/Gold" subscription for POP3 access. More information at Excite.com Article.
    full e-mail address
    POP3: 110
    Flash (SBC Yahoo!)
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    Gmail (Google Mail)
    Instructions and Disclaimer
    full e-mail address
    POP3: 995 uses SSL
    Go Daddy.com
    pop.secureserver.net
    More information at Go Daddy.com Article.
    full e-mail address
    POP3: 110
    Grande
    mail.grandecom.net
    More information at Grande Article.
    username only
    POP3: 110
    GTE.net (Verizon)
    mail.gte.net
    Hughes Direcway
    mail.hughes.net
    More information at Hughes Direcway Article.
    full e-mail address
    POP3: 110
    Ix.Netcom.com (Earthlink)
    pop.ix.netcom.com
    Insight Broadband
    mail.insightbb.com (SSL must be enabled for remote access)
    More information at Insight Broadband Article.
    username only
    Juno
    POP3/IMAP4 is not available.
    More information on support article.
    Lightfirst (Avenew)
    inmail.lightfirst.com
    Mac.com (Apple Computer)
    mail.mac.com
    POP3 access will not work with "alias" accounts.
    More information at Mac.com. Related articles 25275, 51729, and 86685.
    username only
    POP3: 110
    IMAP4: 143
    Mail.com
    pop1.mail.com
    POP3: 110
    Mediacom
    mail.mchsi.com
    More information at Mediacom Article.
    full e-mail address
    POP3: 995 uses SSL
    MEdia Net
    POP3 access is currently not available to MEdia Net e-mail accounts. Please access MEdia Net e-mail through the device browser.
    POP3: 110
    Mindspring (Earthlink)
    pop.mindspring.com
    full e-mail address
    POP3: 110
    mMode
    pop.mymmode.com
    username only
    POP3: 110
    MSN
    pop3.live.com
    For subscribers that use (and pay for) MSN as their Internet Service Provider, MSN provides POP3 access to their e-mail. More information on configuring e-mail applications, see Microsoft Article 930008.
    Alternatives for accessing MSN from a mobile device:
    - Former AT&T Wireless customers
    - New and Existing AT&T wireless services customers
    full e-mail address
    POP3: 995
    uses SSL 
    MSN Hotmail
    MSN Hotmail is a HTTP e-mail service so a POP3 server name is not offered by MSN Hotmail. While some 3rd party e-mail servers allow access to Hotmail accounts, this may put e-mail security at risk. AT&T will not house 3rd party e-mail server information.
    Alternatives for accessing MSN Hotmail from a mobile device:
    - Former AT&T Wireless customers
    - New and Existing AT&T wireless services customers
    NetAddress or Usa.net
    pop.netaddress.com
    POP3: 110
    Network Solutions
    mail.yourdomain.com
    Network Solutions Support Page
    full e-mail address
    POP3: 110
    NetZero (United Online)
    pop.netzero.com
    NetZero E-mail Support Page
    username only
    POP3: 110
    Netscape
    pop3.isp.netscape.com
    Netscape E-mail Support Page
    full e-mail address
    POP3: 110
    NVBell (SBC Yahoo!)
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    OptOnline
    mail.optonline.net
    OptOnline Support Article
    username only
    PacBell (SBC Yahoo!)
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    PeoplePC
    mail.peoplepc.com
    - or -
    pop.peoplepc.com
    PeoplePC Support Article
    full e-mail address
    POP3: 110
    Pipeline (Earthlink)
    pop.pipeline.com
    POP3: 110
    Prodigy (SBC Yahoo!)
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    Qwest in Albuquerque, New Mexico
    pop.albq.qwest.net
    POP3: 110
    Road Runner
    pop-server.xxxx.com
    "xxxx" equals the users e-mail domain, which can be in the region format ("cfl.rr" for Central Florida or "nyc.rr" for New York City) or simply "roadrunner". The domain can be found after the @ symbol in the e-mail address i.e. [email protected] or [email protected]
    Road Runner Support Pages - Choose the appropriate region/state and select the Help menu to locate e-mail settings as they are different based on each region/state.
     username only
    POP3: 110
    sbcglobal.net
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    snet.net
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    Surewest
    pop.surewest.net
    More information at Surewest Article.
    full e-mail address
    POP3: 110
    swbell.net
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    Verizon
    incoming.verizon.net
    username only
    POP3: 110
    Verizon (custom server)
    pop.verizonemail.net
    POP3: 110
    Verizon (Yahoo! Mail)
    incoming.yahoo.verizon.net
    More information at Verizon Yahoo! Article.
    full e-mail address
    POP3: 110
    wans.net
    pop.att.yahoo.com
    More information on support article.
    full e-mail address
    POP3: 995
    uses SSL
    Websitepros
    Server information varies on product.
    Contact Information
    Windstream
    pop.windstream.net
    More information on support article.
    full e-mail address
    POP3: 110
    Yahoo!
    pop.mail.yahoo.com - Requires a monthly subscription fee for POP3 access.
    More information on support article.
    See Alternatives for accessing Yahoo! E-mail:
    - Former AT&T Wireless customers
    - New and Existing AT&T wireless services customers
    username only
    POP3: 995
    uses SSL
    Yahoo Small Business
    pop.bizmail.yahoo.com
    "Forwarding" must be disabled and "POP access" must be enabled. Yahoo Small Business Support Page
    SPAM/Bulk folders should be emptied if receiving errors occur.
    full e-mail address
    POP3: 110
    If you are viewing information on devices or services, please note: content reflects instructions for devices and services purchased from AT&T. Some differences may exist for devices not purchased from AT&T.
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!
    This question was solved.
    View Solution.

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Filename on file download from jsp

     

    This may help:
              ----- Original Message -----
              From: "Erik Lindquist" <[email protected]>
              Newsgroups: weblogic.developer.interest.jsp
              Sent: Wednesday, June 28, 2000 6:20 PM
              Subject: How to dynamically display images in JSPs
              > This took a little while to figure out so I thought I'd share. After
              > doing some research I was led to the following approach on how to load
              > images from an Oracle database into a JSP:
              >
              > The "main" JSP:
              >
              > <HTML>
              > <head>
              > <title>Image Test</title>
              > </head>
              > <body>
              > <center>
              > hello
              > <P>
              > <img border=0 src="getImage.jsp?filename=2cents.GIF">
              > <P>
              > <img border=0 src="getImage.jsp?filename=dollar.gif">
              > <P>
              > world
              > </body>
              > </HTML>
              >
              >
              > And this is the image getter:
              >
              > <% try {
              > response.setContentType("image/gif");
              > String filename = (String) request.getParameter("filename");
              > java.sql.Connection conn =
              > java.sql.DriverManager.getConnection("jdbc:weblogic:pool:orapool"); //
              > connect to db
              > java.sql.Statement stmt = conn.createStatement();
              > String sql = "select image from testimage where filename = '" +
              > filename + "'";
              > java.sql.ResultSet rs = stmt.executeQuery(sql);
              > if (rs.next()) {
              > byte [] image = rs.getBytes(1);
              > java.io.OutputStream os = response.getOutputStream();
              > os.write(image);
              > os.flush();
              > os.close();
              > }
              > conn.close();
              > }
              > catch (Exception x) { System.out.println(x); }
              > %>
              >
              >
              > The thing to note is that there are no <%@ page import="..." %> or <%@
              > page contentType="..." %> tags - just the single scriptlet. It
              > seems that for every "<%@" the weblogic compiler sees it puts
              > out.print("\r\n"); statements in the generated java source.(???) I
              > don't know much about how browsers work but I think that once it sees
              > flat ascii come at it it treats everything that follows as text/plain
              > which is incorrect for the binary stream that's being sent. Another
              > work around was to set out = null; but that's kind of ugly and might
              > produce server errors. The real fix is to write a bean to handle images
              > which I'll work on next (does anybody have any hints on how to do
              > that?)
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              WebLogic Consulting Available
              "Ramesh" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              >
              > Even I could download the files with this technique, I couldn't open the
              file downloaded. It seems the file is getting currepted during tranfer.. Can
              u help me in this regard please?
              >
              > Thank u
              > Ramesh
              >
              > [email protected] (Anders B. Jensen) wrote:
              > >In an Web-application written in Java Server Pages it should be possible
              > >for the user to download data from the web-server. The data will never
              > >exist as a file on the web-server, only in the PrintWriter object, out.
              > >To force the Internet Explorer (IE) to show the download dialog window
              > >the Contenttype of the HTTP-header have been set to "html/transfer". The
              > >question is:
              > >
              > >Is it possible to set the filename appearing in the download dialog
              > >appearing on the client?
              > >
              > >
              > >Below is a listing of the source-code:
              > >
              > ><%@ page extends="com.beasys.portal.admin.PortalJspBase"%>
              > ><jsp:useBean id="download" scope="session" class="dk.lec.DownloadData" />
              > >
              > ><%
              > > String tmpstr;
              > > response.setContentType("html/transfer");
              > > out.clear();
              > > tmpstr=download.getStrbuffer().toString();
              > > out.println(tmpstr.trim());
              > >%>
              > >
              > >
              > >Anders B. Jensen
              > >Consultant, Research & Development
              > >LEC AS
              > >
              > >Remove the SPAMLESS to mail me.
              >
              

  • While inserting values from a xml file into the database.

    Dear Forum Members,
    While using Samp10.java (given in XSU!2_ver1_2_1/oracleXSU12/Sample)for inserting values from xml file Sampdoc.xml into database table xmltest_tab1,the error shown below appears on the DOS prompt.
    The code for sam10 is:
    import oracle.xml.sql.dml.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.jdbc.*;
    import java.net.*;
    public class samp10
    public static void main(String args[]) throws SQLException
    String tabName = "xmltest_tab1";
    String fileName = "sampdoc.xml";
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn=DriverManager.getConnection("jdbc:odbc:BookingSealinerScott","scott","tiger");
    OracleXMLSave sav = new OracleXMLSave(conn, tabName);
    URL url = sav.createURL(fileName);
    int rowCount = sav.insertXML(url);
    System.out.println(" successfully inserted "+rowCount+
    " rows into "+ tabName);
    conn.close();
    }catch (Exception e){e.printStackTrace();}
    The Structure of Sampdoc.xml is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW num="1">
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    </ROW>
    <ROW num="2">
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    </ROW>
    <ROW num="3">
    <EMPNO>7521</EMPNO>
    <ENAME>WARD</ENAME>
    <JOB>SALESMAN</JOB>
    </ROW>
    </ROWSET>
    Description of table xmltest_tab1 is:
    SQL> desc xmltest_tab1;
    Name Null? Type
    EMPNO NUMBER(4)
    ENAME CHAR(10)
    JOB VARCHAR2(9)
    Error Displayed is:
    A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
    occurred in :
    'oracle/xml/sql/dml/OracleXMLSave.cleanLobList ()V': Interpreting method.
    Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
    oracle.xml.sql.OracleXMLSQLException: sun.jdbc.odbc.JdbcOdbcConnection
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1967)
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1880)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1013)
    at samp10.main(samp10.java:36)
    Press any key to continue . . .
    Please send me the solution as soon as possible.
    Thanks,
    Waiting for your Reply,
    Bye,
    Vineet Choudhary
    Email id: [email protected]
    null

    Go and read about JDBC. You need to know some basics before asking such a st&*id questions.
    Paul

  • Broadband Speed dropped and wont come back

    Hi, I need help and advice please.
    Background info first though, so please bare with me.
    During last July 2011 I was fed up of very low speeds and managed to get a BT engineer out to check the wiring etc... He did a great job by finding a badly insulated cable between myself and the Cabinet in our village. He also changed our master socket to a newer version.
    Over the next few days my broadband speed went from 0.74mb download to 1.95mb download. Fantastic!
    This speed has pretty much been a consistent rarely dropping below 1.7mb and at times has even gone up to my highest recorded of 2.46mb. I thought this was brilliant, I could watch iPlayer no problems and xbox live was even bearable (most of the time).
    The big problem where I live is sometimes we have power cuts. Sometimes lasting hours but mainly just for seconds. Even so it switches the BB router off. (I know, but not my fault)
    When we had the freak snow fall the other month problems started to raise their head. The computers in the household found issues connecting to the router and to resolve this BT BB Helpdesk kept advising me to reset router to enable connection. After connecting new ADSL filters the speed returned but connection issues continued.
    BT supplied me with a brand new home hub 3 which I connected thinking it would give me my 2.4mb speeds again. Oh No. To be fare I think I was getting 1.95mb but I wanted more, as most people would. Why cant I get 2.4mb most of the time I have had for a few months.
    Anyway I contacted BT who were kind enough to send a BT engineer out. He Said to me the Broadband speed is put out at the exchange (4.5km) at 8mb and comes into our village at between 3mb and 4mb. He detected no fault on the lines and spent the next 3 hours renewing 'D' and 'E' I think side of cabling (found this out later). He mentioned the noise was high but did something to lower it. On leaving he said I had 2.5mb and was confidant it would rise to 3mb.
    Great not drastic but should give me 250kbs to 50kbs extra.
    The day he was at my house we had 2 short power cuts followed by another couple some days later. This has not helped I'm sure.
    NOW TO THE ISSUE.
    My download speed since that day has not gone above 1.46mb download and every time I speak to the call centre they tell me my line is only capable of 2mb therefore 1.46mb is within acceptable range.
    I am so tired of explaining that I was capable of receiving 2.4mb some 2 months ago yet now since the new hub 3 and line fiddling I am only capable of a 2mb downstream - 1.46mb DLS.
    I know I have to wait 3 - 10 days but with power cuts its a nightmare, and they are so adamant about my 2mb downstream limit What the hell has happened.
    Here is a link to my recorded (Speedtest.net) data over the past 11 months showing actual proof of receiving 2.46mb:
    http://www.speedtest.net/results.php?sh=19a6b38248773feaa954bcf8e17ae768&ria=0
    And here is my BT speedtester data:
    1. Best Effort Test: -provides background information.
    Download  Speed
    1.38 Mbps
    0 Mbps
    2 Mbps
    Max Achievable Speed
     Download speedachieved during the test was - 1.38 Mbps
     For your connection, the acceptable range of speeds is 0.4 Mbps-2 Mbps.
     Additional Information:
     Your DSL Connection Rate :2.21 Mbps(DOWN-STREAM), 0.45 Mbps(UP-STREAM)
     IP Profile for your line is - 1.5 Mbps
    My home Hub data:
    Line state:
    Connected
    Connection time:
    0 day, 17:16:04
    Downstream:
    2,208 Kbps
    Upstream:
    448 Kbps
      ADSL settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    9.3 dB / 15.0 dB
    Line attenuation (Down/Up):
    56.5 dB / 31.5 dB
    Output power (Down/Up):
    18.1 dBm / 11.9 dBm
    FEC Events (Down/Up):
    12650 / 48
    CRC Events (Down/Up):
    50 / 17
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    Loss of Link (Remote):
    0
    HEC Errors (Down/Up):
    289 / 10
    Error Seconds (Local/Remote):
    0 / 0
    Please Help me I know I've had better than this but all the numbers point to the fact I can no longer have them. Why?
    Many thanks
    Jon
    Solved!
    Go to Solution.

    Hi JONNYYOUNG,
    I'm not educated enough to help but it mat reassure you, as it did me, to know your circumstances are not unique.
    Your story sounds very simialr to my experiende last November, speeds and line length being very similar.  An engineer said there was noise on my line so he switched me to another pair.  Did the engineer do that for you too ? Net result my speed dropped from ~2.3 to ~1.4Mbps. 
    Fortunately a 21CN upgrade at my excahnge has brought my speed back up to ~2.4Mbps.
    I'm sure imjolly, john46 and maybe a mod if you need it will sort you out as well as they did me.
    Good luck,
    dfenceman 
    Best regards,
    dfenceman

  • Error while updating data in automator::::urgent

    Hi,
    I am getting the following error, since a long time, please help me. I am using o2a pip cartridge and osm version is 7.2
    I printed out the getOrderResponse, and from the below two index only one index is there in the response, i have no idea, from where osm is picking up the other index. I undeploy and deploy the cartridge many times, but not able to get rid of the error, Please reply, any input is very much appreciated :)
    Main error
    Cannot convert string "1366694865424 1366694865434" to an integer
    Error Details
    <23-Apr-2013 1:28:45,789 SGT PM> <INFO> <impl.OrchestrationCascadingLRUPolicy> <Timer-8> <Evicted order /891 from orchestration cache due to cache entry expiry>
    <23-Apr-2013 1:28:50,772 SGT PM> <INFO> <GetInventoryDetailsEntryPointTask.GetInventoryDetailsEntryPointBean_doredo> <ExecuteThread: '14' for queue: 'oms.automation'> <Creatin
    g automation plugin [class oracle.communications.ordermanagement.automation.plugin.XQueryReceiver] jndi[GetInventoryDetailsEntryPointTask.GetInventoryDetailsEntryPointBean_dor
    edo] built using SDK version [7.2.0.3.0]>
    Validation error on line 27 of module with no systemId:
    FORG0001: Cannot convert string "1366694865424 1366694865434" to an integer
    <23-Apr-2013 1:28:50,975 SGT PM> <ERROR> <rule.XQueryHelper> <ExecuteThread: '14' for queue: 'oms.automation'> <Cannot convert string "1366694865424 1366694865434" to an integ
    er. . File[*module with no systemId* (actual location resolved to [*module with no systemId*])] Line[27] Column[-1]
    >
    ; SystemID: module with no systemId; Line#: 27; Column#: -1
    ValidationException: Cannot convert string *"1366694865424 1366694865434"* to an integer
    at net.sf.saxon.type.ValidationFailure.makeException(ValidationFailure.java:233)
    at net.sf.saxon.expr.UntypedAtomicConverter$1.map(UntypedAtomicConverter.java:156)
    at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:46)
    at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:39)
    at net.sf.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:262)
    at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
    at net.sf.saxon.expr.ExpressionTool.lazyEvaluate(ExpressionTool.java:437)
    at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:221)
    at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
    at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
    at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:339)
    at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:298)
    at net.sf.saxon.instruct.Choose.iterate(Choose.java:754)
    at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:306)
    at net.sf.saxon.expr.ForExpression$MappingAction.map(ForExpression.java:775)
    at net.sf.saxon.expr.MappingIterator.next(MappingIterator.java:54)
    at net.sf.saxon.query.XQueryExpression$ErrorReportingIterator.next(XQueryExpression.java:887)
    at net.sf.saxon.query.XQueryExpression.evaluate(XQueryExpression.java:220)
    at oracle.communications.ordermanagement.rule.f.a(Unknown Source)
    at oracle.communications.ordermanagement.rule.f.a(Unknown Source)
    at oracle.communications.ordermanagement.rule.o.a(Unknown Source)
    at oracle.communications.ordermanagement.rule.XQueryHelper.evaluateList(Unknown Source)
    at oracle.communications.ordermanagement.rule.XQueryHelper.evaluateListAsNodes(Unknown Source)
    at oracle.communications.ordermanagement.rule.impl.i.b(Unknown Source)
    at oracle.communications.ordermanagement.orchestration.execution.impl.j.a(Unknown Source)
    at com.mslv.oms.handler.updateorder.UpdateOrderHandlerEJB.a(Unknown Source)
    at com.mslv.oms.handler.updateorder.UpdateOrderHandlerEJB.process(Unknown Source)
    at com.mslv.oms.handler.a.processRequest(Unknown Source)
    at com.mslv.oms.jsp.processor.RequestProcessorSupport.a(Unknown Source)
    at com.mslv.oms.jsp.processor.RequestProcessorSupport.processRequest(Unknown Source)
    at com.mslv.oms.jsp.processor.RequestProcessorSupport.processRequest(Unknown Source)
    at com.mslv.oms.jsp.xmlapi.InternalRequestProcessor.processRequestSourceResponse(Unknown Source)
    at com.mslv.oms.jsp.xmlapi.InternalRequestProcessor.processRequestSourceResponse(Unknown Source)
    at com.mslv.oms.jsp.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
    at com.mslv.oms.jsp.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
    at com.mslv.oms.automation.TaskContextLocal.processXMLRequestDom(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.sf.saxon.functions.ExtensionFunctionCall.invokeMethod(ExtensionFunctionCall.java:690)
    at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:343)
    at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:224)
    at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
    at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
    at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:339)
    at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:548)
    at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:686)
    at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
    at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
    at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
    at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
    at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
    at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
    at net.sf.saxon.instruct.Instruction.iterate(Instruction.java:308)
    at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:653)
    at net.sf.saxon.expr.Expression.process(Expression.java:468)
    at net.sf.saxon.expr.LetExpression.process(LetExpression.java:378)
    at net.sf.saxon.value.Closure.process(Closure.java:218)
    at net.sf.saxon.expr.TailCallLoop.process(TailCallLoop.java:125)
    at net.sf.saxon.instruct.UserFunction.process(UserFunction.java:374)
    at net.sf.saxon.expr.UserFunctionCall.process(UserFunctionCall.java:451)
    at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:688)
    at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
    at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
    at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
    at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
    at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
    at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
    at net.sf.saxon.expr.LetExpression.process(LetExpression.java:378)
    at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
    at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
    at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
    at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
    at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
    at net.sf.saxon.instruct.Instruction.iterate(Instruction.java:308)
    at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:653)
    at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:306)
    at net.sf.saxon.instruct.Choose.iterate(Choose.java:754)
    at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:306)
    at net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:307)
    at net.sf.saxon.query.XQueryExpression.evaluate(XQueryExpression.java:217)
    at oracle.communications.ordermanagement.rule.d.a(Unknown Source)
    at oracle.communications.ordermanagement.rule.d.a(Unknown Source)
    at oracle.communications.ordermanagement.rule.o.a(Unknown Source)
    at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
    at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
    at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
    at oracle.communications.ordermanagement.automation.plugin.d.transform(Unknown Source)
    at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.transform(Unknown Source)
    at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.runCommonFunctionality(Unknown Source)
    at oracle.communications.ordermanagement.automation.plugin.ScriptRunnerImpl.runScript(Unknown Source)
    at oracle.communications.ordermanagement.automation.plugin.AbstractScriptAutomator.run(Unknown Source)
    at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unknown Source)
    at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
    at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
    at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
    at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    <Apr 23, 2013 1:28:50 PM SGT> <Error> <oms> <BEA-000000> <rule.XQueryHelper: Cannot convert string "1366694865424 1366694865434" to an integer. . File[*module with no systemId
    * (actual location resolved to [*module with no systemId*])] Line[27] Column[-1]
    ValidationException: Cannot convert string "1366694865424 1366694865434" to an integer
    at net.sf.saxon.type.ValidationFailure.makeException(ValidationFailure.java:233)
    at net.sf.saxon.expr.UntypedAtomicConverter$1.map(UntypedAtomicConverter.java:156)
    at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:46)
    at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:39)
    at net.sf.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:262)
    Truncated. see log file for complete stacktrace
    >
    <23-Apr-2013 1:28:50,975 SGT PM> <ERROR> <core.logXMLApplicationException> <ExecuteThread: '14' for queue: 'oms.automation'> <An error occurred processing XML request: 0 unkno
    wn error code 0 : message Error updating External Fulfillment State>
    <Apr 23, 2013 1:28:50 PM SGT> <Error> <oms> <BEA-000000> <core.logXMLApplicationException: An error occurred processing XML request: 0 unknown error code 0 : message Error upd
    ating External Fulfillment State>
    Error at xsl:if on line 324 of OrderLifecycleManagementModule.xquery:
    ORDER_UPDATE_FAILED: Error updating Order Lifecycle record.
    at orderlifecyclefn:updateOLMOnComponentStart() (*module with no systemId*#234)
    <23-Apr-2013 1:28:50,991 SGT PM> <ERROR> <rule.XQueryHelper> <ExecuteThread: '14' for queue: 'oms.automation'> <Error updating Order Lifecycle record.. . File[http://xmlns.ora
    cle.com/communications/ordermanagement/pip/orderlifecyclefn/OrderLifecycleManagementModule.xquery (actual location resolved to [osmmodel:///OracleComms_OSM_O2A_COM_SalesOrderF
    ulfillment/1.0.0.0.0/resources/ComponentInteraction/OrderLifecycleManagementModule.xquery])] Line[324] Column[-1]
    at orderlifecyclefn:updateOLMOnComponentStart() (*module with no systemId*#234)
    >
    ; SystemID: http://xmlns.oracle.com/communications/ordermanagement/pip/orderlifecyclefn/OrderLifecycleManagementModule.xquery; Line#: 324; Column#: -1
    net.sf.saxon.trans.XPathException: Error updating Order Lifecycle record.
    at net.sf.saxon.functions.Error.evaluateItem(Error.java:48)
    at net.sf.saxon.expr.Expression.process(Expression.java:461)
    at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:688)
    at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:557)

    I found a solution to my problem. the resolution is there in the below link.....
    http://sonalipatnaik.com/2013/04/25/osm-exception-in-automator-execution-or-order-data-update/

  • Error in running sample application for tuxedo

    Hi
    I received the following error when i try to run the sample application "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following error.do i have
    to install any c compiler? if so pls. suggest me some good c compiler.
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; check TUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

    Hi
    for Windows NT, which C compiler would be better for compiling the programs
    for tux clients and servers?
    do we have to use the MS-VC++ compiler and what are the environment
    variables to be set if i have to use build(client|server) ?
    pls. help me.
    thanks
    Magesh
    "Peter Holditch" <[email protected]> wrote in message
    news:[email protected]...
    Magesh,
    As I already posted, you need a C compiler installed.buildclient
    merely invoke the system compiler.
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, andBEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness ofthe
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    magesh muthukumarasamy wrote:
    Hi
    After doing the steps which you've told, I got the following error when
    I
    ran buildclient and builserver respectively :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    TUXNT_CAT:77: ERROR: Can't execute cl/MD -I"%TUXDIR%"\include -Fesimpcl
    simpcl.c "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"
    \lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.
    lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BC-5f.lib
    C:\simpapp>buildserver -o simpserv -f simpserv.c -s TOUPPER
    cl /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%TUX
    DIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.libuser32
    .lib gdi32.lib comdlg32.lib winspool.lib -link -implib:BS-1a4.lib
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    CMDTUX_CAT:4180: ERROR: can't execute cl
    /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.l
    ib "%TUXDIR%"\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib
    "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock3
    2.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BS-1a4.lib
    IS IT DUE TO C COMPILER NOT AVAILABLE OR ANY OTHER CONFIGURATIONPROBLEMS?
    >>
    pls. help me.
    THANKS
    magesh
    "LouisLiu" <[email protected]> wrote in message
    news:[email protected]...
    Three steps to solve this problem:
    1. Set the LANG environment variable: set LANG=English_United
    States.1252;
    2. In the tuxedo directory Tuxedo\locale, make a new directory named
    English_United States.1252;
    3. Copy all files in diirectory Tuxedo\locale\C into the newdirectory.
    >>>
    "MAGESH MUTHUKUMARASAMY" <[email protected]> wrote in message
    news:[email protected]...
    Hi
    I received the following error when i try to run the sample
    application
    "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following
    error.do
    i
    have
    to install any c compiler? if so pls. suggest me some good c
    compiler.
    >>>>
    >>>>
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; checkTUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

  • Free goods by a program

    How to create a sales order with free goods with an abap function?
    Now, I'm creating a sales order with  function 'SD_SALESDOCUMENT_CREATE' but don't know how to include free goods.
    I would like to use a manual condition type to introduce free goods with a program.
    Thanks in advance.

    check the following code, it may be useful
    SORT I_CR BY BUKRS  KNUMA VKORG VTWEG SPART.
    *Generate Cr. Memo request Sales area wise.
      LOOP AT I_CR.
    *Do not conider the record which net scheme amount is lessthan or equal
    *to zero
        IF I_CR-NSAMT > 0.
          L_ITEM = L_ITEM + 1.
          CLEAR IT_ORIT.
          IT_ORIT-ITM_NUMBER = L_ITEM.
          IT_ORIT-MATERIAL = I_CR-MATNR.
       IT_ORIT-BILL_BLOCK = ''.
          IT_ORIT-TARGET_QTY = '0'.
          IT_ORIT-MATL_GROUP = I_CR-MATKL.
          APPEND IT_ORIT.
          CLEAR IT_ITINX.
          IT_ITINX-ITM_NUMBER = 'X'.
          IT_ITINX-MATERIAL = 'X'.
       IT_ITINX-BILL_BLOCK = 'X'.
          IT_ITINX-TARGET_QTY = 'X'.
          IT_ITINX-MATL_GROUP = 'X'.
          APPEND IT_ITINX.
          CLEAR IT_ORPT.
          IT_ORPT-PARTN_ROLE = 'AG'.
          IT_ORPT-PARTN_NUMB = I_CR-KUNAG.
          APPEND IT_ORPT.
         CLEAR L_VAL.
         L_VAL = I_CR-MG_NSAMT.
         L_FK = I_CR-FKIMG.
         DIVIDE I_CR-FKIMG BY I_CR-MG_FKIMG.
         L_VAL = L_VAL * I_CR-FKIMG.
         DIVIDE L_VAL BY L_FK.
         CLEAR L_FK.
          IT_COND-ITM_NUMBER = L_ITEM.
          IT_COND-COND_TYPE = 'ZBLD'.
          IT_COND-COND_VALUE = I_CR-NSAMT.
          IT_COND-CURRENCY = 'INR'.
          APPEND IT_COND.
          IT_CONDX-ITM_NUMBER = L_ITEM.
          IT_CONDX-COND_TYPE = 'ZBLD'.
          IT_CONDX-UPDATEFLAG = 'U'.
          IT_CONDX-COND_VALUE = 'X'.
          IT_CONDX-CURRENCY = 'X'.
          APPEND IT_CONDX.
          AT END OF SPART.
            L_FLAG = 'X'.
          ENDAT.
          IF L_FLAG = 'X'.
            IT_HEADER-REFOBJTYPE = 'BUS2094'.
            IT_HEADER-DOC_TYPE = 'ZCMR'.
            IT_HEADER-SALES_ORG = I_CR-VKORG.
            IT_HEADER-DISTR_CHAN = I_CR-VTWEG.
            IT_HEADER-DIVISION = I_CR-SPART.
            IT_HEADER-ORD_REASON = 'Z15'.
            IT_HEADER-BILL_BLOCK = ' '.
           IT_HEADER-TELEPHONE  = 'AUTO'.
            IT_HEADX-DOC_TYPE = 'X'.
            IT_HEADX-SALES_ORG = 'X'.
            IT_HEADX-DISTR_CHAN = 'X'.
            IT_HEADX-DIVISION = 'X'.
            IT_HEADX-ORD_REASON = 'X'.
            IT_HEADX-UPDATEFLAG = 'I'.
            IT_HEADX-BILL_BLOCK = 'X'.
           IT_HEADX-TELEPHONE = 'X'.
            PERFORM SUB_CALL_BAPI.
            REFRESH : IT_HEADER, IT_ORIT, IT_ORPT, IT_ITINX,
                      IT_COND, IT_CONDX.
            CLEAR : IT_HEADER, IT_ORIT, IT_ORPT, IT_ITINX,
                    L_VKORG, L_VTWEG, L_SPART, L_FLAG, L_ITEM,
                    IT_COND, IT_CONDX,L_FLAG.
          ENDIF.
        ENDIF.
      ENDLOOP.
    *&      Form  SUB_CALL_BAPI
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_CALL_BAPI .
      DATA: L_ERR(1),
            L_VBELN LIKE ZSD_RBT_ELG_INV-VBELN,
            L_FLAG1(1),
            L_ERR1(1),
            L_FLAG2(1),
            L_ERR2(1),
            L_VAL1 LIKE ZSD_RBT_ELG_INV-NETWR.
      DATA: ARKTX(15) TYPE C VALUE 'VBRP-ARKTX(&1)'.
      DATA: C(2) VALUE '&1'.
      DATA: COUNTER(2) TYPE N.
    SET UPDATE TASK LOCAL.
      REFRESH: IT_RET.
      CLEAR: L_ERR, L_VBELN, L_VAL1, L_FLAG1.
      CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
        EXPORTING
      SALESDOCUMENT                 =
         SALES_HEADER_IN               = IT_HEADER
         SALES_HEADER_INX              = IT_HEADX
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       = ' '
      INT_NUMBER_ASSIGNMENT         = ' '
      BEHAVE_WHEN_ERROR             = ' '
      LOGIC_SWITCH                  = ' '
      BUSINESS_OBJECT               = ' '
      TESTRUN                       =
      CONVERT_PARVW_AUART           = ' '
      STATUS_BUFFER_REFRESH         = 'X'
       IMPORTING
         SALESDOCUMENT_EX              = L_VBELN
      SALES_HEADER_OUT              =
      SALES_HEADER_STATUS           =
       TABLES
         RETURN                        = IT_RET
         SALES_ITEMS_IN                = IT_ORIT
         SALES_ITEMS_INX               = IT_ITINX
         SALES_PARTNERS                = IT_ORPT
      SALES_SCHEDULES_IN            =
      SALES_SCHEDULES_INX           =
         SALES_CONDITIONS_IN           = IT_COND
         SALES_CONDITIONS_INX          = IT_CONDX
      SALES_CFGS_REF                =
      SALES_CFGS_INST               =
      SALES_CFGS_PART_OF            =
      SALES_CFGS_VALUE              =
      SALES_CFGS_BLOB               =
      SALES_CFGS_VK                 =
      SALES_CFGS_REFINST            =
      SALES_CCARD                   =
      SALES_TEXT                    =
      SALES_KEYS                    =
      SALES_CONTRACT_IN             =
      SALES_CONTRACT_INX            =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
      SALES_SCHED_CONF_IN           =
      ITEMS_EX                      =
      SCHEDULE_EX                   =
      BUSINESS_EX                   =
      INCOMPLETE_LOG                =
      EXTENSIONEX                   =
      CONDITIONS_EX                 =
      PARTNERS_EX                   =
      TEXTHEADERS_EX                =
      TEXTLINES_EX                  =
      BATCH_CHARC                   =
      CLEAR L_ERR.
      LOOP AT IT_RET.
        IF IT_RET-TYPE EQ 'E'.
          LEAVE TO LIST-PROCESSING.
          WRITE:/ 'BAPI ERROR', IT_RET-MESSAGE.
          L_ERR = 'X'.
        ELSEIF IT_RET-TYPE = 'S'
               AND IT_RET-ID = 'V1'.
          LEAVE TO LIST-PROCESSING.
          WRITE:/ IT_RET-MESSAGE.
        ENDIF.
      ENDLOOP.
      IF L_ERR IS INITIAL.
        CLEAR L_ERR.
        COMMIT WORK.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          =
    IMPORTING
       RETURN        =

  • RE: Using CORBA as Middleware with Forte'

    This is one solution when the two sides want to be somewhat independent of
    each other.. To use Forte messaging the environments have to be connected,
    identical Forte versions, probably identical versions of all objects
    involved (rather than just correct IDL), etc. I've toyed with this as well
    for a client with two major Forte application development efforts occurring
    in completely different business units.
    -Greg
    -----Original Message-----
    From: Sean Brown [SMTP:[email protected]]
    Sent: Thursday, October 22, 1998 1:56 PM
    To: Giuseppe Sorce; Lenny Hon
    Cc: [email protected]
    Subject: Re: Using CORBA as Middleware with Forte'
    If you don't mind me asking, why would you ever want to do this? If
    you are
    talking between two Forte services, why would you not want to use
    the native
    protocol which is bound to be more efficient since it was written
    specifically for that purpose? The only reason I can think of is if
    you
    need two Forte services to talk to each other through a firewall and
    the
    firewall is configured to only allow certain protocols through, such
    as
    IIOP. Is this what you are trying to do? If not, what is your
    reasoning?
    Thanks,
    Sean Brown
    Cornice Consulting Inc.
    mailto:[email protected]
    -----Original Message-----
    From: Giuseppe Sorce <[email protected]>
    To: Lenny Hon <[email protected]>
    Cc: [email protected] <[email protected]>
    Date: Thursday, October 22, 1998 10:05 AM
    Subject: RE: Using CORBA as Middleware with Forte'
    >
    >Lenny, I'm sorry but I think that my problem is more complicated.
    >No java clients or java servers are involved: I want to use CORBA
    as
    >middleware between 2 different Forte' partitions (running on
    different
    >forte' environments).
    >For example imagine you have 2 different Forte' applications (say
    >application A and application B) in 2 different forte'
    environments.
    >Now imagine to define an IIOP-enabled service object (Inbound) in
    >application A and, starting from the generated IDL (using corbagen
    utility)
    >to create a IIOP-enabled service object (Outbound) in application
    B.
    >Application B will be the Corba Client and application A will be
    the Corba
    >Server.
    >They don't use Forte' middleware for communication (they are in
    different
    >Forte' envs).
    >
    >Giuseppe Sorce
    >
    >
    >
    >
    >
    >Lenny Hon <[email protected]> on 22/10/98 15.35.40
    >
    >Please respond to Lenny Hon <[email protected]>
    >
    >To: Giuseppe Sorce/CSI/IT, "'[email protected]'"
    > <[email protected]>
    >cc:
    >Subject: RE: Using CORBA as Middleware with Forte'
    >
    >
    >
    >
    >I have successfully used Forte IIOP-enabled service object to
    communicate
    >with my client Java program that uses VisiBroker 3.2 for Java ORB.
    For the
    >information, you can read the Forte Web Enterprise manual and the
    following
    >tech notes: 10950, 10951, 11145, 11152. I found them from Web
    manual.
    >
    >Lenny Hon
    >
    >-----Original Message-----
    >From: Giuseppe Sorce [mailto:[email protected]]
    >Sent: Thursday, October 22, 1998 5:58 AM
    >To: [email protected]
    >Subject: Using CORBA as Middleware with Forte'
    >
    >
    >
    >I would like to find a way to use CORBA middleware as an
    alternative for
    >communications between Forte' partitions (I'm using Forte' rel.
    3.0.G plus
    >Visibroker 3.1 ORB).
    >
    >I found a technical note (ID 10520) but it is quite old and it is
    related
    > to Forte' release 2.0.E.2 (!).
    >
    >Any experience with Forte' release 3 and Visibroker would be
    greatly
    > appreciated.
    >
    >
    >
    >TIA
    >
    >Giuseppe Sorce
    >
    >CSI Piemonte - C.so Unione Sovietica 216 - 10134 Torino - ITALY
    >
    >tel. +39-011-3168736
    >
    >fax +39-011-3168212
    >
    >e-mail [email protected]
    >
    >url http://www.csi.it
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >
    >
    >
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    This is one solution when the two sides want to be somewhat independent of
    each other.. To use Forte messaging the environments have to be connected,
    identical Forte versions, probably identical versions of all objects
    involved (rather than just correct IDL), etc. I've toyed with this as well
    for a client with two major Forte application development efforts occurring
    in completely different business units.
    -Greg
    -----Original Message-----
    From: Sean Brown [SMTP:[email protected]]
    Sent: Thursday, October 22, 1998 1:56 PM
    To: Giuseppe Sorce; Lenny Hon
    Cc: [email protected]
    Subject: Re: Using CORBA as Middleware with Forte'
    If you don't mind me asking, why would you ever want to do this? If
    you are
    talking between two Forte services, why would you not want to use
    the native
    protocol which is bound to be more efficient since it was written
    specifically for that purpose? The only reason I can think of is if
    you
    need two Forte services to talk to each other through a firewall and
    the
    firewall is configured to only allow certain protocols through, such
    as
    IIOP. Is this what you are trying to do? If not, what is your
    reasoning?
    Thanks,
    Sean Brown
    Cornice Consulting Inc.
    mailto:[email protected]
    -----Original Message-----
    From: Giuseppe Sorce <[email protected]>
    To: Lenny Hon <[email protected]>
    Cc: [email protected] <[email protected]>
    Date: Thursday, October 22, 1998 10:05 AM
    Subject: RE: Using CORBA as Middleware with Forte'
    >
    >Lenny, I'm sorry but I think that my problem is more complicated.
    >No java clients or java servers are involved: I want to use CORBA
    as
    >middleware between 2 different Forte' partitions (running on
    different
    >forte' environments).
    >For example imagine you have 2 different Forte' applications (say
    >application A and application B) in 2 different forte'
    environments.
    >Now imagine to define an IIOP-enabled service object (Inbound) in
    >application A and, starting from the generated IDL (using corbagen
    utility)
    >to create a IIOP-enabled service object (Outbound) in application
    B.
    >Application B will be the Corba Client and application A will be
    the Corba
    >Server.
    >They don't use Forte' middleware for communication (they are in
    different
    >Forte' envs).
    >
    >Giuseppe Sorce
    >
    >
    >
    >
    >
    >Lenny Hon <[email protected]> on 22/10/98 15.35.40
    >
    >Please respond to Lenny Hon <[email protected]>
    >
    >To: Giuseppe Sorce/CSI/IT, "'[email protected]'"
    > <[email protected]>
    >cc:
    >Subject: RE: Using CORBA as Middleware with Forte'
    >
    >
    >
    >
    >I have successfully used Forte IIOP-enabled service object to
    communicate
    >with my client Java program that uses VisiBroker 3.2 for Java ORB.
    For the
    >information, you can read the Forte Web Enterprise manual and the
    following
    >tech notes: 10950, 10951, 11145, 11152. I found them from Web
    manual.
    >
    >Lenny Hon
    >
    >-----Original Message-----
    >From: Giuseppe Sorce [mailto:[email protected]]
    >Sent: Thursday, October 22, 1998 5:58 AM
    >To: [email protected]
    >Subject: Using CORBA as Middleware with Forte'
    >
    >
    >
    >I would like to find a way to use CORBA middleware as an
    alternative for
    >communications between Forte' partitions (I'm using Forte' rel.
    3.0.G plus
    >Visibroker 3.1 ORB).
    >
    >I found a technical note (ID 10520) but it is quite old and it is
    related
    > to Forte' release 2.0.E.2 (!).
    >
    >Any experience with Forte' release 3 and Visibroker would be
    greatly
    > appreciated.
    >
    >
    >
    >TIA
    >
    >Giuseppe Sorce
    >
    >CSI Piemonte - C.so Unione Sovietica 216 - 10134 Torino - ITALY
    >
    >tel. +39-011-3168736
    >
    >fax +39-011-3168212
    >
    >e-mail [email protected]
    >
    >url http://www.csi.it
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >
    >
    >
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • RE: Named anchored objects

    Albert,
    In my case I was using a named anchored object to get a handle to an actual
    service object. My named object that I registered in the name service was
    an intermediary to which I did not maintain a connection. So I have not
    explicitly tested what you are asking.
    However, I too was not using a hard coded reference to the SO, and fail over
    and load balancing worked fine. The functions of fail over and load
    balancing are not done by the service object but by the name service, proxy
    and router. Since you are getting a proxy back any time you do a lookup in
    the name service I would think that fail over should work with any anchored
    object that is registered in the name service. When you do a RegisterObject
    call you will notice that one of the arguments is the session duration,
    which implies to me that fail over will be handled the same as for service
    objects.
    Load balancing adds another wrinkle. Load balancing is handled by a router.
    You must get a proxy to the router and not a proxy to an instance of the
    object that the router is doing the load balancing for. In the latter
    scenario you will be bypassing the router. If you are creating, anchoring
    and registering your objects dynamically you will not have a router so you
    will not be able to load balance! This applies even if the objects are
    instantiated within partitions that are load balanced because you will still
    be getting proxies back to a particular instance of the anchored objects.
    There are ways to accomplish load balancing between objects that you
    register yourself. However, the best solution will vary depending on the
    actual problem trying to be solved. If you would like to discuss this
    further, include a little more detail about the scenario you need to
    implement and I will give you what I know.
    BTY what I have outlined above also applies to getting references via a
    system agent.
    Sean
    Cornice Consulting, Inc.
    -----Original Message-----
    From: [email protected]
    [<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Albert Dijk
    Sent: Friday, July 03, 1998 11:01 AM
    To: [email protected]
    Subject:
    Alex, David, Jez, Sean,...
    My question about both solutions (using Nameservice and agents) is:
    If I reach a remote service object using either a BindObject or an agent, do
    fail-over and load-balancing work the same way as they normally do when
    using a hard coded reference to the SO.
    Albert Dijk
    From: Sean Brown[SMTP:[email protected]]
    Reply To: [email protected]
    Sent: Thursday, June 25, 1998 6:55 AM
    To: Ananiev, Alex; [email protected]
    Subject: RE: multiple named objects with the same name and
    interface
    Alexander,
    I can not comment on the speed difference because I never tested it.
    But, I
    will say that we looked at the agent solution at a client sight
    before. I
    will give the same warning I gave them. If you go the agent direction
    you
    are now using agents for a purpose that they were not intended. Even
    though
    it technically works, as soon as you start using a piece of
    functionality in
    a way the developer did not intend it to be used you run the risk of
    forward
    compatibility problems. By this I mean, since agents were not
    originally
    intended to be used to look up service / anchored object references,
    it may
    not work in the future because it is not likely to be given
    consideration in
    any future design.
    As we all know, programmers are always stretching the bounds of the
    tools
    they use and you may have a good reason (i.e. performance). I just
    wanted to
    let you know the possible risk.
    One final note on a limitation of using system agents to obtain
    references
    to anchored objects. You can not access agents across environments.
    So, if
    you have connected environments and need to get references to services
    in
    another environment for fail-over or whatever, you will not be able to
    do it
    with agents.
    Just some thoughts!
    Sean
    -----Original Message-----
    From: [email protected]
    [<a href="mailto:[email protected]]On">mailto:[email protected]]On</a> Behalf Of Ananiev, Alex
    Sent: Wednesday, June 24, 1998 12:14 PM
    To: '[email protected]'
    Subject: RE: multiple named objects with the same name and interface
    David,
    The problem with dynamic binding is that in this case you have to keep
    the reference to the service object somewhere. You don't want to call
    "bindObject" every time you need to use this service object, "bind" is
    a
    time-consuming operation, even on the same partition. Keeping
    reference
    could be undesirable if your object could be moved across partitions
    (e.g. business object).
    The alternative solution is to use agents. You can create custom
    agent,
    make it a subagent of an active partition agent and use it as a
    placeholder for whatever service you need. "FindSubAgent" works much
    faster than "bindObject", we verified that and agent is "user-visible"
    by its nature.
    Alexander
    From: "Sean Brown" <[email protected]>
    Date: Wed, 24 Jun 1998 09:12:55 -0500
    Subject: RE: multiple named objects with the same name and interface
    David,
    I actually determined it through testing. In my case I did not want
    this to
    happen and was trying to determine why it was happing. It makes sense
    if
    you think about it. Forte is trying to avoid making a remote method
    invocation if it can.
    Now, for anything more complex than looking locally first and if none
    is
    found give me any remote instance you can find, you will need to do
    more
    work. Using a naming scheme like Jez suggests below works well.
    Sean
    - -----Original Message-----
    From: Jez Sygrove [<a href="mailto:[email protected]">mailto:[email protected]</a>]
    Sent: Wednesday, June 24, 1998 4:34 AM
    To: [email protected]; 'David Foote'
    Cc: [email protected]
    Subject: RE: multiple named objects with the same name and interface
    David,
    there's a mechanism used within SCAFFOLDS that allows the
    location of the 'nearest' SO when more than one is available.
    It involves registering each duplicated SO under three dynamically
    built
    names. The names include the partition, the node or the environment
    name.
    When wishing to locate the nearest SO the BO builds a SO name using
    its
    own partition and asks the name service for that.
    If there is an SO registered under that name then it must be in the
    same
    partition and all is well. No cross partition calls.
    If not, then the BO builds the name using its node and asks the name
    service for that.
    This means that if there is an SO outside the BO partition but still
    on
    the same node then this can be used. Again, relatively 'local'.
    If neither of these work then the BO has to resort to an environment
    wide search.
    It may be that this approach could be adapted / adopted; I like it's
    ingenuity.
    Cheers,
    Jez
    From: David Foote[SMTP:[email protected]]
    Reply To: David Foote
    Sent: 24 June 1998 03:17
    To: [email protected]
    Cc: [email protected]
    Subject: RE: multiple named objects with the same name and
    interface
    Sean,
    First, thank you for your response. I have wondered about this fora
    long time.
    I looked at the documentation for ObjectLocationManager and on page
    327
    of the Framework Library and AppletSupport Library Guide indescribing
    the BindObject method Forte says:
    "The name service allows more than one anchored object (from
    different
    partitions) to be registered in the name service under the same
    registration name. When you invoke the BindObject method with a
    request
    for a name that has duplicate registration entries, the BindObject
    method finds an entry corresponding to an active partition, skipping
    any
    entries that do not. If no such active partition is found, or if the
    requested name is not found in the name service registry, a
    RemoteAccessException will be raised when the BindObject method is
    invoked."
    My question is: How did you discover that in the case of duplicate
    registrations the naming service will return the local object if one
    exists? This is not apparent from the documentation I have quoted.
    Is
    it documented elsewhere? Or did you determine it empirically?
    David N. Foote,
    Consultant
    ----Original Message Follows----
    David,
    First I will start by saying that this can be done by using named
    anchored
    objects and registering them yourself in the name service. There is
    documentation on how to do this. And by default you will get mostof
    the
    behavior you desire. When you do a lookup in the name service
    (BindObject
    method) it will first look in the local partition and see if thereis
    a
    local copy and give you that copy. By anchoring the object and
    manually
    registering it in the name service you are programmatically creating
    your
    own SO without defining it as such in the development environment.
    BTW
    in
    response to your item number 1. This should be the case there as
    well.
    If
    your "mobile" object is in the same partition where the serviceobject
    he is
    calling resides, you should get a handle to the local instance ofthe
    service object.
    Here is the catch, if you make a bind object call and there is no
    local
    copy
    you will get a handle to a remote copy but you can not be sure which
    one!
    It end ups as more or less a random selection. Off the top of myhead
    and
    without going to the doc, I am pretty sure that when you register an
    anchored object you can not limit it's visibility to "User".
    Sean
    -----Original Message-----
    From: [email protected]
    [<a href=
    "mailto:[email protected]]On">mailto:[email protected]]On</a> Behalf Of David Foote
    Sent: Monday, June 22, 1998 4:51 PM
    To: [email protected]
    Subject: multiple named objects with the same name and interface
    All,
    More than once, I have wished that Forte allowed you to place named
    objects with the same name in more than one partition. There aretwo
    situations in which this seems desirable:
    1) Objects that are not distributed, but are mobile (passed by value
    to
    remote objects), cannot safely reference a Service Object unless it
    has
    environment visibility, but this forces the overhead of a remote
    method
    call when it might not otherwise be necessary. If it were possibleto
    place a copy of the same Service Object (with user visibility) ineach
    partition, the overhead of a remote method call could be avoided.
    This
    would only be useful for a service object whose state could besafely
    replicated.
    2) My second scenario also involves mobile objects referencing a
    Service
    Object, but this time I would like the behavior of the calledService
    Object to differ with the partition from which it is called.
    This could be accomplished by placing Service Objects with the same
    name
    and the same interface in each partition, but varying the
    implementation
    with the partition.
    Does anyone have any thoughts about why this would be a good thingor
    a
    bad thing?
    David N. Foote
    Consultant
    Alexander Ananiev
    Claremont Technology Group
    916-558-4127
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:<a href="http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    >
    >
    >
    Alexander Ananiev
    Claremont Technology Group
    916-558-4127
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

    Albert,
    In my case I was using a named anchored object to get a handle to an actual
    service object. My named object that I registered in the name service was
    an intermediary to which I did not maintain a connection. So I have not
    explicitly tested what you are asking.
    However, I too was not using a hard coded reference to the SO, and fail over
    and load balancing worked fine. The functions of fail over and load
    balancing are not done by the service object but by the name service, proxy
    and router. Since you are getting a proxy back any time you do a lookup in
    the name service I would think that fail over should work with any anchored
    object that is registered in the name service. When you do a RegisterObject
    call you will notice that one of the arguments is the session duration,
    which implies to me that fail over will be handled the same as for service
    objects.
    Load balancing adds another wrinkle. Load balancing is handled by a router.
    You must get a proxy to the router and not a proxy to an instance of the
    object that the router is doing the load balancing for. In the latter
    scenario you will be bypassing the router. If you are creating, anchoring
    and registering your objects dynamically you will not have a router so you
    will not be able to load balance! This applies even if the objects are
    instantiated within partitions that are load balanced because you will still
    be getting proxies back to a particular instance of the anchored objects.
    There are ways to accomplish load balancing between objects that you
    register yourself. However, the best solution will vary depending on the
    actual problem trying to be solved. If you would like to discuss this
    further, include a little more detail about the scenario you need to
    implement and I will give you what I know.
    BTY what I have outlined above also applies to getting references via a
    system agent.
    Sean
    Cornice Consulting, Inc.
    -----Original Message-----
    From: [email protected]
    [<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Albert Dijk
    Sent: Friday, July 03, 1998 11:01 AM
    To: [email protected]
    Subject:
    Alex, David, Jez, Sean,...
    My question about both solutions (using Nameservice and agents) is:
    If I reach a remote service object using either a BindObject or an agent, do
    fail-over and load-balancing work the same way as they normally do when
    using a hard coded reference to the SO.
    Albert Dijk
    From: Sean Brown[SMTP:[email protected]]
    Reply To: [email protected]
    Sent: Thursday, June 25, 1998 6:55 AM
    To: Ananiev, Alex; [email protected]
    Subject: RE: multiple named objects with the same name and
    interface
    Alexander,
    I can not comment on the speed difference because I never tested it.
    But, I
    will say that we looked at the agent solution at a client sight
    before. I
    will give the same warning I gave them. If you go the agent direction
    you
    are now using agents for a purpose that they were not intended. Even
    though
    it technically works, as soon as you start using a piece of
    functionality in
    a way the developer did not intend it to be used you run the risk of
    forward
    compatibility problems. By this I mean, since agents were not
    originally
    intended to be used to look up service / anchored object references,
    it may
    not work in the future because it is not likely to be given
    consideration in
    any future design.
    As we all know, programmers are always stretching the bounds of the
    tools
    they use and you may have a good reason (i.e. performance). I just
    wanted to
    let you know the possible risk.
    One final note on a limitation of using system agents to obtain
    references
    to anchored objects. You can not access agents across environments.
    So, if
    you have connected environments and need to get references to services
    in
    another environment for fail-over or whatever, you will not be able to
    do it
    with agents.
    Just some thoughts!
    Sean
    -----Original Message-----
    From: [email protected]
    [<a href="mailto:[email protected]]On">mailto:[email protected]]On</a> Behalf Of Ananiev, Alex
    Sent: Wednesday, June 24, 1998 12:14 PM
    To: '[email protected]'
    Subject: RE: multiple named objects with the same name and interface
    David,
    The problem with dynamic binding is that in this case you have to keep
    the reference to the service object somewhere. You don't want to call
    "bindObject" every time you need to use this service object, "bind" is
    a
    time-consuming operation, even on the same partition. Keeping
    reference
    could be undesirable if your object could be moved across partitions
    (e.g. business object).
    The alternative solution is to use agents. You can create custom
    agent,
    make it a subagent of an active partition agent and use it as a
    placeholder for whatever service you need. "FindSubAgent" works much
    faster than "bindObject", we verified that and agent is "user-visible"
    by its nature.
    Alexander
    From: "Sean Brown" <[email protected]>
    Date: Wed, 24 Jun 1998 09:12:55 -0500
    Subject: RE: multiple named objects with the same name and interface
    David,
    I actually determined it through testing. In my case I did not want
    this to
    happen and was trying to determine why it was happing. It makes sense
    if
    you think about it. Forte is trying to avoid making a remote method
    invocation if it can.
    Now, for anything more complex than looking locally first and if none
    is
    found give me any remote instance you can find, you will need to do
    more
    work. Using a naming scheme like Jez suggests below works well.
    Sean
    - -----Original Message-----
    From: Jez Sygrove [<a href="mailto:[email protected]">mailto:[email protected]</a>]
    Sent: Wednesday, June 24, 1998 4:34 AM
    To: [email protected]; 'David Foote'
    Cc: [email protected]
    Subject: RE: multiple named objects with the same name and interface
    David,
    there's a mechanism used within SCAFFOLDS that allows the
    location of the 'nearest' SO when more than one is available.
    It involves registering each duplicated SO under three dynamically
    built
    names. The names include the partition, the node or the environment
    name.
    When wishing to locate the nearest SO the BO builds a SO name using
    its
    own partition and asks the name service for that.
    If there is an SO registered under that name then it must be in the
    same
    partition and all is well. No cross partition calls.
    If not, then the BO builds the name using its node and asks the name
    service for that.
    This means that if there is an SO outside the BO partition but still
    on
    the same node then this can be used. Again, relatively 'local'.
    If neither of these work then the BO has to resort to an environment
    wide search.
    It may be that this approach could be adapted / adopted; I like it's
    ingenuity.
    Cheers,
    Jez
    From: David Foote[SMTP:[email protected]]
    Reply To: David Foote
    Sent: 24 June 1998 03:17
    To: [email protected]
    Cc: [email protected]
    Subject: RE: multiple named objects with the same name and
    interface
    Sean,
    First, thank you for your response. I have wondered about this fora
    long time.
    I looked at the documentation for ObjectLocationManager and on page
    327
    of the Framework Library and AppletSupport Library Guide indescribing
    the BindObject method Forte says:
    "The name service allows more than one anchored object (from
    different
    partitions) to be registered in the name service under the same
    registration name. When you invoke the BindObject method with a
    request
    for a name that has duplicate registration entries, the BindObject
    method finds an entry corresponding to an active partition, skipping
    any
    entries that do not. If no such active partition is found, or if the
    requested name is not found in the name service registry, a
    RemoteAccessException will be raised when the BindObject method is
    invoked."
    My question is: How did you discover that in the case of duplicate
    registrations the naming service will return the local object if one
    exists? This is not apparent from the documentation I have quoted.
    Is
    it documented elsewhere? Or did you determine it empirically?
    David N. Foote,
    Consultant
    ----Original Message Follows----
    David,
    First I will start by saying that this can be done by using named
    anchored
    objects and registering them yourself in the name service. There is
    documentation on how to do this. And by default you will get mostof
    the
    behavior you desire. When you do a lookup in the name service
    (BindObject
    method) it will first look in the local partition and see if thereis
    a
    local copy and give you that copy. By anchoring the object and
    manually
    registering it in the name service you are programmatically creating
    your
    own SO without defining it as such in the development environment.
    BTW
    in
    response to your item number 1. This should be the case there as
    well.
    If
    your "mobile" object is in the same partition where the serviceobject
    he is
    calling resides, you should get a handle to the local instance ofthe
    service object.
    Here is the catch, if you make a bind object call and there is no
    local
    copy
    you will get a handle to a remote copy but you can not be sure which
    one!
    It end ups as more or less a random selection. Off the top of myhead
    and
    without going to the doc, I am pretty sure that when you register an
    anchored object you can not limit it's visibility to "User".
    Sean
    -----Original Message-----
    From: [email protected]
    [<a href=
    "mailto:[email protected]]On">mailto:[email protected]]On</a> Behalf Of David Foote
    Sent: Monday, June 22, 1998 4:51 PM
    To: [email protected]
    Subject: multiple named objects with the same name and interface
    All,
    More than once, I have wished that Forte allowed you to place named
    objects with the same name in more than one partition. There aretwo
    situations in which this seems desirable:
    1) Objects that are not distributed, but are mobile (passed by value
    to
    remote objects), cannot safely reference a Service Object unless it
    has
    environment visibility, but this forces the overhead of a remote
    method
    call when it might not otherwise be necessary. If it were possibleto
    place a copy of the same Service Object (with user visibility) ineach
    partition, the overhead of a remote method call could be avoided.
    This
    would only be useful for a service object whose state could besafely
    replicated.
    2) My second scenario also involves mobile objects referencing a
    Service
    Object, but this time I would like the behavior of the calledService
    Object to differ with the partition from which it is called.
    This could be accomplished by placing Service Objects with the same
    name
    and the same interface in each partition, but varying the
    implementation
    with the partition.
    Does anyone have any thoughts about why this would be a good thingor
    a
    bad thing?
    David N. Foote
    Consultant
    Alexander Ananiev
    Claremont Technology Group
    916-558-4127
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:<a href="http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    >
    >
    >
    Alexander Ananiev
    Claremont Technology Group
    916-558-4127
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

Maybe you are looking for