Thanks for replying, Bill.

        I'm using JBoss 2.2.2 and the Entity Bean is configured as a
"Standard BMP EntityBean" (see jboss.xml below) -- I don't know which
commit-option that is resolved as.  I guess as a last resort, I can use a
custom configuration but I'd like to make this work if I can.

        No other actions are performed during the creates, it's just one
long series (1242 to be exact) of create calls inside a ResultSet loop.  And
the funny thing is, it always fails at 106 (I've sorted the input data in
the hopes that it's bad data but I still get the problem).

<jboss>
  <resource-managers>
    <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
      <res-name>jdbc/Emps</res-name>
      <res-jndi-name>java:/Common</res-jndi-name>
    </resource-manager>
  </resource-managers>
  <enterprise-beans>
    <entity>
      <ejb-name>Account</ejb-name>
      <jndi-name>emps/account</jndi-name>
      <configuration-name>Standard BMP EntityBean</configuration-name>    
      <resource-ref>
        <res-ref-name>jdbc/Emps</res-ref-name>
        <resource-name>jdbc/Emps</resource-name>
      </resource-ref>
    </entity>
  </enterprise-beans>
</jboss>

---
Michael R. Maraya

> ----------
> From:         Bill Burke[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Tuesday, July 10, 2001 5:42 PM
> To:   [EMAIL PROTECTED]
> Subject:      RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN.....
> problem
> 
> Michael,
> 
> What version of JBoss are you running?  2.2.x, 2.4Beta, or 2.5 mainline?
> What commit Option? A, B, or C?
> 
> Also what kind of things are you doing(get/sets, creates, removes)? And
> are
> you doing them in one transaction?  You definately have a corrupted cache
> here and I need more information before I can help.  The stack trace below
> is only an effect, not a cause.  Are you doing the same sort of thing in
> the
> message you posted?
> 
> Regards,
> Bill
> 
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to