Hi:
I'm using JBoss with postgres 7.0 and I'm creatind a BMP entity bean.
The
problem is that if I update the database from ther client, like SQL
script,
the entity bean doesn't update its variables with the new data. I
suppose it
occur for server caching and the solution could be to change the
container
configuration with the commit option.
I have changed the container configuration and a EJBException was
thrown when I want to access remote interface. The XML tags:

<enterprise-beans>
  <entity>
    <ejb-name>Impuesto</ejb-name>
    <jndi-name>ImpuestoHome</jndi-name>
    <resource-ref>
      <res-ref-name>jdbc/logicmartDS</res-ref-name>
      <resource-name>LogicmartDB</resource-name>
    </resource-ref>
  <configuration-name>OpcionB</configuration-name>
  </entity>
</enterprise-beans>
<container-configurations>
  <container-configuration
configuration-class="org.jboss.ejb.deployment.EntityContainerConfiguration">

  <container-name>OpcionB</container-name>
  <call-logging>false</call-logging>

<container-invoker>org.jboss.ejb.plugins.jrmp12.server.JRMPContainerInvoker<

/container-invoker>

<instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>

<instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>

<persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistenc

e-manager>
  <transaction-manager></transaction-manager>
  <authentication-module></authentication-module>
  <role-mapping-manager></role-mapping-manager>
  <container-invoker-conf>
    <Optimized>false</Optimized>
  </container-invoker-conf>
  <container-cache-conf>

<cache-policy>org.jboss.ejb.plugins.NoPassivationCachePolicy</cache-policy>

  </container-cache-conf>
  <container-pool-conf>
      <MaximumSize>100</MaximumSize>
     <MinimumSize>10</MinimumSize>
  </container-pool-conf>
  <commit-option>B</commit-option>
  </container-configuration>
</container-configurations>

Can I change this behaivor with other solution?
Where is the error in the container configuration?

Thank you all

Miguel �ngel Medina L�pez



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

Reply via email to