BMP Entity never execute unsetEntityContext

hi,
i'm using BMP Entity beans
1. these seems never executing the unsetentitycontext method.
2. when undeploying my EJB or stopping my weblogic instance,
i would like to close properly some sockets, but no events
occurs.
What's happening, is it a unfixed problem? or a deployment problem?
I'm using weblogic server 6.1.1.0 SP1
thanks in advance

Entity beans are moved to a pool at the end of a transaction. When talking
to an entity bean directly, the transaction is a single method call. An
entity bean is attached at the server on demand (pulled from the pool and
activated)... and only stays attached during a transaction. So, when you
make the method call, the server attaches an entity bean, runs the method,
calls ejbStore(), and releases the bean back to the pool by calling
ejbPassivate(). Finally, beans that are in the 'pooled' state are garbage
collected by the server at it's discretion and the unsetEntityContext() is
called.
Hence, you have to release all your resources in ejbPassivtae().
"F Cahon" <[email protected]> wrote in message
news:3c62ad4e$[email protected]..
>
hi,
i'm using BMP Entity beans
1. these seems never executing the unsetentitycontext method.
2. when undeploying my EJB or stopping my weblogic instance,
i would like to close properly some sockets, but no events
occurs.
What's happening, is it a unfixed problem? or a deployment problem?
I'm using weblogic server 6.1.1.0 SP1
thanks in advance

Similar Messages

  • Deploying BMP Entity Bean with primary key calss

    Hi,
    I am using EJB 2.0 with and websphere studio 5.0 and database is sql server 2000.
    My BMP Entity bean has a primary key class.From my client I am invoking the Entity Bean by calling it's findbyprimarykey method.
    The home interface of my findbyprimarykey method returns a class of type Remote.But in the Entity Bean class,the return type is the primarykey class type.
    My problem is invoking this findbyprimarykey from the client to get the remote interface so that the other business methods of the entity bean can be called.
    The control goes into the ejbFindbyPrimaryKey but when it is returing from the Entity Bean class,it gives a remote exception (as the return type in Entity Bean class and Home interface are different for the findbyprimarykey method).
    I think that somewhere in the deployment decriptor in my websphere,i have to specify the primarykey class type,which i am missing out and hence getting the error.
    Please help me out with your advice and solution.
    Thanks
    Rahul Priyadarshi

    Hi,
    Sorry to disturb you again.
    Even my code is also almost the same....i am pasting the code below...Please go through it and let me know if I have made any mistake..
    EditVendorEntityBean.....(Bean Class)
    package code.beans.EditVendor;
    import code.beans.dataAccess.*;
    import javax.ejb.CreateException;
    import javax.ejb.RemoveException;
    import javax.ejb.EntityBean;
    import javax.ejb.EntityContext;
    import javax.ejb.EJBException;
    import javax.ejb.FinderException;
    import javax.ejb.ObjectNotFoundException;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.sql.*;
    import javax.sql.*;
    import java.util.*;
    * Bean implementation class for Enterprise Bean: EditVendorEntity
    public class EditVendorEntityBean implements javax.ejb.EntityBean {
         private static Hashtable dataSources = new Hashtable();
         private String username;
    private int Vendor_ID;
    private int Category_Id;
    private String Category_Name;
    private String Vendor_Name;
    private String Vendor_Address1;
    private String Vendor_Address2;
    private String Contact_Name;
    private String Home_Phone;
    private String Work_Phone;
    private String email;
    private String faxno;
    private String userloginname;
    private boolean dirtyFlag = false;
    private EntityContext context;
    private static final String DS_NAME = "jdbc/spiPOPS";
    Connection con = null;
    Statement stmt = null;
    PreparedStatement st = null;
    ResultSet res = null;
         //***********************Business Methods*********************
    // Begin of Busines Methods
    public void setData (String[] catname, String vendorname,String vendadd1,String vendadd2,String vendcontact,String venoff,String venres,String mailid,String venfax) {
              System.out.println("in setData where Vendor Id= "+ Vendor_ID);
                   boolean status=false;
                   boolean existing=false;
                   ArrayList cat=new ArrayList();
                   try
                        cat=getcategorylist(this.Vendor_ID);
                   catch(SQLException e)
                        System.out.println("Could not get category list");
                   System.out.println("Size of cat array -->" + cat.size() + " and string array size -->" + catname.length);
                   if(catname.length>0)
                        //Removing unwanted vendor categories for a particular vendor id
                        for(int i=0;i<cat.size();i++)
                                  existing=false;
                                  String tempdata=(String)cat.get(i);
                                  for(int j=0;j<catname.length;j++)
                                       if(tempdata.equals(catname[j]))
                                            existing=true;
                                  if(!existing)
                                       try
                                            delvencat(this.Vendor_ID,tempdata.trim());
                                       catch(SQLException e)
                                            System.out.println("Could not delete record in POPS_VENDOR_CATEGORY for -->" + tempdata);
                   //Adding new vendor categories for a particular vendor
                        try
                                  for(int i=0;i<catname.length;i++)
                                       status=false;
                                       String strcat=catname;
                                       status=checkcat(this.Vendor_ID,strcat.trim());
                                       if(!status)
                                            insertvencat(this.Vendor_ID,strcat.trim());
                        catch(SQLException e)
                                  System.out.println("Could not insert or select from POPS_VENDOR_CATEGORY table");
                   this.Vendor_Name          =vendorname;
              this.Vendor_Address1     =vendadd1;
              this.Vendor_Address2     =vendadd2;
              this.Contact_Name          =vendcontact;
              this.Work_Phone               =venoff;
              this.Home_Phone               =venres;
              this.email                    =mailid;
              this.faxno                    =venfax;
                   dirtyFlag = true;
                   System.out.println("Leaving set data method");
    public Vector getData() {
         Vector vctRec=new Vector();
         ArrayList arrdatas = new ArrayList();
         arrdatas.add(""+this.Vendor_ID);
         arrdatas.add(this.Vendor_Name);
         arrdatas.add(this.Vendor_Address1);
         arrdatas.add(this.Vendor_Address2);
         arrdatas.add(this.Contact_Name);
         arrdatas.add(this.Work_Phone);
         arrdatas.add(this.Home_Phone);
         arrdatas.add(this.email);
         arrdatas.add(this.faxno);
         vctRec.addElement(arrdatas);
         ArrayList cat=new ArrayList();
              try
              System.out.println("Calling getcategorylist from getdata with vendorid-->" + this.Vendor_ID);
              cat          = getcategorylist(this.Vendor_ID);
         catch(SQLException e)
                   System.out.println("Could not get datas for category list");
         vctRec.addElement(cat);
         ArrayList allcats=new ArrayList();
         try
                        allcats          = getallcategorylist();
              catch(SQLException e)
                        System.out.println("Could not get datas for category list");
         vctRec.addElement(allcats);
              dirtyFlag = false;
         System.out.println("Before return statement in getdata with vector size -->" + vctRec.size());
              return vctRec;
    // End of Business Methods
    //**************************Entity Bean Methods*******************************
         * ejbActivate
         public void ejbActivate() {
              Vendor_ID = Integer.parseInt((String)context.getPrimaryKey());
         System.out.println("Inside ejbActivate Vendor_ID-->"+ Vendor_ID);
         * ejbLoad
         public void ejbLoad() {
              System.out.println("Inside ejbLoad ********" );
    try {
    loadRow();
    }catch (Exception ex) {
              System.out.println("Failed in loadRow()");
    throw new EJBException("ejbLoad: " +
    ex.getMessage());
         * ejbPassivate
         public void ejbPassivate() {
         System.out.println("Inside ejbPassivate " );
    Vendor_ID = 0;
         * ejbRemove
         public void ejbRemove() throws javax.ejb.RemoveException {
              //Empty Method
         * ejbStore
         public void ejbStore() {
    System.out.println("Inside ejbStore " );
    try {
    storeRow();
    }catch (Exception ex) {
              System.out.println("Exception thrown in storeRow" + ex.getMessage());
    throw new EJBException("ejbLoad: " +
    ex.getMessage());
         * getEntityContext
         public javax.ejb.EntityContext getEntityContext() {
              return context;
         * setEntityContext
         public void setEntityContext(javax.ejb.EntityContext ctx) {
              System.out.println("Inside setEntityContext " );
    try{
         con = getConnection(DS_NAME);
         System.out.println("DB Connection Created!!");
    catch(Exception e){
    this.context = ctx;
         * unsetEntityContext
         public void unsetEntityContext() {
    System.out.println("Inside unsetEntityContext " );
    closeDbConnection(con, res, st);
    this.context = null;
         * ejbCreate
         //code.beans.EditVendor.EditVendorEntityKey
         public code.beans.EditVendor.EditVendorEntityKey ejbCreate(String vendorid)
              throws javax.ejb.CreateException {          
              return new EditVendorEntityKey(vendorid);
              //return null;
         * ejbPostCreate
         public void ejbPostCreate(String vendorid) throws javax.ejb.CreateException {
              //Empty
         * ejbFindByPrimaryKey
         //code.beans.EditVendor.EditVendorEntityKey
         public code.beans.EditVendor.EditVendorEntityKey ejbFindByPrimaryKey(
              code.beans.EditVendor.EditVendorEntityKey primaryKey)
              throws javax.ejb.FinderException {
    try {
    if(selectByPrimaryKey(Integer.parseInt(primaryKey.getVendorId()))) {
              System.out.println("Leaving the findbyprimarykey method from the entity bean");
         return primaryKey;
         //return null;
    }else {
         throw new ObjectNotFoundException
         ("Row for id " + primaryKey + " not found.");
    }catch (Exception ex) {
    throw new EJBException("EXCEPTION IN ejbFindByPrimaryKey :- " + ex.getMessage());
         /*********************** Database Utility Routines *************************/
    private boolean selectByPrimaryKey(int priKey)
    throws SQLException {
         System.out.println("inside selectByPrimaryKey for primary key " + priKey);
    String queryStr ="SELECT VENDOR_ID FROM POPS_VENDOR WHERE VENDOR_ID = " + priKey;
    System.out.println("in selectByPrimaryKey where queryString is: "+ queryStr);
              stmt = con.createStatement();
    ResultSet result = stmt.executeQuery(queryStr);
    if(!result.next()) {
    stmt.close();
         System.out.println("Did not find "+priKey);
    return false;
    else { //Found the primaryKey
    Vendor_ID = result.getInt("VENDOR_ID");
    stmt.close();
    return true;
    private void loadRow() throws SQLException {
              System.out.println("inside loadRow ...");
              stmt = con.createStatement();
              String queryStr = "SELECT VENDOR_NAME,VENDOR_ADDRESS1,VENDOR_ADDRESS2,CONTACT_NAME,HOME_PHONE,WORK_PHONE,EMAIL_ID,FAX_NO " +
                                  "FROM POPS_VENDOR WHERE VENDOR_ID=" + Vendor_ID;
              System.out.println("Inside loadRow()***********"+queryStr);
              ResultSet result = stmt.executeQuery(queryStr);
              ArrayList catadatas=new ArrayList();
         if(!result.next())
         throw new SQLException("No record for primary key" + Vendor_ID);
              this.Vendor_ID               =Vendor_ID;
                        this.Vendor_Name          =result.getString("VENDOR_NAME");
                        this.Vendor_Address1     =result.getString("VENDOR_ADDRESS1");
                        this.Vendor_Address2     =result.getString("VENDOR_ADDRESS2");
                        this.Contact_Name          =result.getString("CONTACT_NAME");
                        this.Home_Phone               =result.getString("HOME_PHONE");
                        this.Work_Phone               =result.getString("WORK_PHONE");
                        this.email                    =result.getString("EMAIL_ID");
                        this.faxno                    =result.getString("FAX_NO");
                             System.out.println("Leaving loadrow method with loaded datas for vendor -->" + Vendor_ID);
                             stmt.close();
    private ArrayList getcategorylist(int vendor) throws SQLException{
              String queryStr ="SELECT DISTINCT(VENDOR_CAT) FROM POPS_VENDOR_CATEGORY WHERE VENDOR_ID=" + vendor;
              System.out.println("Query for the cat list --> " + queryStr);
              stmt = con.createStatement();
              ResultSet result = stmt.executeQuery(queryStr);
              ArrayList catdatas=new ArrayList();
    try{
                   while(result.next())
                        catdatas.add(result.getString("VENDOR_CAT"));
              catch (SQLException e){
                   stmt.close();
                   System.out.println("Could not retrieve datas for Category list");
              stmt.close();
              System.out.println("size off array for cat -->" + catdatas.size() + " and datas ->" + catdatas);
              return catdatas;
         private ArrayList getallcategorylist() throws SQLException{
                   //String queryStr ="SELECT DISTINCT(VENDOR_CAT) FROM POPS_VENDOR_CATEGORY";
                   StringBuffer strquery=new StringBuffer(20);
                   strquery.append("SELECT DISTINCT(CATEGORY_NAME) FROM POPS_CATEGORY");
                   stmt = con.createStatement();
                   //ResultSet result = stmt.executeQuery(queryStr);
                   ResultSet result = stmt.executeQuery(strquery.toString());
                   ArrayList catdatas=new ArrayList();
                   try{
                        while(result.next())
                                  //catdatas.add(result.getString("VENDOR_CAT"));
                                  catdatas.add(result.getString("CATEGORY_NAME"));
                   catch (SQLException e){
                             stmt.close();
                             System.out.println("Could not retrieve datas for All Category list");
                   stmt.close();
                   return catdatas;
         private void delvencat(int vendor,String vencat) throws SQLException {
              int update=-1;
              stmt = con.createStatement();
              String queryStr ="DELETE FROM POPS_VENDOR_CATEGORY WHERE VENDOR_ID = " + vendor + " AND VENDOR_CAT = '" + vencat.toUpperCase() + "'";
              System.out.println("Delete query --> " + queryStr);
              update= stmt.executeUpdate(queryStr);
              if(update!=1)
                   System.out.println("Did not find data to delete");
              stmt.close();
         private void insertvencat(int vendor,String vencat) throws SQLException {
              int update=-1;
              String queryStr ="INSERT INTO POPS_VENDOR_CATEGORY(VENDOR_ID,VENDOR_CAT)" +
                                  " VALUES(" + vendor +",'" + vencat + "')";
              System.out.println("Insert query --> " + queryStr);
              stmt = con.createStatement();
              update=stmt.executeUpdate(queryStr);
              if(update!=1)
                   System.out.println("Could not insert records in the database");
              stmt.close();
         private boolean checkcat(int vendor,String catven) throws SQLException {
              boolean datastatus=false;
              String queryStr ="SELECT VENDOR_ID FROM POPS_VENDOR_CATEGORY WHERE VENDOR_ID = " + vendor + " AND VENDOR_CAT = '" + catven.toUpperCase() + "'";
              stmt = con.createStatement();
              ResultSet result = stmt.executeQuery(queryStr);
              datastatus=result.next();
              stmt.close();
              return datastatus;
    private void storeRow() throws SQLException {
                   System.out.println("Inside ejb store");
         if (!dirtyFlag) {
         System.out.println("Skipping the UPDATE because object is not dirty");
         return;
         CallableStatement cs=null;
    try{
                        cs = con.prepareCall("EXEC POPS_VENDOR_UPDATE " + this.Vendor_ID + ",'" + this.Vendor_Name + "','" + this.Vendor_Address1 + "','" + this.Vendor_Address2 + "','" + this.Contact_Name + "','" + this.Work_Phone + "','" + this.Home_Phone + "','" + this.email + "','" + this.faxno +"'");
                        System.out.println("\n\n SQL Statement : \n " + "EXEC POPS_VENDOR_UPDATE " + this.Vendor_ID + ",'" + this.Vendor_Name + "','" + this.Vendor_Address1 + "','" + this.Vendor_Address2 + "','" + this.Contact_Name + "','" + this.Work_Phone + "','" + this.Home_Phone + "','" + this.email + "','" + this.faxno +"'");
                        cs.executeUpdate();
              catch (SQLException e){
                        cs.close();
                        System.out.     println("\n\n Error in calling stored procedure POPS_INSERT_NEW_REQUEST \n\n"+ e.getMessage() + "\n\n");
              cs.close();
              dirtyFlag = false;
         private Connection getConnection(String dbName) throws SQLException
              String configuredDataSourceName = null;
              if (dbName == null) {
                   System.out.println("Attemp to get connection failed. The requested database name is null");
              DataSource dbSource = getDataSource(dbName);
              return dbSource.getConnection();
         private DataSource getDataSource(String dbName)
              // looking from cache;
              DataSource dbSource = (DataSource) dataSources.get(dbName);
              if (dbSource == null) { //we need to find it from JNDI
                   try {
                        Context ic = new InitialContext();
                        dbSource = (DataSource) ic.lookup(dbName);
                        dataSources.put(dbName, dbSource);
                   }catch (NamingException e){
              return dbSource;
         * User calls this function to safely close an connection
         * @param connt The connection a datasource
         * @param rs The resulSet inside this connection
         * @param statement The statement associate with this connection
         private void closeDbConnection(Connection cont,ResultSet rs,Statement statement)
              if (rs != null)
              try {
                        rs.close();
                   } catch (SQLException ignored) {
                        ignored.printStackTrace();
              if (statement != null)
                   try {
                        statement.close();
                   } catch (SQLException ignored) {
                        ignored.printStackTrace();
              if (cont != null)
                   try {
                        cont.close();
                   } catch (SQLException ignored) {
                        ignored.printStackTrace();
         } //closeDbConnection
    EditVendorEntity (Remote Interface)
    package code.beans.EditVendor;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.util.*;
    * Remote interface for Enterprise Bean: EditVendorEntity
    public interface EditVendorEntity extends javax.ejb.EJBObject {
         public void setData (String[] catname, String vendorname,String vendadd1,String vendadd2,String vendcontact,String venoff,String venres,String mailid,String venfax)
                   throws RemoteException;
    public Vector getData() throws RemoteException;
    EditVendorEntityHome (Home Interface)
    package code.beans.EditVendor;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.FinderException;
    import javax.ejb.DuplicateKeyException;
    import javax.ejb.EJBHome;
    import java.util.*;
    * Home interface for Enterprise Bean: EditVendorEntity
    public interface EditVendorEntityHome extends javax.ejb.EJBHome {
         * Creates an instance from a key for Entity Bean: EditVendorEntity
         public code.beans.EditVendor.EditVendorEntity create(String vendorid)
              throws javax.ejb.CreateException, java.rmi.RemoteException;
         * Finds an instance using a key for Entity Bean: EditVendorEntity
         public code.beans.EditVendor.EditVendorEntity findByPrimaryKey(
              code.beans.EditVendor.EditVendorEntityKey Vendor_ID)
              throws javax.ejb.FinderException, java.rmi.RemoteException;
    EditVendorEntityKey (Primary Key Class)
    package code.beans.EditVendor;
    * Key class for Entity Bean: EditVendorEntity
    public class EditVendorEntityKey implements java.io.Serializable {
         static final long serialVersionUID = 3206093459760846163L;
         public String primkey;
         * Creates an empty key for Entity Bean: EditVendorEntity
         public EditVendorEntityKey() {  }
         public EditVendorEntityKey(String primarykey) {     
              this.primkey=primarykey;
         public String getVendorId() {
    return primkey;
         * Returns true if both keys are equal.
         public boolean equals(java.lang.Object otherKey) {
              if (otherKey instanceof code.beans.EditVendor.EditVendorEntityKey) {
                   code.beans.EditVendor.EditVendorEntityKey o =
                        (code.beans.EditVendor.EditVendorEntityKey) otherKey;
                   return (primkey.equals(otherKey));
              return false;
         * Returns the hash code for the key.
         public int hashCode() {
              return (primkey.hashCode());
    Please go through and give me your comments and solution...
    Thanks in advance
    Rahul

  • Help! My database connection from BMP Entity bean dies after a while!!!

    Hi all!
    I posted a related post about this lately How do I use connection pooling from BMP Entity Beans in OC4J 10.1.2? but it didn't solve my problems.
    I have some entity beans coded with BMP, so I handle all database stuff myself. I have set up datasources.xml like this:
        <data-source
            class="com.evermind.sql.DriverManagerDataSource"
            name="OracleDS"
            location="jdbc/OracleCoreDS"
            xa-location="jdbc/xa/OracleXADS"
            ejb-location="jdbc/OracleDS"
            connection-driver="oracle.jdbc.driver.OracleDriver"
            username="scott"
            password="tiger"
            url="jdbc:oracle:thin:@//URL TO DB:SID"
            inactivity-timeout="30"
            min-connections="10"
            max-connections="50"
        />All JNDI connection lookup is done through the ejb-location as I should. I have been through all my try {} catch {} finally {} blocks, so ensure that I close all objects after use.
    After a few hours of inactivity, my program dies. I have inserted a lot of debug statements (System.out.println()), and it seems like the program hangs when it's trying to execute a PreparedStatement.
    I.e. it dies when I do ps.ExecuteQuery in the code below (NOTE: to make things easier to read, I have stripped out all error handling here):
        Context ic = new InitialContext();
        DataSource ds = (DataSource)ic.lookup("jdbc/OracleDS");
        c = ds.getConnection();
        System.out.println("DEBUG: Got database connection.");
        PreparedStatement ps = c.prepareStatement("SELECT foobar FROM footable WHERE foo=?");
        System.out.println("DEBUG: Prepared SQL statement.");
        ps.setString(1,"foo");
        ResultSet rs = ps.executeQuery();
        // Close all objects (rs, ps, c) here.My database is on another physical server, so I wonder if this is caused by an unstable network, or?
    Please help!
    ~Morten

    Hi again!
    Sorry for the delay, but I have been busy lately.
    Anyway: Our application server is 10.1.2, so I don't think patch 4307303 is relevant here. Database server is Oracle 9.2.0.6. Everything runs on Linux (of course) ;-).
    Here's a thread dump:
    Full thread dump Java HotSpot(TM) Server VM (1.4.2_04-b05 mixed mode):
    "ApplicationServerThread-8" prio=1 tid=0x089a9448 nid=0x5902 in Object.wait() [885e6000..885e687c]
         at java.lang.Object.wait(Native Method)
         at EDU.oswego.cs.dl.util.concurrent.SynchronousChannel.poll(SynchronousChannel.java:353)
         - locked <0x91a31e60> (a EDU.oswego.cs.dl.util.concurrent.LinkedNode)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask(PooledExecutor.java:767)
         at com.evermind.util.ReleasableResourcePooledExecutor.myGetTask(ReleasableResourcePooledExecutor.java:151)
         at com.evermind.util.ReleasableResourcePooledExecutor.access$000(ReleasableResourcePooledExecutor.java:33)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:190)
         at java.lang.Thread.run(Thread.java:534)
    "AJPRequestHandler-ApplicationServerThread-7" prio=1 tid=0x08d78a58 nid=0x5902 runnable [8b2f4000..8b2f587c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at oracle.net.ns.Packet.receive(Unknown Source)
         at oracle.net.ns.DataPacket.receive(Unknown Source)
         at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:978)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:950)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:434)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:661)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:959)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:693)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1065)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2942)
         - locked <0x914cad08> (a oracle.jdbc.driver.T4CPreparedStatement)
         - locked <0x920256c0> (a oracle.jdbc.driver.T4CConnection)
         at com.evermind.sql.FilterPreparedStatement.executeQuery(FilterPreparedStatement.java:270)
         at com.evermind.sql.FilterPreparedStatement.executeQuery(FilterPreparedStatement.java:270)
         at com.evermind.sql.PreparedStatementBCELProxy.executeQuery(PreparedStatementBCELProxy.java:31)
         at com.brunata.servicerapport.ejb.CustomerBean.ejbCreate(Unknown Source)
         at CustomerLocalHome_EntityHomeWrapper2.create(CustomerLocalHome_EntityHomeWrapper2.java:420)
         at com.brunata.servicerapport.BeanFactory.getCustomerBean(Unknown Source)
         at com.brunata.servicerapport.CustomerOpenAction.execute(Unknown Source)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at com.brunata.servicerapport.CustomerAuthorizationFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-23" daemon prio=1 tid=0x092ebb18 nid=0x5902 in Object.wait() [88565000..8856587c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x920000f0> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x920000f0> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "Thread-22" daemon prio=1 tid=0x092eb988 nid=0x5902 in Object.wait() [8dfa0000..8dfa087c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92000188> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x92000188> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "AJPRequestHandler-ApplicationServerThread-6" prio=1 tid=0x08c03240 nid=0x5902 runnable [8b0f1000..8b0f187c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at com.evermind.io.SingleReadBufferInputStream.readChunk(SingleReadBufferInputStream.java:116)
         at com.evermind.io.SingleReadBufferInputStream.read(SingleReadBufferInputStream.java:35)
         at com.evermind.server.http.AJPRequestHandler.readAJPPackets(AJPRequestHandler.java:462)
         at com.evermind.server.http.AJPRequestHandler.initRequest(AJPRequestHandler.java:396)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:185)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    "DestroyJavaVM" prio=1 tid=0x08053278 nid=0x5902 waiting on condition [0..bfffcac4]
    "OC4JMonitorThread" daemon prio=1 tid=0x08d7a5a0 nid=0x5902 in Object.wait() [88667000..8866787c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92aed1f8> (a java.lang.Object)
         at oracle.ons.NotificationQueue.internalDequeue(NotificationQueue.java:253)
         - locked <0x92aed1f8> (a java.lang.Object)
         at oracle.ons.NotificationQueue.dequeue(NotificationQueue.java:226)
         at oracle.ons.Subscriber.receive(Subscriber.java:136)
         at com.evermind.server.OC4JMonitorThread.run(OC4JMonitorThread.java:315)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-6" daemon prio=1 tid=0x087f9f98 nid=0x5902 in Object.wait() [886e8000..886e887c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92aed368> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:429)
         at oracle.ons.NotificationQueue.internalDequeue(NotificationQueue.java:255)
         - locked <0x92aed368> (a java.lang.Object)
         at oracle.ons.NotificationQueue.dequeue(NotificationQueue.java:215)
         at oracle.ons.SenderThread.run(SenderThread.java:81)
    "Thread-5" daemon prio=1 tid=0x087f9d10 nid=0x5902 runnable [88769000..8876987c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at oracle.ons.InputBuffer.readMoreData(InputBuffer.java:267)
         at oracle.ons.InputBuffer.getNextString(InputBuffer.java:222)
         at oracle.ons.ReceiverThread.run(ReceiverThread.java:228)
    "TaskManager" prio=1 tid=0x087f9b30 nid=0x5902 waiting on condition [887ea000..887ea87c]
         at java.lang.Thread.sleep(Native Method)
         at com.evermind.util.TaskManager.run(TaskManager.java:247)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-4" prio=1 tid=0x08ca2fb8 nid=0x5902 in Object.wait() [891e2000..891e287c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92aee258> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x92aee258> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "AJPConnectionListener [0.0.0.0/0.0.0.0:3302]" prio=1 tid=0x086f1668 nid=0x5902 runnable [8a7ca000..8a7ca87c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x927a0390> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at com.evermind.server.http.AJPConnectionListener.run(AJPConnectionListener.java:60)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "RMIServer [0.0.0.0:3202] count:2" prio=1 tid=0x086cbff0 nid=0x5902 runnable [8b172000..8b17287c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x927a0850> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at com.evermind.server.rmi.RMIServer.run(RMIServer.java:464)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "JMSServer[webprod:3702]" prio=1 tid=0x0879aff0 nid=0x5902 runnable [8b1f3000..8b1f387c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x92746aa0> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at com.evermind.server.jms.JMSServer.run(JMSServer.java:516)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "LogFlusher" daemon prio=1 tid=0x081b91a0 nid=0x5902 waiting on condition [8b274000..8b27487c]
         at java.lang.Thread.sleep(Native Method)
         at oracle.core.ojdl.BufferedLogWriter$Flusher.run(BufferedLogWriter.java:354)
    "Signal Dispatcher" daemon prio=1 tid=0x080ba9e0 nid=0x5902 waiting on condition [0..0]
    "Finalizer" daemon prio=1 tid=0x080b61a8 nid=0x5902 in Object.wait() [8e9a7000..8e9a787c]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x925b0378> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=1 tid=0x080b5dc8 nid=0x5902 in Object.wait() [8ea28000..8ea2887c]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:429)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
         - locked <0x925b02a0> (a java.lang.ref.Reference$Lock)
    "VM Thread" prio=1 tid=0x080b52e0 nid=0x5902 runnable
    "VM Periodic Task Thread" prio=1 tid=0x080bee08 nid=0x5902 waiting on condition
    "Suspend Checker Thread" prio=1 tid=0x080b9fc8 nid=0x5902 runnable As far as I can see, my PreparedStatement (or connection) is locked.... Any ideas?
    ~Morten ;-)

  • Need to find sql/users that is parsing but NEVER executing

    hello all,
    I have been trying to figure out how to find sql or user who are pharse sql but not executing them. thats becoz my execute to prase % in my AWR report is negative. meaning someone is parsing statements and NEVER executing them. They are just chewing up your CPU, latching the shared pool, killing your performance.
    which is not a good thing and i want to find out what user is doing that or what SID or what sql is diong whats its doing. How can i find that out. Any querys out there to do that or ?? THANKS
    this is 10.2.0.3 on AIX. and here is part of AWR
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   80.74    In-memory Sort %:   99.10
                Library Hit   %:   92.95        Soft Parse %:   91.24
             Execute to Parse %:  -31.89         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:   87.32     % Non-Parse CPU:   99.92
    Edited by: user630084 on Mar 13, 2009 7:51 AM

    true i can use that, I am getting about 8 rows out of it and there are about 100+ connections as of now. But here is the thing. As the app use only one schema(lets call it scott). Everybody login thru that schema (scott/tiger)...so that 87 rows that i am getting..all of them are parsing_schema_name=scott and parsing_user_id=55 ..........but i need those 8 users SID...so i can pin point...hey u are the one who is just prasing and not executing...if you know what i mean...so i need that SID...i got the parsing_schema_name and parsing_user_id...but need the SID...so how can i get that ???

  • Using JDO under BMP entity beans

    I have an entity bean that is a BMP which uses JDO under the hood. The Oc4J document says that "Bean-managed persistence entity beans manage the resource locking within the bean implementation themselves" in the advanced subject chapter. Ok can someone in oracle add an extra line eloborating on that statement ?
    I am stuck in trying to pass a test that can do concurrent modify of an entity bean. I had 2 or more threads trying to modify one single BMP entity bean object concurrently. The database vendor recognizes one bean had the lock and deny locks to any other beans. Who should block the call to the database until one thread releases the lock on the object ? The developer ? J2EE container ? Database ?
    J2EE tenet "Developers are shielded from concurrency and threading issues while implementing business logic" Does that still hold ??
    An object Person's salary value and his benefit information are tried to be modified at the same time by different external system(salary administrator, benefit's administrator). But I dont want the user to see the lock on the object error, but instead I require a pessimistic lock on the BMP. Why does Oc4J not support pessimistic concurrency option for BMP ?

    Kurien,
    If you wish to bring something to the attention of the "Oracle dev team", I suggest you try Oracle's "MetaLink" Web site:
    http://metalink.oracle.com
    It is the official Oracle support Web site.
    These forums are for the Oracle community. Oracle Corporation employees are not obliged to even visit these forums.
    By the way, I am not an Oracle employee.
    Good Luck,
    Avi.
    P.S. For your information, you may find Debu Panda's blogs of help:
    http://radio.weblogs.com/0135826/

  • Can't get BMP Entity Bean Instance!!

    Hello
    I have created a BMP Entity bean, and put on the findPrimaryKey method this code:
    try {
    context = new InitialContext();
    DataSource ds = (DataSource) context.lookup(nombreConexion);
    conn = ds.getConnection();
    stmt = conn.createStatement();
    rs = stmt.executeQuery("select count(upc) from musiccdejb where upc='"+ primaryKey +"'");
    if (rs!=null && rs.next()) {    
    countNumber = rs.getInt(1);
    if (countNumber!=1) {
    throw new Exception();
    catch (SQLException e) {
    System.out.println("Error ejbFindPrimaryKey"+e);
    catch (Exception e1) {
    System.out.println("Otro error ejbFindPrimaryKey"+e1);
    Everything there seem to be ok, because the select return 1, so the primary key exist, but after that the container doesn't get the information for this entity bean, everything is null when I tried to acces the information.
    Context ctx = new InitialContext();
    MusicCDBMPHome musicCDHome = (MusicCDBMPHome)ctx.lookup("java:comp/env/ejb/MusicCDBMP");
    boolean found = false;
    try {
    musicCDObj = musicCDHome.findByPrimaryKey("1");
    found = true;
    } catch (Exception e) {
    found = false;
    if (found) {
    out.println(musicCDObj.getUpc());
    out.println(musicCDObj.getTitle());
    Please help me, I am working with JDeveloper 9i Release 2 and OC4J Standalone version 9.0.2.
    Ana Maria

    Yes, I alredy did that, and this is te content of my ejbLoad:
    String upc = (String)entityContext.getPrimaryKey();
    ResultSet rs = null;
    try {
    context = new InitialContext();
    DataSource ds = (DataSource) context.lookup(nombreConexion);
    conn = ds.getConnection();
    stmt = conn.createStatement();
    rs = stmt.executeQuery("select count(upc) from musiccdejb where upc='"+ upc +"'");
    if (rs!=null && rs.next()) {
    if (rs.getInt(1)!=1) {
    throw new Exception();
    catch (SQLException e) {
    System.out.println("Error ejbLoad"+e);
    catch (Exception e1) {
    System.out.println("Otro error ejbLoad"+e1);
    Another suggestion??
    Thanks
    Ana Maria

  • Table Button Action - never executes

    Hey Everyone, I have a really strange problem.
    I have a table, which is bound to an ObjectArrayDataProvider. Everything works fine. I then added a command button to one of the colums and bound its action property to the backing bean.
    The problem is; when ever I click the button - the code is never executed.
    <ui:button action="#{Monitor.button_Remove_action}" binding="#{Monitor.button_Remove}" id="button_Remove" text="Remove"/>
    public String button_Remove_action() {
             * Never reaches this code
               doAmazingThings(true);
               return null;
        }

    I am perplexed. Are you using virtual forms? Not
    that that would explain it.
    Do you have the immediate property set to true
    (checked) for any component?
    Do you bypass any phases by calling renderResponse()
    or responseComplete()?No, No and No.
    I have brought the page down to my 1 table with 1 rowgroup with 1 column containing the 1 button.
    Still no go!
    I am dynamically populating the table, if that would matter? In prerender I set the array:
    objectArrayDataProvider1.setArray(getServers());

  • BMP Entity should use UserTransaction ???

    If I have a BMP Entity, should i use UserTransaction in the bean ??? if not , what
    should i use ?
    thanks :)

    If you use a TXDatasource within a TX the autocommit is set to false by default.
    Peter wrote:
    Should I use setAutoCommit(false) ??
    Rajesh Mirchandani <[email protected]> wrote:
    You should not use UserTransaction in a BMP. You could set the tx attributes
    in the
    ejb-jar.xml file and have the container handle the transactions for you.
    Look in the ejb spec (chapter on transactions) for more info.
    Peter wrote:
    If I have a BMP Entity, should i use UserTransaction in the bean ???if not , what
    should i use ?
    thanks :)--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • BMP Entity caching

    Hi,
    We are using BMP Entity beans on OC4J 9.0.2 and we have following problem:
    Every access to an entity bean invokes ejbLoad even if the bean is already loaded. Moreover, it's seems like OC4J re-uses instances of the beans instead of creating new instances. I mean that, for example, if we have a bean that was loaded with PK=1, and we're trying to load another bean with PK=2, OC4J invokes ejbLoad on first bean with the new PK.
    I've tried to increase max-instances and max-instances-per-pk without any success.
    I've changed validity-timeout to big number, again without success.
    I cannot change exclusive-write-access to true. OC4J always puts "false" there.
    I found couple of posts in this forum about BMP caching, but there was no any solution.
    Is there any solution to this problem?
    Thanks

    Stas -- There were a number of issues with EJB locking strategies in the v1022x. These included some scalability limits that we believed needed to be removed for enterprise systenms as well as being able to have true multi-JVM concurrency which was not easy to do with CMP in v1022x. Much of the exclusive-write-access code for non-read-only beans relied on these old mechanisms. A side effect of these changes was that for a small set of applications these changes might have some performance impact. We are looking to see how we might change this for the future but for the time being three methods exist to work around these issues. The first is to use TopLink for BMP. TopLink can provide caching that takes the place of the caching you were relying on in v1022x. The second it to use a caching mechanism like JCache that Avi described. The last and probably least desireable is to continue to use Oracle9iAS v0122x for your application.
    Realize that these changes were made to increase enterprise scalability beyond what was available in v0122x, not to negatively impact enterprise scalability.
    Laslty, it would be good to know if you are using multiple VMs in your application, if you manage multi-VM locking, and if the impact you are seeing is as great when you start to scale your application beyond a single VM.
    Thanks -- Jeff

  • 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

  • Loops in method are never executed??

    Hello,
    I have a short program that I wrote to practice manipulating arrays and to
    practice modular design. The source compiles and the program executes,
    however the 2 loops in the process() method are never entered, I have tried
    do-while loops and the for loop(which was effective for the same program
    written with non-modular design). the program will execute the
    System.out.println("\nThe array values recieved are:\n");
    inside of the process(), but ignores the 2 for loops. I have purposely declared int size; without a value such as int size=0, because I am prompting the user to enter a value for the array and I pass that value into the size of the array.
    I have worked and researched for a couple of days on this. I will post the
    code below and any help would be greatly appreciated. Thanks, Jeff
    import java.io.PrintStream;
    import javabook2.*;
    public class Tester
    public static void main (String [] args)
    {  App a;
    a = new App();
    a.start();
    class App//data members of the App class
    SimpleInput input;
    String tittle;
    int size;
    double [] rainfall;
    public App()
    { //constructor
    input = new SimpleInput();
    rainfall = new double[size];
    public void start()//start method
    describe();
    process();
    public void describe()//prompts the user for info
    tittle = SimpleInput.getString("What is your name?\n");
    System.out.println("\nNice to meet you " + tittle);
    System.out.println("\nWe are now going to get some practice with arrays!");
    size = SimpleInput.getInteger("\nPlease enter the size of your array:");
    System.out.println("\nThe size array you specified is " + size);
    System.out.println("You will be prompted " + size +" times for rainfall values.");
    public void process() // array method, declared in the start() method
    for( int i =0; i<rainfall.length; i++)
    rainfall[i] = SimpleInput.getDouble("\nPlease enter rainfall amount " +(i + 1));
    System.out.println("\nThe array values recieved are:\n");
    for( int i=0; i<rainfall.length; i++)//.length is used if you dont know the size of aray
    System.out.println(rainfall );

    Add rainfall = new double[size]; as the first
    statement in your process method.Thank you all for your responses. I tried adding the above statement as the first line in the process() method and the program worked perfectly. I learned that I tried to construct the array before I even got the value from the user, and that after I got the value is when I should have just passed that value into the array size. thanks, Jeff

  • Bmp entity ejb transactions, using DAO objects

    hi all,
    i'm new to entity ejb's... i'm using the j2ee reference implementation (1.3.1) with the cloudscape db to test my code.
    i can't seem to get my ejbCreate method to work. i'm using a DAO object to encapsulate all my database code, and simply call dao.insert(...) in my ejbCreate method.
    i tested the dao object, and it works fine when it's invoked straight. but when i try to invoke under the ejb container i run into problems:
    i deploy the bean with container managed transactions:
    (1) with the 'required' attribute:
    I get a javax.transaction.RollbackException nested inside another RollbackException, nested inside a RemoteException, nested inside another RemoteException. The final RollbackException says <<no stack trace available>>...
    So I've got no clue what's causing it...
    (2) with the 'never' attribute:
    I get a NullPointerException nested inside another NullPointerException, nested inside a RemoteException, nested inside another RemoteException. The final NullPointerException says <<no stack trace available>>...
    So I've got no clue what's causing it...
    I'm assuming something messed up with my deployment -- but I've checked it against all the examples I can find -- seems to be correct. Would the encapsulated Data Access code cause a problem? Some other config problem?
    Thanks in advance for any help!!

    i'm using the cloudscape db that's already configured with the server. i believe the datasource is correctly configured, as i am able to successfully invoke the dao methods straight -- the problem occurs when I try to do it via the entity bean that uses the dao object.
    here's my server startup messages:
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=
    true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=tr
    ue
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create
    =true
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteX

  • Entity Framework - Execute Stored Procedures

    I want to execute stored procedure using entity framework.
    I am using entity framework 6.
    The stored procedure has SELECT and RETURN statement.
    How can I read the output from SELECT and RETURN statements using
    dbContext.Database.ExecuteSqlCommand or dbContext.Database.SqlQuery statement ?

    Hello Sumit Kadam,
    >> The stored procedure has SELECT and RETURN statement.
    For the select statement, Entity Framework would support natively:
    http://www.entityframeworktutorial.net/stored-procedure-in-entity-framework.aspx
    For the return statement, we could use the dbContext.Database.SqlQuery statement as below to fetch the value:
    var returnCode = new SqlParameter();
    returnCode.ParameterName = "@ReturnCode";
    returnCode.SqlDbType = SqlDbType.Int;
    returnCode.Direction = ParameterDirection.Output;
    // assign the return code to the new output parameter and pass it to the sp
    var data = db.Database.SqlQuery<Order>("exec @ReturnCode = ProGetOrder", returnCode);
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Duplicate BMP Entity EJB

    Somehow WebLogic is allowing two instances of an entity bean to represent
    one database row.
    Look at the log below.
    It was produced with println statements inside the EJB.
    Before 18:26:38, JobRecord 14395 was first represented by object 10e42b8.
    Starting at 18:26:38, it was also represented by object 726a57.
    The two objects co-existed until 18:28:13, when object 10e42b8 departed from
    the log.
    We found out about this because the state change of JobRecord from RUNNING
    to DONE was lost because of the dual object.
    That is, one part of our code updated the JobRecord with the change, but the
    change was never reflected in the database.
    Other parts of our code obviously referenced the other object, and thus
    never realized that the state has changed.
    We had to manually update the database row to correct this problem.
    Needless to say, the incorrect state is a very serious matter for us.
    How did this happen? Is this our bug, or is this a WebLogic bug?
    My belief is that WebLogic should never allow 2 instances of an entity bean
    to represent one thing AT THE SAME TIME.
    If that's true, then this is a WebLogic bug.
    The fact that the overlap lasted for about 95 seconds is quite amazing to
    me.
    Please tell me where I'm wrong about this.
    Fri Mar 10 18:26:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:32 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:36 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:26:42 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:47 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:51 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:26:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:26:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:26:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:06 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:07 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:09 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:10 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:20 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:22 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:22 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:26 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:27 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:35 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:36 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:41 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:47 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:27:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:28:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:28:06 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:28:08 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:28:11 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:28:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:28:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:21 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:22 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:24 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:27 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:32 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:36 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:41 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:48 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:01 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:05 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:09 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:12 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:19 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:19 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:23 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:26 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:30 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:32 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:35 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:37 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:41 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:47 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:06 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:08 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:11 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status ==
    RUNNING
    Fri Mar 10 18:30:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    DEBUG : Echo : JobRecordEJB 14395 == [BaseEJBObject] home:
    gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_HomeImpl@e73783
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB : 14395 Updated from
    RUNNING to (DONE,0).
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:15 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:20 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:21 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:40 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE

    Do I have to call my problem a potential bug to get attention here?
    I certainly think my problem is a BEA bug.
    I mean, how could BEA allow 2 instances of an entity bean that represent the
    same database row to be concurrently visible?
    "C. Allen Sher" <[email protected]> wrote in message
    news:[email protected]...
    Correction:
    The last appearance of object 10e42b8 was at 18:30:13.
    This means that the two objects coexisted for a whopping 215 seconds.
    "C. Allen Sher" <[email protected]> wrote in message
    news:[email protected]...
    Somehow WebLogic is allowing two instances of an entity bean to represent
    one database row.
    Look at the log below.
    It was produced with println statements inside the EJB.
    Before 18:26:38, JobRecord 14395 was first represented by object 10e42b8.
    Starting at 18:26:38, it was also represented by object 726a57.
    The two objects co-existed until 18:28:13, when object 10e42b8 departed
    from the log.
    We found out about this because the state change of JobRecord from
    RUNNING to DONE was lost because of the dual object.
    That is, one part of our code updated the JobRecord with the change, but
    the change was never reflected in the database.
    Other parts of our code obviously referenced the other object, and thus
    never realized that the state has changed.
    We had to manually update the database row to correct this problem.
    Needless to say, the incorrect state is a very serious matter for us.
    How did this happen? Is this our bug, or is this a WebLogic bug?
    My belief is that WebLogic should never allow 2 instances of an entity
    bean to represent one thing AT THE SAME TIME.
    If that's true, then this is a WebLogic bug.
    The fact that the overlap lasted for about 95 seconds is quite amazing to
    me.
    Please tell me where I'm wrong about this.
    Fri Mar 10 18:26:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:32 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:36 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:26:42 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:47 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:51 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:26:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:26:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:26:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:06 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:07 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:09 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:10 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:20 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:27:22 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:22 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:26 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:27 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:35 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:36 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:41 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:47 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:27:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:28:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:28:06 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:28:08 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:28:11 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:28:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:28:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:21 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:22 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:24 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:27 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:32 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:36 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:38 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:41 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:48 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:28:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:01 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:05 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:09 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:12 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:19 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:19 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:23 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:26 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:29 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:30 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:32 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:35 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:37 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:41 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:44 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:47 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:50 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:53 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:56 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:29:59 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:02 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:06 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:08 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:11 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@10e42b8 with status
    == RUNNING
    Fri Mar 10 18:30:13 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    DEBUG : Echo : JobRecordEJB 14395 == [BaseEJBObject] home:
    gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_HomeImpl@e73783
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    RUNNING
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB : 14395 Updated from
    RUNNING to (DONE,0).
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:14 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:15 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:17 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:20 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:21 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE
    Fri Mar 10 18:30:40 EST 2006 DEBUG: JobRecordEJB.ejbLoad() : JobRecord
    14395==gov.bls.cpi.jcs.ejb.JobRecordEJB_j4eeci_Impl@726a57 with status ==
    DONE

  • BMP Entity Beans: A sample someone ???

    Is there someone out there that has a working (very simple) sample on bean managed entity beans?
    One that one can compile, deploy and access.
    I can't get it to work.
    Even if I do it with the wizards in Jdev and do nothing with the code I get ' remote exception: null pointer exception' when trying to access the with my client.
    If you could pass it on to me I would be very grateful

    I would like to second this request. All of the examples I see are session beans.
    Thanks in advance,
    Dennis

Maybe you are looking for

  • New macbook air wont charge iphone 4

    I bought a new 11 inch MBA 1.6 GHz intel Core i5. I plugged my iphone 4 in to charge and connect with itunes. The MBA is plugged in using its power supply. I receive a message that says there is not enough power in the usb port to charge or operate t

  • Error:Account type D is not defined for document type RE

    Hi! I encountered this error msg: "Account type D is not defined for document type RE"  while posting IR in mir6.  What does this error msg mean? Thanks!

  • Form Submission Options

    Can the forms you create be printed out when completed by the end user? Or when submitted are they just saved as pdf in in csv format which can they be viewed or printed out by an administrator?

  • Error Message in Soundbooth CS5

    Every time I try to download a sound effect from the Resource Center in Soundbooth, I get the following error: "We're sorry, but there was an error communicating with the server.  Please try again and if the problem persists, contact Adobe Technical

  • Can't Shake NFS Automount, please HELP!

    Mac connects directly to cable modem. Problem? Something keeps grabbing me when I go online... my Mac cannot change it's IP address. Folder called automount gets created upon reboot. Network icon - get info - shows the following: Kind of file is Alia