Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Informix

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Weblogic connection pool to make connections to my informix
database using IBM Informix Driver . I have an Entity Bean ( EJB 1.1) which maps to a table . I have set the transaction isolation level in the weblogic xml to be READ uncommitted but it is trying to lock rows in the database. .What could be wrong ?

Any ideas what i might be doing wrong ?? or anything i should do to change ?
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please check config in weblogic xml file.

or post your weblogicxml file for more detail in your problem.
 
Satish Gopalakrishnan
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here is the weblogic-ejb-jar.xml for the bean

Snippet from weblogic - ejb -jar

<weblogic-enterprise-bean>
<ejb-name>TUMSScoreBoard</ejb-name>
<entity-descriptor>
<pool>
<initial-beans-in-free-pool>250</initial-beans-in-free-pool>
</pool>
<entity-cache>
<concurrency-strategy>Database</concurrency-strategy>
</entity-cache>
<lifecycle/>
<persistence>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
</persistence-use>
</persistence>
<entity-clustering/>
</entity-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>600</trans-timeout-seconds>
</transaction-descriptor>
<jndi-name>tums.TUMSScoreBoard</jndi-name>
</weblogic-enterprise-bean>



<transaction-isolation>
<isolation-level>TRANSACTION_READ_UNCOMMITTED</isolation-level>
<method>
<ejb-name>TUMSScoreBoard</ejb-name>
<method-name>*</method-name>
</method>
</transaction-isolation>


Thanks
Satish
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic