Who can explain this? No Solution required!

I had like to see the explanation for the following. Personallyl, I am hoping that the Line Managment 'DLM' will realize that my line is capable of more than 77.43 and raise it to 79+. I hate it when people tell me the maximum you can get on your line is the 96% of the syncing speed e.t.c. If you have any insight on this, I would really appreciate that.
Thank you.
If you can't look at the picture below in full resolution then please click here: http://i4.minus.com/i6GJAeU2YW5oP.png
Here is a real life download speed test whilst using Netherland's proxy servers from London. As you can see that not only the file is being download but Onlive is starting up at the same time. 9.947 MB/sec is equal to 79.576MB download speed. 
If you can't look at the picture below in full resolution then please click here: 
http://i4.minus.com/iYq6xXcQLF6F0.png

john46 wrote:
"I had like to see the explanation for the following. Personallyl, I am hoping that the Line Managment 'DLM' will realize that my line is capable of more than 77.43 and raise it to 79+. I hate it when people tell me the maximum you can get on your line is the 96% of the syncing speed e.t.c. If you have any insight on this, I would really appreciate that."
You will never achieve a greater speed than the 77.43 mb IP profile as that is the maximum speed whether you like the answer or not you will never get more than 96% of the sync speed 
so, does that mean it does not have any effect on what my actual download speed is?
I just did another speed test and the result was 78.7?
Your wording doesn't explain how I can download at a faster speed then what I am limited too.

Similar Messages

  • Question on me51n: who can explain this phenomenon?

    Hi all,
    I am creating a Purchase Requisition via me51n.
    When I fill a 'K' or 'P' in the "acct assignment cat."(A) column in the Header Block. it will automatically bring me to the "Account Assignment" in the Item block, and give the "G/L account no" a default value 400000.
    I dont know why it give me the default value? can someone explain this to me, and where can I set up the configuration for the default value. I tried this in some other system, no such issues.
    Any response will be awarded.
    Thanks and regards,
    Samson

    hi,
    this is because an account modification key is maintained in your account assignemnet.
    please check the same in(OME9)
    say for example if VBR is maintained there check the sane in OBYC where correspondent to that account modification key same GL is maintained which it appears in your PR/PO
    VBR will be there in GBB Transaction key in OBYC
    Edited by: manipal on Dec 28, 2007 9:49 AM

  • Who can explain inner class to me?

    //InheritInner.java
    //Inheriting an inner class
    class WithInner
         class Inner{
              Inner()
              {System.out.println("Inner class");
         WithInner()
         {System.out.println("WithInner");}
    public class InheritInner extends WithInner.Inner
         //!InheritInner(){}//Won't compile
         InheritInner(WithInner wi)
              wi.super();
         public static void main(String[] args)
              WithInner wi=new WithInner();
              InheritInner ii=new InheritInner(wi);
    Who can explain this subclass constructor to me?
    I appreciate your help!

    Here's the class that in 'Thinking in Java'. For some reason, yours is completely different.
    //: InheritInner.java
    // Inheriting an inner class
    class WithInner {
      class Inner {}
    public class InheritInner
        extends WithInner.Inner {
      //! InheritInner() {} // Won't compile
      InheritInner(WithInner wi) {
        wi.super();
      public static void main(String[] args) {
        WithInner wi = new WithInner();
        InheritInner ii = new InheritInner(wi);

  • Who can explain the message server string in the OSS connection ?

    Who can explain the message server string in the OSS connection ?  
    For example:
    MSG SERVER FIELD IS:
    /H/128.168.0.28/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001
    What is the mean to each field in the string?
    What does the first "/H" mean?
    What does the second "/H" mean?
    What does the third "/H" mean?
    What does the first "/S" mean?
    What does the second "/S" mean?
    What does "/oss001" mean?
    Thanks .

    Hi,
    when you define  techinacal settings in tcode OSS1
    Transaction OSS1 -> Parameter -> Technical Settings -> Change -> Save. The SAPOSS destination is only automatically updated when you save.
    /H indicate server
    /S indicate Service
    check following SAP note
    Note 33135 - Guidelines for OSS1
    regards,
    kaushal

  • I am new to oracle, plz..anybody can explain this query step by step....plz

    Select distinct(a.esal) from employee1 a where &N = (select count(distinct(b.esal)) from employee1 b where a.esal<=b.esal);
    this is the query to find Nth largest & Nth smallest value from the table employee1....but, i am unable to understand how this query works ....plz..anybody can explain this query step by step with example....plz

    Hi,
    Welcome to the forum!
    The first step in understanding any code is to format it so you can easily see what is a sub-query, what the major clauses of each sub-query are, and things like that.
    For example:
    Select distinct (a.esal)
    from   employee1      a
    where  &N     = (       select  count (distinct (b.esal))
                             from      employee1      b
                    where      a.esal           <= b.esal
                );The only thing I have added to the code you posted was whitespace: newlines, tabs and spaces.
    Now it's easy to see that you're doing a query with a scalar sub-query in the WHERE clause.
    It usually makes sense to read complicated queries from the inside out, that is, start with the deepest nested sub-query.
    In this example, that means:
    select  count (distinct (b.esal))
    from     employee1      b
    where     a.esal           <= b.esalWhat does this query do? Unfortunately, it references something (b.esal) from the super-query, so you can't run it by itself, to see what it does. Let's replace that reference with some hard-coded value, just for now, and run it:
    select  count (distinct (b.esal))
    from     employee1      b
    --where     a.esal           <= b.esal     -- This is the original WHERE clause
    where   a.esal           <= 1000     -- For testing only
    ;Experiment with this for a while, and compare it to the values in the employee1 table (or a small test table that resembles employee1). Try different numbers in place of 1000.
    You'll see that the query is counting how many different salaries are lower than, or equal to, a given salary (1000 in the example above).
    When you understand the sub-query, look at the original query again.
    It is testing to see if exactly &N different esals are lower than or equal to the esal on each row, and displaying that esal if it is. (&N is a substitution variable. If you haven't already defined a value for it, SQL*Plus will ask you for a value when you run the query.)
    In other words, it is finding the N-th lowest value of esal.

  • Zombie email message won't die! $1 bounty to anyone who can solve this.

    I have a message that absolutely will not die. I've tried everything I can think of to delete it, but it keeps coming back. I've tried moving it from one mailbox to another, killing it with the delete key, killing it by cutting it (Command-X), but it lingers on. At this point, it only shows up in the index with a subject and date, but the content of the message is gone. I've tried rebuilding the mailboxes a number of times, but it always reappears. I've tried logging into my various accounts through the web interface, but it doesn't exist on the servers anywhere, it's only local as far as I can see.
    In my last attempt to get rid of it, I scanned my ENTIRE HARD DRIVE for the string of text containing the subject line using grep, and narrowed it down to a few files in the ~/Library/Mail folder, which I deleted through the Terminal using rm. I then re-opened Mail and rebuilt the mailboxes, and the email STILL appears. It will no longer let me move the message to another mailbox, however, but I can't get the damned thing to disappear.
    I will PayPal $1 to anyone who can come up with a solution that doesn't involve recreating my Mail accounts. May the game begin!

    Hello,
    Are you using an IMAP or POP account?
    Anything you do in the Terminal, Finder or some third party Mail app enhancers will very often mess up the index, which appears to be a symptom of.
    I think you should force a reindexing by deleting the Envelope Index. With IMAP or Exchange account, forcing reindexing requires removing the account folder. See:
    http://docs.info.apple.com/article.html?path=Mail/4.0/en/14019.html
    Ask any questions needed to get comfortable with doing this.
    Ernie

  • $100 Reward for anyone who can fix this issue

    I will give $100 to the first person who can fix the false empty cartridge issue described here:
    http://h30434.www3.hp.com/t5/Other-printing-questions/Ink-cartridge-empty-but-it-s-not/m-p/176836
    The fix must eliminate the false error message that a cartridge is empty and enable the printer to resume printing. 
    As you can see in the link, people have struggled with this problem for years and no consistent fix has been discovered.  I am hoping that a smart person out there can find the cause of this problem and a solution for it. 
    I suspect that a file or registry entry must be set that indicates a false empty cartridge.  This false entry is retained even when a new cartridge is installed, or the printer software is removed and reinstalled.
    Even though many people have worked on this issue over the years, there still may be a creative solution out there.  Let's hear it and if it works you get the money.

    Hi,
    Reward not required nor needed...
    But... I didn't see a post in your link about using a newly created utility by hp.  I don't know if there is a fix in the utility although it has fixed some other printer issues... something that could be tried.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-82717-1&lc=en&dlc=en&cc=us&...=
    Say Thanks by clicking the Kudos Star in the post that helped you. Please mark the post that solves your problem as Accepted Solution.
    I am employed by HP

  • My $20 to the person who can write this simple script for Fission

    Here is what I need to automate. I don't care if it's an Apple Script, or an Automator work flow - whatever - just so it will work with my present setup. Once I test it and it works, I'll send $20 to the first person who can help me.
    Script needs to apply to each (and every) MP3 file in a selected folder:
    Open the first file with Fission v1.6.6 (from: www.rogueamoeba.com)
    Select all
    Normalize
    Save audio (in same folder)
    A warning dialog pops up: "File already exists..." -- answer with "Replace"
    Close file
    Repeat for next file in the folder, until every file has been Normalized
    End script when the last file in folder has been Normalized
    I don't mind finding the folder (which will be in my iTunes Library), and then starting the set of actions on the folder but I definitely don't want to be required to take any additional action on each and every file.
    I'm presently running Fission v1.6.6 under MacOS 10.4.11 on a PPC desktop, so it needs to work in that environment.
    Note that the latest version of Fission requires MacOS 10.5 - I can't use any script that requires that version. Rogue Amoeba's Legacy software page (http://www.rogueamoeba.com/legacy/) shows Fission v1.6.8 as working with 10.4, but that contradicts the Version History for Fission which shows 1.6.6 as the last one for 10.4 - still investigating.

    Pierre L.
    Thanks for the effort!
    First, I can clarify this: Rogue Amoeba confirms that I can use the version 1.6.8 of Fission located on their Legacy page with my OS version 10.4.11, so I've upgraded from 1.6.6 to 1.6.8. Seems to be working OK.
    Next, let me apologize for being mostly ignorant about all things AppleScript. I'm really in over my head, here, because I've not used the ScriptEditor for more than a few minutes before today.
    What I've done so far:
    I checked the box in the Universal Access preferences pane to enable access for assistive devices.
    I copied your script from this forum and pasted it into Script Editor.
    I've Compiled your script, then "Saved As" an "Application" on my Desktop.
    When I double click the icon for the saved script (which ends in xyz.app), a navigation window appears, which I used to select a test folder on my desktop.
    When I Choose the test folder, Fission launched, and selected the whole file, as expected. Then I get an error:
    "NSReceiverEvaluationScriptError: 4" - with buttons to "Edit" or "OK"
    Thinking it might be a timing error, I edited the delays:
    set theFolder to choose folder
    tell application "Fission" to activate
    tell application "Finder"
    set theApp to POSIX path of (get file of process "Fission")
    set theFiles to document files of theFolder
    repeat with thisFile in theFiles
    open thisFile using POSIX file theApp
    tell application "System Events" to tell process "Fission"
    delay 18 -- adjust if necessary
    keystroke "a" using command down -- Select All
    delay 2 -- adjust if necessary
    click menu item "Normalize Selection" of menu 1 of menu bar item 7 of menu bar 1
    delay 4 -- adjust if necessary
    keystroke "s" using {shift down, command down} -- Save Audio…
    delay 3 -- adjust if necessary
    keystroke return -- Save
    delay 2 -- adjust if necessary
    click button "Replace" of sheet 1 of window "Save Audio"
    end tell
    end repeat
    end tell
    tell application "Fission" to quit -- optional
    ... Compiled, and Saved again.
    Now, the script runs up to the point where it should answer the Save pop-up window: "File already exists..." with the keystroke to "Replace" - but the script stops there, with the same error: "NSReceiverEvaluationScriptError: 4"
    Bottom line: so far, I've been able to get the first mp3 file in my test folder Normalized, but not Saved. Any suggestions?

  • Who can slove this avitek demo problem

    I have download avitek version 2 from inweb,
    and I establish the enviroment on my Wls portal sp1
    for win2000,wls61sp1 and oracle 817,but when I
    finish all of steps of setup, I start the
    /config/acitekDomainOracle/startAvitekOracle.bat
    but I find the error and could not solve it.
    <2002-4-19 ÏÂÎç05ʱ07·Ö56Ãë> <Error> <Data Synchronization> <Application: avitek;
    Master Data Repository construction failed. Application data will not be available
    to services; please see the following exception and restart the server.
    Exception[com.bea.p13n.management.data.repository.PersistenceException: An error
    ocurred refreshing a Data Repositorys PersistenceManager: {0}] - with embedded exception:
    [Exception[com.bea.p13n.management.data.repository.PersistenceException: Failed to
    refresh JDBC Persistence Manager.] - with embedded exception: [java.sql.SQLException:
    IOException during readClobData: Error in getLobStringValue java.sql.SQLException:
    ORA-24334: no descriptor for this position]]
         at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:198)
         at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
         at com.bea.portal.manager.internal.DeploymentManager.initializePortlet(DeploymentManager.java:174)
         at com.bea.portal.manager.internal.DeploymentManager.initialize(DeploymentManager.java:90)
         at com.bea.portal.manager.internal.PortalManagerDelegateImpl.<init>(PortalManagerDelegateImpl.java:94)
         at com.bea.portal.manager.PortalFactory.createPortalManagerDelegate(PortalFactory.java:69)
         at com.bea.portal.manager.ejb.internal.PortalManagerBean.ejbCreate(PortalManagerBean.java:147)
         at com.bea.portal.manager.ejb.internal.PortalManagerBean_w6xny9_Impl.ejbCreate(PortalManagerBean_w6xny9_Impl.java:112)
         at java.lang.reflect.Method.invoke(Native Method)
    and
    Caused by: Exception[com.bea.p13n.management.data.repository.PersistenceException:
    Failed to refresh JDBC Persistence Manager.] - with embedded exception: [java.sql.SQLException:
    IOException during readClobData: Error in getLobStringValue java.sql.SQLException:
    ORA-24334: no descriptor for this position]
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:453)
         at com.bea.p13n.management.data.repository.persistence.JdbcPersistenceManager.refresh(JdbcPersistenceManager.java:106)
         at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
         at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
         at com.bea.portal.manager.internal.DeploymentManager.initializePortlet(DeploymentManager.java:174)
         at com.bea.portal.manager.internal.DeploymentManager.initialize(DeploymentManager.java:90)
         at com.bea.portal.manager.internal.PortalManagerDelegateImpl.<init>(PortalManagerDelegateImpl.java:94)
         at com.bea.portal.manager.PortalFactory.createPortalManagerDelegate(PortalFactory.java:69)
         at com.bea.portal.manager.ejb.internal.PortalManagerBean.ejbCreate(PortalManagerBean.java:147)
    I have not change the sample code, so I want to ask anyone who
    have install this demo. What can I do?

    Eric,
    You can download Oracle patches from their website. Open an account on
    http://metalink.oracle.com for detailed patch information etc.
    Sincerely,
    Daniel Selman
    "eric" <[email protected]> wrote in message
    news:[email protected]...
    >
    I have checked,Really have the JDBC Helper,but still
    can not work, I want to ask where can I find the patch
    of Oracle 817 and How can I do?
    "Daniel Selman" <[email protected]> wrote:
    Eric,
    Did you make the change to use the Oracle DB delegate for reading CLOBs
    (see
    instructions)? If so, please double check the patch level on your Oracle
    client and server installation.
    Sincerely,
    Daniel Selman
    "Eric" <[email protected]> wrote in message
    news:[email protected]...
    I have download avitek version 2 from inweb,
    and I establish the enviroment on my Wls portal sp1
    for win2000,wls61sp1 and oracle 817,but when I
    finish all of steps of setup, I start the
    /config/acitekDomainOracle/startAvitekOracle.bat
    but I find the error and could not solve it.
    <2002-4-19 ÏÂÎç05ʱ07·Ö56Ãë> <Error> <Data Synchronization>
    <Application:
    avitek;
    Master Data Repository construction failed. Application data will notbe
    available
    to services; please see the following exception and restart the server.
    Exception[com.bea.p13n.management.data.repository.PersistenceException:An
    error
    ocurred refreshing a Data Repositorys PersistenceManager: {0}] - withembedded exception:
    >[Exception[com.bea.p13n.management.data.repository.PersistenceException:
    Failed to
    refresh JDBC Persistence Manager.] - with embedded exception:[java.sql.SQLException:
    IOException during readClobData: Error in getLobStringValuejava.sql.SQLException:
    ORA-24334: no descriptor for this position]]
    at
    com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<ini
    t>(AbstractDataRepository.java:198)
    at
    com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init
    (MasterDataRepository.java:46)
    at
    com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataR
    epository(DataRepositoryFactory.java:255)
    at
    com.bea.portal.manager.internal.DeploymentManager.initializePortlet(Deployme
    ntManager.java:174)
    at
    com.bea.portal.manager.internal.DeploymentManager.initialize(DeploymentManag
    er.java:90)
    at
    com.bea.portal.manager.internal.PortalManagerDelegateImpl.<init>(PortalManag
    erDelegateImpl.java:94)
    at
    com.bea.portal.manager.PortalFactory.createPortalManagerDelegate(PortalFacto
    ry.java:69)
    at
    com.bea.portal.manager.ejb.internal.PortalManagerBean.ejbCreate(PortalManage
    rBean.java:147)
    at
    com.bea.portal.manager.ejb.internal.PortalManagerBean_w6xny9_Impl.ejbCreate(
    PortalManagerBean_w6xny9_Impl.java:112)
    at java.lang.reflect.Method.invoke(Native Method)
    and
    Caused by:Exception[com.bea.p13n.management.data.repository.PersistenceException:
    Failed to refresh JDBC Persistence Manager.] - with embedded exception:[java.sql.SQLException:
    IOException during readClobData: Error in getLobStringValuejava.sql.SQLException:
    ORA-24334: no descriptor for this position]
    at
    com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(J
    dbcDataSource.java:453)
    at
    com.bea.p13n.management.data.repository.persistence.JdbcPersistenceManager.r
    efresh(JdbcPersistenceManager.java:106)
    at
    com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<ini
    t>(AbstractDataRepository.java:193)
    at
    com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init
    (MasterDataRepository.java:46)
    at
    com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataR
    epository(DataRepositoryFactory.java:255)
    at
    com.bea.portal.manager.internal.DeploymentManager.initializePortlet(Deployme
    ntManager.java:174)
    at
    com.bea.portal.manager.internal.DeploymentManager.initialize(DeploymentManag
    er.java:90)
    at
    com.bea.portal.manager.internal.PortalManagerDelegateImpl.<init>(PortalManag
    erDelegateImpl.java:94)
    at
    com.bea.portal.manager.PortalFactory.createPortalManagerDelegate(PortalFacto
    ry.java:69)
    at
    com.bea.portal.manager.ejb.internal.PortalManagerBean.ejbCreate(PortalManage
    rBean.java:147)
    I have not change the sample code, so I want to ask anyone who
    have install this demo. What can I do?

  • Who can explain how EJB connect to Oracle9i DB with DataSource?

    I have taken 4 days into this problem. I am developing EJB with J2EE1.3 and Oracle9i DB, I can connect to DB in code with DriverManager. But I want to use DataSource to connect to DB. I failed, I can not get new way to resolve it when I after try to connect with javax.sql.DataSource, oracle.jdbc.pool.OracleDataSource and oracle.jdbc.pool.OracleConnectionPoolDataSource.
    I have got different Exceptions when I coding different ways:
    one is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: U
    nable to connect to database. com.sun.enterprise.resource.JdbcDataSource; nested
    exception is:
    javax.ejb.EJBException: Unable to connect to database. com.sun.enterpris
    e.resource.JdbcDataSource
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to
    connect to database. com.sun.enterprise.resource.JdbcDataSource; nested excepti
    on is:
    javax.ejb.EJBException: Unable to connect to database. com.sun.enterpris
    e.resource.JdbcDataSource
    javax.ejb.EJBException: Unable to connect to database. com.sun.enterprise.resour
    ce.JdbcDataSource
    <<no stack trace available>>
    the Other is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: U
    nable to connect to database. makeConnection:Io Exception: Connection refused(DESCRIP
    TION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)
    ))); nested exception is:
    javax.ejb.EJBException: Unable to connect to database. makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to
    connect to database. makeConnection:Io Exception: Connection refused(DESCRIPTION=(TM
    P=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))); nes
    ted exception is:
    javax.ejb.EJBException: Unable to connect to database. makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    javax.ejb.EJBException: Unable to connect to database. makeConnection:Io Exception: C
    onnection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(E
    RROR=(CODE=12505)(EMFI=4))))
    <<no stack trace available>>
    My codes related are:
    private void makeConnection() throws NamingException, SQLException {
    try{
    InitialContext ic = new InitialContext();
    OracleConnectionPoolDataSource ocpds = (OracleConnectionPoolDataSource) ic.lookup(dbName);
    PooledConnection pc = ocpds.getPooledConnection();
    con = pc.getConnection();
    }catch(SQLException ex){
    throw new SQLException("makeConnection:" + ex.getMessage());
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@172.28.200.43:1521:shcd",
    "lijun", "xiaotian"); */
    public void setEntityContext(EntityContext context) {
    this.context = context;
    try {
    makeConnection();
    } catch (Exception ex) {
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    I believe I set JNDI and config EJB right, because I can run it with Cloudscape DB all right.
    who can tell me where is my WRONG, or tell me how to connect to Oracle9i DB?

    Hi Jhlijun,
    I am facing the same problem at the moment. However, I am not using a pooled connection. The following is my code. I am trying to connect a stateless session bean to an Oracle 9i database with result being fed back to a jsp page.
    package Test;
    import javax.naming.*;
    import java.sql.*;
    import java.util.*;
    import javax.ejb.*;
    import javax.sql.DataSource;
    import javax.sql.*;
    public class TestSessionEJBbean extends java.lang.Object implements javax.ejb.SessionBean
    String q="Select NAMETITLE,NAMEFIRST,NAMELAST from People where PeopleRSN<100";
         protected boolean create() throws java.lang.Exception
    return true;
    public TestSessionEJBbean()
    {   // EJB constructors don't have a server context.
    private void unhandledEvent( String listenerName, String methodName, java.lang.Object event )
    // method for interface javax.ejb.SessionBean
    public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
    // To Do
    // method for interface javax.ejb.SessionBean
    public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
    // To Do
    // method for interface javax.ejb.SessionBean
    public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException
    // To Do
    // method for interface javax.ejb.SessionBean
    public void setSessionContext( javax.ejb.SessionContext parm0 ) throws javax.ejb.EJBException, java.rmi.RemoteException
    this._sessionContext = parm0;          // generated helper code
    // To Do
    * Test Method
    public String Test() throws javax.ejb.EJBException
    return "Hi! I am the SessionEjbBean.";
    * Session Context of this EJB.
    * Set in 'setSessionContext()' before any 'ejbCreate()' is executed.
    private javax.ejb.SessionContext _sessionContext;
    * ejbCreate Method
    public void ejbCreate() throws javax.ejb.EJBException, javax.ejb.CreateException
    try {
    create(); // This 'create()' is used for internal initialization.
    catch( java.lang.Exception __e) {
    System.err.println( __e.toString() + " " + __e.getMessage() );
    // TODO: implement
    * getDBConnection Method
         public sun.jdbc.rowset.CachedRowSet getDBConnection() throws javax.ejb.EJBException
         String testPrint = "Starting...";//Only to check output
         Connection conn;
         sun.jdbc.rowset.CachedRowSet crset=null;
         try {
              testPrint += "before new InitialContext()....";//Only to check output
              InitialContext ic = new InitialContext();
              DataSource ds = (DataSource)ic.lookup("java:comp/env/jdbc/coquit");
              testPrint += "before ds.getConnection()....";//Only to check output
              conn = ds.getConnection("coquit","coquit");          
                   testPrint += "before conn.createStatement()....";
                   Statement stmt=conn.createStatement();
                   testPrint += "before stmt.executeQuery(....)";
                   ResultSet rset = stmt.executeQuery(q);
                   testPrint += "before new sun.jdbc.rowset.CachedRowSet()";     
                   crset = new sun.jdbc.rowset.CachedRowSet();
                   testPrint += "before crset.populate(rset)";
                   crset.populate(rset);
                   rset.close();
                   stmt.close();
                   conn.close();
         } catch (NamingException ne) {
         System.out.println("TestSessionEJBbean::getDBConnection Naming Exception " + ne);
         }catch (Exception e){
         System.out.println(testPrint+"...TestSessionEJBbean::getDBConnectionException" + e);
         System.out.println("\n\n");
         e.printStackTrace();
         return crset;

  • Topic: Who can explain how EJB connect to Oracle9i DB with DataSource?

    I have taken 4 days into this problem. I am developing EJB with
    J2EE1.3 and Oracle9i DB, I can connect to DB in code with
    DriverManager. But I want to use DataSource to connect to DB. I
    failed, I can not get new way to resolve it when I after try to
    connect with javax.sql.DataSource,
    oracle.jdbc.pool.OracleDataSource and
    oracle.jdbc.pool.OracleConnectionPoolDataSource.
    I have got different Exceptions when I coding different ways:
    one is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server
    thread; nested exception is:
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource; nested
    exception is:
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to
    connect to database. com.sun.enterprise.resource.JdbcDataSource;
    nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource
    <<no stack trace available>>
    the Other is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server
    thread; nested exception is:
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io Exception: Connection refused(DESCRIPTION=
    (TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=
    (CODE=12505)(EMFI=4)
    ))); nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)
    (VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to
    connect to database. makeConnection:Io Exception: Connection
    refused(DESCRIPTION=(TM
    P=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)
    (EMFI=4)))); nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)
    (VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io Exception: C
    onnection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)
    (ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    <<no stack trace available>>
    My codes related are:
    private void makeConnection() throws NamingException,
    SQLException {
    try{
    InitialContext ic = new InitialContext();
    OracleConnectionPoolDataSource ocpds =
    (OracleConnectionPoolDataSource) ic.lookup(dbName);
    PooledConnection pc = ocpds.getPooledConnection();
    con = pc.getConnection();
    }catch(SQLException ex){
    throw new SQLException("makeConnection:" + ex.getMessage());
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@172.28.200.43:1521:shcd",
    "lijun", "xiaotian"); */
    public void setEntityContext(EntityContext context) {
    this.context = context;
    try {
    makeConnection();
    } catch (Exception ex) {
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    I believe I set JNDI and config EJB right, because I can run it
    with Cloudscape DB all right.
    who can tell me where is my WRONG, or tell me how to connect to
    Oracle9i DB?

    Hi,
    on small thing to check (or perhaps do):
    Make sure that you are using the JDBC drivers from the Oracle9i
    DB client e.g. copy the classes12.jar from the ORACLE_HOME of
    the database client into OC4J_HOME lib.
    Also, one thing that might help is to define an explict Oracle
    datasource e.g.
    - Set class to value of Oracle DataSource class
    - Use only the location logical name
    - Returns Oracle implementation of java.sql.Connection
    <data-source
    class="oracle.jdbc.pool.OracleDataSource"
    name="jdbc/oracle/PooledDS"
    location="jdbc/oracle/PooledDS"
    username="scott"
    password="tiger"
    url="jdbc:oracle:thin:@<host>:<port>:<SID>"
    />
    Andy

  • Who can explain vod hds-vod ?

         In fms.ini
              VOD_COMMON_DIR = d:\Program Files\Adobe\Flash Media Server 4.5\webroot\vod
              VOD_DIR = d:\Program Files\Adobe\Flash Media Server 4.5\applications\vod\media
         In Apache httpd.conf
              DocumentRoot "../webroot"
         <Location /vod>
             HttpStreamingContentPath "../webroot/vod"
         </Location>
         <Location /hls-vod>
              HttpStreamingContentPath "../webroot/vod"
         </Location>
         Which path is used, when I used "http://localhost:8134/vod/xxx.mp4" to play?
         I change the path  to
         <Location /vod>
             HttpStreamingContentPath "D:\"
         </Location>
         There have no file In the path "D:\" .
         I used  "http://localhost:8134/vod/xxx.mp4" to play, why  the player still play the xxx.mp4?
         I am confused.
         Who can help me to explain these path mean?
         thanks!

    http://localhost:8134/vod/mp4:xxx.mp4

  • Strange: blank in string. Anybody can explain this?

    Hello!
    Look at this. Until now I thougt, I had understood ABAP...
    Output of the following programm:
    1) Strange
    2) Strange
    3) Strange
    4) Strange
    5) Strange
    6) Strange
    Very strange, isn't it?
    ABAPDOCU tells, that strings pay attention to blanks.
    Can anybody explain this?
    REPORT zstrange.
    DATA: stringwithspace TYPE string VALUE 'A B',
          teststring TYPE string,
          blankstring TYPE string VALUE ' ',
          l type i.
    START-OF-SELECTION.
      IF stringwithspace+1(1) = ' '.
        WRITE: / '1) My guess'.
      ELSE.
        WRITE: / '1) Strange'.
      ENDIF.
      IF stringwithspace+1(1) = blankstring.
        WRITE: / '2) guess'.
      ELSE.
        WRITE: / '2) Strange'.
      ENDIF.
      IF stringwithspace+1(1) = ''.
        WRITE: / '3) guess'.
      ELSE.
        WRITE: / '3) Strange'.
      ENDIF.
      teststring = stringwithspace+1(1).
      IF teststring = ' '.
        WRITE: / '4) Guess'.
      ELSE.
        WRITE: / '4) Strange'.
      ENDIF.
      IF teststring = blankstring.
        WRITE: / '5) Guess'.
      ELSE.
        WRITE: / '5) Strange'.
      ENDIF.
      IF teststring = ''.
        WRITE: / '6) guess'.
      ELSE.
        WRITE: / '6) Strange'.
      ENDIF.

    No, thats not strange.
    c variables have always a fixed length, it can not contain "nothing". If there are only spaces in, the c variable is treated as empty/initial.
    Strings can contain nothing, and they can contain spaces. A string containing blanks is not interpreted as empty/initial.
          blankstring TYPE string VALUE ' ',
    What you are doing here is assigning an empty string to the string var blankstring, it does NOT contain a blank.
    Constants encapsulated with apostrophes are treated as c variables. But: constants encapsulated within back quotes will be interpreted as string. Change your code to
          blankstring TYPE string VALUE ` `,
    Take care of that i used back quotes now, not apostrophes, Now the var blankstring contains a blank and the result in that case will change to MY guess.
    Similar the camparison
      IF stringwithspace+1(1) = ' '.
    This is comparing a blank with an empty char and thats why you are getting strange.
    Change this to
      IF stringwithspace+1(1) = ` `.
    and you will get My guess cause now you are comparing a blank with a blank and not a blank with an empty string.
    Hope its now clear.

  • 10.1.4 production ....? Who can explain Oracle's release strategy?

    Today I received an announcement from Oracle:
    "Oracle Application Server Portal 10g Release 2 (10.1.4) now available!
    Oracle is pleased to announce the immediate availability of Oracle Application Server Portal 10g Release 2 (10.1.4)."
    I never quite understood how Oracle manages their version numbers, but to me this looks like 10.1.4 is production before 10.1.3 is ... can somebody please explain this to me? Or is this version of Oracle Portal completely separate from Oracle Application Server?

    I agree that Oracle version numbers is not easy to "manage".
    If we step back a bit, looking at versions
    (some say that the two first version numbers of AS versioning is based on version of DB included)
    release DB AS
    10gR1 10.1 9.0.4
    10gR2 10.2 10.1.2.0.0 or 10.1.2.0.2
    What comes next? :-)
    But your last guess is good (look at Portal as an application based on OHS, OC4J, Metadata, OID, SSO, etc. services of AS)
    - there is a product on the Application Server 10.1.2.0.2 downloads page called 'Portal Upgrade (10.1.4)'.
    http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
    You can also check Certify, Component info. It lists components of AS 10.1.2.0.2 and their versions, including Oracle Portal 10.1.2.1.0 and Oracle Portal Upgrade 10.1.4.0.0. So, I guess Portal is developed at a faster rate than some of the other products in the stack and Oracle decided not to wait to release it! (now it's "fusionabled")
    There's a New Features pdf at the Product Center
    http://www.oracle.com/technology/products/ias/portal/index.html
    Message was edited by:
    orafad

  • Who can resolve this problem? I'm urgent.

    My programe is running ,
    When I used the "CTRL+C" to stop the client and restart the client ,the server throw the following Exception:
    2004-2-10 13:59:25 com.hanwei.update.rmiservice.ServiceImpl send
    &#20005;&#37325;: RemoteException
    java.rmi.MarshalException: CORBA COMM_FAILURE 1398079689 No; nested exception is:
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:89)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at com.hanwei.update.rmiservice._CallbackInterface_Stub.receive(_CallbackInterface_Stub.java:54)
    at com.hanwei.update.rmiservice.ServiceImpl.send(ServiceImpl.java:195)
    at com.hanwei.update.rmiservice._ServiceImpl_Tie._invoke(_ServiceImpl_Tie.java:68)
    at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:252)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
    at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
    at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
    at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
    at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
    at com.hanwei.update.rmiservice._CallbackInterface_Stub.receive(_CallbackInterface_Stub.java:39)
    ... 6 more
    who can tell me why?
    Please help, I'm urgent.

    I couldnt say for certain, but I'm guessing that the CTRL-C command is being passed to your Server, which is interpreting it as an attempt to shut down the server.
    But you might what to try the RMI-IIOP forum for question about CORBA

Maybe you are looking for

  • PDF file-size restrictions? Any solutions?

    Downloading a large PDF is no longer working for me.  This is with Windows 7 and Outlook.com (formerly HotMail or LiveMail). The download starts and then stalls.  I see reports that there now are generally applied restrictions of filesize to 20Mb.  I

  • How to copy and paste formulas between documents in numbers 3.0?

    I am unable to copy and paste formulas between 2 documents in numbers 3.0?

  • Airport Express-ATT 2Wire Wireless Setup

    I am attempting to set up a new Airport Express with an existing 2Wire Wireless network. Once I get the "join a wireless network" password set up, when I update, I'm kicked off my 2Wire network, and my computer cannot find the Airport. I have set thi

  • Placing cursor in text field using AS3

    I am a newbie to actionscript 3.0 and need a litlle help that I have not been able to find searching (for two weeks). I would like the cursor to appear and blink in the first text field in  a  movie clip that gathers information to be sent to a php.

  • How do I modify the default alarm?

    I hate it that the default alarm is set to sound an alert. I work in music production and I dread the next hoot. How do I set the default alarm to silent? pete