CMT question.

weblogic8.1's transaction setting always confuse me. I have some cases, hope I understand right.
          TxDataSource on 8.1, this is set when 'Honor Global Transactions' is set to true. Am I right? this will enable the transaction like what JAVA/JDBC transaction does--set the auto commit to false. This flag need to be set to true either for client initiate transaction using UserTransaction Interface or CMT when there is more than one database action(here I just want to talk about one database).
          Here is my question:
          1).when doing the Client Initiate Transaction, besides this flag, do I still need to set 'Emulate two-phase commit'? the transaction only access one datasource. I don't know how this flag helps since the Drive is non-XA driver.
          2).for CMT, all the user case action are in the Stateless bean method. I have DAO to access database. the DAO will get the connection from the pool. again all DAOs only access one database(DS). the driver is non-XA driver. when the bean method call multipule DAOs, since each DAO will get their own connection, Do I need to set ''Emulate two-phase commit', or Weblogic does some optimization
          3). Also for CMT. If 'Honor Global Transactions' is set to false. when there are multiple database actions in one bean method as in item 2). The transaction scope won't be defined by container, instead, there will be a commit after each DAO call.
          Thanks
          CC.

Vishal Jain - thanks for the reply.
1. The method name is misleading - there are only insert statements in this method.
2. I am using CMT to scope viewEmployee() method with RequiresNew attribute. This method calls DAO object method to do its work. The connection is obtained in the session bean and a reference is available in the DAO to enable it to connect.
3. the DAO never manipulates the connection - only fires SQL and returns - can throw an application or SQL Exception.
4. This will be caught in the session bean's handlers and context.setRollbackOnly(); will be called. This statement does not rollback the changes made to table data, infact it is throwing IllegalStateException - "Cannot call setRollbackOnly() current thread is NOT associated with a transaction"
Pls point out any possible causes.
Thanks in advance.

Similar Messages

  • Grey CMT/BMT Question

    Scenario:
    MDB is CMT with trans-attribute 'RequiresNew' subscribed to a topic. Upon receiving
    a message, Invokes a stateless EJB which is CMT and has trans-attribute 'Requires'
    which updates database 1. After the call to the EJB, MDB.onMessage opens a straight
    JDBC connection and updates database 2. If any exception happens on the second
    update it eats the exception and continues. The question is we've already have
    a 2PC with the topic and database1. What we're doing with database 2 is neither
    CMT nor BMT. What is the situation with respect to databse 2. We know its kind
    of weird and want to re-work but the code is already freezed and just want to
    make sure nothing is fatally wrong so that we could fix in the next release. If
    it is fatally wrong, we want to fix it before the code is pushed to production
    shortly.
    thanks
    Suresh

    Hi Suresh,
    The second update is also part of the transaction. If the second update throws
    a resource exception then it will affect the commit of the CMT.
    thx
    vasanthi ramesh
    "Suresh Vallabhaneni" <[email protected]> wrote:
    >
    Scenario:
    MDB is CMT with trans-attribute 'RequiresNew' subscribed to a topic.
    Upon receiving
    a message, Invokes a stateless EJB which is CMT and has trans-attribute
    'Requires'
    which updates database 1. After the call to the EJB, MDB.onMessage opens
    a straight
    JDBC connection and updates database 2. If any exception happens on the
    second
    update it eats the exception and continues. The question is we've already
    have
    a 2PC with the topic and database1. What we're doing with database 2
    is neither
    CMT nor BMT. What is the situation with respect to databse 2. We know
    its kind
    of weird and want to re-work but the code is already freezed and just
    want to
    make sure nothing is fatally wrong so that we could fix in the next release.
    If
    it is fatally wrong, we want to fix it before the code is pushed to production
    shortly.
    thanks
    Suresh

  • Nobody knows this fundamental question - CMP, CMT, BMP, BMT. Surprised !!

    Hello,
    I've talked to many experts and read books on EJB but none of them gave me a clear cut answers. What are the definitions of CMP, CMT, BMP and BMT? No one could explain "Persistent" from "Transaction" properly. No books clearly define them at all. Some say BMP means BMT and CMP means CMT. Some others say they are totally different concept. Others even say different stories. Actually, when we create EJBs (in Visual Cafe as an example), we can tell whether the bean is CMP or BMP but there os no place where we can define the transaction mode (BMT or CMT). How come do so many people get confused about this fundamental concept? Can anybody explain them clearly please?

    CMP = Container Managed Persistence
    This means that the container (part of the EJB Server) automatically handles persisting your bean to a DB. So if you have an Entity Bean, for example, that has some properties (like name, size) and a table in the database with the fields name (as a varchar), size (as an integer), then when you set the bean's properties to "Joe" and "14", you can then look in your database and those values will be there. You (the developer) do not have to write any code to put those values into the DB.
    BMP = Bean Managed Persistence
    This means that (in the above example of an EJB with properties name, size), if you set your bean's name to "joe" and size to 14, those values will NOT go into the DB unless you (the developer) put them there.
    CMT = Container Managed Transactions
    A transaction is really either one statement (or action) or a bunch of them that are grouped together. If it is a group, then for any one of them to be executed / committed, they must all execute successfully. If even just one of the actions / statements fails, they all fail (or are all "rolled back", i.e. un-done)
    CMT means that the container (EJB Server) will handle making sure that all the actions or statements from a transaction (i.e. a particular context of actions kicked off when an EJB is called) are completed successfully. If they are, the container will commit (execute) all the statements and return "success". If any one of them fails, the container will handle rolling back (un-doing) all the statements. This is VERY useful, as you do not need any special if statements or try-catches, the container does it for you.
    BMT = Bean Managed Transaction
    This means that you (the developer) will have to logically group together all that actions that you consider for a transaction. If any one of them fails, you will need to make sure all of them are rolled back and that "failure" is returned to the caller. If they are all successful, you will have to return success.
    You can do this by using the below code:
    (in all the code below, they may wrap from one line to the next, just pay attention to where the ";" is)
    //import Transaction
    import javax.transaction.UserTransaction
    //make a new transaction:
    UserTransaction userTran = ( UserTransaction ) initialContext.lookup("java:comp/UserTransaction");
    try
    //And then marking the beginning of the transaction:
    userTran.begin();
    //Then Do your stuff (i.e. the actions)
    myPersonalBusinessMethods();
    //commit the transaction cause it's all ok
    userTran.commit();
    catch (Exception e)
    //rollback (un-do) all the stuff cause error occurred
    userTran.rollback();
    Hope all this helped and finally explained it! Feel free to throw some duke dollars my way if it did! ;P
    Robert

  • What is the max size of HDD I can use in my dc7600 CMT

    I am using an HP dc7600 CMT which is working fine after upgrading to a Samsung 128GB SSD, Intel Pentium D 3.4 GHz, 4GB RAM, and an AMD Radeon HD 6450. I am running Win 8.1 Pro x64, with the most recent upgrade, and have absolutely no problems. I now want to add a second internal HDD, and wonder what is the max size  I can go to. Can I go to 2TB, or am I limited to a lower figure? 1TB? 500GB? 250GB?
    Will be glad for some help here, especially if it has been actually tried in practice.
    Thanks in advance.
    Best regards
    This question was solved.
    View Solution.

    You're very welcome.
    Yes, they are very nice machines. 
    What a jump in performance when I swapped out the Pentium 4 620 mine had, for the PD 945, and tossed in 4 GB of memory.
    That box will also run the Radeon HD 6570 with no problem too, which is what I put in mine.
    The downside of that model is that there are no settings for ahci or raid.
    I own or have owned every CMT since the d510 with the exception of the dc7900.
    My main PC is now the 8200 Elite CMT which I installed W8.1 on.
    It has an i7-2600 processor and 32 GB of memory, 1 TB SATA III hard drive.
    I threw in a Radeon HD 6670 in that one.
    Best Regards,
    Paul

  • Can CMT Session Bean call BMP Entity Bean in WebLogic 6.0?

              Hi
              Does anybody successfully use CMT Session Bean calling BMP +CMT Entity bean in
              WebLogic6.0? I have the following problem.
              Any idea will be appreciated.
              --Winston
              Let's say we have a Session bean SB, it uses container to manage the transaction.
              A method of SB will call an Entity Bean EB which adopts bean-managed persistence.
              Both SB and EB use CMT and all of their methods use "required" in the descriptor
              file.
              1. If the connection con.getAutoCommit() is true in the EB, then the transaction
              within SB cannot be rolled back as the ejbCreate() has already commit into the
              database.
              2. On the other hand if Connecton of EB con.getAutoCommit() is false, then container
              cannot successfully commit the transaction from SB's method, as EjbCreate and
              EjbStore() in EB are likely using the different database connections, which causes
              EbjStore() fail and the following error message will be sent to the Console:
              ============================================================
              "<Jul 9, 2001 4:16:48 PM PDT> <Error> <EJB> <Exception during commit of transacti
              on transaction=(IdHash=7738920,Name = [EJB TraderBeanImpl.buy()],Xid=105:5e6719a
              ded42e332,Status=Rolled back. [Reason = weblogic.utils.NestedRuntimeException:
              E
              rror writing from beforeCompletion - with nested exception:
              [java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEntityE
              xception: ejbStore: AccountBean (4003) not updated]],numRepliesOwedMe=0,numRepli
              esOwedOthers=0,seconds since begin=0,seconds left=30,SCInfo[examplesServer]=(sta
              te=rolledback),properties=({weblogic.transaction.name=[EJB TraderBeanImpl.buy()]
              })): java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEnt
              ityException: ejbStore: AccountBean (4003) not updated
              at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRunti
              meUtils.java:57)
              at weblogic.ejb20.manager.DBManager.beforeCompletion(DBManager.java:364)
              at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManag
              er.java:211)
              at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(Serv
              erSCInfo.java:511)
              at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(Se
              rverSCInfo.java:78)
              at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAn
              dChain(ServerTransactionImpl.java:893)
              at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(
              ServerTransactionImpl.java:1229)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
              sactionImpl.java:168)
              at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
              01)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl.buy(TraderBeanEOI
              mpl.java:37)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl_WLSkel.invoke(Tra
              derBeanEOImpl_WLSkel.java:76)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:373)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
              andler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              .java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              --------------- nested within: ------------------
              weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - wit
              h nested exception:
              [java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEntityE
              xception: ejbStore: AccountBean (4003) not updated]
              at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManag
              er.java:220)
              at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(Serv
              erSCInfo.java:511)
              at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(Se
              rverSCInfo.java:78)
              at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAn
              dChain(ServerTransactionImpl.java:893)
              at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(
              ServerTransactionImpl.java:1229)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
              sactionImpl.java:168)
              at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
              01)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl.buy(TraderBeanEOI
              mpl.java:37)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl_WLSkel.invoke(Tra
              derBeanEOImpl_WLSkel.java:76)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:373)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
              andler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              .java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion
              : sync = weblogic.ejb20.internal.TxManager$TxListener@356eb0
              Error writing from beforeCompletion - with nested exception:
              [weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion -
              wi
              th nested exception:
              [java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEntityE
              xception: ejbStore: AccountBean (4003) not updated]]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
              TransactionImpl.java:1261)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
              sactionImpl.java:218)
              at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
              01)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl.buy(TraderBeanEOI
              mpl.java:37)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl_WLSkel.invoke(Tra
              derBeanEOImpl_WLSkel.java:76)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:373)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
              andler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              .java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >"
              

    We did receive a 4.5.1 / 5.1 interoperability patch - but it wasn't quite 'seamless'.
    We never tried to use it.
    SOAP? Isn't that around 50 times slower than RMI?
    Mike
    "Gary Mui" <[email protected]> wrote:
    We ran into this issue last fall and got some feedback from weblogic
    support. They originally said that it could be done (as well as different
    versions talking to one another via JMS) but it turned out that they
    were
    incorrect and ended up saying that it is not possible. Before 6.0 went
    GA,
    BEA said that there would be a interoperability patch to do this, but
    I've
    never seen nor heard of anything regarding it. As a workaround, we
    implemented 4.5.1 / 6.0 communication via SOAP.
    Mike Reiche wrote in message <3b1bcaec$[email protected]>...
    I have the same question - and more. Last year we were told that wecould
    not use
    RMI (and ejbs) between 4.5.1 and 5.1. Which seems kinda weird becauseI've
    heard
    of people using WL ejbs from Tomcat. This issue has caused us to avoidusing
    WL ejbs in any future development which has any chance of ever beingused
    by any
    app server (WL included) that is not under the direct control of thedata
    center.
    I've been trying to convince the Architecture team here that we canuse WL
    EJBs
    and we can call them from other app servers - but can't seem to getany
    supporting
    statement from BEA (maybe I haven't tried hard enough).
    Anyway, a response from BEA would be appreciated.
    - Mike
    "Madhu K" <[email protected]> wrote:
    Is it possible to call a (stateless session) bean deployed in weblogic
    6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running
    on two
    different hosts and I have to call a bean that is running in 6.0 from
    5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

  • Message Driven Beans with "Required" CMT and duplicate delivery of messages

    Hi,
    Let's pretend that an MDB is configured with CMT and the "Required" transaction attribute. Let's suppose that it has received a message and is busy processing it in a transaction that might take some time to complete.
    Is a JEE container required to ensure that while a message is being handled by an MDB in a transaction that's neither completed nor rolled back, no dupes of the same message should be delivered to another instance of the same MDB?

    user572625 wrote:
    Hi,
    Let's pretend that an MDB is configured with CMT and the "Required" transaction attribute. Let's suppose that it has received a message and is busy processing it in a transaction that might take some time to complete.
    Is a JEE container required to ensure that while a message is being handled by an MDB in a transaction that's neither completed nor rolled back, no dupes of the same message should be delivered to another instance of the same MDB?First, define "dupe".
    Note that the main reason to use JEE technology over simpler frameworks is robustness, so if I understand your slightly vague question correctly, you can make the safe assumption that the answer is yes.

  • CMT - Transaction Attribute

    Hi,
    I have a stateless session bean with Container Managed Transaction (CMT) performs DB2 database operation using DAO pattern.The DAO calls DB2 stored procedure.
    Commit statements have been used in the stored procedure.No rollback statements have been used in stored procedure.
    My question is what would be the appropriate transaction attribute to set for the bean methods?
    Is it Supports or Required? I read in IBM site that Supports must be used with caution.
    Thanks in advanced.

    Tom, you say that "any particular subscription will support only a single consumer" - I don't quite understand how this fits with the max-beans-in-pool setting for an MDB. Are you saying that for CMT MDBs, there is only ever 1 active bean in the pool regardless of what I set max-beans-in-pool to be?Yes, and only one pool at a time will be able to access the subscription. A durable subscription can only be accessed by a connection with a client-id that matches the subscription's client-id, and a DurableSubscriber consumer created from said sonnection that has the same subscriber name. MDBs use a vanilla javax.jms.TopicSubscriber to consume from topic subscriptions, and are designed to assume that the JMS provider adheres to the JMS specification for this API. The JMS specification states (1) only one connection should be able to use a pariticular connection client-id (optional - depends on vendor), and (2) that a subscription must only support a single javax.jms.Consumer (not optional).
    Also, does this restriction apply to CMT MDBs regardless of their transaction attribute ie. even if I set transaction-attribute NOT_SUPPORTED?The documentation recommends restricting non-TX MDBs that consume from foreign topics so that they are single threaded. In not-supported tx mode, with foreign vendors, a single connection and single subscriber is still created for a particular pool, as per above, but multiple threads are created to process the single subscriber's messages in parallel. This mode is not safe in that it is possible to lose messages in the event of a crash or application-forced redeliveries (the message may not be redelivered). The problem doesn't apply to MDBs that consume from WebLogic Topics.
    Hope this helps,
    Tom

  • OC4J CMT transaction problem

    Hi, I want to understand the next issue :
    1. I call em.persist with an entity bean.
    2. I call em.flush (And changes goes to oracle database)
    3. I throw a RuntimeException.
    I expected that when i throw the runtimeexception, CMT rollbacks the database changes, but it does´nt. The EJB cache does the rollback, but changes are now in the database.
    I am using local transactions. When i set my application to use Global Transaccions, it works ok.
    I know it is a weird question, but I just want to understand it. When i use local transactions, the container manage transactions without using dabase transactions?
    Thnx.

    here you have it, thanks for helping it
    <rmi-server port="23791" >     
         <server host="the.remote.server.com" username="admin" password="admin" />
         <log>
              <file path="../log/rmi.log" />
         </log>
    </rmi-server>
    <console-output>
    D:\Program Files\OC4J\j2ee\home>java -jar oc4j.jar
    Error initializing server: Error parsing rmi-server config at file:/D:/Program Files/OC4J/j2ee/home/config/rmi.xml: Unknown Host in server tag: the.remote.server.com
    Warning: Error deleting the transaction-log file
    </console-output>
    logs ----
    <rmi-log>
    6/9/02 2:17 PM 9.0.3.0.0 Started
    6/9/02 2:24 PM 9.0.3.0.0 Stopped (JVM termination)
    6/9/02 2:53 PM 9.0.3.0.0 Started
    6/9/02 8:11 PM 9.0.3.0.0 Stopped (JVM termination)
    6/9/02 8:12 PM 9.0.3.0.0 Started
    6/10/02 7:25 PM 9.0.3.0.0 Started
    </rmi-log>

  • Understanding CMT, HELP!!

    I'm looking for a good explanation of container managed transactions. At my company we have an EJB app in which we are trying to set CMT attributes on. It's strucured in a way that each table in our DB has a corresponding entity bean. (we use BMP entity beans) The app is already developed mostly (its in alpha) and none of us here understand enough about how to declare container transactions in a production app. We all know what they are (the six different kinds) and how they all work. What we're looking for is a practical example (not like the dumbed down textbook examples) of how you would use them in a production app. All of us here are stuck on the programmatic way of thinking and I know this is wrong when using CMT. So, this is the example. We have a submitOrder method that appears to be causing rollbacks/deadlocks (because we set every method's tx attribute to Required as a starting point). The submitOrder implementation is as follows:
    submitOrder
       For Each lineItem
          lookup lineItem product
          adjust lineItem price using product
       End For
       set orderHead status finalized
    end submitOrderWe have reason to believe that the rollback/deadlock comes from reading the product table from within a tx and thus locking certain product entities. The scenario goes as follows. User1 needs products A, B, and C. User2 needs products C, B, and A. When user1 reads A he is pre-empted by user2 who grabs C & B. Now user1 tries for B but has to wait for user2 who is waiting for the A that user1 has a lock on. There is no reason for the problem to occurr any place else because each user maintains his/her own set of lineItem transactions and works off of his/her own order record. So the question is this.
    How would you set tx attributes to allow the method body to be in a transaction while not pulling the product entities into the transaction? 1st idea is to set the transactional attribute of the read method of the product entity to NotSupported. This is no good because there are other places in our app where we need to read the product within the context of an existing transaction. Next idea is to mark the read method on the product bean supports. However, that puts us right back where we started because the products will be read within the transaction causing deadlocks/rollbacks. So now I'm thinking that we need to call the read method on the product bean from a utility method that's marked NotSupported. But that sounds too much like programmatic tx control. So how do you address this problem? I'm looking for a best practice approach.
    Cliff

    So I need to define another entity bean just to get a non-transactional read on a product entity? Tell me there's got to be a better way. Is this the more common practice? Lets consider this scenario. I have 30 different tables in my DB. Each one has a corresponding entity bean. Lets now say that 15 of these tables need to be accessed in a read mostly fashion. Would that mean I should define an additional 15 beans to accomodate this bringing my total entity bean count to 45? This is a huge undertaken when applied to my app. We have about 170 different tables all of which have a corresponding entity bean. These beans are code-generated from the DB schema. The vast majority of them would most likely need to be read-mostly. This means that I need to code generate some extra entities to accomplish this which means more work at the code generation side. (I certainly wouldn't want to manually code them.) The scary thing is that I can't see how else to accomplish meaningful transaction isolation. I understand how complex it becomes when you start calling between methods on the same EJB and I'm frustrated by this. With POJO coding this is such a non-issue.
    Lets step back and consider it on a conceptual level. I have server side logic that carries out a task on an entity. (Lets consider the entity to be abstract at this point.) 1/2 of the logic accesses other shared entities only to support the other 1/2 of the logic which represents an atomic unit of work. Logically I think of this as two separate methods. I don't think in terms of two separate objects containing the two methods because they methods relate to the same course of action, the same unit of work. You see where I'm lost here? I'm not getting the metaphore. (Please forgive me if it sounds like I'm debating with you because I'm not.) I wish I could see and understand a practical solution to this problem.
    If your telling me that I need to introduce new objects for the sake of isolation then I can't see it. With POJO coding this would not be an issue, but introducing new entity beans merely to isolate a read seems excessive. Is there any better way around this? Thanks so much for your replies.
    Cliff

  • Microcode Update Error in HP DC7100 CMT

    Hi, I have a hp dc7100 cmt and I have already read other post regarding Microcode Error, but the file that I need ---> http://h20566.www2.hp.com/hpsc/swd/public/detail?sp4ts.oid=402165&swItem=ir_63388_1&lang=en&cc=uk <--- isn't available where I can find it?
    This question was solved.
    View Solution.

    Hi:
    Here is the link to the file you need...
    http://h20564.www2.hp.com/hpsc/swd/public/detail?sp4ts.oid=402164&swItemId=PSG_I23754_109014&swEnvOi...
    Reminder that this microcode update will only work by using a floppy disk.
    The file will ask you to insert a floppy disk in a FDD and it will create a bootable floppy disk and put the microcode update files on the disk.
    Then you boot from the FDD and follow the on screen instructions to update the microcode.

  • Questions about Hyperprivileged layer

    I am a college student, who is interested in the OPENSPARC architecture. I have been reading the UA2005-current-draft-HP-EXT.pdf document recently, but I still puzzled about the relationship between the Hyperprivileged layer and the BIOS. When the system takes a cold reset, what does the Hyperprivileged layer do? Take SPARC 2005 for example. After one strand in the unparked mode, how to unpark the other strands? Does this have anything to do with the Hyperprivileged layer?
    Thank you!

    > I still have several questions.
    The first one is about the OBP. What is OBP? Where can I get it?
    Is it part of Solaris' codes, or any OS has its own OBP?
    OBP (Open Boot PROM) is available in open-source form, as part of the OpenSPARC T1 download -- see http://opensparc-t1.sunsource.net/download_sw.html .
    I won't pretend to be an OBP expert, but am 90% certain that OS's other than Solaris can boot on top of OBP.
    > Secondly, you said "all CMT (Chip Multi-Threading) control is purely hyperpriivileged". Did you mean
    that all CMT control, not only SUN's architecture, is purely hyperprivileged?
    First, note that Sun was the first with broad-ranging, extensible CMT control. When Sun announced the 32-thread T1, the most anyone else could muster was a dual-thread chip. No other vendor has needed to control more than 2 threads on a single die. Others are now up to 4 single-thread cores per die, and Sun is going to ship 64-thread chips soon. Pardon what may read as "Sun flag-waving" ;-) , but as the saying goes, "Necessity is the Mother of Invention" -- effective, scalable control of highly-threaded processors was a necessity at Sun much earlier than elsewhere.
    There may be many philosophies about control of CMT threads. Sun decided that it should be controlled only at the hyperprivileged level -- otherwise, a guest operating system would have the privileges to shut down threads controlled by another guest OS on the same processor chip.
    ...Note that the older UltraSPARC IV and IV+ processors (which are 2-threaded) were the first multi-threaded (dual-core, in this case) processors developed at Sun. That development occurred prior to the advent of hyperprivileged mode, therefore CMT control on those processors is privileged, not hyperprivileged. Without Hypervisor, the US IV and IV+ processors can/should run the same OS (a trustworthy one!) on both threads, since either OS can corrupt the other if it's buggy or malicious (neither of which is an issue on UltraSPARC T1 with Hypervisor -- 32 different OSs could run simultaneously and no OS could corrupt another)
    > What the Hypervisor does is totally transparent to a guest operating system.
    Yes, in the same sense that what an OS does "under the hood" is transparent to a software application. An OS requests service via a Hypervisor call (trap to hyperprivileged mode), jjust application requests service via a system call (trap to privileged mode). Technically, "what" the Hypervisor does is known to the OS, but the OS has no idea "how" Hypervisor does it.
    > The OS is in charge of the process scheduling, but how it realizes is the Hypervisor's business.
    The OS has no idea about which strand is under using. The Hypervisor locates a thread to a certain strand. Is it right?
    Yes, the OS can make inqueries to Hypervisor about what resources are available for it (the OS) to manage. The Hypervisor would typically give the OS one or more threads (hardware strands or virtual processors) to manage.

  • M-CMTS with SIP-600 SPA

    Dear all,
    I have a few question regarding M-CMTS with SIP-600 SPA.
    - Scenario 1: I have a uBR10012 with linecard MG20X20V(0 DS, 20 US lic) + SIP 600 and i want to use M-CMTS with  SIP-600 connect to RFGW1/RFGW10. Is that possible to do like this?
    -Scenario 2: I have a uBR10012 with line card MG3GX60V (72DS, 60 US) + SIP 600, also have a RFGW1 with 98 DS, so I still have 16 DS available, can i use SIP-600 connect to that RFGW1 do use those available DS?
    I need some help/advice about those situations, please help me.

    Hello,
    Yes, it should.
    You could check Table 4-9 VPLS Feature Compatibility by SIP and SPA Combination:
    http://www.cisco.com/en/US/docs/interfaces_modules/shared_port_adapters/configuration/7600series/76cfgsip.html#wp1270728
    There are some restricition about H-VPLS on c7600/SIP, like it could be seen at the "VPLS Configuration Guidelines"
    section of above link. But they are generic for SIP-600 itself:
    – H-VPLS with Q-in-Q edge—Requires a Cisco 7600 SIP-600 in the uplink, and any LAN port or Cisco 7600 SIP-600 on the downlink.
    - H-VPLS with MPLS edge requires either an OSM module, Cisco 7600 SIP-600, or Cisco 7600 SIP-400 in both the downlink (facing UPE) and uplink (MPLS core).
    As for SPAs - restriction is about H-VPLS and FastEthernet one:
    "Note: H-VPLS is not available on Fast Ethernet SPAs"
    http://www.cisco.com/en/US/docs/interfaces_modules/shared_port_adapters/configuration/7600series/76cfgeth.html#wp1196808
    Thanks,
    Sergey

  • Cable Modem Termination Systems (CMTS): Architecture, Configuration, and Troubleshooting

    With Eric Bautista
    Welcome to the Cisco Support Community Ask the Expert conversation. This is an opportunity to get an overview of the Cisco Cable Modem Termination System (CMTS) platforms and the uBR product family.
    Eric Bautista is a customer support engineer at the Cisco Technical Assistance Center (TAC.) He is responsible for supporting the Cisco uBR CMTS platforms. He has 3.5 years of experience in cable technology. Previous to his current role, Bautista supported Cisco WAN and optical technologies, including QoS and SONET/SDH.
    Remember to use the rating system to let Eric know if you have received an adequate response.
    Eric might not be able to answer each question due to the volume expected during this event.
    Remember that you can continue the conversation on the Service Provider sub-community discussion forum shortly after the event. This event lasts through September 21, 2012. Visit this forum often to view responses to your questions and the questions of other community members.
    Webcast Related links:
    Slides
    Webcast Recording video
    FAQ from live webcast

    Only the uBR10k CMTS platform supports the SIP and SPA modules. 
    The SIP needs to be installed in Slots 1, 2, 3, or 4 of the Cisco uBR10k router (referred to as WAN slots).
    The SPA's would then be installed into the SIP.
    The various SPA's available are:
    Cisco Wideband SPA - For Wideband / M-CMTS solutions.
    1-Port 10-Gigabit Ethernet Shared Port Adapter - For network connectivity
    5-Port Gigabit Ethernet Shared Port Adapter - For network connectivity
    Here is an excerpt from the Cisco uBR10012 Universal Broadband Router SIP and SPA Software Configuration Guide:
    http://www.cisco.com/en/US/docs/interfaces_modules/shared_port_adapters/configuration/ubr10012/12.3_23_bc/sipsp_d3.html
    SPA Interface Processors (SIP)
    A SIP is a carrier card that inserts into a router slot like a line card. It provides no network connectivity on its own.
    A SIP contains one or more bays (subslots), which are used to house one or more SPAs. The SPA provides interface ports for network connectivity.
    During normal operation the SIP should reside in the router fully populated either with functional SPAs in all bays, or with a blank filler plate (SPA-BLANK=) inserted in all empty bays.
    SIPs support online insertion and removal (OIR) with SPAs inserted in their bays. SPAs also support OIR and can be inserted or removed independently from the SIP.
    Shared Port Adapters (SPA)
    A SPA is a modular type of port adapter that inserts into a bay of a compatible SIP carrier card to provide network connectivity and increased interface port density. A SIP can hold one or more SPAs, depending on the SIP type.
    SPAs are available in various types. The Cisco Wideband SPA is a single-wide, half-height SPA. Figure 2-1 shows how bays are numbered on the Cisco Wideband SIP.

  • My CMT-X3CD personal audio system won't connect my ipod using USB cables

    My new CMT-X3CD personal audio system cannot connect to my Ipod.I have tried numerous USB cables - one doesn't register at all, the other charges my ipod but doesn't play through the system, and a third just "searches" for the USB device. Any ideas please??

    Hi ppatrick,
    For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
    Thanks,
    >Joffrey
    If my post answers your question, please mark it as "Accept as Solution"

  • 7246 CMTS transparent bridging?

    Hi,
    I have a question.
    How can I solve my problem on the picture?
    Is it possible that the default GW is the internet router and the CMTS is acting as a bridge?

    I hope this will help.
    http://www.cisco.com/en/US/tech/tk86/tk804/technologies_q_and_a_item09186a00800a4ae5.shtml#qa4

Maybe you are looking for